From f04a2c014a47cc9bc3f667b5474b9b53b96e0ea6 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 26 十月 2023 16:52:29 +0800
Subject: [PATCH] 再生资源bugfix

---
 pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
index fa9a4ad..ed5eef2 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -58,8 +58,8 @@
 		<view class="white-block">
 
 		</view>
-		<view class="utilsBox" v-if="currentPageCoalStatus">
-			<view class="utils_chil utils_chilTop">
+		<view class="utilsBox">
+			<view class="utils_chil utils_chilTop" v-if="!isReservation">
 				<view class="top-button">
 					<u-button text="绛惧埌"
 						type="primary"
@@ -90,7 +90,7 @@
 				</view>
 			</view>
 		</view>
-		<view class="weigh-ability" v-if="currentPageCoalStatus">
+		<view class="weigh-ability" v-if="!isReservation">
 			<view class="weigh-button"><u-button text="灞曠ず閫氱煡鍗�"
 					@click="showCaolPickUpBill"
 					type="primary"
@@ -200,6 +200,7 @@
 					clean: ""
 				},
 				completeOutSaleShow: false,
+				reservationIsShow:false,
 				overTmWaixiao: null,
 				// 鍒よ缃戠粶鐘舵�侊紝
 				normalCode: true,
@@ -243,6 +244,10 @@
 			// 灞曠ず鐨瘺鍑�
 			showWeigh() {
 				return this.coalDetailsData.tmTaskCoalItems ? this.coalDetailsData.tmTaskCoalItems : []
+			},
+			//鍙告満棰嗗彇鐘舵�佹寜閽叏涓嶅睍绀� 
+			isReservation(){
+				return this.reservationIsShow < 1;
 			}
 		},
 		methods: {
@@ -311,6 +316,7 @@
 						this.getServiceOpenid.filedId = this.coalDetailsData.filedId;
 						// 鑾峰彇閫氱煡鍗曠姸鎬�
 						this.currentPageCoalStatus = this.coalDetailsData.statusWeigh;
+						this.reservationIsShow = this.coalDetailsData.status;
 						// 鑾峰彇鍘熷彂淇℃伅
 						this.primarySkin = this.coalDetailsData.skinTwo;
 						this.primaryHair = this.coalDetailsData.hairTwo;

--
Gitblit v1.9.1