Explorar o código

预装箱单新增总箱数保留整数

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
0f6f20a6b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/advance-packingList/addAdpackingDrawer.vue

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

@@ -879,7 +879,7 @@ export default {
           total += rowData.total*1;
         }
       }
-      headData.totalBoxes = totalBoxes;
+      headData.totalBoxes = totalBoxes.toFixed(0);
       headData.totalNetWeight = totalNetWeight;
       headData.totalGrossWeight = totalGrossWeight;
       headData.totalVolume = totalVolume.toFixed(3);