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
1c248e1a
Commit
1c248e1a
authored
Oct 05, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓的两个总数回显至接口
parent
316ec576
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.vue
src/views/ecw/order/warehousing/index.vue
+8
-8
No files found.
src/views/ecw/order/warehousing/index.vue
View file @
1c248e1a
...
@@ -291,14 +291,14 @@ export default {
...
@@ -291,14 +291,14 @@ export default {
})
})
},
},
getTowSum
(){
getTowSum
(){
let
sumVolume
=
0
//
let sumVolume = 0
let
sumWeight
=
0
//
let sumWeight = 0
this
.
order
.
orderItemVOList
.
forEach
(
e
=>
{
//
this.order.orderItemVOList.forEach(e => {
if
(
e
?.
warehouseInInfoVO
?.
volume
)
sumVolume
+=
e
.
warehouseInInfoVO
.
volume
//
if (e?.warehouseInInfoVO?.volume) sumVolume += e.warehouseInInfoVO.volume
if
(
e
?.
warehouseInInfoVO
?.
weight
)
sumWeight
+=
e
.
warehouseInInfoVO
.
weight
//
if (e?.warehouseInInfoVO?.weight) sumWeight += e.warehouseInInfoVO.weight
})
//
})
this
.
form
.
sumVolume
=
sumVolume
this
.
form
.
sumVolume
=
this
.
order
.
sumVolume
// ||
sumVolume
this
.
form
.
sumWeight
=
sumWeight
this
.
form
.
sumWeight
=
this
.
order
.
sumWeight
// ||
sumWeight
},
},
getOrder
(){
getOrder
(){
getOrder
(
this
.
orderId
).
then
(
r
=>
{
getOrder
(
this
.
orderId
).
then
(
r
=>
{
...
...
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