陶杰
2024-12-18 d5f269a4155d4e7cd08d85f44861c7d6076d9b2a
1.暂时屏蔽掉子账号相关功能
已修改2个文件
13 ■■■■ 文件已修改
pages/home/supplier-home.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/user/supplier-user.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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) {
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"