update: 驳回审核优化
This commit is contained in:
parent
e4600fe35d
commit
907480d525
@ -372,7 +372,6 @@ const handleMerchApply = async () => {
|
|||||||
const res = await re_apply({
|
const res = await re_apply({
|
||||||
id: auditInfo.value.id,
|
id: auditInfo.value.id,
|
||||||
...applyFormData,
|
...applyFormData,
|
||||||
email: `${applyFormData.login_mobile}@qq.com`,
|
|
||||||
});
|
});
|
||||||
if (res.status == 200 && res.code == 0) {
|
if (res.status == 200 && res.code == 0) {
|
||||||
ElMessage.success("资料已提交~");
|
ElMessage.success("资料已提交~");
|
||||||
@ -387,12 +386,12 @@ const checkForm = async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (isValid) {
|
if (isValid) {
|
||||||
if (applyFormData.license_type != 1) {
|
if ( difference(['license_type','license_image','license_number'], auditInfo?.approval_invalid_col).length==0 && applyFormData?.license_type != 1) {
|
||||||
if (!applyFormData.license_image.length) {
|
if (!applyFormData?.license_image?.length) {
|
||||||
ElMessage.error("请上传许可证图片");
|
ElMessage.error("请上传许可证图片");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!applyFormData.license_number) {
|
if (!applyFormData?.license_number) {
|
||||||
ElMessage.error("请输入许可证编号");
|
ElMessage.error("请输入许可证编号");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -838,7 +837,7 @@ onMounted(() => {
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
&.nodata {
|
&.nodata {
|
||||||
min-height: 900px;
|
min-height: 300px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -851,6 +850,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
.form-submit {
|
.form-submit {
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
|
min-height: 300px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@ -1741,6 +1741,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
.form-submit {
|
.form-submit {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
min-height: 300px;
|
||||||
|
|
||||||
:deep(.el-form) {
|
:deep(.el-form) {
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user