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)">收款 +