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
41520827
Commit
41520827
authored
Oct 23, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/order_edit' into pre-release
# Conflicts: # src/views/ecw/order/edit.vue
parents
6d580849
c9f6f982
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
edit.vue
src/views/ecw/order/edit.vue
+16
-14
No files found.
src/views/ecw/order/edit.vue
View file @
41520827
...
...
@@ -1393,9 +1393,10 @@ export default {
if
(
this
.
contactChooseType
==
'
consignor
'
){
this
.
noConsignee
=
contact
.
noConsignee
// 如果允许无收货人,则默认无收货人、控货
if
(
this
.
noConsignee
){
// 241023 根据最新的原型,默认有收货人
/*if(this.noConsignee){
this.hasConsignee = false
}
}
*/
// 如果发货人不允许无收货人,则重置为有收货人
if
(
!
this
.
noConsignee
&&
!
this
.
hasConsignee
){
this
.
$set
(
this
,
'
hasConsignee
'
,
true
)
...
...
@@ -1637,7 +1638,18 @@ export default {
if
(
+
this
.
form
.
drawee
===
1
&&
this
.
form
.
displayBillLadingPrice
&&
!
this
.
updateChannel
){
await
this
.
$confirm
(
this
.
$t
(
'
付款人=发货人,请再次确认提单是否显示价格明细
'
))
}
// 校验手机号跟目的国是否匹配
if
(
this
.
hasConsignee
&&
this
.
form
.
consigneeCountryCode
&&
this
.
form
.
consigneePhone
){
const
res
=
await
checkCountryCode
({
areaCode
:
this
.
form
.
consigneeCountryCode
,
currencyId
:
this
.
form
.
destCountryId
})
// 并不一致则提示
if
(
!
res
.
data
){
await
this
.
$confirm
(
this
.
$t
(
'
电话所在国与目的国不一致,请检查
'
))
}
}
// 修改的提交
if
(
this
.
form
.
orderId
)
{
...
...
@@ -1668,17 +1680,7 @@ export default {
hasConsignee
:
this
.
hasConsignee
})
data
.
type
=
data
.
type
.
join
(
'
,
'
)
// 校验手机号跟目的国是否匹配
if
(
this
.
hasConsignee
&&
data
.
consigneeCountryCode
&&
data
.
consigneePhone
){
const
res
=
await
checkCountryCode
({
areaCode
:
data
.
consigneeCountryCode
,
currencyId
:
this
.
form
.
destCountryId
})
// 并不一致则提示
if
(
!
res
.
data
){
await
this
.
$confirm
(
this
.
$t
(
'
电话所在国与目的国不一致,请检查
'
))
}
}
// 添加的提交
createOrder
(
data
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
新增成功
"
));
...
...
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