|
|
|
@ -363,12 +363,12 @@ |
|
|
|
|
prop="dueDiligenceMode"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择尽调方式(至少选一样)</p> |
|
|
|
|
<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> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.dueDiligenceMode"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[3]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="尽调内容" |
|
|
|
@ -390,12 +390,12 @@ |
|
|
|
|
prop="reviewContent"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择审查材料(至少选一样)</p> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.reviewContent"> |
|
|
|
|
<el-radio v-for="(item, i) in config[4]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.reviewContent"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[4]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="审查签字" |
|
|
|
@ -413,12 +413,12 @@ |
|
|
|
|
prop="reviewApproveContent"> |
|
|
|
|
<div> |
|
|
|
|
<p class="tips leading-[32px]">选择审批材料(至少选一样)</p> |
|
|
|
|
<el-radio-group v-if="config.length" |
|
|
|
|
v-model="form.reviewApproveContent"> |
|
|
|
|
<el-radio v-for="(item, i) in config[5]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<el-checkbox-group v-if="config.length" |
|
|
|
|
v-model="form.reviewApproveContent"> |
|
|
|
|
<el-checkbox v-for="(item, i) in config[5]?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="i" |
|
|
|
|
:label="item.itemId">{{ item.options }}</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="审批签字" |
|
|
|
@ -603,7 +603,7 @@ interface RuleForm { |
|
|
|
|
corporateCreditScoringStrategies: any; |
|
|
|
|
corporateInterestRateModel: any; |
|
|
|
|
dueDiligenceContent: any; |
|
|
|
|
dueDiligenceMode: any; |
|
|
|
|
dueDiligenceMode: number[]; |
|
|
|
|
enterpriseMaterialCheck?: number; |
|
|
|
|
enterpriseMaterial: any; |
|
|
|
|
enterpriseQuotaModel: any; |
|
|
|
@ -624,8 +624,8 @@ interface RuleForm { |
|
|
|
|
personalCreditScoringStrategies: any; |
|
|
|
|
pledgeContractCheck?: number; |
|
|
|
|
pledgeContract: any; |
|
|
|
|
reviewApproveContent: any; |
|
|
|
|
reviewContent: any; |
|
|
|
|
reviewApproveContent: number[]; |
|
|
|
|
reviewContent: number[]; |
|
|
|
|
reviewSignature: any; |
|
|
|
|
riskDegreeStrategyCheck?: number; |
|
|
|
|
riskDegreeStrategy: any; |
|
|
|
@ -679,7 +679,7 @@ const form = reactive<RuleForm>({ |
|
|
|
|
corporateCreditScoringStrategies: '', |
|
|
|
|
corporateInterestRateModel: [], |
|
|
|
|
dueDiligenceContent: [], |
|
|
|
|
dueDiligenceMode: '', |
|
|
|
|
dueDiligenceMode: [], |
|
|
|
|
enterpriseMaterialCheck: '', |
|
|
|
|
enterpriseMaterial: [], |
|
|
|
|
enterpriseQuotaModel: '', |
|
|
|
@ -700,8 +700,8 @@ const form = reactive<RuleForm>({ |
|
|
|
|
personalCreditScoringStrategies: '', |
|
|
|
|
pledgeContractCheck: '', |
|
|
|
|
pledgeContract: '', |
|
|
|
|
reviewApproveContent: '', |
|
|
|
|
reviewContent: '', |
|
|
|
|
reviewApproveContent: [], |
|
|
|
|
reviewContent: [], |
|
|
|
|
reviewSignature: '', |
|
|
|
|
riskDegreeStrategyCheck: '', |
|
|
|
|
riskDegreeStrategy: [], |
|
|
|
@ -783,11 +783,11 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
if (param.supplementaryMaterialsCheck === 797 && !param.supplementaryMaterials.length) return ElMessage.error('请选择需要提供的补充材料'); |
|
|
|
|
if (param.runBatchObjectCheck === 803 && !param.runBatchObject.length) return ElMessage.error('请选择需要跑批的对象'); |
|
|
|
|
if (param.accessStrategyCheck === 803 && !param.accessStrategy.length) return ElMessage.error('请选择需要跑批的准入策略'); |
|
|
|
|
if (!param.dueDiligenceMode) return ElMessage.error('请选择尽调方式'); |
|
|
|
|
if (!param.dueDiligenceMode.length) return ElMessage.error('请选择尽调方式'); |
|
|
|
|
if (!param.dueDiligenceContent.length) return ElMessage.error('请选择尽调内容'); |
|
|
|
|
if (!param.reviewContent) return ElMessage.error('请选择审查材料'); |
|
|
|
|
if (!param.reviewContent.length) return ElMessage.error('请选择审查材料'); |
|
|
|
|
if (!param.reviewSignature) return ElMessage.error('请选择签字表单'); |
|
|
|
|
if (!param.reviewApproveContent) return ElMessage.error('请选择审批材料'); |
|
|
|
|
if (!param.reviewApproveContent.length) return ElMessage.error('请选择审批材料'); |
|
|
|
|
if (!param.approvalSignature) return ElMessage.error('请选择签字表单'); |
|
|
|
|
if (param.selectionStrategyCheck === 803 && !param.selectionStrategy.length) return ElMessage.error('请选择策略'); |
|
|
|
|
|
|
|
|
@ -812,7 +812,10 @@ const submit = async (formEl: FormInstance | undefined) => { |
|
|
|
|
if (param.pledgeContractCheck !== 797) param.pledgeContract = ''; |
|
|
|
|
if (param.guaranteeContractCheck !== 797) param.guaranteeContract = ''; |
|
|
|
|
|
|
|
|
|
param.dueDiligenceMode = param.dueDiligenceMode.join(); |
|
|
|
|
param.dueDiligenceContent = param.dueDiligenceContent.join(); |
|
|
|
|
param.reviewContent = param.reviewContent.join(); |
|
|
|
|
param.reviewApproveContent = param.reviewApproveContent.join(); |
|
|
|
|
param.loanApplicationMethod = param.loanApplicationMethod.join(); |
|
|
|
|
param.riskDegreeStrategy = param.riskDegreeStrategyCheck === 803 ? param.riskDegreeStrategy.join() : ''; |
|
|
|
|
param.runBatchObject = param.runBatchObjectCheck === 803 ? param.runBatchObject.join() : ''; |
|
|
|
|