|
|
@ -62,7 +62,9 @@ |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="薪酬"> |
|
|
|
<el-form-item label="薪酬"> |
|
|
|
<el-input v-model="basicForm.salary" /> |
|
|
|
<el-input v-model="basicForm.salary"> |
|
|
|
|
|
|
|
<template slot="append">万/年</template> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="工龄"> |
|
|
|
<el-form-item label="工龄"> |
|
|
|
<el-input v-model="basicForm.totalWorkYears" /> |
|
|
|
<el-input v-model="basicForm.totalWorkYears" /> |
|
|
@ -120,7 +122,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="起息日期" prop="interestStartDate"> |
|
|
|
<el-form-item label="起息日期" prop="interestStartDate"> |
|
|
|
<el-date-picker v-model="form.interestStartDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
<el-date-picker v-model="form.interestStartDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
value-format="yyyy-MM-dd" @change="maturityDateCalc"></el-date-picker> |
|
|
|
value-format="yyyy-MM-dd" :clearable="false" @change="maturityDateCalc"></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="计息方式"> |
|
|
|
<el-form-item label="计息方式"> |
|
|
|
<el-input value="按年浮动计息" disabled /> |
|
|
|
<el-input value="按年浮动计息" disabled /> |
|
|
@ -435,8 +437,19 @@ export default { |
|
|
|
if (this.id) { |
|
|
|
if (this.id) { |
|
|
|
// 查看及展期 |
|
|
|
// 查看及展期 |
|
|
|
const { data } = await personalBasicFind(this.id) |
|
|
|
const { data } = await personalBasicFind(this.id) |
|
|
|
this.basicForm = data.data |
|
|
|
const form = data.data |
|
|
|
if (data.data.bankPersonalLoanContractInfo) this.form = data.data.bankPersonalLoanContractInfo |
|
|
|
if (form.idType) form.idType = +form.idType |
|
|
|
|
|
|
|
if (form.gender) form.gender = +form.gender |
|
|
|
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
|
|
|
this.basicForm = form |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 贷款合同 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const contract = data.data.bankPersonalLoanContractInfo |
|
|
|
|
|
|
|
if (contract) { |
|
|
|
|
|
|
|
if (contract.loanTerm) contract.loanTerm = +contract.loanTerm |
|
|
|
|
|
|
|
this.form = contract |
|
|
|
|
|
|
|
} |
|
|
|
} else if (sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { |
|
|
|
} else if (sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { |
|
|
|
// 新增 |
|
|
|
// 新增 |
|
|
|
sessionStorage.removeItem('nomUsefulPhrasesOpenCard2') |
|
|
|
sessionStorage.removeItem('nomUsefulPhrasesOpenCard2') |
|
|
@ -496,6 +509,7 @@ export default { |
|
|
|
...basicForm, |
|
|
|
...basicForm, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.status === 200) { |
|
|
|
// 判分 |
|
|
|
// 判分 |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
const rule = [ |
|
|
|
const rule = [ |
|
|
@ -528,12 +542,13 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
if (data.contractNo) this.form.contractNo = data.contractNo |
|
|
|
if (data.contractNo) this.form.contractNo = data.contractNo |
|
|
|
this.curStep++ |
|
|
|
this.curStep++ |
|
|
|
|
|
|
|
} |
|
|
|
} catch { (e) => { } } |
|
|
|
} catch { (e) => { } } |
|
|
|
}, this.$refs)) |
|
|
|
}, this.$refs)) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// 合同信息校验 |
|
|
|
// 合同信息校验 |
|
|
|
|
|
|
|
if (!this.form.contractAmount) return this.$message.warning('请输入合同金额!') |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
// this.visible = true |
|
|
|
|
|
|
|
this.saveContract() |
|
|
|
this.saveContract() |
|
|
|
}, this.$refs)) |
|
|
|
}, this.$refs)) |
|
|
|
} |
|
|
|
} |
|
|
@ -549,6 +564,7 @@ export default { |
|
|
|
...form, |
|
|
|
...form, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.status === 200) { |
|
|
|
// 判分 |
|
|
|
// 判分 |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
const rule = [ |
|
|
|
const rule = [ |
|
|
@ -565,7 +581,10 @@ export default { |
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
data.status === 200 ? this.$router.push('/counter/list/manage/personalLoans') : this.$message.error(data.message) |
|
|
|
this.$router.push('/counter/list/manage/personalLoans') |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.error(data.message) |
|
|
|
|
|
|
|
} |
|
|
|
} catch { (e) => { } } |
|
|
|
} catch { (e) => { } } |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 展示放款弹框 |
|
|
|
// 展示放款弹框 |
|
|
@ -581,6 +600,7 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.status === 200) { |
|
|
|
// 判分 |
|
|
|
// 判分 |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
await addOperation({ |
|
|
|
await addOperation({ |
|
|
@ -591,6 +611,7 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 展示展期弹框 |
|
|
|
// 展示展期弹框 |
|
|
@ -606,6 +627,7 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.status === 200) { |
|
|
|
// 判分 |
|
|
|
// 判分 |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
await addOperation({ |
|
|
|
await addOperation({ |
|
|
@ -616,6 +638,7 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
phoneListen, |
|
|
|
phoneListen, |
|
|
|