Pārlūkot izejas kodu

计价单位审批修改

wengyuwen 4 gadi atpakaļ
vecāks
revīzija
72c9d96c54

+ 5 - 20
src/views/warehouseBusiness/outStock/index.vue

@@ -2816,30 +2816,15 @@ export default {
           this.goodsOptions = response.data.goodsList;
           this.kqhouseOptions = response.data.warehouseAreas;
           this.warehouseDrList = response.data.warehousebillsfeesDr;
+
           for (let dr in this.warehouseDrList) {
-            this.$set(
-              this.warehouseDrList[dr],
-              "fFeeUnitid",
-              this.warehouseDrList[dr].fFeeunitid + ""
-            );
-            this.$set(
-              this.warehouseDrList[dr],
-              "fQty",
-              this.warehouseDrList[dr].fQty.toFixed(2)
-            );
-            this.$set(
-              this.warehouseDrList[dr],
-              "fAmount",
-              this.warehouseDrList[dr].fAmount.toFixed(2)
-            );
+            this.$set(this.warehouseDrList[dr], "fFeeunitid", this.warehouseDrList[dr].fFeeunitid + '');
+            this.$set(this.warehouseDrList[dr], "fQty", this.warehouseDrList[dr].fQty.toFixed(2));
+            this.$set(this.warehouseDrList[dr], "fAmount", this.warehouseDrList[dr].fAmount.toFixed(2));
           }
           this.warehouseCrList = response.data.warehousebillsfeesCr;
           for (let cr in this.warehouseCrList) {
-            this.$set(
-              this.warehouseCrList[cr],
-              "fFeeUnitid",
-              this.warehouseCrList[cr].fFeeunitid + ""
-            );
+            this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + "");
           }
           this.userOptions = response.data.sysUser;
           this.open = true;

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

@@ -1097,6 +1097,7 @@
         this.approval = this.$route.query.data
         if (this.approval){
           this.reset()
+          this.browseStatus = status;
           this.Xbutton = false
           this.approval = JSON.parse(this.approval)
           // this.hide = false
@@ -1124,6 +1125,9 @@
             }
             if (response.data.warehouseFeesList) {
               this.warehouseDrList = response.data.warehouseFeesList
+              for (let dr in this.warehouseDrList) {
+                this.$set(this.warehouseDrList[dr], "fFeeunitid", this.warehouseDrList[dr].fFeeunitid + '');
+              }
             }
             if (response.data.feesList) {
               this.fWbuOptions = response.data.feesList