|
|
@ -100,7 +100,7 @@ |
|
|
|
<h6 class="l-title">申请人特别说明(选填)</h6> |
|
|
|
<h6 class="l-title">申请人特别说明(选填)</h6> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-input v-model="form.specialInstructions" type="textarea" maxlength="500" placeholder="请输入申请诉求"></el-input> |
|
|
|
<el-input v-model="form.specialInstructions" type="textarea" maxlength="500" placeholder="请输入申请述求"></el-input> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="24" style="margin-top: 20px"> |
|
|
|
<el-col :span="24" style="margin-top: 20px"> |
|
|
@ -234,55 +234,19 @@ |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<div class="m-t-30 text-center"> |
|
|
|
<div class="m-t-30 text-center"> |
|
|
|
<el-button @click="beforeSubmit" type="primary" class="submitBtn" v-throttle>提交</el-button> |
|
|
|
<el-button @click="submit" type="primary" class="submitBtn" v-throttle>提交</el-button> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :visible="visible" append-to-body style="z-index: 6000;" :close-on-click-modal="true" :show-close="false" |
|
|
|
|
|
|
|
custom-class="dia"> |
|
|
|
|
|
|
|
<div class="data-dia23"> |
|
|
|
|
|
|
|
<div slot="title" class="dia-header"> |
|
|
|
|
|
|
|
<div class="data-title">提示</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="popBody"> |
|
|
|
|
|
|
|
<p class="text-lg" style="color: #333">请进行授信审核</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="popBtns"> |
|
|
|
|
|
|
|
<el-button class="close btn hover:bg-blue-100 " @click="visible = false">取 消</el-button> |
|
|
|
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="submit">确 定</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :visible="successVisible" append-to-body style="z-index: 6000;" :close-on-click-modal="false" |
|
|
|
|
|
|
|
:show-close="false" custom-class="dia"> |
|
|
|
|
|
|
|
<div class="data-dia23"> |
|
|
|
|
|
|
|
<div slot="title" class="dia-header"> |
|
|
|
|
|
|
|
<div class="data-title">提示</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="popBody" style="flex-direction: column;"> |
|
|
|
|
|
|
|
<p class="text-lg" style="margin-bottom: 10px;color: #333">授信完成</p> |
|
|
|
|
|
|
|
<p class="text-lg" style="color: #333">可进行贷款申请</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="popBtns"> |
|
|
|
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="toStep3">确 定</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { inputListen } from '@/utils/utilFunction.js' |
|
|
|
import { inputListen } from '@/utils/utilFunction.js' |
|
|
|
import { creditApplicationDetails, addOperation, creditApplicationInput } from '@/api/http' |
|
|
|
import { addOperation, creditApplicationInput } from '@/api/http' |
|
|
|
import { mapState, mapMutations } from 'vuex' |
|
|
|
import { mapState, mapMutations } from 'vuex' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data () { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
form: { |
|
|
|
form: { |
|
|
|
applicationAccount: '6227007200580926', |
|
|
|
applicationAccount: '913403005685450862', |
|
|
|
customerName: '丛小凤', |
|
|
|
customerName: '丛小凤', |
|
|
|
identificationNumber: '220602199202281229', |
|
|
|
identificationNumber: '220602199202281229', |
|
|
|
contactPhoneNumber: '15890317718', |
|
|
|
contactPhoneNumber: '15890317718', |
|
|
@ -327,8 +291,6 @@ export default { |
|
|
|
name: '不良' |
|
|
|
name: '不良' |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
visible: false, |
|
|
|
|
|
|
|
successVisible: false, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
@ -342,44 +304,22 @@ export default { |
|
|
|
inputListen, |
|
|
|
inputListen, |
|
|
|
// 查询详情 |
|
|
|
// 查询详情 |
|
|
|
async getDetail () { |
|
|
|
async getDetail () { |
|
|
|
const id = this.creditIds.companyLoanId |
|
|
|
|
|
|
|
let r |
|
|
|
|
|
|
|
if (id) { |
|
|
|
|
|
|
|
const res = await creditApplicationDetails({ |
|
|
|
|
|
|
|
companyLoanId: id |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
r = res.data.bankCreditApplication || {} |
|
|
|
|
|
|
|
if (r.creditId) { |
|
|
|
|
|
|
|
this.form.creditId = r.creditId |
|
|
|
|
|
|
|
this.form.cooperationPeriod = r.cooperationPeriod |
|
|
|
|
|
|
|
this.form.matureRepayment = r.matureRepayment === 'true' |
|
|
|
|
|
|
|
this.form.otherRepaymentsCheck = !!r.otherRepayments |
|
|
|
|
|
|
|
this.form.otherRepayments = r.otherRepayments |
|
|
|
|
|
|
|
this.form.paymentForMaterials = r.paymentForMaterials === 'true' |
|
|
|
|
|
|
|
this.form.payLaborCosts = r.payLaborCosts === 'true' |
|
|
|
|
|
|
|
this.form.payExpenses = r.payExpenses === 'true' |
|
|
|
|
|
|
|
this.form.otherUseCheck = !!r.otherUses |
|
|
|
|
|
|
|
this.form.otherUses = r.otherUses |
|
|
|
|
|
|
|
this.form.specialInstructions = r.specialInstructions |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 附件回显 |
|
|
|
|
|
|
|
this.initCreditImportIds({ |
|
|
|
this.initCreditImportIds({ |
|
|
|
corporateIdCard: r.corporateIdCard || '', |
|
|
|
corporateIdCard: '', |
|
|
|
mortgagePropertyCertificate: r.mortgagePropertyCertificate || '', |
|
|
|
mortgagePropertyCertificate: '', |
|
|
|
proofOfMaritalStatus: r.proofOfMaritalStatus || '', |
|
|
|
proofOfMaritalStatus: '', |
|
|
|
copyOfSpouseSIdCard: r.copyOfSpouseSIdCard || '', |
|
|
|
copyOfSpouseSIdCard: '', |
|
|
|
originalBusinessLicense: r.originalBusinessLicense || '', |
|
|
|
originalBusinessLicense: '', |
|
|
|
accountOpeningPermit: r.accountOpeningPermit || '', |
|
|
|
accountOpeningPermit: '', |
|
|
|
leaseContract: r.leaseContract || '', |
|
|
|
leaseContract: '', |
|
|
|
companyArticlesOfAssociation: r.companyArticlesOfAssociation || '', |
|
|
|
companyArticlesOfAssociation: '', |
|
|
|
shareholderDocuments: r.shareholderDocuments || '', |
|
|
|
shareholderDocuments: '', |
|
|
|
financialSeal: r.financialSeal || '', |
|
|
|
financialSeal: '', |
|
|
|
oneYearTaxPaymentCertificate: r.oneYearTaxPaymentCertificate || '', |
|
|
|
oneYearTaxPaymentCertificate: '', |
|
|
|
halfYearRevenue: r.halfYearRevenue || '', |
|
|
|
halfYearRevenue: '', |
|
|
|
corporateFinancialStatements: r.corporateFinancialStatements || '', |
|
|
|
corporateFinancialStatements: '', |
|
|
|
loanApplicationForm: r.loanApplicationForm || '', |
|
|
|
loanApplicationForm: '', |
|
|
|
creditAuthorizationLetter: r.creditAuthorizationLetter || '', |
|
|
|
creditAuthorizationLetter: '', |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 导入 |
|
|
|
// 导入 |
|
|
@ -387,17 +327,12 @@ export default { |
|
|
|
this.setCreditImportIndex(i) |
|
|
|
this.setCreditImportIndex(i) |
|
|
|
this.$parent.$parent.$parent.showData('导入报表', 12) |
|
|
|
this.$parent.$parent.$parent.showData('导入报表', 12) |
|
|
|
}, |
|
|
|
}, |
|
|
|
async beforeSubmit () { |
|
|
|
|
|
|
|
const { form } = this |
|
|
|
|
|
|
|
if (!form.matureRepayment && !form.otherRepaymentsCheck) return this.$message.error('请选择还款来源!') |
|
|
|
|
|
|
|
if (form.otherRepaymentsCheck && !form.otherRepayments) return this.$message.error('请输入其他的还款来源!') |
|
|
|
|
|
|
|
if (!form.paymentForMaterials && !form.payLaborCosts && !form.payExpenses && !form.otherUseCheck) return this.$message.error('请选择贷款用途!') |
|
|
|
|
|
|
|
if (form.otherUseCheck && !form.otherUses) return this.$message.error('请输入其他的用途!') |
|
|
|
|
|
|
|
this.visible = true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
async submit () { |
|
|
|
async submit () { |
|
|
|
try { |
|
|
|
try { |
|
|
|
const { form } = this |
|
|
|
const { form } = this |
|
|
|
|
|
|
|
if (!form.matureRepayment && !form.otherRepayments) return this.$message.error('请选择还款来源!') |
|
|
|
|
|
|
|
if (!form.paymentForMaterials && !form.payLaborCosts && !form.payExpenses && !form.otherUses) return this.$message.error('请选择贷款用途!') |
|
|
|
|
|
|
|
|
|
|
|
// 判分 |
|
|
|
// 判分 |
|
|
|
await creditApplicationInput({ |
|
|
|
await creditApplicationInput({ |
|
|
|
...this.$store.state.system.creditIds, |
|
|
|
...this.$store.state.system.creditIds, |
|
|
@ -407,34 +342,31 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768' |
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768' |
|
|
|
const rule = [] |
|
|
|
const rule = [] |
|
|
|
form.cooperationPeriod && rule.push({ answerId: 875, emptyOne: 149, emptyTwo: form.cooperationPeriod, operationIds: preId + ',875', type: 3 }) |
|
|
|
form.matureRepayment && rule.push({ answerId: 799, emptyOne: '', emptyTwo: '', operationIds: preId + ',798,799', type: '' }) |
|
|
|
form.matureRepayment && rule.push({ answerId: 798, emptyOne: 147, emptyTwo: 269, operationIds: preId + ',798', type: 1 }) |
|
|
|
form.otherRepayments && rule.push({ answerId: 800, emptyOne: 125, emptyTwo: form.otherRepayments, operationIds: preId + ',798,800', type: 3 }) |
|
|
|
form.otherRepayments && rule.push({ answerId: 798, emptyOne: 147, emptyTwo: 270, operationIds: preId + ',798', type: 1 }) |
|
|
|
form.paymentForMaterials && rule.push({ answerId: 834, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,834', type: '' }) |
|
|
|
|
|
|
|
form.payLaborCosts && rule.push({ answerId: 835, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,835', type: '' }) |
|
|
|
form.paymentForMaterials && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 271, operationIds: preId + ',833', type: 1 }) |
|
|
|
form.payExpenses && rule.push({ answerId: 836, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,836', type: '' }) |
|
|
|
form.payLaborCosts && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 272, operationIds: preId + ',833', type: 1 }) |
|
|
|
form.otherUses && rule.push({ answerId: 800, emptyOne: 125, emptyTwo: form.otherUses, operationIds: preId + ',833,837', type: 3 }) |
|
|
|
form.payExpenses && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 273, operationIds: preId + ',833', type: 1 }) |
|
|
|
|
|
|
|
form.otherUses && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 274, operationIds: preId + ',833', type: 1 }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
form.specialInstructions && rule.push({ answerId: 802, emptyOne: 125, emptyTwo: form.specialInstructions, operationIds: preId + ',802', type: 3 }) |
|
|
|
form.specialInstructions && rule.push({ answerId: 802, emptyOne: 125, emptyTwo: form.specialInstructions, operationIds: preId + ',802', type: 3 }) |
|
|
|
|
|
|
|
|
|
|
|
// 附件的判分,都是点击题 |
|
|
|
// 附件的判分,都是点击题 |
|
|
|
const files = this.creditImportIds |
|
|
|
const files = this.creditImportIds |
|
|
|
files.corporateIdCard && rule.push({ answerId: 804, emptyOne: 146, emptyTwo: files.corporateIdCard, operationIds: preId + ',803,804', type: 1 }) |
|
|
|
files.corporateIdCard && rule.push({ answerId: 804, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,804', type: '' }) |
|
|
|
files.mortgagePropertyCertificate && rule.push({ answerId: 805, emptyOne: 146, emptyTwo: files.mortgagePropertyCertificate, operationIds: preId + ',803,805', type: 1 }) |
|
|
|
files.mortgagePropertyCertificate && rule.push({ answerId: 805, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,805', type: '' }) |
|
|
|
files.proofOfMaritalStatus && rule.push({ answerId: 806, emptyOne: 146, emptyTwo: files.proofOfMaritalStatus, operationIds: preId + ',803,806', type: 1 }) |
|
|
|
files.proofOfMaritalStatus && rule.push({ answerId: 806, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,806', type: '' }) |
|
|
|
files.copyOfSpouseSIdCard && rule.push({ answerId: 807, emptyOne: 146, emptyTwo: files.copyOfSpouseSIdCard, operationIds: preId + ',803,807', type: 1 }) |
|
|
|
files.copyOfSpouseSIdCard && rule.push({ answerId: 807, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,807', type: '' }) |
|
|
|
files.originalBusinessLicense && rule.push({ answerId: 808, emptyOne: 146, emptyTwo: files.originalBusinessLicense, operationIds: preId + ',803,808', type: 1 }) |
|
|
|
files.originalBusinessLicense && rule.push({ answerId: 808, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,808', type: '' }) |
|
|
|
files.accountOpeningPermit && rule.push({ answerId: 809, emptyOne: 146, emptyTwo: files.accountOpeningPermit, operationIds: preId + ',803,809', type: 1 }) |
|
|
|
files.accountOpeningPermit && rule.push({ answerId: 809, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,809', type: '' }) |
|
|
|
files.leaseContract && rule.push({ answerId: 810, emptyOne: 146, emptyTwo: files.leaseContract, operationIds: preId + ',803,810', type: 1 }) |
|
|
|
files.leaseContract && rule.push({ answerId: 810, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,810', type: '' }) |
|
|
|
files.companyArticlesOfAssociation && rule.push({ answerId: 811, emptyOne: 146, emptyTwo: files.companyArticlesOfAssociation, operationIds: preId + ',803,811', type: 1 }) |
|
|
|
files.companyArticlesOfAssociation && rule.push({ answerId: 811, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,811', type: '' }) |
|
|
|
files.shareholderDocuments && rule.push({ answerId: 812, emptyOne: 146, emptyTwo: files.shareholderDocuments, operationIds: preId + ',803,812', type: 1 }) |
|
|
|
files.shareholderDocuments && rule.push({ answerId: 812, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,812', type: '' }) |
|
|
|
files.financialSeal && rule.push({ answerId: 813, emptyOne: 146, emptyTwo: files.financialSeal, operationIds: preId + ',803,813', type: 1 }) |
|
|
|
files.financialSeal && rule.push({ answerId: 813, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,813', type: '' }) |
|
|
|
files.oneYearTaxPaymentCertificate && rule.push({ answerId: 814, emptyOne: 146, emptyTwo: files.oneYearTaxPaymentCertificate, operationIds: preId + ',803,814', type: 1 }) |
|
|
|
files.oneYearTaxPaymentCertificate && rule.push({ answerId: 814, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,814', type: '' }) |
|
|
|
files.halfYearRevenue && rule.push({ answerId: 815, emptyOne: 146, emptyTwo: files.halfYearRevenue, operationIds: preId + ',803,815', type: 1 }) |
|
|
|
files.halfYearRevenue && rule.push({ answerId: 815, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,815', type: '' }) |
|
|
|
files.corporateFinancialStatements && rule.push({ answerId: 817, emptyOne: 146, emptyTwo: files.corporateFinancialStatements, operationIds: preId + ',803,817', type: 1 }) |
|
|
|
files.corporateFinancialStatements && rule.push({ answerId: 817, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,817', type: '' }) |
|
|
|
files.loanApplicationForm && rule.push({ answerId: 818, emptyOne: 146, emptyTwo: files.loanApplicationForm, operationIds: preId + ',803,818', type: 1 }) |
|
|
|
files.loanApplicationForm && rule.push({ answerId: 818, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,818', type: '' }) |
|
|
|
files.creditAuthorizationLetter && rule.push({ answerId: 819, emptyOne: 146, emptyTwo: files.creditAuthorizationLetter, operationIds: preId + ',803,819', type: 1 }) |
|
|
|
files.creditAuthorizationLetter && rule.push({ answerId: 819, emptyOne: '', emptyTwo: '', operationIds: preId + ',803,819', type: '' }) |
|
|
|
|
|
|
|
|
|
|
|
await addOperation({ |
|
|
|
await addOperation({ |
|
|
|
parentId: preId, |
|
|
|
parentId: preId, |
|
|
@ -443,21 +375,15 @@ export default { |
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
this.successVisible = true |
|
|
|
this.$message.success('保存成功!') |
|
|
|
} catch { (e) => { } } |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 跳转到第三步 |
|
|
|
|
|
|
|
toStep3 () { |
|
|
|
|
|
|
|
this.$parent.active = '3' |
|
|
|
this.$parent.active = '3' |
|
|
|
this.$parent.curStep = 0 |
|
|
|
this.$parent.curStep = 0 |
|
|
|
this.$parent.tab3Disabled = false |
|
|
|
} catch { (e) => { } } |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style lang='scss' scoped> |
|
|
|
<style lang='scss' scoped> |
|
|
|
@import '@/styles/dialog.scss'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-title { |
|
|
|
.l-title { |
|
|
|
margin-bottom: 15px; |
|
|
|
margin-bottom: 15px; |
|
|
|
font-size: 18px; |
|
|
|
font-size: 18px; |
|
|
|