|
@ -368,6 +368,7 @@ |
|
|
detail.handleQty = 0 |
|
|
detail.handleQty = 0 |
|
|
detail.qty = 0 |
|
|
detail.qty = 0 |
|
|
detail.subList.forEach(item=>{ |
|
|
detail.subList.forEach(item=>{ |
|
|
|
|
|
item.handleQty =item.handleQty || 0 |
|
|
detail.handleQty = calc.add(detail.handleQty,item.handleQty) |
|
|
detail.handleQty = calc.add(detail.handleQty,item.handleQty) |
|
|
detail.qty = calc.add(detail.qty,item.qty) |
|
|
detail.qty = calc.add(detail.qty,item.qty) |
|
|
// item.packList.forEach(cur=>{ |
|
|
// item.packList.forEach(cur=>{ |
|
@ -396,6 +397,7 @@ |
|
|
detail.handleQty = 0 |
|
|
detail.handleQty = 0 |
|
|
detail.balance = result.balance, |
|
|
detail.balance = result.balance, |
|
|
detail.subList.forEach(item=>{ |
|
|
detail.subList.forEach(item=>{ |
|
|
|
|
|
item.handleQty =item.handleQty || 0 |
|
|
detail.handleQty = calc.add(detail.handleQty,item.handleQty) |
|
|
detail.handleQty = calc.add(detail.handleQty,item.handleQty) |
|
|
// item.packList.forEach(cur=>{
// cur.handleQty = calc.add(detail.handleQty,item.handleQty)
// }) |
|
|
// item.packList.forEach(cur=>{
// cur.handleQty = calc.add(detail.handleQty,item.handleQty)
// }) |
|
|
}) |
|
|
}) |
|
@ -445,6 +447,8 @@ |
|
|
// }) |
|
|
// }) |
|
|
detail.handleQty = 0 |
|
|
detail.handleQty = 0 |
|
|
detail.subList.forEach(item=>{ |
|
|
detail.subList.forEach(item=>{ |
|
|
|
|
|
console.log(item.handleQty) |
|
|
|
|
|
item.handleQty =item.handleQty || 0 |
|
|
detail.handleQty = calc.add(detail.handleQty,item.handleQty) |
|
|
detail.handleQty = calc.add(detail.handleQty,item.handleQty) |
|
|
// item.packList.forEach(cur=>{
// cur.handleQty = calc.add(detail.handleQty,item.handleQty)
// }) |
|
|
// item.packList.forEach(cur=>{
// cur.handleQty = calc.add(detail.handleQty,item.handleQty)
// }) |
|
|
}) |
|
|
}) |
|
|