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
6ba5bda3
Commit
6ba5bda3
authored
Mar 25, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
精简计价接口的参数
parent
c0e3084a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
edit.vue
src/views/ecw/order/edit.vue
+17
-1
No files found.
src/views/ecw/order/edit.vue
View file @
6ba5bda3
...
...
@@ -1545,12 +1545,28 @@ export default {
getProductListWithDefaultValue
(){
let
arr
=
[]
this
.
form
.
orderItemVOList
.
forEach
(
item
=>
{
let
tmp
=
{...
item
}
// 商品信息只要商品id、品牌收费模式、件数、数量、体积、重量、货值、包装类型即可
// let tmp = {...item}
const
tmp
=
{
prodId
:
item
.
prodId
,
brandType
:
item
.
brandType
,
num
:
item
.
num
,
quantity
:
item
.
quantity
,
volume
:
item
.
volume
,
weight
:
item
.
weight
,
prodAttrIds
:
item
.
prodAttrArr
.
join
(
'
,
'
),
worth
:
item
.
worth
,
packageType
:
item
.
packageType
,
unit
:
item
.
unit
}
if
(
!
tmp
.
volume
)
tmp
.
volume
=
0
if
(
!
tmp
.
weight
)
tmp
.
weight
=
0
if
(
!
tmp
.
quantity
)
tmp
.
quantity
=
0
if
(
!
tmp
.
num
)
tmp
.
num
=
0
tmp
.
orderType
=
item
.
orderItemType
delete
tmp
.
fee
delete
tmp
.
couponInfo
delete
tmp
.
couponInfoVOList
arr
.
push
(
tmp
)
})
return
arr
...
...
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