Browse Source

[CODE]: 调拨、货转 --> 审批进度 查看回显

maxianghua 4 years ago
parent
commit
a3eff86fcd

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

@@ -2401,13 +2401,20 @@
               this.formBrowseStatus = true
               this.formBrowseStatus = true
             }
             }
             this.$set(this.dataList[list], 'fBsdate', Date.parse(this.dataList[list].fBsdate))
             this.$set(this.dataList[list], 'fBsdate', Date.parse(this.dataList[list].fBsdate))
+            this.$set(this.dataList[list], 'fBusinessType', this.dataList[list].fBusinessType + '')
           }
           }
           this.goodsOptions = response.data.goodsList
           this.goodsOptions = response.data.goodsList
           if (response.data.warehousebillsfeesDr) {
           if (response.data.warehousebillsfeesDr) {
             this.warehouseDrList = response.data.warehousebillsfeesDr
             this.warehouseDrList = response.data.warehousebillsfeesDr
+            for (let dr in this.warehouseDrList) {
+              this.$set(this.warehouseDrList[dr], "fFeeunitid", this.warehouseDrList[dr].fFeeunitid + '');
+            }
           }
           }
           if (response.data.warehousebillsfeesCr) {
           if (response.data.warehousebillsfeesCr) {
             this.warehouseCrList = response.data.warehousebillsfeesCr
             this.warehouseCrList = response.data.warehousebillsfeesCr
+            for (let cr in this.warehouseCrList) {
+              this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + "");
+            }
           }
           }
           if (response.data.enclosures) {
           if (response.data.enclosures) {
             this.relevantAttachments = response.data.enclosures;
             this.relevantAttachments = response.data.enclosures;

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

@@ -3244,6 +3244,7 @@ export default {
               this.formBrowseStatus = true;
               this.formBrowseStatus = true;
             }
             }
             this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
             this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
+            this.$set(this.dataList[list], 'fBusinessType', this.dataList[list].fBusinessType + '')
           }
           }
         }
         }
         if (response.data.enclosures) {
         if (response.data.enclosures) {
@@ -3252,8 +3253,17 @@ export default {
         if (response.data.warehouse) {
         if (response.data.warehouse) {
           this.warehouseDrList = response.data.warehousebillsfeesDr;
           this.warehouseDrList = response.data.warehousebillsfeesDr;
         }
         }
+        if (response.data.warehousebillsfeesDr) {
+          this.warehouseDrList = response.data.warehousebillsfeesDr;
+          for (let dr in this.warehouseDrList) {
+            this.$set(this.warehouseDrList[dr], "fFeeunitid", this.warehouseDrList[dr].fFeeunitid + '');
+          }
+        }
         if (response.data.warehousebillsfeesCr) {
         if (response.data.warehousebillsfeesCr) {
           this.warehouseCrList = response.data.warehousebillsfeesCr;
           this.warehouseCrList = response.data.warehousebillsfeesCr;
+          for (let cr in this.warehouseCrList) {
+            this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + '');
+          }
         }
         }
         if (response.data.sysUser) {
         if (response.data.sysUser) {
           this.userVal = response.data.sysUser
           this.userVal = response.data.sysUser