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
d4024cb8
Commit
d4024cb8
authored
Nov 22, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑/复制订单是否有收货人判断逻辑修改
parent
c8cdd4f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
edit.vue
src/views/ecw/order/edit.vue
+7
-9
No files found.
src/views/ecw/order/edit.vue
View file @
d4024cb8
...
...
@@ -1359,11 +1359,11 @@ export default {
// 默认不允许控货无收货人
this
.
noConsignee
=
false
}
//
// 如果订单无收货人,但是最新的发货人
允许无收货人则重置状态
// if (this.noConsignee && !this.has
Consignee) {
// // 最新的发货人
允许无收货人,则重置为有收货人
//
this.hasConsignee = true
//
}
//
最新的发货人档案不
允许无收货人则重置状态
if
(
!
this
.
no
Consignee
)
{
// 最新的发货人不
允许无收货人,则重置为有收货人
this
.
hasConsignee
=
true
}
})
},
async
getOrder
()
{
...
...
@@ -1396,6 +1396,8 @@ export default {
console
.
log
(
"
集运服务类型
"
,
this
.
form
.
type
)
this
.
form
.
type
=
this
.
form
.
type
?
this
.
form
.
type
.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
)
:
[]
this
.
form
.
packageTypeArr
=
this
.
form
.
packageType
?
this
.
form
.
packageType
.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
)
:
[]
// 是否有收货人
this
.
hasConsignee
=
!!
res
.
data
.
consigneeVO
// 每次编辑订单详情需要实时获取发货人当前信息
if
(
res
.
data
.
consignorVO
)
{
this
.
$set
(
this
.
form
,
'
consignorCompany
'
,
res
.
data
.
consignorVO
.
company
)
...
...
@@ -1424,10 +1426,6 @@ export default {
// res.data.hasConsignee 订单冗余的发货人是否允许无收货人
// res.data.noConsignee 当前订单发货人是否允许无收货
// 是否有收货人
// this.hasConsignee = !!res.data.consigneeVO
if
(
this
.
form
.
channelId
==
0
)
{
delete
this
.
form
.
channelId
}
...
...
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