Commit 1c248e1a authored by Marcus's avatar Marcus

入仓的两个总数回显至接口

parent 316ec576
...@@ -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 => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment