|
|
|
@ -21,28 +21,31 @@ |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要提供的申请人材料(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
<el-checkbox-group v-if="form.accountMaterialsCheck === 797" |
|
|
|
|
<template v-if="form.accountMaterialsCheck === 797"> |
|
|
|
|
<p class="tips">选择需要提供的申请人材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.accountMaterials"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="发放账户" |
|
|
|
|
prop="sendingAccount"> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start"> |
|
|
|
|
<el-radio-group v-model="form.sendingAccountCheck"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.sendingAccountCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[0]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要发放的账户(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
<template v-if="form.sendingAccountCheck === 801"> |
|
|
|
|
<template v-if="form.sendingAccountCheck === 801 && config.length"> |
|
|
|
|
<p class="tips">选择需要发放的账户(至少选一样)</p> |
|
|
|
|
<el-radio v-for="(item, i) in config[0]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
v-model="form.sendingAccount" |
|
|
|
@ -56,7 +59,8 @@ |
|
|
|
|
<el-form-item label="申请方式" |
|
|
|
|
prop="loanApplicationMethod"> |
|
|
|
|
<p class="mr-5 text-xs text-[#666]">选择申请方式(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-model="form.loanApplicationMethod"> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.loanApplicationMethod"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
@ -75,9 +79,10 @@ |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<p class="text-xs text-[#666]">选择需要提供的借款人材料(至少选一样)</p> |
|
|
|
|
<div v-if="form.borrowerMaterialCheck === 797"> |
|
|
|
|
<el-select class="my-2" |
|
|
|
|
<p class="text-xs text-[#666]">选择需要提供的借款人材料(至少选一样)</p> |
|
|
|
|
<el-select v-if="config.length" |
|
|
|
|
class="my-2" |
|
|
|
|
v-model="form.borrowerMaterialSelect" |
|
|
|
|
placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in config[1]?.recordChildren[1]?.recordChildren[1]?.subject?.itemList" |
|
|
|
@ -85,7 +90,8 @@ |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-checkbox-group v-model="form.borrowerMaterial" |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.borrowerMaterial" |
|
|
|
|
@change="denyAll('borrowerMaterial', 770)"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
@ -103,15 +109,17 @@ |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要提供的企业材料(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-if="form.enterpriseMaterialCheck === 797" |
|
|
|
|
<template v-if="form.enterpriseMaterialCheck === 797"> |
|
|
|
|
<p class="tips">选择需要提供的企业材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.enterpriseMaterial"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[2]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
<p class="field-name mt-5">抵押物</p> |
|
|
|
|
<div> |
|
|
|
@ -121,14 +129,16 @@ |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要提供的抵押物材料(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
<el-checkbox-group v-if="form.collateralCheck === 797" |
|
|
|
|
<template v-if="form.collateralCheck === 797"> |
|
|
|
|
<p class="tips">选择需要提供的抵押物材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.collateral"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[3]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<!-- 个人 --> |
|
|
|
@ -141,16 +151,18 @@ |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要提供的配偶材料(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-if="form.mateMaterialCheck === 797" |
|
|
|
|
<template v-if="form.mateMaterialCheck === 797"> |
|
|
|
|
<p class="tips">选择需要提供的配偶材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.mateMaterial" |
|
|
|
|
@change="denyAll('mateMaterial', 350)"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[2]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
<p class="field-name mt-5">经营类材料</p> |
|
|
|
|
<div> |
|
|
|
@ -160,16 +172,18 @@ |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要提供的经营类材料(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-if="form.businessMaterialsCheck === 797" |
|
|
|
|
<template v-if="form.businessMaterialsCheck === 797"> |
|
|
|
|
<p class="tips">选择需要提供的经营类材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.businessMaterials" |
|
|
|
|
@change="denyAll('businessMaterials', 351)"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[3]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<p class="field-name mt-5">补充材料</p> |
|
|
|
@ -180,16 +194,18 @@ |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要提供的补充材料(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-if="form.supplementaryMaterialsCheck === 797" |
|
|
|
|
<template v-if="form.supplementaryMaterialsCheck === 797"> |
|
|
|
|
<p class="tips">选择需要提供的补充材料(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.supplementaryMaterials" |
|
|
|
|
@change="denyAll('supplementaryMaterials', 352)"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[1]?.recordChildren[4]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
@ -200,38 +216,44 @@ |
|
|
|
|
prop="runBatchObject"> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-2"> |
|
|
|
|
<el-radio-group v-model="form.runBatchObjectCheck"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.runBatchObjectCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要跑批的对象(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
<el-checkbox-group v-if="form.runBatchObjectCheck === 803" |
|
|
|
|
<template v-if="form.runBatchObjectCheck === 797"> |
|
|
|
|
<p class="tips">选择需要跑批的对象(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.runBatchObject"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="准入策略" |
|
|
|
|
prop="accessStrategy"> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-2"> |
|
|
|
|
<el-radio-group v-model="form.accessStrategyCheck"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.accessStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[1]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择需要跑批的准入策略(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
<el-checkbox-group v-if="form.accessStrategyCheck === 803" |
|
|
|
|
<template v-if="form.accessStrategyCheck === 797"> |
|
|
|
|
<p class="tips">选择需要跑批的准入策略(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.accessStrategy"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="信用评分策略" |
|
|
|
@ -282,14 +304,15 @@ |
|
|
|
|
prop="riskDegreeStrategy"> |
|
|
|
|
<div class="flex items-center h-[47px]"> |
|
|
|
|
<div class="radio-wrap"> |
|
|
|
|
<el-radio-group v-model="form.riskDegreeStrategyCheck"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.riskDegreeStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-checkbox-group v-if="form.riskDegreeStrategyCheck === 803" |
|
|
|
|
<el-checkbox-group v-if="form.riskDegreeStrategyCheck === 803 && config.length" |
|
|
|
|
v-model="form.riskDegreeStrategy"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[2]?.recordChildren[3]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
@ -305,13 +328,14 @@ |
|
|
|
|
<div class="flex items-center mb-3"> |
|
|
|
|
<div class="radio-wrap"> |
|
|
|
|
<span class="label">{{ (info.productType ? '企业' : '个人') + '额度模型' }}</span> |
|
|
|
|
<el-radio-group v-model="form.interestRatePricingModelCheck"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.interestRatePricingModelCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<el-select v-if="form.interestRatePricingModelCheck === 803" |
|
|
|
|
<el-select v-if="form.interestRatePricingModelCheck === 803 && config.length" |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.interestRatePricingModel" |
|
|
|
|
placeholder="请选择"> |
|
|
|
@ -324,7 +348,8 @@ |
|
|
|
|
|
|
|
|
|
<div class="radio-wrap"> |
|
|
|
|
<span class="label">{{ (info.productType ? '企业' : '个人') + '利率模型' }}</span> |
|
|
|
|
<el-radio-group v-model="form.individualInterestRateModel"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.individualInterestRateModel"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[4]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
@ -339,7 +364,8 @@ |
|
|
|
|
prop="dueDiligenceMode"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择尽调方式(至少选一样)</p> |
|
|
|
|
<el-radio-group v-model="form.dueDiligenceMode"> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.dueDiligenceMode"> |
|
|
|
|
<el-radio v-for="(item, i) in config[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
@ -350,7 +376,8 @@ |
|
|
|
|
prop="dueDiligenceContent"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择尽调内容(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-model="form.dueDiligenceContent"> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.dueDiligenceContent"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[3]?.recordChildren[1]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
@ -401,7 +428,7 @@ |
|
|
|
|
<el-form-item label="提供的材料" |
|
|
|
|
prop="contractMaterials"> |
|
|
|
|
<div class="flex items-center"> |
|
|
|
|
<div class="radio-wrap"> |
|
|
|
|
<div class="radio-wrap mr-5"> |
|
|
|
|
<el-radio-group v-model="form.contractMaterialsCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in whethers" |
|
|
|
|
:key="i" |
|
|
|
@ -425,7 +452,7 @@ |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-select v-if="form.loanContractCheck === 797" |
|
|
|
|
<el-select v-if="form.loanContractCheck === 797 && config.length" |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.loanContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
@ -445,7 +472,7 @@ |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-select v-if="form.mortgageContractCheck === 797" |
|
|
|
|
<el-select v-if="form.mortgageContractCheck === 797 && config.length" |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.mortgageContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
@ -464,7 +491,7 @@ |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<el-select v-if="form.pledgeContractCheck === 797" |
|
|
|
|
<el-select v-if="form.pledgeContractCheck === 797 && config.length" |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.pledgeContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
@ -483,7 +510,7 @@ |
|
|
|
|
:label="item.id">{{ item.name }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</div> |
|
|
|
|
<el-select v-if="form.guaranteeContractCheck === 797" |
|
|
|
|
<el-select v-if="form.guaranteeContractCheck === 797 && config.length" |
|
|
|
|
class="ml-5" |
|
|
|
|
v-model="form.guaranteeContract" |
|
|
|
|
placeholder="请选择"> |
|
|
|
@ -502,19 +529,22 @@ |
|
|
|
|
prop="selectionStrategy"> |
|
|
|
|
<div> |
|
|
|
|
<div class="radio-wrap flex-col items-start mb-1"> |
|
|
|
|
<el-radio-group v-model="form.selectionStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in info.productType ? config[7]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList : config[7]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.selectionStrategyCheck"> |
|
|
|
|
<el-radio v-for="(item, i) in config[2]?.recordChildren[0]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<p class="whether mt-1">选择策略(至少选一样)</p> |
|
|
|
|
</div> |
|
|
|
|
<el-checkbox-group v-if="form.selectionStrategyCheck === 803" |
|
|
|
|
<template v-if="form.selectionStrategyCheck === 803"> |
|
|
|
|
<p class="tips">选择策略(至少选一样)</p> |
|
|
|
|
<el-checkbox-group v-if="(info.productType && config.length && config[7]?.recordChildren) || (!info.productType && config.length && config[7]?.subject)" |
|
|
|
|
v-model="form.selectionStrategy"> |
|
|
|
|
<el-checkbox v-for="(item, i) in info.productType ? config[7]?.recordChildren[0]?.subject?.itemList : config[7]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</div> |
|
|
|
@ -731,6 +761,32 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
const isEnterprise = info.value.productType === 1; |
|
|
|
|
const param = JSON.parse(JSON.stringify(form)); |
|
|
|
|
|
|
|
|
|
if (param.accountMaterialsCheck === 797 && !param.accountMaterials.length) return ElMessage.error('请选择需要提供的申请人材料'); |
|
|
|
|
if (param.sendingAccountCheck === 801 && !param.sendingAccount) return ElMessage.error('请选择需要发放的账户'); |
|
|
|
|
if (!param.loanApplicationMethod.length) return ElMessage.error('请选择申请方式'); |
|
|
|
|
if (param.borrowerMaterialCheck === 797 && !param.borrowerMaterialSelect && !param.borrowerMaterial.length) return ElMessage.error('请选择需要提供的借款人材料'); |
|
|
|
|
|
|
|
|
|
if (isEnterprise) { |
|
|
|
|
// 企业 |
|
|
|
|
if (param.enterpriseMaterialCheck === 797 && !param.enterpriseMaterial.length) return ElMessage.error('请选择需要提供的企业材料'); |
|
|
|
|
if (param.collateralCheck === 797 && !param.collateral.length) return ElMessage.error('请选择需要提供的抵押物材料'); |
|
|
|
|
} else { |
|
|
|
|
// 个人 |
|
|
|
|
if (param.mateMaterialCheck === 797 && !param.mateMaterial.length) return ElMessage.error('请选择需要提供的配偶材料'); |
|
|
|
|
if (param.businessMaterialsCheck === 797 && !param.businessMaterials.length) return ElMessage.error('请选择需要提供的经营类材料'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (param.supplementaryMaterialsCheck === 797 && !param.supplementaryMaterials.length) return ElMessage.error('请选择需要提供的补充材料'); |
|
|
|
|
if (param.runBatchObjectCheck === 797 && !param.runBatchObject.length) return ElMessage.error('请选择需要跑批的对象'); |
|
|
|
|
if (param.accessStrategyCheck === 797 && !param.accessStrategy.length) return ElMessage.error('请选择需要跑批的准入策略'); |
|
|
|
|
if (!param.dueDiligenceMode) return ElMessage.error('请选择尽调方式'); |
|
|
|
|
if (!param.dueDiligenceContent.length) return ElMessage.error('请选择尽调内容'); |
|
|
|
|
if (!param.reviewContent) return ElMessage.error('请选择审查材料'); |
|
|
|
|
if (!param.reviewSignature) return ElMessage.error('请选择签字表单'); |
|
|
|
|
if (!param.reviewApproveContent) return ElMessage.error('请选择审批材料'); |
|
|
|
|
if (!param.approvalSignature) return ElMessage.error('请选择签字表单'); |
|
|
|
|
if (param.selectionStrategyCheck === 803 && !param.selectionStrategy.length) return ElMessage.error('请选择策略'); |
|
|
|
|
|
|
|
|
|
param.accessStrategy = param.accessStrategyCheck === 797 ? param.accessStrategy.join() : ''; |
|
|
|
|
if (param.borrowerMaterialCheck === 797) param.borrowerMaterial.unshift(param.borrowerMaterialSelect); |
|
|
|
|
param.borrowerMaterial = param.borrowerMaterial.join(); |
|
|
|
@ -759,6 +815,7 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
param.runBatchObject = param.runBatchObjectCheck === 797 ? param.runBatchObject.join() : ''; |
|
|
|
|
param.selectionStrategy = param.selectionStrategyCheck === 803 ? param.selectionStrategy.join() : ''; |
|
|
|
|
param.supplementaryMaterials = param.supplementaryMaterialsCheck === 797 ? param.supplementaryMaterials.join() : ''; |
|
|
|
|
debugger; |
|
|
|
|
if (param.contractMaterialsCheck !== 797) param.contractMaterials = ''; |
|
|
|
|
if (info.value.riskControlDetails) { |
|
|
|
|
param.id = info.value.riskControlDetails.id; |
|
|
|
|