Commit 0c27cdf6 authored by caimeng's avatar caimeng

7月4日修改bug1

parent 566093f0
......@@ -251,6 +251,7 @@
const { capitalCode, loanSign } = item
if (capitalCode === 'FENGSHENGBUSINESS') {
this.$refs['dForm'].clearValidate('perAllotAmount')
this.form.perAllotAmount = this.manualAmount;
}
this.form.capitalCode = capitalCode
this.form.loanSign = loanSign
......@@ -277,7 +278,11 @@
creditAmount
})
if (result.success) {
this.hasRisk = true
this.hasRisk = true;
this.$message({
type: 'success',
message: '授信结果正在查询,请刷新页面查看'
})
}
} else {
await this.initRiskResult()
......@@ -299,7 +304,6 @@
},
onSubmit(formName) {
console.log(this.item, this.form, '数据呢')
this.$refs[formName].validate(async (valid) => {
if (valid) {
this.$confirm('是否确认提交?', '提示', {
......@@ -308,15 +312,11 @@
type: 'warning'
}).then(async (res) => {
console.log(res, '是啥')
const form = this.form
if (this.manualAmount && form.capitalCode === 'FENGSHENGBUSINESS') {
if (this.handleRisk && form.capitalCode === 'FENGSHENGBUSINESS') {
form.perAllotAmount = this.manualAmount
}
form.userId = this.user.userId
console.log(form, '表单数据')
const result = await API.approveSubmit({
...form
})
......
......@@ -48,7 +48,8 @@
</el-form-item>
<template v-if='searchData!==null'>
<el-form-item prop='creditResult' label='审批结果'>
<el-select :popper-append-to-body='false' v-model='queryForm.creditResult' clearable placeholder='请选择审批结果'>
<el-select :popper-append-to-body='false' v-model='queryForm.creditResult' clearable
placeholder='请选择审批结果'>
<el-option
v-for='(item,index) in searchData.creditStatusResultResponseList'
:label='item.creditResultStr'
......@@ -111,7 +112,7 @@
{{ row.realName }} <br /> {{ row.mobile }}
</span>
<span v-else-if='item.label==="授信类型"'>
<el-tag v-if='row.creditTypeStr==="提额授信"' effect="plain" size='mini'>{{ row.creditTypeStr }}</el-tag>
<el-tag v-if='row.creditTypeStr==="提额授信"' effect='plain' size='mini'>{{ row.creditTypeStr }}</el-tag>
<el-tag v-else size='mini'>{{ row.creditTypeStr }}</el-tag>
</span>
<span v-else-if='item.label==="审批状态"'>
......@@ -140,7 +141,7 @@
>
<template #default='{ row }'>
<el-button type='text' @click='handleDetail(row)'>详情</el-button>
<template v-if='row.creditResult==="REJECT" && row.appealNum < 1'>
<template v-if='row.creditResult==="REJECT" && row.appealNum < 1 && row.creditType !== "ADD_CREDIT" '>
<el-button type='text' @click='handlePlead(row)'>申诉</el-button>
</template>
</template>
......@@ -293,7 +294,7 @@
},
// 预授信详情
handleDetail(row) {
const { creditNo,creditType } = row
const { creditNo, creditType } = row
this.$router.push({
path: '/credit/approvalDetail',
query: {
......
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