gjy 3 年之前
父節點
當前提交
dbfbe0e426
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/warehouse/warehouseManagementPerfectDelivery.vue

+ 2 - 2
src/views/warehouse/warehouseManagementPerfectDelivery.vue

@@ -964,14 +964,14 @@ export default {
       if (this.dataList.grossWeight && this.dataList.tare) {
         this.dataList.netWeight = Number(
           this.dataList.grossWeight - this.dataList.tare
-        )
+        ).toFixed(2)
       }
     },
     grossWeightchange(e) {
       if (this.dataList.grossWeight && this.dataList.tare) {
         this.dataList.netWeight = Number(
           this.dataList.grossWeight - this.dataList.tare
-        )
+        ).toFixed(2)
       }
     },
     selectgoodsName(e) {