From b05a84f9178894b40a1d6a601b577403d7d93c46 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 08 一月 2025 09:09:20 +0800
Subject: [PATCH] 1.运费配置说明修改

---
 pages/user/supplier-user.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index 319d298..456bc0f 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"
@@ -642,7 +642,13 @@
 		}
 	},
 	// #endif
-	onShow() {
+	async onShow() {
+		if(this.selftype==='supplier'){
+			await this.$store.dispatch('getAppMenuSupplier')
+		}else if(this.selftype==='partner'){
+			await this.$store.dispatch('getAppMenuPartner')
+		}
+		
 		this.cacheUserId = ''
 		this.getTj()
 

--
Gitblit v1.9.3