szh_zidingyibiaoti
张同海 2 years ago
parent 13245d49c4
commit 7ecba40271

@ -1923,8 +1923,7 @@ export default {
let Rdata = 0 let Rdata = 0
if (this.orderDetails.ediCtn) { if (this.orderDetails.ediCtn) {
this.orderDetails.ediCtn.forEach(item => { this.orderDetails.ediCtn.forEach(item => {
Rdata = parseFloat(Rdata) + parseFloat(item[type]) Rdata = parseFloat(Rdata) + parseFloat(item[type]) || 0
console.log(item)
}) })
} }
@ -2076,7 +2075,8 @@ export default {
sealno: item.sealno, sealno: item.sealno,
pkgs: item.pkgs, pkgs: item.pkgs,
kindpkgs: item.kindpkgs, kindpkgs: item.kindpkgs,
kgs: item.sealkgsno, kgs: item.kgs || 0,
cbm: item.cbm,
rowKey: item.rowKey rowKey: item.rowKey
}) })
}) })

Loading…
Cancel
Save