From d5f269a4155d4e7cd08d85f44861c7d6076d9b2a Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 18 十二月 2024 09:52:06 +0800 Subject: [PATCH] 1.暂时屏蔽掉子账号相关功能 --- pages/home/supplier-home.vue | 9 +++++---- pages/user/supplier-user.vue | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue index 48f8ceb..5100846 100644 --- a/pages/home/supplier-home.vue +++ b/pages/home/supplier-home.vue @@ -75,10 +75,10 @@ </view> <view class="t2 flex " style="align-items: center; justify-content: start;" > <view>{{ currentInfo.supplierSub.phone || currentInfo.tel || '暂无电话' }}</view> - <view v-if="selftype === 'supplier'"> + <!-- <view v-if="selftype === 'supplier' && $hasPermission('supplier:workbench:common:functions:sub:account') "> <view v-if="currentInfo.isSubSupplier" class="account_sub m-l-a m-r-0" >子账号</view> <view v-else class="account_sub m-l-a m-r-0" >主账号</view> - </view> + </view> --> </view> <view class="t2" v-if="currentInfo.partnerDTO && currentInfo.partnerDTO.id"> ID: {{ currentInfo.partnerDTO.id }} @@ -281,7 +281,7 @@ </view> - <view class="nav row margin-tb function-item " + <!-- <view class="nav row margin-tb function-item " v-if="(selftype === 'supplier' && $hasPermission('supplier:workbench:common:functions:sub:account'))" @click="goto('/sub_pages/supplier/sub-account/sub-account-list', true)"> <view class="img-c"> @@ -290,7 +290,7 @@ mode="scaleToFill" /> </view> <view class="order-desc syst">子账号</view> - </view> + </view> --> <!-- <view class="nav row margin-tb function-item "></view> --> </view> </view> @@ -431,6 +431,7 @@ var that = this; wx.getBluetoothAdapterState({ success: (result) => { + // debugger; console.log('b s', result) console.log("蓝牙状态:\n" + result.errMsg) if (result.adapterState.available) { diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue index 319d298..c738cde 100644 --- a/pages/user/supplier-user.vue +++ b/pages/user/supplier-user.vue @@ -113,10 +113,10 @@ </view> <view class="t2 flex " style="align-items: center; justify-content: start;" > <view>{{ currentInfo.supplierSub.phone || currentInfo.tel || '暂无电话' }}</view> - <view v-if="selftype === 'supplier'"> + <!-- <view v-if="selftype === 'supplier' && $hasPermission('supplier:workbench:common:functions:sub:account') "> <view v-if="currentInfo.isSubSupplier" class="account_sub m-l-a m-r-0" >子账号</view> <view v-else class="account_sub m-l-a m-r-0" >主账号</view> - </view> + </view> --> </view> </view> <view class="name" v-if="!currentInfo.id" open-type="getUserInfo" @click.stop="toCustomerLogin" -- Gitblit v1.9.3