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>