Qukatie 6 hónapja
szülő
commit
9c8872e9f8

+ 6 - 3
src/views/iosBasicData/SeafreightExportF/bills/index.vue

@@ -1715,8 +1715,10 @@ export default {
                         let all = values.length !== 0 ? sums[index] = values.reduce((a, b) => {
                             return a + b;
                         }) : 0
-                        if (prop == 'quantity' || prop == 'grossWeight' || prop == 'measurement' || prop == 'teu' || prop == 'quantityV20' || prop == 'quantityV40' || prop == 'quantityV40hc' || prop == 'quantityV45' || prop == 'quantityV48') {
-                            console.log(all)
+                        if (prop == 'grossWeight' || prop == 'measurement' ) {
+                            sums[index] = all.toFixed(3)
+                        }
+                        if (prop == 'quantity'|| prop == 'teu' || prop == 'quantityV20' || prop == 'quantityV40' || prop == 'quantityV40hc' || prop == 'quantityV45' || prop == 'quantityV48') {
                             sums[index] = all
                         }
                     } else {
@@ -1991,7 +1993,8 @@ export default {
         editypesSendingEdifun(row) {
             row.billId = this.ids;
             editypesSendingEdi(row).then(res => {
-                this.$message.success("发送EDI成功");
+                console.log(res)
+                this.$message.success(res.data.msg);
                 this.onLoad(this.page);
             });
         },