Переглянути джерело

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

sufan 1 місяць тому
батько
коміт
4c1ffb6f14

+ 1 - 0
src/views/financingManage/limitExpenditure/components/FinancingInfo.vue

@@ -490,6 +490,7 @@ export default {
         getSmbFinancingRate({ financingBasicInfoId: id }).then(({ data }) => {
           this.ruleForm.interestCalculate = 1
           this.ruleForm.marginRatio = 0
+          this.ruleForm.marginAmount = 0
           this.ruleForm.otherFeeAmount = 0
           this.ruleForm.financingRate = data.approvedInterestRate
           // 调用 - 苏商银行获取相关还款责任人

+ 1 - 1
src/views/financingManage/limitExpenditure/mainContent.vue

@@ -237,7 +237,7 @@ export default {
     },
     async automaticGeneration() {
       const params = await this.$refs.financingInfo.getParams()
-      getExpenditurePlan(params).then(({ data }) => {
+      getExpenditurePlan({ ...params, financingBasicInfoId: this.ruleForm.financingBasicInfoId }).then(({ data }) => {
         this.incomeExpenditurePlanList = data
         this.$nextTick(() => {
           this.getTrrData()