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
0969b821
Commit
0969b821
authored
Dec 11, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制订单bug修复
parent
c1bc93ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
create_order.vue
src/pages/create_order/create_order.vue
+20
-18
No files found.
src/pages/create_order/create_order.vue
View file @
0969b821
...
...
@@ -2051,29 +2051,31 @@ export default {
that
.
params
.
consigneeVO
.
id
=
null
that
.
params
.
consigneeVO
.
orderId
=
null
}
that
.
params
.
orderItemVOList
=
[];
res
.
data
.
forEach
((
item
)
=>
{
let
newItem
=
{
link
:
item
.
link
,
prodId
:
item
.
prodId
,
prodTitleEn
:
item
.
prodTitleEn
,
prodTitleZh
:
item
.
prodTitleZh
,
prodAttrIds
:
item
.
prodAttrIds
,
prodType
:
item
.
prodType
,
volume
:
item
.
volume
,
weight
:
item
.
weight
,
quantity
:
item
.
quantity
,
num
:
item
.
num
,
worth
:
item
.
worth
,
boxGauge
:
item
.
boxGauge
,
brand
:
item
.
brand
,
brandType
:
item
.
brandType
}
that
.
params
.
orderItemVOList
.
push
({
...
newItem
})
});
}
// if(!that.params.number) that.params.number = ''
that
.
getType
()
if
(
that
.
params
.
orderItemVOList
.
length
>
0
){
that
.
params
.
orderItemVOList
.
forEach
((
item
,
index
)
=>
{
if
(
copy
)
{
item
=
{
link
:
item
.
link
,
prodId
:
item
.
prodId
,
prodTitleEn
:
item
.
prodTitleEn
,
prodTitleZh
:
item
.
prodTitleZh
,
prodAttrIds
:
item
.
prodAttrIds
,
prodType
:
item
.
prodType
,
volume
:
item
.
volume
,
weight
:
item
.
weight
,
quantity
:
item
.
quantity
,
num
:
item
.
num
,
worth
:
item
.
worth
,
boxGauge
:
item
.
boxGauge
,
brand
:
item
.
brand
,
brandType
:
item
.
brandType
}
}
if
(
item
.
prodAttrIds
)
item
.
prodAttrs
=
item
.
prodAttrIds
.
split
(
'
,
'
)
})
console
.
log
(
"
商品信息:
"
,
that
.
params
.
orderItemVOList
)
...
...
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