diff --git a/src/views/main/BookingLedger/detail/modules/preOrder.vue b/src/views/main/BookingLedger/detail/modules/preOrder.vue index ec75315..5612929 100644 --- a/src/views/main/BookingLedger/detail/modules/preOrder.vue +++ b/src/views/main/BookingLedger/detail/modules/preOrder.vue @@ -1923,8 +1923,7 @@ export default { let Rdata = 0 if (this.orderDetails.ediCtn) { this.orderDetails.ediCtn.forEach(item => { - Rdata = parseFloat(Rdata) + parseFloat(item[type]) - console.log(item) + Rdata = parseFloat(Rdata) + parseFloat(item[type]) || 0 }) } @@ -2076,7 +2075,8 @@ export default { sealno: item.sealno, pkgs: item.pkgs, kindpkgs: item.kindpkgs, - kgs: item.sealkgsno, + kgs: item.kgs || 0, + cbm: item.cbm, rowKey: item.rowKey }) })