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
7acff19a
Commit
7acff19a
authored
Sep 06, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
0743b3bc
f8e9d6fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
12 deletions
+26
-12
index.vue
src/views/ecw/warehouse/index.vue
+26
-12
No files found.
src/views/ecw/warehouse/index.vue
View file @
7acff19a
...
...
@@ -286,7 +286,7 @@
</el-form-item>
<el-form-item
label=
"目的港服务"
>
<el-checkbox-group
v-model=
"lineform.otherService"
>
<el-checkbox
v-for=
"item in endServiceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
>
{{item.text}}
</el-checkbox>
<el-checkbox
v-for=
"item in endServiceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
v-show=
"isShowError(item)"
>
{{item.text}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
</el-form>
...
...
@@ -436,12 +436,13 @@ export default {
serviceGroup
:
[
{
id
:
'
1
'
,
text
:
'
集运服务
'
},
{
id
:
'
2
'
,
text
:
'
送货上门
'
}
],
endServiceGroup
:
[
{
id
:
'
3
'
,
text
:
'
非控货订单代收货款
'
},
{
id
:
'
4
'
,
text
:
'
海外仓
'
}
{
id
:
'
4
'
,
text
:
'
海外仓
'
},
{
id
:
'
2
'
,
text
:
'
送货上门
'
},
{
id
:
'
5
'
,
text
:
'
提货异常
'
}
],
// 总条数
...
...
@@ -531,6 +532,14 @@ export default {
},
computed
:
{
isShowError
()
{
return
(
item
)
=>
{
if
(
item
.
id
!==
'
5
'
)
return
true
;
const
{
otherService
}
=
this
.
lineform
;
if
(
otherService
.
includes
(
'
2
'
))
return
true
;
return
false
;
}
},
transportName
()
{
return
transportType
=>
{
for
(
let
index
in
this
.
transportDatas
)
{
...
...
@@ -571,13 +580,13 @@ export default {
if
(
!
otherService
)
return
''
;
let
serviceList
=
Array
.
isArray
(
otherService
)
?
otherService
:
otherService
.
split
(
"
,
"
);
let
names
=
[];
const
serviceGroup
=
this
.
serviceGroup
.
concat
(
this
.
endServiceGroup
)
for
(
let
index
in
serviceList
)
{
let
item
=
serviceList
[
index
];
for
(
let
dictIndex
in
this
.
serviceGroup
)
{
let
dictItem
=
this
.
serviceGroup
[
dictIndex
];
for
(
let
dictIndex
in
serviceGroup
)
{
let
dictItem
=
serviceGroup
[
dictIndex
];
if
(
dictItem
.
id
==
item
)
{
names
.
push
(
dictItem
.
text
);
break
;
}
}
}
...
...
@@ -787,6 +796,10 @@ export default {
submitLineForm
()
{
let
otherService
=
this
.
lineform
.
otherService
;
// 如果不存在送货上门,则过滤提货异常
if
(
!
otherService
.
includes
(
'
2
'
)){
otherService
=
otherService
.
filter
((
id
)
=>
id
!==
'
5
'
)
}
serviceConfig
({
lineId
:
this
.
lineform
.
lineId
,
otherService
:
otherService
.
join
(
'
,
'
)
...
...
@@ -1173,5 +1186,6 @@ export default {
}
}
};
</
script
>
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