Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-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-customer-new-master
Commits
af1ea443
Commit
af1ea443
authored
Dec 04, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release' into release
parents
8a32da74
45f1b678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
create_order.vue
src/pages/create_order/create_order.vue
+17
-3
No files found.
src/pages/create_order/create_order.vue
View file @
af1ea443
...
...
@@ -1289,6 +1289,9 @@
this
.
params
.
isCargoControl
=
true
}
},
"
params.isCargoControl
"
()
{
this
.
setDefaultDrawee
()
},
"
params.drawee
"
(
drawee
)
{
// 240224 微信反馈
// 不好意思,这写错了,付款人=发货人----提单价格默认否;付款人=收货人,提交价格默认是
...
...
@@ -1301,12 +1304,23 @@
}
},
methods
:
{
setDefaultDrawee
(){
// 优先级为:发货人默认付款,发货人付款>收货人默认付款,收货人付款>订单控货,收货人付款
if
(
this
.
$store
.
state
.
userInfo
.
defaultPay
){
this
.
$set
(
this
.
params
,
'
drawee
'
,
1
)
return
}
if
(
this
.
params
.
isCargoControl
){
this
.
$set
(
this
.
params
,
'
drawee
'
,
2
)
}
},
changeHasConsignee
(
e
){
this
.
hasConsignee
=
e
.
detail
.
value
===
"
1
"
// 无收货人默认发货人付款
if
(
!
this
.
hasConsignee
){
this
.
$set
(
this
.
params
,
'
drawee
'
,
1
)
}
// if(!this.hasConsignee){
// this.$set(this.params, 'drawee', 1)
// }
this
.
setDefaultDrawee
()
},
toback
(){
uni
.
navigateBack
()
...
...
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