update: 驳回审核优化

This commit is contained in:
mixtan 2025-06-21 09:34:30 +08:00
parent e4600fe35d
commit 907480d525
2 changed files with 6 additions and 5 deletions

View File

@ -372,7 +372,6 @@ const handleMerchApply = async () => {
const res = await re_apply({
id: auditInfo.value.id,
...applyFormData,
email: `${applyFormData.login_mobile}@qq.com`,
});
if (res.status == 200 && res.code == 0) {
ElMessage.success("资料已提交~");
@ -387,12 +386,12 @@ const checkForm = async () => {
});
if (isValid) {
if (applyFormData.license_type != 1) {
if (!applyFormData.license_image.length) {
if ( difference(['license_type','license_image','license_number'], auditInfo?.approval_invalid_col).length==0 && applyFormData?.license_type != 1) {
if (!applyFormData?.license_image?.length) {
ElMessage.error("请上传许可证图片");
return;
}
if (!applyFormData.license_number) {
if (!applyFormData?.license_number) {
ElMessage.error("请输入许可证编号");
return;
}
@ -838,7 +837,7 @@ onMounted(() => {
background: #fff;
margin-bottom: 12px;
&.nodata {
min-height: 900px;
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
@ -851,6 +850,7 @@ onMounted(() => {
.form-submit {
width: 1000px;
min-height: 300px;
padding: 15px;
border-radius: 5px;
background: #fff;

View File

@ -1741,6 +1741,7 @@ onMounted(() => {
.form-submit {
width: 50%;
min-height: 300px;
:deep(.el-form) {
max-width: 100% !important;