gjy преди 3 години
родител
ревизия
94d2fb87d7

+ 1 - 1
src/views/contractManagement/futuresPurchaseContract.vue

@@ -8,7 +8,7 @@
 						style="
               vertical-align: text-top;
               position: relative;
-              top: 2px;
+              top: 0px;
               left: -4px;
             " src="../../../public/img/header-add.png" alt="" />添加</ws-button>
 				<ws-button @click="exportlist()" v-hasPermission="

+ 1 - 1
src/views/contractManagement/futuresSalesContract.vue

@@ -8,7 +8,7 @@
 						style="
               vertical-align: text-top;
               position: relative;
-              top: 2px;
+              top: 0px;
               left: -4px;
             " src="../../../public/img/header-add.png" alt="" />添加</ws-button>
 				<ws-button @click="exportlist()" v-hasPermission="

+ 1 - 1
src/views/contractManagement/purchaseContract.vue

@@ -9,7 +9,7 @@
 						style="
               vertical-align: text-top;
               position: relative;
-              top: 2px;
+              top: 0px;
               left: -4px;
             " src="../../../public/img/header-add.png" alt="" />添加</ws-button>
 				<ws-button @click="exportlist()" v-hasPermission="

+ 1 - 1
src/views/contractManagement/salesContract.vue

@@ -9,7 +9,7 @@
           "><img width="13" height="13" style="
               vertical-align: text-top;
               position: relative;
-              top: 2px;
+              top: 0px;
               left: -4px;
             " src="../../../public/img/header-add.png" alt="" />添加</ws-button>
 				<ws-button @click="exportlist()" v-hasPermission="

+ 7 - 1
src/views/warehouse/warehouseManagementGross.vue

@@ -1156,7 +1156,13 @@
                     this.$router.push({
                       path: 'warehouseManagementList'
                     })
-                  })
+                  }).catch((response) => {
+                    this.deptBudgetList.grossWeight = Math.round(this.deptBudgetList.grossWeight*1000)
+                    this.deptBudgetList.tare = Math.round(this.deptBudgetList.tare*1000)
+                    this.deptBudgetList.netWeight = Math.round(this.deptBudgetList.netWeight*1000)
+                    this.deptBudgetList.pureWeight = Math.round(this.deptBudgetList.pureWeight*1000)
+                    this.deptBudgetList.deductionWeight = Math.round(this.deptBudgetList.deductionWeight*1000)
+                    })
               } else {
                 EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
                 return false

+ 7 - 1
src/views/warehouse/warehouseManagementNoWeightIn.vue

@@ -1219,7 +1219,13 @@
                       .catch(() => {
                         return false
                       })
-                  })
+                  }).catch((response) => {
+                    this.dataList.grossWeight = Math.round(this.dataList.grossWeight*1000)
+                    this.dataList.tare = Math.round(this.dataList.tare*1000)
+                    this.dataList.netWeight = Math.round(this.dataList.netWeight*1000)
+                    this.dataList.pureWeight = Math.round(this.dataList.pureWeight*1000)
+                    this.dataList.deductionWeight = Math.round(this.dataList.deductionWeight*1000)
+                    })
               } else {
                 EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
                 return false

+ 8 - 1
src/views/warehouse/warehouseManagementNoWeightOut.vue

@@ -991,7 +991,14 @@
                       .catch(() => {
                         return false
                       })
-                  })
+                  }).catch((response) => {
+                    this.dataList.grossWeight = Math.round(this.dataList.grossWeight*1000)
+                    this.dataList.tare = Math.round(this.dataList.tare*1000)
+                    this.dataList.netWeight = Math.round(this.dataList.netWeight*1000)
+                    this.dataList.pureWeight = Math.round(this.dataList.pureWeight*1000)
+                    this.dataList.deductionAmount = Math.round(this.dataList.deductionAmount/1000)
+                    this.dataList.deductionWeight = Math.round(this.dataList.deductionWeight*1000)
+                    })
               } else {
                 EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
                 return false

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

@@ -1305,7 +1305,14 @@
                   this.$router.push({
                     path: 'warehouseManagementList'
                   })
-                })
+                }).catch((response) => {
+                    this.deptBudgetList.grossWeight = Math.round(this.deptBudgetList.grossWeight*1000)
+                    this.deptBudgetList.tare = Math.round(this.deptBudgetList.tare*1000)
+                    this.deptBudgetList.netWeight = Math.round(this.deptBudgetList.netWeight*1000)
+                    this.deptBudgetList.pureWeight = Math.round(this.deptBudgetList.pureWeight*1000)
+                    this.deptBudgetList.deductionAmount = Math.round(this.deptBudgetList.deductionAmount/1000)
+                    this.deptBudgetList.deductionWeight = Math.round(this.deptBudgetList.deductionWeight*1000)
+                    })
             } else {
               EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
               return false