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
7664952a
Commit
7664952a
authored
Dec 11, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单编辑详情赋值表单逻辑修正
parent
cc72c420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
create_order.vue
src/pages/create_order/create_order.vue
+15
-12
No files found.
src/pages/create_order/create_order.vue
View file @
7664952a
...
...
@@ -2055,8 +2055,14 @@ export default {
that
.
params
.
consigneeVO
.
id
=
null
that
.
params
.
consigneeVO
.
orderId
=
null
}
res
.
data
.
orderItemVOList
.
forEach
((
item
)
=>
{
let
newItem
=
{
}
// if(!that.params.number) that.params.number = ''
that
.
getType
()
res
.
data
.
orderItemVOList
.
forEach
((
item
)
=>
{
let
newItem
=
{}
if
(
copy
)
{
newItem
=
{
link
:
item
.
link
,
prodId
:
item
.
prodId
,
prodTitleEn
:
item
.
prodTitleEn
,
...
...
@@ -2072,16 +2078,13 @@ export default {
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
(
item
.
prodAttrIds
)
item
.
prodAttrs
=
item
.
prodAttrIds
.
split
(
'
,
'
)
})
}
}
else
{
newItem
=
item
}
if
(
newItem
.
prodAttrIds
)
newItem
.
prodAttrs
=
newItem
.
prodAttrIds
.
split
(
'
,
'
)
that
.
params
.
orderItemVOList
.
push
({
...
newItem
})
});
/*if(that.params.transportId != 0 ||that.params.lineId!=0 ||(that.params.departureId != 0 && that.params.objectiveId != 0)){
that.openedRouterF = false
...
...
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