diff --git a/pages/agent/centerV2.vue b/pages/agent/centerV2.vue
index 8162ef3..b1be6f3 100644
--- a/pages/agent/centerV2.vue
+++ b/pages/agent/centerV2.vue
@@ -318,6 +318,15 @@ export default {
type: 'mer'
}
});
+ menuList.push({
+ title: '超市入驻邀请码',
+ type: 'invite_qr_code',
+ url: '',
+ icon: 'icon-erweima1',
+ params: {
+ type: 'supermarket'
+ }
+ });
}
if(Number(agentType) !== 11){
menuList.push({
diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue
index 9459fff..36db949 100644
--- a/pages/store/settled/index.vue
+++ b/pages/store/settled/index.vue
@@ -63,7 +63,7 @@
-
+
@@ -76,7 +76,7 @@
-
+
@@ -559,7 +559,7 @@
validateBtn: function() {
let that = this,
value = that.merchantData;//value.yanzhengma &&
- if (value.enterprise_name && value.user_name && value.phone && /^1(3|4|5|7|8|9|6)\d{9}$/i.test(value.phone) && that.isAgree && (value.classification || [1,3].includes(Number(this.merchant_type)))) {
+ if (value.enterprise_name && value.user_name && value.phone && /^1(3|4|5|7|8|9|6)\d{9}$/i.test(value.phone) && that.isAgree && (value.classification || [1,3,4].includes(Number(this.merchant_type)))) {
if (!that.isShowCode) {
that.validate = true;
} else {
@@ -583,7 +583,7 @@
if (!value.phone) return that.$util.Tips({title: '请输入手机号'});
if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(value.phone)) return that.$util.Tips({title: '请输入正确的手机号码'});
// if (!value.yanzhengma) return that.$util.Tips({title: '请填写验证码'});
- if (!value.classification && ![1,3].includes(Number(this.merchant_type))) return that.$util.Tips({title: '请选择商户分类'});
+ if (!value.classification && ![1,3,4].includes(Number(this.merchant_type))) return that.$util.Tips({title: '请选择商户分类'});
if (!that.isAgree) return that.$util.Tips({title: '请勾选并同意入驻协议'});
if (that.isShowCode && !that.codeVal) return that.$util.Tips({title: '请填写图片验证码'});