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
df202ffb
Commit
df202ffb
authored
Aug 07, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗关闭报错
parent
a1557bd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
index.vue
src/views/ecw/warehouse/index.vue
+10
-5
No files found.
src/views/ecw/warehouse/index.vue
View file @
df202ffb
...
...
@@ -303,7 +303,9 @@
</el-form-item>
<el-form-item
:label=
"$t('目的港服务')"
>
<el-checkbox-group
v-model=
"lineform.otherService"
>
<el-checkbox
@
click.native=
"changeOtherService(item.id)"
:checked=
"lineform.otherService.includes(item.id)"
v-for=
"item in endServiceGroup"
:label=
"item.id "
:key=
"item.id"
:value=
"item.id"
v-show=
"isShowError(item)"
>
{{item.text}}
</el-checkbox>
<
template
v-for=
"item in endServiceGroup"
>
<el-checkbox
@
click.native=
"changeOtherService(item.id)"
:checked=
"checkedFn(item.id)"
:label=
"item.id "
:key=
"item.id"
:value=
"item.id"
v-if=
"isShowError(item)"
>
{{
item
.
text
}}
</el-checkbox>
</
template
>
</el-checkbox-group>
</el-form-item>
<el-form-item
v-if=
"['3','4'].includes(lineform.transportType)"
label=
"空运提单制作节点"
>
...
...
@@ -582,6 +584,11 @@ export default {
},
computed
:
{
checkedFn
(){
return
(
val
)
=>
{
return
(
Array
.
isArray
(
this
.
lineform
.
otherService
)
?
this
.
lineform
.
otherService
:
[]).
includes
(
val
)
}
},
DICT_TYPE
()
{
return
DICT_TYPE
},
...
...
@@ -592,7 +599,7 @@ export default {
return
(
item
)
=>
{
if
(
item
.
id
!==
'
5
'
&&
item
.
id
!==
'
10
'
)
return
true
;
const
{
otherService
}
=
this
.
lineform
;
if
(
otherService
.
includes
(
'
2
'
))
return
true
;
if
(
(
Array
.
isArray
(
otherService
)
?
otherService
:
[])
.
includes
(
'
2
'
))
return
true
;
return
false
;
}
},
...
...
@@ -685,11 +692,9 @@ export default {
},
methods
:
{
changeOtherService
(
val
){
console
.
log
(
val
,
'
val
'
)
if
(
val
===
'
2
'
&&
!
this
.
lineform
.
otherService
.
includes
(
'
10
'
)){
if
(
val
===
'
2
'
&&
!
(
Array
.
isArray
(
this
.
lineform
.
otherService
)
?
this
.
lineform
.
otherService
:[]).
includes
(
'
10
'
)){
this
.
lineform
.
otherService
.
push
(
'
10
'
);
}
},
getDictDatas
,
getDictDataLabel
,
...
...
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