添加:烟酒店相关兼容

This commit is contained in:
wuhui_zzw 2024-03-14 14:03:08 +08:00
parent 9f0fb9c2fb
commit 1f726b8c41
3 changed files with 40 additions and 4 deletions

View File

@ -162,7 +162,7 @@ export default {
qrcode_list(){ qrcode_list(){
let menuList = []; let menuList = [];
let agentType = this.agent_info.agent_type || 0; let agentType = this.agent_info.agent_type || 0;
// 1=,2=,3=(),4=(),5=,6=,7=,8=,9=,10= // 1=,2=,3=(),4=(),5=,6=,7=,8=,9=,10=,11=
if(Number(agentType) <= 5){ if(Number(agentType) <= 5){
menuList.push({ menuList.push({
title: '供应商邀请码', title: '供应商邀请码',
@ -277,6 +277,19 @@ export default {
}); });
} }
menuList.push({
title: '烟酒店代销商邀请码',
type: 'invite_qr_code',
url: '',
icon: 'icon-erweima1',
params: {
type: 'subordinate',
level: 11,
}
});
return menuList; return menuList;
}, },
...mapGetters(['isLogin', 'uid', 'userInfo', 'viewColor']) ...mapGetters(['isLogin', 'uid', 'userInfo', 'viewColor'])
@ -686,7 +699,7 @@ export default {
} }
// //
.promotion-qr-code{ .promotion-qr-code{
height: 500rpx!important; //height: 500rpx!important;
} }
// //
.qr-code-content{ .qr-code-content{

View File

@ -101,6 +101,25 @@
</view> </view>
</view> </view>
</block> </block>
<!-- 仅烟酒代销商 凭证图片(支持多图) -->
<block v-if="agent_type == 11">
<view class="line">
<view class="item-title">请上传相关凭证</view>
<view class="item-desc">(图片最多可上传10张,图片格式支持JPGPNGJPEG)</view>
<view class="upload">
<view class='pictrue' v-for="(item,index) in apply_info.mer_images" :key="index" :data-index="index">
<image :src='item'></image>
<text class='iconfont icon-guanbi1' @click="delPic(index)"></text>
</view>
<view v-else class='pictrue acea-row row-center-wrapper row-column' v-if="Object.values(apply_info.mer_images).length < 10" @click="uploadPic()">
<text class='iconfont icon-icon25201'></text>
<view>上传图片</view>
</view>
</view>
</view>
</block>
<!--选择支付方式--> <!--选择支付方式-->
<view class="pay-type" v-if="Number(pay_money) > 0 && Number(apply_info_id) <= 0"> <view class="pay-type" v-if="Number(pay_money) > 0 && Number(apply_info_id) <= 0">
<view class="box-title">支付方式</view> <view class="box-title">支付方式</view>
@ -341,6 +360,7 @@ export default {
case 8: title += '配送商';break; case 8: title += '配送商';break;
case 9: title += '总部外勤';break; case 9: title += '总部外勤';break;
case 10: title += '总部内勤';break; case 10: title += '总部内勤';break;
case 11: title += '烟酒代销商';break;
} }
} }
// //

View File

@ -167,12 +167,15 @@ export default {
let title = ''; let title = '';
switch (Number(number)) { switch (Number(number)) {
case 2: title = '省公司';break; case 2: title = '省公司';break;
case 3: title = '外勤';break; case 3: title = '省公司外勤';break;
case 4: title = '内勤';break; case 4: title = '省公司内勤';break;
case 5: title = '运营商';break; case 5: title = '运营商';break;
case 6: title = '合伙人';break; case 6: title = '合伙人';break;
case 7: title = '餐厅';break; case 7: title = '餐厅';break;
case 8: title = '配送商';break; case 8: title = '配送商';break;
case 9: title = '总部外勤';break;
case 10: title = '总部内勤';break;
case 11: title = '烟酒店代销商';break;
} }
return title; return title;
}, },