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
daa85ece
Commit
daa85ece
authored
Aug 31, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/order_edit' into pre-release
parents
9e0647f4
fde2515b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
edit.vue
src/views/ecw/order/edit.vue
+15
-0
No files found.
src/views/ecw/order/edit.vue
View file @
daa85ece
...
@@ -1257,6 +1257,21 @@ export default {
...
@@ -1257,6 +1257,21 @@ export default {
this
.
$set
(
this
.
form
,
'
consigneeNameEn
'
,
res
.
data
.
consigneeVO
.
nameEn
)
this
.
$set
(
this
.
form
,
'
consigneeNameEn
'
,
res
.
data
.
consigneeVO
.
nameEn
)
this
.
$set
(
this
.
form
,
'
consigneePhone
'
,
res
.
data
.
consigneeVO
.
phone
)
this
.
$set
(
this
.
form
,
'
consigneePhone
'
,
res
.
data
.
consigneeVO
.
phone
)
}
}
// res.data.hasConsignee 订单冗余的发货人是否允许无收货人
// res.data.noConsignee 当前订单发货人是否允许无收货
// 回显冗余数据
this
.
noConsignee
=
res
.
data
.
hasConsignee
// 是否有收货人
this
.
hasConsignee
=
!!
res
.
data
.
consigneeVO
// 如果订单无收货人,但是最新的发货人不允许无收货人则重置状态
if
(
!
res
.
data
.
noConsignee
&&
!
this
.
hasConsignee
){
// 最新的发货人不允许无收货人,则重置为有收货人
this
.
hasConsignee
=
true
// 如果发货人不允许无收货人,则更新是否允许无收货人状态
this
.
noConsignee
=
false
}
if
(
this
.
form
.
channelId
==
0
){
if
(
this
.
form
.
channelId
==
0
){
delete
this
.
form
.
channelId
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