Commit 2ec89963 authored by caimeng's avatar caimeng

我的审批不间断的需求修改

parent 93751f1c
......@@ -25,6 +25,14 @@
</el-row>
</el-form-item>
<el-form-item label='申请期数'>
<el-row>
<el-col :span='14'>
<el-input v-model='form.loanIntentionNum' disabled style='width: 100%;' clearable />
</el-col>
</el-row>
</el-form-item>
<el-form-item prop='perAllotAmount' label='人审额度(元)'>
<el-row>
<el-col :span='14'>
......@@ -118,15 +126,7 @@
},
data() {
return {
rules: {
//riskResult: [
// {
// required: true,
// trigger: 'change',
// message: '风审结果未出'
// }
//],
approveStatus: [
{
required: true,
......@@ -179,6 +179,7 @@
loanSign: '',
memo: '',
perAllotAmount: '',
loanIntentionNum:'',
userId: ''
}
}
......@@ -189,9 +190,10 @@
async mounted() {
console.log(this.item, 'nash ')
if (this.item !== null) {
const { applyAmount, manualAmount, creditAmount, creditNo } = this.item
const { applyAmount, manualAmount,loanIntentionNum, creditAmount, creditNo } = this.item
this.form.applyAmount = this.money(applyAmount)
this.form.creditAmount = this.money(creditAmount)
this.form.loanIntentionNum = `${loanIntentionNum}期`;
this.manualAmount = manualAmount
this.form.creditNo = creditNo
......@@ -205,7 +207,7 @@
if (item) {
const { capitalCode, loanSign } = item
this.form.capitalCode = capitalCode
this.form.loanSign = loanSign
this.form.loanSign = loanSign;
}
},
// 风审查询
......@@ -261,6 +263,11 @@
console.log(res, '是啥')
const form = this.form
if (this.manualAmount && form.capitalCode === 'FENGSHENGBUSINESS') {
form.perAllotAmount = this.manualAmount
}
form.userId = this.user.userId
console.log(form, '表单数据')
const result = await API.approveSubmit({
......
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