Sfoglia il codice sorgente

预装箱单-总净重/总体积计算

jbb 2 anni fa
parent
commit
1b1e42d5d8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/advance-packingList/addAdpackingDrawer.vue

+ 2 - 2
src/views/advance-packingList/addAdpackingDrawer.vue

@@ -1092,8 +1092,8 @@ export default {
       }
       
       headData.totalBoxes =Number(totalBoxes).toFixed(0);
-      headData.totalNetWeight = totalNetWeight;
-      headData.totalGrossWeight = totalGrossWeight;
+      headData.totalNetWeight = Number(totalNetWeight).toFixed(2);
+      headData.totalGrossWeight = Number(totalGrossWeight).toFixed(2);
       headData.totalVolume = totalVolume.toFixed(3);
       headData.totalPrice = totalPrice.toFixed(2); 
       headData.total = total.toFixed(0)