Browse Source

去融资类型校验,融资盖章

peixh 3 năm trước cách đây
mục cha
commit
3ffc89e83d

+ 14 - 5
front-vue/src/views/service/credit/goFinance.vue

@@ -40,8 +40,8 @@
             </el-form-item>
           </el-col>
           <el-col :span="8">
-            <el-form-item label="融资放款方式" prop="zfpcrLoantype" label-width="90px" v-if="false">
-              <el-input v-model="form.zfpcrLoantype" placeholder="请输入融资账户" style="width: 284px;"/>
+            <el-form-item label="融资放款方式" prop="zfpcrLoanType" label-width="90px" v-if="false">
+              <el-input v-model="form.zfpcrLoanType" placeholder="请输入融资账户" style="width: 284px;"/>
             </el-form-item>
           </el-col>
         </el-row>
@@ -51,6 +51,11 @@
               <el-input v-model="form.zfiProductId" placeholder="请输入融资产品" style="width: 284px;"/> 
             </el-form-item>
           </el-col>
+          <el-col :span="8">
+            <el-form-item label="平台服务费收取费率" prop="zfpcrChargeRate" v-if="false">
+              <el-input v-model="form.zfpcrChargeRate" clearable placeholder="请输入平台服务费收取费率" style="width: 284px;"/> 
+            </el-form-item>
+          </el-col>
         </el-row>
       </el-form>
       <el-divider content-position="left">应收账款</el-divider>
@@ -203,7 +208,7 @@ export default {
         zfrApplyType: null,
         zfrStatus: null,
         zfrApproveStt: null,
-        zfpcrLoantype: null,
+        zfpcrLoanType: null,
         zfiProductId: null
       },
       // 表单参数
@@ -233,6 +238,7 @@ export default {
     getFinanceInf(zfrFinanceId){
       this.loading = true;
       listFinanceInf(zfrFinanceId).then(response => {
+        debugger
         if(response.data){
             this.financeInfList = response.data;
             for (let item of this.financeInfList) {
@@ -313,11 +319,13 @@ export default {
     },
     /* 融信编号赋值融资金额 */
     amount(item) {
+      debugger
       this.$set(this.form, "zfrAmount", item.zfiAmount);
       this.$set(this.form, "zfrRepaymentDate", item.zfiExpireDate);
       this.$set(this.form, "zfrRate", item.zfpcrRate);
-      this.$set(this.form, "zfpcrLoantype", item.zfpcrLoantype);
+      this.$set(this.form, "zfpcrLoanType", item.zfpcrLoanType);
       this.$set(this.form, "zfiProductId", item.zfiProductId);
+      this.$set(this.form, "zfpcrChargeRate", item.zfpcrChargeRate);
       if(item.zfiId){
         this.loading = true;
         listBillInf(item.zfiId).then(response => {
@@ -355,6 +363,7 @@ export default {
             spinner: "el-icon-loading",
             background: "rgba(0, 0, 0, 0.7)",
           });
+          console.log(this.form,"AAHAHAHAH")
           addRecord(this.form).then(response => {
             this.msgSuccess("融资申请成功");
             loading.close();
@@ -372,7 +381,7 @@ export default {
       this.form.zfrAmount = '';
       this.form,zfrRepaymentDate = '';
       this.form.zfrRate = '';
-      this.form.zfpcrLoantype = '';
+      this.form.zfpcrLoanType = '';
       this.billInfList = [];
       this.contractFileList = [];
       this.invoiceFileList = [];

+ 2 - 1
front-vue/src/views/service/financeRecord/approvalRecordDetail.vue

@@ -252,8 +252,9 @@ export default {
       }).then(() =>{ 
         this.form = response.data;
         this.$set(this.form, "zfrRepaymentDate", this.parseTime(new Date(response.data.zfrRepaymentDate),'{y}-{m}-{d}'));
+        this.getRecordSealFile()
       })
-      this.getRecordSealFile()
+      
     });
     // this.getFinanceInf();
   },

+ 2 - 2
front-vue/src/views/service/financeRecord/detailFinanceRecord.vue

@@ -253,9 +253,9 @@ export default {
       }).then(() =>{ 
         this.form = response.data;
         this.$set(this.form, "zfrRepaymentDate", this.parseTime(new Date(response.data.zfrRepaymentDate),'{y}-{m}-{d}'));
-        
+        this.getRecordSealFile()
       })
-      this.getRecordSealFile()
+      
     });
     // this.getFinanceInf();
   },

+ 3 - 1
front-vue/src/views/service/financeRecord/recordSeal.vue

@@ -325,8 +325,9 @@ export default {
             }).then(() =>{ 
                 this.form = response.data;
                 this.$set(this.form, "zfrRepaymentDate", this.parseTime(new Date(response.data.zfrRepaymentDate),'{y}-{m}-{d}'));
+                this.getRecordSealFile()
             })
-            this.getRecordSealFile()
+            
         });
     },
     methods: {
@@ -769,6 +770,7 @@ export default {
             text: 'Loading',
             background: 'rgba(0, 0, 0,0)'
         });
+        this.zcFinanceInf.zfrId = this.zfrId;
          contractSigning(this.zcFinanceInf).then((response) => {
              loading.close();
                 this.msgSuccess("盖章成功");