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
cc72c420
Commit
cc72c420
authored
Dec 11, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单编辑详情赋值表单逻辑修改
parent
85fba7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
create_order.vue
src/pages/create_order/create_order.vue
+0
-7
No files found.
src/pages/create_order/create_order.vue
View file @
cc72c420
...
...
@@ -1975,14 +1975,12 @@ export default {
let
that
=
this
that
.
$request
.
get
(
'
/app-api/my/order/get
'
,{
orderId
:
id
}).
then
(
async
(
res
)
=>
{
if
(
res
.
code
==
0
&&
res
.
data
){
that
.
params
=
res
.
data
this
.
params
=
Object
.
assign
({},
res
.
data
,
{
orderItemVOList
:
[],
destCountryId
:
null
,
consigneeName
:
''
,
consigneePhone
:
''
})
console
.
log
(
"
是否是copy:
"
,
copy
)
if
(
copy
){
// 复制订单,需要将数据初始化
that
.
params
.
orderId
=
null
...
...
@@ -2057,8 +2055,6 @@ export default {
that
.
params
.
consigneeVO
.
id
=
null
that
.
params
.
consigneeVO
.
orderId
=
null
}
console
.
log
(
"
商品信息1:
"
,
that
.
params
.
orderItemVOList
)
console
.
log
(
"
商品信息2:
"
,
res
.
data
.
orderItemVOList
)
res
.
data
.
orderItemVOList
.
forEach
((
item
)
=>
{
let
newItem
=
{
link
:
item
.
link
,
...
...
@@ -2076,10 +2072,8 @@ export default {
brand
:
item
.
brand
,
brandType
:
item
.
brandType
}
console
.
log
(
"
商品信息单项:
"
,
newItem
)
that
.
params
.
orderItemVOList
.
push
({
...
newItem
})
});
console
.
log
(
"
商品信息3:
"
,
that
.
params
.
orderItemVOList
)
}
// if(!that.params.number) that.params.number = ''
that
.
getType
()
...
...
@@ -2087,7 +2081,6 @@ export default {
that
.
params
.
orderItemVOList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
prodAttrIds
)
item
.
prodAttrs
=
item
.
prodAttrIds
.
split
(
'
,
'
)
})
console
.
log
(
"
商品信息:
"
,
that
.
params
.
orderItemVOList
)
}
/*if(that.params.transportId != 0 ||that.params.lineId!=0 ||(that.params.departureId != 0 && that.params.objectiveId != 0)){
...
...
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