Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
5836cd18
Commit
5836cd18
authored
Oct 25, 2024
by
chenwei
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建提货点,启用状态提货点,未启用状态提货点逻辑更改
parent
60d54519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
operatingGift.vue
src/views/ecw/giftManagement/components/operatingGift.vue
+17
-9
No files found.
src/views/ecw/giftManagement/components/operatingGift.vue
View file @
5836cd18
...
...
@@ -25,14 +25,15 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
v-for=
"(item, index) in queryParams.nodeIds"
>
<el-row
:gutter=
"10"
v-for=
"(item, index) in queryParams.nodeIds"
:key=
"item.id"
>
<el-col
:span=
"6"
>
<el-form-item
v-if=
"title == 3"
:label=
"$t('提货点')"
:prop=
"`nodeIds[$
{index}].wareHouses`" :rules="rules.nodeIds.wareHouses">
<el-select
v-model=
"item.wareHouses"
:placeholder=
"$t('请选择提货点')"
:disabled=
"isDisable"
clearable
multiple
filterable
remote
reserve-keyword
:remote-method=
"handleWarehouseList"
@
visible-change=
"changeWarehouseList"
:loading=
"loading"
size=
"small"
>
<el-option
v-for=
"nodeItem in warehouseList"
:key=
"nodeItem.id"
:label=
"isChinese ? nodeItem.titleZh : nodeItem.titleEn"
:value=
"nodeItem.id"
/>
</el-select>
</el-form-item>
<el-form-item
v-else
:label=
"$t('提货点')"
:prop=
"`nodeIds[$
{index}].wareHouses`" :rules="rules.nodeIds.wareHouses">
<!-- 编辑对应单个提货点 逻辑显示-->
<el-form-item
v-else
:label=
"$t('提货点')"
:prop=
"`nodeId`"
>
<el-select
v-model=
"queryParams.nodeId"
:placeholder=
"$t('请选择提货点')"
:disabled=
"isDisable"
clearable
filterable
remote
reserve-keyword
:remote-method=
"handleWarehouseList"
@
visible-change=
"changeWarehouseList"
:loading=
"loading"
size=
"small"
>
<el-option
v-for=
"nodeItem in warehouseList"
:key=
"nodeItem.id"
:label=
"isChinese ? nodeItem.titleZh : nodeItem.titleEn"
:value=
"nodeItem.id"
/>
</el-select>
...
...
@@ -190,7 +191,7 @@ export default {
endTime
:
null
,
imgEn
:
null
,
imgZh
:
null
,
nodeIds
:
[{
wareHouses
:
""
,
points
:
""
,
quantityRemain
:
null
}],
nodeIds
:
[{
wareHouses
:
""
,
points
:
""
,
quantityRemain
:
null
,
id
:
0
}],
nodeId
:
null
,
pickMethod
:
null
,
pointsRequire
:
null
,
...
...
@@ -233,6 +234,13 @@ export default {
trigger
:
"
blur
"
}
],
nodeId
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
请选择提货点
"
),
trigger
:
"
change
"
}
],
nodeIds
:
{
wareHouses
:
[
{
...
...
@@ -303,9 +311,7 @@ export default {
this
.
handleWarehouseList
()
},
methods
:
{
dataTimeFunc
(
e
)
{
console
.
log
(
"
5555
"
,
e
)
},
dataTimeFunc
(
e
)
{},
changeWarehouseList
(
e
)
{
if
(
e
)
{
this
.
handleWarehouseList
()
...
...
@@ -319,7 +325,7 @@ export default {
},
handleOrderVRule
(
item
,
index
)
{
if
(
index
==
"
0
"
)
{
this
.
queryParams
.
nodeIds
.
push
({
nodeId
:
""
,
points
:
""
})
this
.
queryParams
.
nodeIds
.
push
({
wareHouses
:
null
,
nodeId
:
""
,
points
:
""
,
id
:
index
+
1
})
}
else
{
this
.
queryParams
.
nodeIds
.
splice
(
index
,
1
)
}
...
...
@@ -329,7 +335,9 @@ export default {
params
.
startTime
=
this
.
queryParams
?.
dateRangeCreateTime
?.[
0
]
params
.
endTime
=
this
.
queryParams
?.
dateRangeCreateTime
?.[
1
]
params
.
pickMethod
=
this
.
queryParams
.
pickMethod
.
toString
()
params
.
nodeIds
[
0
].
wareHouses
[
0
]
=
params
.
nodeId
if
(
this
.
title
!=
3
)
{
params
.
nodeIds
[
0
].
wareHouses
[
0
]
=
params
.
nodeId
}
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
title
==
"
2
"
)
{
...
...
@@ -360,7 +368,7 @@ export default {
this
.
queryParams
=
{
allowCount
:
null
,
endTime
:
null
,
nodeIds
:
[{
wareHouses
:
""
,
points
:
""
,
quantityRemain
:
null
}],
nodeIds
:
[{
wareHouses
:
""
,
points
:
""
,
quantityRemain
:
null
,
id
:
0
}],
imgEn
:
null
,
imgZh
:
null
,
nodeId
:
null
,
...
...
chenwei
@chenwei
mentioned in commit
c39a150c
·
Oct 25, 2024
mentioned in commit
c39a150c
mentioned in commit c39a150cdfc727c5608fd1b5cc581f5175e5c2ff
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment