Commit 5281cb65 authored by caimeng's avatar caimeng

新增默认状态

1. 待确认
2. 待审核
修改稽核审批的时候的期数的问题
parent 2c2dfcfe
......@@ -31,12 +31,12 @@
</el-form-item>
</template>
<el-form-item v-else prop='loanIntentionNum' label='申请期数(期)'>
<el-select v-model="form.loanIntentionNum" style='width: 100%;' placeholder="请选择期数">
<el-select v-model='form.loanIntentionNum' style='width: 100%;' placeholder='请选择期数'>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
v-for='item in searchData.limitList'
:key='item'
:label='item'
:value='item'>
</el-option>
</el-select>
</el-form-item>
......@@ -249,10 +249,12 @@
const { creditNo, creditType } = clientDetail
const { manualAmount, loanIntentionNum } = projectInfoResponse
this.creditNo = creditNo
this.form.loanIntentionNum = loanIntentionNum
this.manualAmount = manualAmount
this.loanIntentionNum = loanIntentionNum
this.form.perAllotAmount = manualAmount
this.form.loanIntentionNum = loanIntentionNum
this.form.creditNo = creditNo
this.form.creditType = creditType
......@@ -288,9 +290,9 @@
if (capitalCode === 'FENGSHENGBUSINESS') {
this.$refs['dForm'].clearValidate('perAllotAmount')
this.$refs['dForm'].clearValidate('loanIntentionNum')
if(this.hasRisk){
this.form.perAllotAmount = this.manualAmount;
this.form.loanIntentionNum = this.loanIntentionNum;
if (this.hasRisk) {
this.form.perAllotAmount = this.manualAmount
this.form.loanIntentionNum = this.loanIntentionNum
}
}
this.form.capitalCode = capitalCode
......@@ -300,9 +302,9 @@
// 风审查询
async handleRisk() {
if (!this.hasRisk) {
const { clientDetail, projectInfoResponse } = this.item
const { clientDetail } = this.item
const { creditNo } = clientDetail
const { loanIntentionNum } = projectInfoResponse
const loanIntentionNum = this.form.loanIntentionNum
const creditAmount = this.form.perAllotAmount
if (!creditAmount || !/^[0-9]*$/.test(creditAmount)) {
this.$message({
......@@ -318,7 +320,7 @@
creditAmount
})
if (result.success) {
this.hasRisk = true;
this.hasRisk = true
this.$message({
type: 'success',
message: '授信结果正在查询,请刷新页面查看'
......
......@@ -18,6 +18,7 @@
<!--操作日志-->
<template v-if='detail.operationLogResponse!==null'>
<block-header title='操作日志' />
<operation-log :log='detail.operationLogResponse' />
</template>
......
......@@ -217,7 +217,7 @@
size: 10,
approvalResult:'',
approvalResult:'TO_BE_REVIEWED',
mobile: '',
orderNo: '',
loanName: '',
......
......@@ -265,7 +265,7 @@
size: 10,
loanResult: '',
loanResult: 'TO_BE_CONFIRMED',
mobile: '',
orderNo: '',
loanName: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment