|
@@ -103,6 +103,21 @@
|
|
<el-input v-model="ruleForm.applicantContactEmail" :disabled="disabled" placeholder="请输入保理申请人联系人邮箱" />
|
|
<el-input v-model="ruleForm.applicantContactEmail" :disabled="disabled" placeholder="请输入保理申请人联系人邮箱" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<cy-info-title style="margin-top: 20px;">账户信息</cy-info-title>
|
|
<cy-info-title style="margin-top: 20px;">账户信息</cy-info-title>
|
|
|
|
+ <el-form-item label="是否为江苏苏商银行" prop="smb">
|
|
|
|
+ <el-radio-group v-model="ruleForm.smb" :disabled="disabled" @change="smbChange">
|
|
|
|
+ <el-radio :label="1">是</el-radio>
|
|
|
|
+ <el-radio :label="0">否</el-radio>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="保理申请人银行名称"
|
|
|
|
+ prop="applicantDesignatedBankName"
|
|
|
|
+ :rules="[
|
|
|
|
+ { required: ruleForm.smb === 0, message: '请输入保理申请人银行名称', trigger: 'blur' }
|
|
|
|
+ ]"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model="ruleForm.applicantDesignatedBankName" :disabled="disabled" placeholder="请输入保理申请人银行名称" />
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label="保理申请人指定账户户名" prop="applicantDesignatedAccountName">
|
|
<el-form-item label="保理申请人指定账户户名" prop="applicantDesignatedAccountName">
|
|
<el-input v-model="ruleForm.applicantDesignatedAccountName" :disabled="disabled" placeholder="请输入保理申请人指定账户户名" />
|
|
<el-input v-model="ruleForm.applicantDesignatedAccountName" :disabled="disabled" placeholder="请输入保理申请人指定账户户名" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -176,7 +191,9 @@ export default {
|
|
applicantContactEmail: '',
|
|
applicantContactEmail: '',
|
|
applicantDesignatedAccountName: '',
|
|
applicantDesignatedAccountName: '',
|
|
applicantDesignatedAccount: '',
|
|
applicantDesignatedAccount: '',
|
|
- applicantDesignatedBank: ''
|
|
|
|
|
|
+ applicantDesignatedBank: '',
|
|
|
|
+ smb: '',
|
|
|
|
+ applicantDesignatedBankName: ''
|
|
},
|
|
},
|
|
rules: {
|
|
rules: {
|
|
businessNumber: [
|
|
businessNumber: [
|
|
@@ -201,6 +218,9 @@ export default {
|
|
],
|
|
],
|
|
applicantDesignatedBank: [
|
|
applicantDesignatedBank: [
|
|
{ required: true, message: '请输入保理申请人指定账户开户行', trigger: 'blur' }
|
|
{ required: true, message: '请输入保理申请人指定账户开户行', trigger: 'blur' }
|
|
|
|
+ ],
|
|
|
|
+ smb: [
|
|
|
|
+ { required: true, message: '请选择是否为江苏苏商银行', trigger: 'change' }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
fileStorageList: [],
|
|
fileStorageList: [],
|
|
@@ -472,7 +492,10 @@ export default {
|
|
applicantContactEmail,
|
|
applicantContactEmail,
|
|
applicantDesignatedAccountName,
|
|
applicantDesignatedAccountName,
|
|
applicantDesignatedAccount,
|
|
applicantDesignatedAccount,
|
|
- applicantDesignatedBank } = financingApplicantInfo
|
|
|
|
|
|
+ applicantDesignatedBank,
|
|
|
|
+ applicantDesignatedBankName,
|
|
|
|
+ smb
|
|
|
|
+ } = financingApplicantInfo
|
|
this.ruleForm = {
|
|
this.ruleForm = {
|
|
...financingBasicInfo,
|
|
...financingBasicInfo,
|
|
applicantContact,
|
|
applicantContact,
|
|
@@ -480,7 +503,9 @@ export default {
|
|
applicantContactEmail,
|
|
applicantContactEmail,
|
|
applicantDesignatedAccountName,
|
|
applicantDesignatedAccountName,
|
|
applicantDesignatedAccount,
|
|
applicantDesignatedAccount,
|
|
- applicantDesignatedBank
|
|
|
|
|
|
+ applicantDesignatedBank,
|
|
|
|
+ applicantDesignatedBankName,
|
|
|
|
+ smb
|
|
}
|
|
}
|
|
this.fileStorageList = fileStorageDOList
|
|
this.fileStorageList = fileStorageDOList
|
|
this.oldTableDataInfo = financingAccountsReceivableInfoList
|
|
this.oldTableDataInfo = financingAccountsReceivableInfoList
|
|
@@ -626,7 +651,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
submit(type) {
|
|
submit(type) {
|
|
- const { applicantContact, applicantContactNumber, applicantContactEmail, applicantDesignatedAccountName, applicantDesignatedAccount, applicantDesignatedBank } = this.ruleForm
|
|
|
|
|
|
+ const { applicantContact, applicantContactNumber, applicantContactEmail, applicantDesignatedAccountName, applicantDesignatedAccount, applicantDesignatedBank, smb, applicantDesignatedBankName } = this.ruleForm
|
|
const fileStorageList = this.$refs.fileStorage.getFileLists
|
|
const fileStorageList = this.$refs.fileStorage.getFileLists
|
|
const params = {
|
|
const params = {
|
|
financingBasicInfo: {
|
|
financingBasicInfo: {
|
|
@@ -640,7 +665,9 @@ export default {
|
|
applicantContactEmail,
|
|
applicantContactEmail,
|
|
applicantDesignatedAccountName,
|
|
applicantDesignatedAccountName,
|
|
applicantDesignatedAccount,
|
|
applicantDesignatedAccount,
|
|
- applicantDesignatedBank
|
|
|
|
|
|
+ applicantDesignatedBank,
|
|
|
|
+ smb,
|
|
|
|
+ applicantDesignatedBankName
|
|
},
|
|
},
|
|
fileIds: fileStorageList.map(item => item.id),
|
|
fileIds: fileStorageList.map(item => item.id),
|
|
visible: type !== 'temp'
|
|
visible: type !== 'temp'
|
|
@@ -680,6 +707,13 @@ export default {
|
|
acc[cur.acceptanceGoodsNumber].children.push({ ...cur, fid: getUuid(), tid: getUuid(), tOrder })
|
|
acc[cur.acceptanceGoodsNumber].children.push({ ...cur, fid: getUuid(), tid: getUuid(), tOrder })
|
|
return acc
|
|
return acc
|
|
}, {}))
|
|
}, {}))
|
|
|
|
+ },
|
|
|
|
+ smbChange(val) {
|
|
|
|
+ if (val) {
|
|
|
|
+ this.ruleForm.applicantDesignatedBankName = '江苏苏商银行'
|
|
|
|
+ } else {
|
|
|
|
+ this.ruleForm.applicantDesignatedBankName = ''
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|