Просмотр исходного кода

调整仓储重置按钮 重置数据

阿伏兔 4 лет назад
Родитель
Сommit
f91c3084fa

+ 12 - 0
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -2122,6 +2122,17 @@
       },
       // 表单重置
       reset() {
+        this.disappear = false
+        this.addOrUpdateVisible = false
+        this.addOrUpdateVisib = false
+        this.approve = false
+        this.formBrowseStatus = false
+        this.detailsHidden = false
+        this.notChange = false
+        this.browseStatus = false
+        this.whgenlegVisible = false
+        this.editDialogVisible_ss = false
+        this.editDialogVisible_s = false
         this.dataList = []
         this.fWbuOptions = []
         this.fWbuOptions = []
@@ -2479,6 +2490,7 @@
                 return prev
               }
             }, 0) // sums[index]
+            sums[index] = sums[index].toFixed(2);
           }
         })
         return sums

+ 15 - 3
src/views/warehouseBusiness/outStock/index.vue

@@ -3383,6 +3383,19 @@ export default {
       this.KHblnoOptions = [];
       this.fMblnoOptions = [];
       this.kqhouseOptions = [];
+      this.addOrUpdateVisible = false
+      this.addOrUpdateVisib = false
+      this.formBrowseStatus = false
+      this.detailsHidden = false
+      this.warehousingagreements = false
+      this.whgenlegVisible = false
+      this.approvalStatus = false
+      this.editDialogVisible_s = false
+      this.editDialogVisible_ss = false
+      this.openPrintJobSheet = false
+      this.editDialogClosed_ss = false
+      this.storageAgreements = false
+      this.browseStatus = false
       this.resetForm("form");
     },
     /** 搜索按钮操作 */
@@ -3586,18 +3599,15 @@ export default {
             const value = Number(curr);
             if (!isNaN(value)) {
               if (column.property === "fGrossweight") {
-                this.form.fGrossweight = prev + curr;
                 this.fGrossweight = prev + curr;
               }
               if (column.property === "fNetweight") {
-                this.form.fNetweight = prev + curr;
                 this.fNetweight = prev + curr;
               }
               if (column.property === "fVolumn") {
                 this.fVolumn = prev + curr;
               }
               if (column.property === "fQty") {
-                this.form.fQty = prev + curr;
                 this.fQty = prev + curr;
               }
               if (column.property === "fCntqty") {
@@ -3608,6 +3618,7 @@ export default {
               return prev;
             }
           }, 0); // sums[index]
+          sums[index] = sums[index].toFixed(2);
         }
       });
       this.sums = sums;
@@ -3637,6 +3648,7 @@ export default {
               return prev;
             }
           }, 0); // sums[index]
+          sums[index] = sums[index].toFixed(2);
         }
       });
       return sums;

+ 12 - 0
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -2924,6 +2924,17 @@ export default {
       this.KHblnoOptions = [];
       this.fMblnoOptions = [];
       this.kqhouseOptions = [];
+      this.approve = false
+      this.disappear = false
+      this.addOrUpdateVisible = false
+      this.addOrUpdateVisib = false
+      this.formBrowseStatus = false
+      this.detailsHidden = false
+      this.warehousingagreements = false
+      this.browseStatus = false
+      this.editDialogClosed_ss = false
+      this.openPrintJobSheet = false
+      this.whgenlegVisible = false
       this.resetForm("form");
     },
     /** 搜索按钮操作 */
@@ -3323,6 +3334,7 @@ export default {
               return prev;
             }
           }, 0); // sums[index]
+          sums[index] = sums[index].toFixed(2);
         }
       });
       return sums;

+ 7 - 0
src/views/warehouseBusiness/storageFeeCalculation/index.vue

@@ -1308,6 +1308,13 @@
         this.userOptions = [];
         this.fWbuOptions = [];
         this.fMblnoOptions = [];
+        this.disappear = false
+        this.cancelButton = false
+        this.addOrUpdateVisib = false
+        this.addOrUpdateVisible = false
+        this.notChange = false
+        this.loading = false
+        this.browseStatus = false
         this.resetForm("form");
       },
       /** 搜索按钮操作 */