|
|
@ -9,7 +9,7 @@ |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="账号"> |
|
|
|
<el-form-item label="账号"> |
|
|
|
<el-input v-model="form.applicationNumber" disabled /> |
|
|
|
<el-input v-model="form.applicationAccount" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="证件类型"> |
|
|
|
<el-form-item label="证件类型"> |
|
|
|
<el-select v-model.trim="form.identificationType" placeholder="请选择" disabled> |
|
|
|
<el-select v-model.trim="form.identificationType" placeholder="请选择" disabled> |
|
|
@ -34,7 +34,7 @@ |
|
|
|
<el-input v-model="form.corporateName" /> |
|
|
|
<el-input v-model="form.corporateName" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="信用评级"> |
|
|
|
<el-form-item label="信用评级"> |
|
|
|
<el-input v-model="form.creditRating" /> |
|
|
|
<el-input v-model="bankLoanApplication.creditRating" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="授信金额"> |
|
|
|
<el-form-item label="授信金额"> |
|
|
|
<el-input v-model="form.creditAmount" disabled /> |
|
|
|
<el-input v-model="bankLoanApplication.creditAmount" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
@ -53,13 +53,13 @@ |
|
|
|
<h6 class="l-title">贷款申请</h6> |
|
|
|
<h6 class="l-title">贷款申请</h6> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="授信年限" required> |
|
|
|
<el-form-item label="授信年限"> |
|
|
|
<el-select v-model="form.creditTerm" placeholder="请选择"> |
|
|
|
<el-select v-model="bankLoanApplication.creditTerm" placeholder="请选择"> |
|
|
|
<el-option v-for="(item, i) in opt1" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
<el-option v-for="(item, i) in opt1" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款方式" required> |
|
|
|
<el-form-item label="还款方式"> |
|
|
|
<el-select v-model.trim="form.repaymentMethod" placeholder="请选择"> |
|
|
|
<el-select v-model.trim="bankLoanApplication.repaymentMethodOne" placeholder="请选择"> |
|
|
|
<el-option v-for="(item, i) in opt2" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
<el-option v-for="(item, i) in opt2" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -68,8 +68,8 @@ |
|
|
|
<el-form-item label="年化利率"> |
|
|
|
<el-form-item label="年化利率"> |
|
|
|
<el-input value="3.2%" disabled /> |
|
|
|
<el-input value="3.2%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="发放方式" required> |
|
|
|
<el-form-item label="发放方式"> |
|
|
|
<el-select v-model.trim="form.distributionMethod" placeholder="请选择"> |
|
|
|
<el-select v-model.trim="bankLoanApplication.distributionMethod" placeholder="请选择"> |
|
|
|
<el-option v-for="(item, i) in opt3" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
<el-option v-for="(item, i) in opt3" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -86,10 +86,10 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="授信金额"> |
|
|
|
<el-form-item label="授信金额"> |
|
|
|
<el-input v-model="form.creditAmount" disabled /> |
|
|
|
<el-input v-model="bankLoanApplication.creditAmount" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="起息日期" prop="valueDate"> |
|
|
|
<el-form-item label="起息日期" prop="valueDate"> |
|
|
|
<el-date-picker v-model="form.valueDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
<el-date-picker v-model="bankLoanApplication.valueDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="计息方式"> |
|
|
|
<el-form-item label="计息方式"> |
|
|
@ -99,29 +99,29 @@ |
|
|
|
<el-input value="3.2%" disabled /> |
|
|
|
<el-input value="3.2%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="担保方式"> |
|
|
|
<el-form-item label="担保方式"> |
|
|
|
<el-select v-model="form.guaranteeMethod" placeholder="请选择"> |
|
|
|
<el-select v-model="bankLoanApplication.guaranteeMethod" placeholder="请选择"> |
|
|
|
<el-option v-for="(item, i) in loanTerms" :key="i" :label="item.name" :value="item.id"></el-option> |
|
|
|
<el-option v-for="(item, i) in opt4" :key="i" :label="item.name" :value="item.id"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="利息总额"> |
|
|
|
<el-form-item label="利息总额"> |
|
|
|
<el-input v-model="form.totalInterestAmount" /> |
|
|
|
<el-input v-model="bankLoanApplication.totalInterestAmount" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款账号"> |
|
|
|
<el-form-item label="还款账号"> |
|
|
|
<el-input v-model="form.repaymentAccount" /> |
|
|
|
<el-input v-model="bankLoanApplication.repaymentAccount" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="合同编号" prop="contractNo"> |
|
|
|
<el-form-item label="合同编号" prop="contractNo"> |
|
|
|
<el-input v-model="form.contractNo" disabled /> |
|
|
|
<el-input v-model="bankLoanApplication.contractNo" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="授信期限"> |
|
|
|
<el-form-item label="授信期限"> |
|
|
|
<el-select v-model="form.creditTerm" placeholder="请选择"> |
|
|
|
<el-select v-model="bankLoanApplication.creditTerm" placeholder="请选择"> |
|
|
|
<el-option v-for="(item, i) in loanTerms" :key="i" :label="item.name" :value="item.id"></el-option> |
|
|
|
<el-option label="3年" :value="3"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="到期日期"> |
|
|
|
<el-form-item label="到期日期"> |
|
|
|
<el-date-picker v-model="form.expirationDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
<el-date-picker v-model="bankLoanApplication.expirationDate" type="date" placeholder="选择日期" |
|
|
|
value-format="yyyy-MM-dd" disabled></el-date-picker> |
|
|
|
format="yyyy-MM-dd" value-format="yyyy-MM-dd" disabled></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="基准利率" prop="baseInterestRate"> |
|
|
|
<el-form-item label="基准利率" prop="baseInterestRate"> |
|
|
|
<el-input value="3.20%" disabled /> |
|
|
|
<el-input value="3.20%" disabled /> |
|
|
@ -129,21 +129,21 @@ |
|
|
|
<el-form-item label="逾期利率" prop="overdueInterestRate"> |
|
|
|
<el-form-item label="逾期利率" prop="overdueInterestRate"> |
|
|
|
<el-input value="10%" disabled /> |
|
|
|
<el-input value="10%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款方式" prop="repaymentMethod"> |
|
|
|
<el-form-item label="还款方式" prop="repaymentMethodOne"> |
|
|
|
<el-select v-model="form.repaymentMethod" placeholder="请选择" disabled> |
|
|
|
<el-select v-model="bankLoanApplication.repaymentMethodOne" placeholder="请选择" disabled> |
|
|
|
<el-option label="等额本金" :value="1"></el-option> |
|
|
|
<el-option v-for="(item, i) in opt2" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
<el-option label="等额本息" :value="2"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="贷款金额"> |
|
|
|
<el-form-item label="贷款金额"> |
|
|
|
<el-input v-model="form.loanAmount" /> |
|
|
|
<el-input v-model="bankLoanApplication.loanAmount" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<div class="text-center"> |
|
|
|
<div class="text-center"> |
|
|
|
<el-button @click="showLoan" type="primary" class="submitBtn" v-throttle>放款</el-button> |
|
|
|
<el-button v-if="!bankCompanyLoans.loanDate" @click="showLoan" type="primary" class="submitBtn" |
|
|
|
|
|
|
|
v-throttle>放款</el-button> |
|
|
|
<el-button @click="$router.back()" type="primary" class="submitBtn" v-throttle>关闭</el-button> |
|
|
|
<el-button @click="$router.back()" type="primary" class="submitBtn" v-throttle>关闭</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -190,8 +190,62 @@ export default { |
|
|
|
financialReportSubmissionMethod: '', |
|
|
|
financialReportSubmissionMethod: '', |
|
|
|
natureOfBorrower: '', |
|
|
|
natureOfBorrower: '', |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
opt1: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 1, |
|
|
|
|
|
|
|
name: '1年' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 3, |
|
|
|
|
|
|
|
name: '3年' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 5, |
|
|
|
|
|
|
|
name: '5年' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 10, |
|
|
|
|
|
|
|
name: '10年' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
opt2: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 235, |
|
|
|
|
|
|
|
name: '等额本金' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 236, |
|
|
|
|
|
|
|
name: '等额本息' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// id: 237, |
|
|
|
|
|
|
|
// name: '先息后本' |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
opt3: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 238, |
|
|
|
|
|
|
|
name: '一次性到账' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 239, |
|
|
|
|
|
|
|
name: '随借随还' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
opt4: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 242, |
|
|
|
|
|
|
|
name: '质押' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 243, |
|
|
|
|
|
|
|
name: '抵押' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
loanDate: '', |
|
|
|
loanDate: '', |
|
|
|
loanVisible: false, |
|
|
|
loanVisible: false, |
|
|
|
|
|
|
|
bankCompanyLoans: {}, |
|
|
|
|
|
|
|
bankLoanApplication: {}, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
mounted () { |
|
|
@ -203,7 +257,15 @@ export default { |
|
|
|
if (this.id) { |
|
|
|
if (this.id) { |
|
|
|
// 查看及展期 |
|
|
|
// 查看及展期 |
|
|
|
const { data } = await companyLoanDetails(this.id) |
|
|
|
const { data } = await companyLoanDetails(this.id) |
|
|
|
this.form = data.bankCreditEvaluation |
|
|
|
this.form = data.bankCreditEvaluation || {} |
|
|
|
|
|
|
|
this.bankCompanyLoans = data.bankCompanyLoans || {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const app = data.bankLoanApplication || {} |
|
|
|
|
|
|
|
if (app.distributionMethod) app.distributionMethod = +app.distributionMethod |
|
|
|
|
|
|
|
if (app.repaymentMethodOne) app.repaymentMethodOne = +app.repaymentMethodOne |
|
|
|
|
|
|
|
if (app.creditTerm) app.creditTerm = +app.creditTerm |
|
|
|
|
|
|
|
if (app.guaranteeMethod) app.guaranteeMethod = +app.guaranteeMethod |
|
|
|
|
|
|
|
this.bankLoanApplication = app |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 展示放款弹框 |
|
|
|
// 展示放款弹框 |
|
|
@ -214,11 +276,10 @@ export default { |
|
|
|
async loanSubmit () { |
|
|
|
async loanSubmit () { |
|
|
|
if (!this.loanDate) return this.$message.error('请选择放款日期!') |
|
|
|
if (!this.loanDate) return this.$message.error('请选择放款日期!') |
|
|
|
const { data } = await loanDisbursement({ |
|
|
|
const { data } = await loanDisbursement({ |
|
|
|
companyLoanId: this.form.contractId, |
|
|
|
companyLoanId: this.id, |
|
|
|
loanDate: this.loanDate, |
|
|
|
loanDate: this.loanDate, |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|