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
68c1f784
Commit
68c1f784
authored
Nov 01, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否显示提单价格默认值取订单归属人设置
parent
d2710fd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
edit.vue
src/views/ecw/order/edit.vue
+41
-0
No files found.
src/views/ecw/order/edit.vue
View file @
68c1f784
...
@@ -1000,6 +1000,20 @@ export default {
...
@@ -1000,6 +1000,20 @@ export default {
if
(
!
this
.
initing
){
if
(
!
this
.
initing
){
this
.
$set
(
this
.
form
,
'
drawee
'
,
isCargoControl
?
2
:
2
)
this
.
$set
(
this
.
form
,
'
drawee
'
,
isCargoControl
?
2
:
2
)
}
}
this
.
setBllLandingPrice
()
},
'
form.type
'
(){
this
.
setBllLandingPrice
()
},
'
form.drawee
'
(){
this
.
setBllLandingPrice
()
},
'
form.consigneeId
'
(){
this
.
setBllLandingPrice
()
},
'
form.consignorId
'
(){
this
.
setBllLandingPrice
()
},
},
// 目的港清关,1我司,2客户
// 目的港清关,1我司,2客户
'
form.portDestCustomsClear
'
(
portDestCustomsClear
){
'
form.portDestCustomsClear
'
(
portDestCustomsClear
){
...
@@ -1515,6 +1529,33 @@ export default {
...
@@ -1515,6 +1529,33 @@ export default {
that
.
$set
(
that
.
form
,
'
offerId
'
,
response
.
data
.
offerId
)
that
.
$set
(
that
.
form
,
'
offerId
'
,
response
.
data
.
offerId
)
})
})
},
},
// 设置默认的提货单是否显示价格
setBllLandingPrice
(){
if
(
this
.
form
.
orderId
)
return
// 海外仓归属发货人
// 控货订单归属发货人
// 非控货订单 + 付款人为发货人 归属发货人, 其他归属收货人
let
customerId
=
null
if
(
this
.
form
.
type
==
2
||
this
.
form
.
isCargoControl
==
1
||
this
.
form
.
drawee
==
2
){
customerId
=
this
.
form
.
consignorId
}
else
{
customerId
=
this
.
form
.
consigneeId
}
if
(
!
customerId
)
return
console
.
log
(
'
原归属人
'
,
this
.
displayBillLadingPriceFrom
,
'
新归属人
'
,
customerId
)
// 如果当前的提单价格设置来自同一个客户则不在查询
if
(
this
.
displayBillLadingPriceFrom
==
customerId
)
return
;
this
.
displayBillLadingPriceFrom
=
customerId
// 获取客户信息
getCustomer
(
customerId
).
then
(
res
=>
{
console
.
log
(
'
isShowTidanPrice
'
,
res
)
this
.
form
.
displayBillLadingPrice
=
res
.
data
.
isShowTidanPrice
})
},
}
}
};
};
</
script
>
</
script
>
...
...
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