Commit 5281cb65 authored by caimeng's avatar caimeng

新增默认状态

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