From e946ccdf92856da70aa0f2b400549b04eef8621e Mon Sep 17 00:00:00 2001 From: fanfan Date: Fri, 1 Mar 2024 16:46:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=94=B6=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/ranking.vue | 2 +- pages/news/recycling/order.vue | 14 ++++++++------ pages/news/recycling/recoveryList.vue | 12 ++++++++---- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/pages/activity/ranking.vue b/pages/activity/ranking.vue index 0427de5..06d6754 100644 --- a/pages/activity/ranking.vue +++ b/pages/activity/ranking.vue @@ -125,7 +125,7 @@ getListJingData() { let app = this; let pamars = { - store_id: 10001, + // store_id: 10001, } Api.chartsGoodsJing(pamars) .then(result => { diff --git a/pages/news/recycling/order.vue b/pages/news/recycling/order.vue index 67d8840..ccd7f7c 100644 --- a/pages/news/recycling/order.vue +++ b/pages/news/recycling/order.vue @@ -96,12 +96,12 @@ 物流公司: - + - + @@ -109,10 +109,10 @@ 快递单号: - + - + 确认发货 @@ -172,7 +172,8 @@ optionindex: -1, express_name: '', express_no: '', - express_id: '' + express_id: '', + userInfo:'' } }, onPageScroll(e) { @@ -183,6 +184,7 @@ } }, onLoad(op) { + this.userInfo = uni.getStorageSync('userInfo') this.order_id = op.order_id this.recovery_id = op.recovery_id this.getDetail(); diff --git a/pages/news/recycling/recoveryList.vue b/pages/news/recycling/recoveryList.vue index f35a186..e6cc082 100644 --- a/pages/news/recycling/recoveryList.vue +++ b/pages/news/recycling/recoveryList.vue @@ -54,17 +54,21 @@ 取消订单 - 完成 验收 + v-if="item.order_status == 10&&userInfo.user_type == 40" @click.stop="openPage(5,index,item)"> + {{item.recovery_type==30?'收货':'验收'}} 收款 + v-if="item.order_status == 10&&userInfo.user_type != 40" @click.stop="openPage(5,index,item)">验收 收货 + v-if="item.order_status == 20&&userInfo.user_type !=40" @click.stop="openPage(6,index,item)">收款 +