From 2ae438908a49ba6d4fcc38cc01a73af13c249622 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 15 十一月 2024 14:56:45 +0800 Subject: [PATCH] feat:司机首页退单按钮,剧毒通行证按钮增加条件 --- pages/tabbar-page/index-tabbar/index-tabbar.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue index 149dd89..245e23d 100644 --- a/pages/tabbar-page/index-tabbar/index-tabbar.vue +++ b/pages/tabbar-page/index-tabbar/index-tabbar.vue @@ -281,9 +281,8 @@ console.log('LoadUnloadRef'); this.$nextTick(() => { console.log(this.count,'count') - if(this.count <=1){ this.$refs.LoadUnloadRef.init(); - } + }); break; case 7: @@ -357,9 +356,9 @@ }); }, getDetailData(){ - this.$reqGet('getTaskCoalListByBunkerId', { bunkerId:uni.getStorageSync('bunkerId')}).then(res => { + this.$reqGet('getTaskCoalListByBunkerId', { bunkerIds:uni.getStorageSync('bunkerIds'),productIds:uni.getStorageSync('productIds')}).then(res => { if (res.code === 0) { - this.detailData = res.data.map(item=>{ + this.detailData = res.data.map(item=>{ item.tmTaskCoalList.map(el=>{ el.flag = el.isPretendDischar ? false : true return el -- Gitblit v1.9.1