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
2a83c1f3
Commit
2a83c1f3
authored
Jan 13, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择线路后更新渠道
parent
579b81ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
edit.vue
src/views/ecw/order/edit.vue
+4
-3
No files found.
src/views/ecw/order/edit.vue
View file @
2a83c1f3
...
@@ -975,7 +975,7 @@ export default {
...
@@ -975,7 +975,7 @@ export default {
'
form.consignorPhone
'
(){
'
form.consignorPhone
'
(){
if
(
this
.
form
.
lineId
)
this
.
getOfferData
()
if
(
this
.
form
.
lineId
)
this
.
getOfferData
()
},
},
'
form.lineId
'
(
lineId
){
async
'
form.lineId
'
(
lineId
){
let
router
=
this
.
routerList
.
find
(
item
=>
item
.
id
==
lineId
)
let
router
=
this
.
routerList
.
find
(
item
=>
item
.
id
==
lineId
)
if
(
!
router
){
if
(
!
router
){
return
return
...
@@ -983,7 +983,7 @@ export default {
...
@@ -983,7 +983,7 @@ export default {
this
.
$set
(
this
.
form
,
'
departureId
'
,
router
.
startCityId
)
this
.
$set
(
this
.
form
,
'
departureId
'
,
router
.
startCityId
)
this
.
$set
(
this
.
form
,
'
objectiveId
'
,
router
.
destCityId
)
this
.
$set
(
this
.
form
,
'
objectiveId
'
,
router
.
destCityId
)
this
.
$set
(
this
.
form
,
'
transportId
'
,
router
.
transportType
)
this
.
$set
(
this
.
form
,
'
transportId
'
,
router
.
transportType
)
await
this
.
getChannelList
()
this
.
calculationPrice
()
this
.
calculationPrice
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
// 如果开启了默认送货上门,则默认选择送货上门,2是送货上门,10是默认送货上门
// 如果开启了默认送货上门,则默认选择送货上门,2是送货上门,10是默认送货上门
...
@@ -1142,7 +1142,8 @@ export default {
...
@@ -1142,7 +1142,8 @@ export default {
},
},
async
getChannelList
(){
async
getChannelList
(){
let
query
=
{
let
query
=
{
cityId
:
this
.
form
.
objectiveId
cityId
:
this
.
form
.
objectiveId
,
lineId
:
this
.
form
.
lineId
}
}
this
.
channelList
=
(
await
getChannelList
(
query
)).
data
this
.
channelList
=
(
await
getChannelList
(
query
)).
data
},
},
...
...
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