Commit 2ec89963 authored by caimeng's avatar caimeng

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

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