Przeglądaj źródła

fix(额度支用):额支用修改

jiand 7 miesięcy temu
rodzic
commit
88888638bd

+ 7 - 4
src/views/financingManage/limitExpenditure/components/FinancingInfo.vue

@@ -362,7 +362,7 @@ export default {
           this.ruleFormKey += 1
           setTimeout(() => {
             this.getBusinessTypeInfoData()
-          }, 300)
+          }, 500)
         }
       },
       immediate: true,
@@ -450,9 +450,12 @@ export default {
       })
     },
     getBusinessTypeInfoData() {
-      getBusinessTypeByManagement({ refinancingManagementId: this.refinancingManagement.id }).then(({ data }) => {
-        this.businessTypeInfo = data.data
-      })
+      if(this.refinancingManagement) {
+        getBusinessTypeByManagement({ refinancingManagementId: this.refinancingManagement.id }).then(({ data }) => {
+          this.businessTypeInfo = data.data
+        })
+      }
+    
     },
     getBusinessTypeInfo() {
       this.ruleForm.businessType = ''

+ 3 - 2
src/views/financingManage/limitExpenditure/mainContent.vue

@@ -171,7 +171,7 @@ export default {
       handler(newV) {
         if (newV === undefined) return
         if (this.$route.query?.type === 'see') {
-          const { incomeExpenditurePlanHisList, reviewFinancingInfoHis, reviewMasterContractHis, reviewTransferReceivableHis, mortgageBasicInfoHisList, reviewBasicContractHisList, planIrrStr } = JSON.parse(JSON.stringify(newV))
+          const { incomeExpenditurePlanHisList, reviewFinancingInfoHis, reviewMasterContractHis, rltRepayHisList, reviewTransferReceivableHis, mortgageBasicInfoHisList, reviewBasicContractHisList, planIrrStr } = JSON.parse(JSON.stringify(newV))
           this.ruleForm = {
             ...this.ruleForm,
             ...JSON.parse(JSON.stringify(newV)),
@@ -180,7 +180,8 @@ export default {
             reviewBasicContractList: reviewBasicContractHisList || [],
             reviewMasterContract: reviewMasterContractHis || [],
             reviewFinancingInfo: reviewFinancingInfoHis || [],
-            reviewTransferReceivable: reviewTransferReceivableHis || []
+            reviewTransferReceivable: reviewTransferReceivableHis || [],
+            rltRepayList: rltRepayHisList || []
           }
           this.incomeExpenditurePlanList = incomeExpenditurePlanHisList
           this.planIrrStr = planIrrStr