From 54977427a5ba5fea0d1db3c69cc28e8c1d30baa5 Mon Sep 17 00:00:00 2001
From: wuhui_zzw <1760308791@qq.com>
Date: Thu, 11 Apr 2024 18:20:10 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E5=90=88=E4=BC=99?=
=?UTF-8?q?=E4=BA=BA=E4=BB=A3=E7=90=86=E6=B7=BB=E5=8A=A0=E9=82=80=E8=AF=B7?=
=?UTF-8?q?=E8=B6=85=E5=B8=82=E5=85=A5=E9=A9=BB=E4=BA=8C=E7=BB=B4=E7=A0=81?=
=?UTF-8?q?=E7=94=9F=E6=88=90=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/agent/centerV2.vue | 9 +++++++++
pages/store/settled/index.vue | 8 ++++----
2 files changed, 13 insertions(+), 4 deletions(-)
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: '请填写图片验证码'});