|
|
@@ -3,6 +3,65 @@
|
|
|
<!-- 资产信息-->
|
|
|
<el-tab-pane label="资产信息">
|
|
|
<!-- <div class="app-container"> -->
|
|
|
+ <el-form ref="forms" :model="forms" :inline="true" style="margin-top: 20px" label-width="auto" >
|
|
|
+ <el-row class="zap-form" style="padding-bottom: 0;">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="选择融信:" prop="zfrFinanceId" size="large">
|
|
|
+ <el-select v-model="forms.zfrFinanceId" clearable @clear="clearBoth">
|
|
|
+ <el-option v-for="(item,index) in financeInfList" :key="index" :label="item.zfiNumber" :value="item.zfiId" @click.native="amount(item)"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="融资收款账户:" prop="zfrCollectionAccount" size="large" label-width="101px">
|
|
|
+ <el-input v-model="forms.zfrCollectionAccount" clearable placeholder="请输入融资账户" maxlength="25" :readonly="readonly" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="zap-form" style="padding-bottom: 0;">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="融信金额:" prop="zfiAmount" size="large">
|
|
|
+ <el-input v-model="forms.zfiAmount" clearable placeholder="请输入融信金额" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="申请融资方:" prop="companyName" size="large">
|
|
|
+ <el-input v-model="forms.companyName" clearable placeholder="请输入申请融资方" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="zap-form" style="padding-bottom: 0;">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="融资金额:" prop="zfrAmount" size="large">
|
|
|
+ <el-input v-model="forms.zfrAmount" clearable placeholder="请输入融资金额" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="融资利率:" prop="zfrRate" size="large">
|
|
|
+ <el-input v-model="forms.zfrRate" clearable placeholder="请输入融资利率" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="zap-form" style="padding-bottom: 0;">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="承诺还款日期:" prop="zfrRepaymentDate" size="large" label-width="101px">
|
|
|
+ <el-input v-model="forms.zfrRepaymentDate" clearable placeholder="请输入承诺还款日期" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="服务费率:" prop="zfpcrChargeRate" size="large">
|
|
|
+ <el-input v-model="forms.zfpcrChargeRate" clearable placeholder="请输入服务费率" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="zap-form" style="padding-bottom: 0;">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="融资期限:" prop="termIng" size="large" label-width="101px">
|
|
|
+ <el-input v-model="forms.termIng" clearable placeholder="请输入融资期限" maxlength="25" readonly />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
<el-form ref="form" :model="form" :rules="rules" :inline="true" style="margin-top: 20px" label-width="auto" >
|
|
|
<el-divider content-position="left">签收</el-divider>
|
|
|
<el-form-item label="融信利率:">
|
|
|
@@ -313,6 +372,7 @@ import {isOpenApproval} from "@/api/service/credit/approvalRelatedCredit";
|
|
|
import pdfShow from "./pdfShow";
|
|
|
import DetailBill from "@/views/service/credit/billDetail";
|
|
|
import {contractSigning} from "@/api/service/credit/message";
|
|
|
+import { listFinanceInf } from "@/api/common/financeInf";
|
|
|
import { amtformat } from "@/utils/amtCommon";
|
|
|
import Cookies from 'js-cookie';
|
|
|
export default {
|
|
|
@@ -328,6 +388,7 @@ export default {
|
|
|
form: {
|
|
|
|
|
|
},
|
|
|
+ forms:{},
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
|
|
|
@@ -482,10 +543,48 @@ export default {
|
|
|
this.isOpenApproval();
|
|
|
//盖章合同
|
|
|
this.getCreditSealFile();
|
|
|
- })
|
|
|
+ });
|
|
|
+ this.getFinanceInf(zfiId);
|
|
|
+ this.getUserProfile();
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ /** 查询融信编号 */
|
|
|
+ getFinanceInf(zfrFinanceId) {
|
|
|
+ this.loading = true;
|
|
|
+ listFinanceInf(zfrFinanceId).then(response => {
|
|
|
+ debugger;
|
|
|
+ if (response.data) {
|
|
|
+ this.financeInfList = response.data;
|
|
|
+ for (let item of this.financeInfList) {
|
|
|
+ if (item.zfiId == zfrFinanceId) {
|
|
|
+ this.amount(item);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.loading = false;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ getUserProfile(){
|
|
|
+ getUserProfile().then(response => {
|
|
|
+ debugger
|
|
|
+ if(response.company){
|
|
|
+ this.$set(this.forms, "companyName", response.company.scyName);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /* 融信编号赋值融资金额 */
|
|
|
+ amount(item) {
|
|
|
+ debugger;
|
|
|
+ this.$set(this.forms, "zfiAmount", item.zfiAmount);
|
|
|
+ this.$set(this.forms, "zfrAmount", item.zfiAmount);
|
|
|
+ this.$set(this.forms, "zfrRepaymentDate", item.zfiExpireDate);
|
|
|
+ this.$set(this.forms, "zfrRate", item.zfpcrRate);
|
|
|
+ this.$set(this.forms, "zfpcrLoanType", item.zfpcrLoanType);
|
|
|
+ this.$set(this.forms, "zfiProductId", item.zfiProductId);
|
|
|
+ this.$set(this.forms, "zfpcrChargeRate", item.zfpcrChargeRate);
|
|
|
+ this.$set(this.forms, "termIng", item.termIng);
|
|
|
+ },
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|