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
e82cf240
Commit
e82cf240
authored
Sep 27, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务说明,重泡货bug修改
parent
5d915578
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
index.vue
src/views/ecw/warehouse/index.vue
+20
-0
index.vue
src/views/ecw/zhongPao/index.vue
+4
-0
No files found.
src/views/ecw/warehouse/index.vue
View file @
e82cf240
...
...
@@ -278,6 +278,12 @@
<!--设置服务-->
<el-dialog
title=
"设置服务"
:visible.sync=
"serviceOpen"
width=
"1000px"
append-to-body
>
<div
style=
"font-size:large"
>
线路:{{this.startName}}到{{this.destName}}
<span
style=
"margin-left:20px"
>
运输方式:{{transportName(this.lineform.transportType)}}
</span>
</div>
<br/>
<el-form
ref=
"form"
:model=
"lineform"
:rules=
"rules"
label-width=
"120px"
>
<el-form-item
label=
"始发港服务"
>
<el-checkbox-group
v-model=
"lineform.otherService"
>
...
...
@@ -501,6 +507,8 @@ export default {
form
:
{
checkList
:[],},
ladingform
:
{
prefixCounter
:
null
,
titleZh
:
null
,
contentZh
:
null
,
account
:
null
,
acctArr
:[]},
lineform
:
{
otherService
:[]},
startName
:
''
,
destName
:
''
,
// 表单校验
rules
:
{
...
...
@@ -785,6 +793,11 @@ export default {
},
serviceClick
(
row
)
{
if
(
this
.
routeQueryParam
.
tradeType
==
1
)
{
this
.
destName
=
row
.
titleZh
;
}
else
{
this
.
startName
=
row
.
titleZh
;
}
if
(
row
.
otherService
)
{
this
.
lineform
.
otherService
=
Array
.
isArray
(
row
.
otherService
)
?
row
.
otherService
:
row
.
otherService
?.
split
(
"
,
"
)
??
[];
}
else
{
...
...
@@ -792,6 +805,7 @@ export default {
}
this
.
serviceOpen
=
true
;
this
.
lineform
.
lineId
=
row
.
lineId
;
this
.
lineform
.
transportType
=
row
.
transportType
;
},
submitLineForm
()
{
...
...
@@ -835,8 +849,14 @@ export default {
this
.
routeQueryParam
.
pageNo
=
1
;
this
.
showRouteList
=
true
;
this
.
routeLoadig
=
true
;
if
(
tradeType
==
1
)
{
this
.
startName
=
row
.
titleZh
;
}
else
{
this
.
destName
=
row
.
titleZh
;
}
this
.
getRouteList
();
},
getRouteList
()
{
...
...
src/views/ecw/zhongPao/index.vue
View file @
e82cf240
...
...
@@ -270,6 +270,7 @@ export default {
const
id
=
row
.
id
;
getZhongPao
(
id
).
then
(
response
=>
{
const
form
=
response
.
data
;
// console.log(form);
form
.
objectiveIds
=
form
.
objectiveIds
&&
form
.
objectiveIds
.
length
>
0
?
form
.
objectiveIds
.
split
(
'
,
'
)
:
[]
...
...
@@ -286,6 +287,7 @@ export default {
}
let
form
=
this
.
form
form
.
objectiveIds
=
form
.
objectiveIds
?.
join
(
'
,
'
)
form
.
transportTypes
=
form
.
transportTypes
?.
join
(
'
,
'
);
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
updateZhongPao
(
this
.
form
).
then
(
response
=>
{
...
...
@@ -297,6 +299,8 @@ export default {
return
;
}
// 添加的提交
// console.log(this.form);
createZhongPao
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
...
...
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