-
+
@@ -38,8 +44,8 @@
-
+
@@ -150,7 +156,7 @@
-
\ No newline at end of file
diff --git a/src/views/operation/seaexport/detail/modules/goodsTable.vue b/src/views/operation/seaexport/detail/modules/goodsTable.vue
index 3b095bb7..bdebacff 100644
--- a/src/views/operation/seaexport/detail/modules/goodsTable.vue
+++ b/src/views/operation/seaexport/detail/modules/goodsTable.vue
@@ -924,10 +924,10 @@
let data = res.data
totalPkgs.value = 0
data.forEach(async (item, index) => {
- totalPkgs.value = totalPkgs.value + item.pkgs
- totalKgs.value = totalKgs.value + item.kgs
- totalCbm.value = totalCbm.value + item.cbm
- totalCtn.value = totalCtn.value + item.ctnNum
+ totalPkgs.value = parseInt(totalPkgs.value) + parseInt(item.pkgs)
+ totalKgs.value = parseInt(totalKgs.value) + parseInt(item.kgs)
+ totalCbm.value = parseInt(totalCbm.value) + parseInt(item.cbm)
+ totalCtn.value = parseInt(totalCtn.value) + parseInt(item.ctnNum)
item.rowKey = index
const weightTypeList = weightTypeDict.value.length
? weightTypeDict.value