From cbfc1953c7e7333dbcb1e43fff15433ed24fc543 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期日, 08 十月 2023 17:28:32 +0800
Subject: [PATCH] 修正打印入门证接口错误 增加装卸员页面详情信息

---
 pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 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 3661fb7..f7db267 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
@@ -25,7 +25,7 @@
 						<view class="status-button"
 							style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/statusbutton.png') no-repeat;
 										background-size: cover;">
-							{{coalStatus[correctStatus]}}
+							{{coalStatus[correctStatus]||''}}
 						</view>
 					</view>
 					<view class="time">
@@ -752,7 +752,15 @@
 					title: '姝e湪鎵撳嵃涓�,璇风◢鍚�'
 				})
 				this.enterLoading = true
-				this.$reqGet('printer', { type: 2, tmId: this.coalDetailsData.id, weighingNumber: 1 }).then(
+				let form = {
+					deptId: this.getWeightHouseObj.deptId,
+					tmId: this.getWeightHouseObj.tmId,
+					carNo: uni.getStorageSync('carNo'),
+					type: 2,
+					weighingNumber: 1
+				}
+				this.$reqPost('printer', Object.assign(form, JSON.parse(uni.getStorageSync('WeighHouseForm'))),
+					'json').then(
 					res => {
 						uni.hideLoading()
 						this.enterLoading = false

--
Gitblit v1.9.1