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
019748cf
Commit
019748cf
authored
Sep 05, 2022
by
TIAN.DESHENG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开通服务页面修改
parent
3123755f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
10 deletions
+22
-10
index.vue
src/views/ecw/warehouse/index.vue
+22
-10
No files found.
src/views/ecw/warehouse/index.vue
View file @
019748cf
...
@@ -279,11 +279,16 @@
...
@@ -279,11 +279,16 @@
<!--设置服务-->
<!--设置服务-->
<el-dialog
title=
"设置服务"
:visible.sync=
"serviceOpen"
width=
"1000px"
append-to-body
>
<el-dialog
title=
"设置服务"
:visible.sync=
"serviceOpen"
width=
"1000px"
append-to-body
>
<el-form
ref=
"form"
:model=
"lineform"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"lineform"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"
其他服务"
prop=
"otherServiceList
"
>
<el-form-item
label=
"
始发港服务
"
>
<el-checkbox-group
v-model=
"lineform.s
erviceList
"
>
<el-checkbox-group
v-model=
"lineform.s
tartDestination
"
>
<el-checkbox
v-for=
"item in serviceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
>
{{item.text}}
</el-checkbox>
<el-checkbox
v-for=
"item in serviceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
>
{{item.text}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"目的港服务"
>
<el-checkbox-group
v-model=
"lineform.endDestination"
>
<el-checkbox
v-for=
"item in endServiceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
>
{{item.text}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -430,8 +435,13 @@ export default {
...
@@ -430,8 +435,13 @@ export default {
cityList
:
[],
cityList
:
[],
serviceGroup
:
[
serviceGroup
:
[
{
id
:
'
1
'
,
text
:
'
送货上门
'
},
{
id
:
'
1
'
,
text
:
'
集运服务
'
},
{
id
:
'
2
'
,
text
:
'
非控货订单代收货款
'
}
{
id
:
'
2
'
,
text
:
'
送货上门
'
}
],
endServiceGroup
:
[
{
id
:
'
3
'
,
text
:
'
非控货订单代收货款
'
},
{
id
:
'
4
'
,
text
:
'
海外仓
'
}
],
],
// 总条数
// 总条数
...
@@ -489,7 +499,7 @@ export default {
...
@@ -489,7 +499,7 @@ export default {
// 表单参数
// 表单参数
form
:
{
checkList
:[],},
form
:
{
checkList
:[],},
ladingform
:
{
prefixCounter
:
null
,
titleZh
:
null
,
contentZh
:
null
,
account
:
null
,
acctArr
:[]},
ladingform
:
{
prefixCounter
:
null
,
titleZh
:
null
,
contentZh
:
null
,
account
:
null
,
acctArr
:[]},
lineform
:
{
s
erviceList
:[]},
lineform
:
{
s
tartDestination
:[],
endDestination
:[]},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
...
@@ -767,17 +777,19 @@ export default {
...
@@ -767,17 +777,19 @@ export default {
serviceClick
(
row
)
{
serviceClick
(
row
)
{
if
(
row
.
otherService
)
{
if
(
row
.
otherService
)
{
this
.
lineform
.
serviceList
=
row
.
otherService
.
split
(
"
,
"
);
this
.
lineform
.
startDestination
=
row
.
otherService
.
split
(
"
,
"
);
this
.
lineform
.
endDestination
=
row
.
otherService
.
split
(
"
,
"
);
}
else
{
}
else
{
this
.
lineform
.
serviceList
=
[];
this
.
lineform
.
startDestination
=
[];
this
.
lineform
.
endDestination
=
[];
}
}
this
.
serviceOpen
=
true
;
this
.
serviceOpen
=
true
;
this
.
lineform
.
lineId
=
row
.
lineId
;
this
.
lineform
.
lineId
=
row
.
lineId
;
},
},
submitLineForm
()
{
submitLineForm
()
{
let
otherService
=
this
.
lineform
.
s
erviceList
.
join
(
'
,
'
);
let
otherService
=
this
.
lineform
.
s
tartDestination
.
concat
(
this
.
lineform
.
endDestination
);
this
.
lineform
.
otherService
=
otherService
;
this
.
lineform
.
otherService
=
otherService
.
join
(
'
,
'
)
;
serviceConfig
(
this
.
lineform
).
then
(
res
=>
{
serviceConfig
(
this
.
lineform
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
"
操作成功
"
);
this
.
$modal
.
msgSuccess
(
"
操作成功
"
);
...
...
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