商户入驻逻辑完善

This commit is contained in:
jia 2023-09-22 15:52:05 +08:00
parent 59562f0bd5
commit 748732901d

View File

@ -384,7 +384,7 @@
this.num = 15 this.num = 15
this.isshow = false this.isshow = false
} else { } else {
this.num = 0 this.num = 15
this.isshow = false this.isshow = false
} }
}, },
@ -839,6 +839,7 @@
if (!value.classification) return that.$util.Tips({ if (!value.classification) return that.$util.Tips({
title: '请选择商户分类' title: '请选择商户分类'
}); });
if (!this.mer_storeType) return that.$util.Tips({ if (!this.mer_storeType) return that.$util.Tips({
title: '请选择商户类型' title: '请选择商户类型'
}) })
@ -851,6 +852,11 @@
if (that.isShowCode && !that.codeVal) return that.$util.Tips({ if (that.isShowCode && !that.codeVal) return that.$util.Tips({
title: '请填写图片验证码' title: '请填写图片验证码'
}); });
if (that.pics.length==0 ) return that.$util.Tips({
title: '请上传一张或者多张图片'
});
that.validate = true; that.validate = true;
return true; return true;
}, },