From 81062e5937779fd4ee4004412ca89942b67017b4 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 09 十一月 2023 17:08:06 +0800
Subject: [PATCH] app端物资明细字段,增加榜单类型

---
 pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 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 c8642d3..bc323b4 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
@@ -67,12 +67,12 @@
 						@click="arriveClick"
 						shape="circle"
 						:disabled="coalDetailsData.status >= 2"></u-button>
-					<u-button text="鍏ュ満鐢宠"
+					<u-button text="鎵撳嵃纾呭崟"
 						type="primary"
 						plain
-						@click="rcsqClick"
+						@click="printOrder"
 						shape="circle"
-						:disabled="coalDetailsData.status >= 3"></u-button>
+						:disabled="currentPageCoalStatus !== 4"></u-button>
 				</view>
 				<view class="bottom-button">
 					<u-button text="鏀剧┖"
@@ -91,10 +91,10 @@
 			</view>
 		</view>
 		<view class="weigh-ability" v-if="!isReservation">
-			<view class="weigh-button"><u-button text="灞曠ず閫氱煡鍗�"
+			<!-- <view class="weigh-button"><u-button text="灞曠ず閫氱煡鍗�"
 					@click="showCaolPickUpBill"
 					type="primary"
-					shape="circle"></u-button></view>
+					shape="circle"></u-button></view> -->
 			<view class="weigh-button"><u-button 
 				    :disabled="!isapproach"
 				    text="涓婄璁¢噺"
@@ -503,6 +503,18 @@
 				uni.navigateTo({
 					url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?orderPlanId=${this.orderPlanId}&flag=${true}`
 				})
+			},
+			//鎵撳嵃纾呭崟
+			printOrder(){
+				this.$reqGet('printerHandler',{tmId:this.orderPlanId}).then(res => {
+					if (res.data) {
+						uni.hideLoading();
+						// this.orderPlanData = res.data
+					} else {
+						uni.hideLoading();
+						this.$u.toast('鍔犺浇澶辫触')
+					}
+				})
 			}
 		}
 	};

--
Gitblit v1.9.1