gjy vor 3 Jahren
Ursprung
Commit
cfc97b7388

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

@@ -469,7 +469,7 @@ export default {
     this.dataList.warehouseName = this.$route.query.warehouseName
     this.dataList.binNumber = this.$route.query.binNumber
     this.dataList.tare = this.$route.query.tare
-    this.dataList.netWeight = this.$route.query.netWeight
+    this.dataList.netWeight = this.$route.query.netWeight.toFixed(2)
     this.dataList.grade = this.$route.query.grade
     this.dataList.agent = this.$route.query.agent
     this.dataList.carNo = this.$route.query.carNo

+ 1 - 1
src/views/warehouse/warehouseManagementTare.vue

@@ -869,7 +869,7 @@
                 this.deptBudgetList.statusFlag = 1
                 his.deptBudgetList.grossWeight /= 1000
                 this.deptBudgetList.tare /= 1000
-                this.deptBudgetList.netWeight /= 1000
+                this.deptBudgetList.netWeight = this.deptBudgetList.netWeight.toFixed(2)
                 this.deptBudgetList.pureWeight /= 1000
                 addstorageputList(this.deptBudgetList)
                   .toPromise()