gjy 3 년 전
부모
커밋
cfc97b7388
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/warehouse/warehouseManagementPerfectDelivery.vue
  2. 1 1
      src/views/warehouse/warehouseManagementTare.vue

+ 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()