update: 提示顺序修改
This commit is contained in:
parent
e915d8b0e8
commit
6d5c417815
@ -246,8 +246,8 @@ interface FormItemType {
|
||||
}
|
||||
|
||||
type ApplyFormDataType = {
|
||||
[key in string]: any
|
||||
}
|
||||
[key in string]: any;
|
||||
};
|
||||
|
||||
const orcImgTypeConf = {
|
||||
FR_ID_CARD_FRONT: "FR_ID_CARD_FRONT",
|
||||
@ -386,18 +386,17 @@ const checkForm = async () => {
|
||||
return valid;
|
||||
});
|
||||
|
||||
if (applyFormData.license_type != 1) {
|
||||
if (!applyFormData.license_image.length) {
|
||||
ElMessage.error("请上传许可证图片");
|
||||
return;
|
||||
}
|
||||
if (!applyFormData.license_number) {
|
||||
ElMessage.error("请输入许可证编号");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (isValid) {
|
||||
if (applyFormData.license_type != 1) {
|
||||
if (!applyFormData.license_image.length) {
|
||||
ElMessage.error("请上传许可证图片");
|
||||
return;
|
||||
}
|
||||
if (!applyFormData.license_number) {
|
||||
ElMessage.error("请输入许可证编号");
|
||||
return;
|
||||
}
|
||||
}
|
||||
handleMerchApply();
|
||||
}
|
||||
};
|
||||
@ -885,7 +884,7 @@ onMounted(() => {
|
||||
}
|
||||
.bank_name_cont {
|
||||
width: 300px;
|
||||
h3{
|
||||
h3 {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
p {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user