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
82e4d334
Commit
82e4d334
authored
Jan 21, 2024
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部线路列表-编辑线路渠道清关费,一个线路下编辑多个渠道清关费,第一个渠道选择了包装=箱,第二个渠道就无法选择箱 BUG修复
parent
aad6efad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
channel-route.vue
src/views/ecw/offer/channel-route.vue
+13
-12
No files found.
src/views/ecw/offer/channel-route.vue
View file @
82e4d334
...
...
@@ -39,13 +39,13 @@ export default {
return
DICT_TYPE
},
deletePackagingTypes
()
{
let
a
=
[]
this
.
form
.
channelList
.
forEach
(
item
=>
{
item
.
packagingCreateReqVOList
.
forEach
(
i
=>
{
return
(
index
)
=>
{
let
a
=
[]
this
.
form
.
channelList
[
index
]
.
packagingCreateReqVOList
.
forEach
(
i
=>
{
a
.
push
(...
i
.
packagingTypes
)
})
})
return
a
return
a
}
},
channelIdBlackList
()
{
let
arr
=
[]
...
...
@@ -256,16 +256,17 @@ export default {
<el-col
:span=
"3"
>
<el-select
multiple
v-model=
"itemOuter.channelIds"
>
<el-option
:disabled=
"channelIdBlackList.includes(item.channelId.toString()) && (!itemOuter.channelIds.includes(item.channelId.toString()))"
v-for=
"item in channelList"
:value=
"item.channelId.toString()"
:key=
"item.channelId"
:label=
"$l(item, 'name')"
></el-option>
:disabled=
"channelIdBlackList.includes(item.channelId.toString()) && (!itemOuter.channelIds.includes(item.channelId.toString()))"
v-for=
"item in channelList"
:value=
"item.channelId.toString()"
:key=
"item.channelId"
:label=
"$l(item, 'name')"
></el-option>
</el-select>
</el-col>
<el-col
:span=
"3"
>
<el-button
size=
"mini"
type=
"primary"
@
click=
"newChannelsAdd(index)"
>
新增渠道
</el-button>
</el-col>
<el-col
:span=
"3"
>
<el-button
size=
"mini"
type=
"danger"
:disabled=
"form.channelList.length === 1"
@
click=
"channelsDelete(index)"
>
<el-button
size=
"mini"
type=
"danger"
:disabled=
"form.channelList.length === 1"
@
click=
"channelsDelete(index)"
>
删除当前渠道
</el-button>
</el-col>
...
...
@@ -291,9 +292,9 @@ export default {
<el-col
:span=
"5"
>
<el-select
multiple
v-model=
"itemm.packagingTypes"
>
<el-option
:disabled=
"deletePackagingTypes
.includes(item.value) && (!itemm.packagingTypes.includes(item.value))"
v-for=
"item in getDictDatas(DICT_TYPE.ECW_PACKAGING_TYPE)"
:value=
"item.value"
:key=
"item.value"
:label=
"$l(item, 'label')"
></el-option>
:disabled=
"deletePackagingTypes(index)
.includes(item.value) && (!itemm.packagingTypes.includes(item.value))"
v-for=
"item in getDictDatas(DICT_TYPE.ECW_PACKAGING_TYPE)"
:value=
"item.value"
:key=
"item.value"
:label=
"$l(item, 'label')"
></el-option>
</el-select>
</el-col>
<el-col
:span=
"16"
>
...
...
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