From a5ec97f98591eac8bd324561940a87c20bf2fe97 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 11 九月 2024 15:19:36 +0800 Subject: [PATCH] 1 --- sub_pages/partner/delivery/station-delivery.vue | 10 ++-------- manifest.json | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/manifest.json b/manifest.json index 2848179..782394c 100644 --- a/manifest.json +++ b/manifest.json @@ -49,7 +49,7 @@ "quickapp" : {}, /* 快应用特有相关 */ "mp-weixin" : { - "appid" : "wx1441324401626290", + "appid" : "wx6d0ecc4e18710458", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/sub_pages/partner/delivery/station-delivery.vue b/sub_pages/partner/delivery/station-delivery.vue index ee4a0f2..bb49e5b 100644 --- a/sub_pages/partner/delivery/station-delivery.vue +++ b/sub_pages/partner/delivery/station-delivery.vue @@ -7,7 +7,6 @@ stationName: '', }, list: [], - isAdmin: false, } }, onLoad(options) { @@ -35,12 +34,7 @@ this.$message.hideLoading() if (code == 0) { this.list = data || [] - // 如果有总仓类型就显示全部的供应商 - for (var tmp of this.list) { - if (tmp.type === '0') { - this.isAdmin = true - } - } + } }, @@ -70,7 +64,7 @@ </u-input> </view> </view> - <view class="search-container m-t-12 flex" v-if="isAdmin"> + <view class="search-container m-t-12 flex" v-if="currentInfo&¤tInfo.mainWarehouse"> <view class="m-l-a m-r-0 w-fit" @click="showAll">查看全部>></view> </view> -- Gitblit v1.9.3