添加:合伙人邀请酒道馆和普通商户入驻
This commit is contained in:
parent
0a69bbbee9
commit
bb5d193f43
|
|
@ -288,6 +288,24 @@ export default {
|
|||
level: 8,
|
||||
}
|
||||
});
|
||||
menuList.push({
|
||||
title: '酒道馆商户邀请码',
|
||||
type: 'invite_qr_code',
|
||||
url: '',
|
||||
icon: 'icon-erweima1',
|
||||
params: {
|
||||
type: 'shopMer'
|
||||
}
|
||||
});
|
||||
menuList.push({
|
||||
title: '商户入驻邀请码',
|
||||
type: 'invite_qr_code',
|
||||
url: '',
|
||||
icon: 'icon-erweima1',
|
||||
params: {
|
||||
type: 'mer'
|
||||
}
|
||||
});
|
||||
}
|
||||
if(Number(agentType) !== 11){
|
||||
menuList.push({
|
||||
|
|
@ -314,7 +332,6 @@ export default {
|
|||
}
|
||||
|
||||
|
||||
|
||||
return menuList;
|
||||
},
|
||||
...mapGetters(['isLogin', 'uid', 'userInfo', 'viewColor'])
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<view class="imageCode" @click="again"><image :src="codeUrl" /></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" v-if="merchant_type != 3">
|
||||
<view class="item" v-if="![1,3].includes(Number(merchant_type))">
|
||||
<view class="uni-list">
|
||||
<view class="uni-list-cell">
|
||||
<view class="uni-list-cell-db acea-row row-middle">
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" v-if="merchant_type != 3">
|
||||
<view class="item" v-if="![1,3].includes(Number(merchant_type))">
|
||||
<view class="uni-list">
|
||||
<view class="uni-list-cell">
|
||||
<view class="uni-list-cell-db acea-row row-middle">
|
||||
|
|
@ -144,7 +144,6 @@
|
|||
</view>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
import { manageIsEligible,create, verify, merClassifly, getGoodsDetails, updateGoodsRecord, getStoreTypeApi} from '@/api/store.js';
|
||||
import {getCaptcha, getAgreementApi, searchUser} from "@/api/user";
|
||||
import { mapGetters } from "vuex";
|
||||
|
|
@ -154,7 +153,6 @@
|
|||
import Verify from '@/components/verify/verify.vue';
|
||||
import { HTTP_REQUEST_URL } from '@/config/app';
|
||||
import spread from "../../../libs/spread";
|
||||
|
||||
const app = getApp();
|
||||
export default {
|
||||
components: {
|
||||
|
|
@ -233,7 +231,6 @@
|
|||
_this.merchant_type = scene.mt || 0;
|
||||
}
|
||||
|
||||
|
||||
if (this.isLogin) {
|
||||
this.getClassfication();
|
||||
this.getStoreType();
|
||||
|
|
@ -562,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 || this.merchant_type == 3)) {
|
||||
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 (!that.isShowCode) {
|
||||
that.validate = true;
|
||||
} else {
|
||||
|
|
@ -586,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 && this.merchant_type != 3) return that.$util.Tips({title: '请选择商户分类'});
|
||||
if (!value.classification && ![1,3].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: '请填写图片验证码'});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue