From e43c57ce0b59b519dd782fd23afb8700572f8a4a Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期四, 03 八月 2023 09:24:12 +0800
Subject: [PATCH] 发运统计修改

---
 pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue b/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue
index 546ebb2..25dcfc1 100644
--- a/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue
+++ b/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue
@@ -206,7 +206,7 @@
 							</view>
 						</view>
 						<view class="filter-body"
-							v-if="roleType != 3">
+							v-if="roleType === 2||roleType === 1">
 							<view class="condition-name">杞﹂槦</view>
 							<view class="filter-name">
 								<view class="filter-button"
@@ -222,7 +222,8 @@
 							</view> -->
 							</view>
 						</view>
-						<view class="filter-body">
+						<view class="filter-body"
+							v-if="roleType != 4">
 							<view class="condition-name">浠撳簱</view>
 							<view class="filter-name">
 								<view class="filter-button"
@@ -239,7 +240,7 @@
 							</view>
 						</view>
 						<view class="filter-body"
-							v-if="roleType == 2">
+							v-if="roleType == 2||roleType == 4">
 							<view class="condition-name">杞︾墝鍙�</view>
 							<view class="filter-name">
 								<view class="filter-button"
@@ -334,7 +335,7 @@
 				onlineurl,
 			};
 		},
-		onShow() {
+		onLoad() {
 			this.firstDate();
 			this.lastDate();
 			this.getShipping();
@@ -634,7 +635,7 @@
 			// 璺宠浆鍙戣繍璇︽儏
 			faYunDetail(takeCoalId) {
 				uni.navigateTo({
-					url: `/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails?id=${takeCoalId}`
+					url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?orderPlanId=${takeCoalId}&flag=${true}`
 				});
 			},
 			// 鎵撳紑绛涢�夋潯浠跺脊绐�
@@ -685,6 +686,7 @@
 					this.first = newV.slice(0, 10);
 					this.last = newV.slice(11);
 					this.getTmTaskCoalData();
+					this.getShipping();
 				}
 			}
 		}

--
Gitblit v1.9.1