From 8b53f063a074d91e7093d35168bf0dc349c83ba9 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 11 七月 2024 14:14:39 +0800
Subject: [PATCH] feat::发运单详情去除折叠

---
 pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 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 243e0a9..e000001 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
@@ -231,14 +231,14 @@
 						
 						<u-form-item prop='contactPicture'>
 							<view class="label-text">
-								<text style="color: #f56c6c;">*</text>鍘熷彂纾呭崟
+								<text style="color: #f56c6c;">*</text>鍘熷彂鍗曟嵁
 							</view>
 							<u-upload :fileList="fileList1"
 								@afterRead="afterRead"
 								@delete="deletePic"
 								name="1"
 								multiple
-								:maxCount="2"
+								:maxCount="deletable ? fileList1.length : 2"
 								width="250"
 								height="150"
 								:previewFullImage="true"
@@ -354,7 +354,7 @@
 		<!-- <view class="completeOutSale">
 			<u-modal :show="completeOutSaleShow"
 				title="纭"
-				content="鏄惁瀹屾垚澶栭攢鎻愮叅鍗�"
+				content="鏄惁瀹屾垚澶栭攢鏀跺彂鍗�"
 				:showCancelButton="true"
 				@confirm="completeOutSaleConfirm"
 				@cancel="completeOutSaleCancel"></u-modal>
@@ -417,7 +417,7 @@
 			printerStyle
 		},
 		onPullDownRefresh() {
-			this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+			this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			uni.stopPullDownRefresh();
 		},
 		onLoad(value) {
@@ -432,7 +432,7 @@
 			this.changeglobalIsFirstWeighing(1)
 			if (this.globalIsFirstWeighing === 1) {
 				console.log('鑾峰彇璇︽儏 onload');
-				this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+				this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			}
 			this.init(); //鑾峰彇鏃ュ織
 			this.getgetService(); //鑾峰彇瀹㈡湇
@@ -441,7 +441,7 @@
 			this.coalDayPage(); //鑾峰彇鏃ュ織 瀹氭椂浠诲姟
 			if (this.globalIsFirstWeighing === 2) {
 				console.log('鑾峰彇璇︽儏 onShow');
-				this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+				this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			}
 		},
 		onHide() {
@@ -476,8 +476,8 @@
 				wareList:[],
 				coalDetailsData: {
 					tmTaskCoalList:[]
-				}, // 鎻愮叅鍗曡鎯�
-				currentPageCoalStatus: 0, // 褰撳墠椤甸潰鎻愮叅鍗曠姸鎬�
+				}, // 鏀跺彂鍗曡鎯�
+				currentPageCoalStatus: 0, // 褰撳墠椤甸潰鏀跺彂鍗曠姸鎬�
 				// 鑾峰彇鎵�鍦ㄧ鎴垮弬鏁�
 				getWeightHouseObj: {
 					deptId: '',
@@ -711,7 +711,7 @@
 					}
 				})
 			},
-			// 鑾峰彇鎻愮叅鍗曡鎯�
+			// 鑾峰彇鏀跺彂鍗曡鎯�
 			getTakeCoal() {
 				uni.showLoading({
 					title: '鍔犺浇涓�'
@@ -719,7 +719,7 @@
 				this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => {
 					if (res.code == 0) {
 						uni.hideLoading();
-						console.log(res, '鎻愮叅鍗曡鎯�');
+						console.log(res, '鏀跺彂鍗曡鎯�');
 						this.coalDetailsData = res.data;
 						this.orderType = this.coalDetailsData.orderType;
 						// 
@@ -743,7 +743,7 @@
 						// 鑾峰彇瀹㈡湇openId鍙傛暟璧嬪��
 						this.getServiceOpenid.deptId = this.coalDetailsData.deptId;
 						this.getServiceOpenid.filedId = this.coalDetailsData.filedId;
-						// 鑾峰彇鎻愮叅鍗曠姸鎬�
+						// 鑾峰彇鏀跺彂鍗曠姸鎬�
 						this.currentPageCoalStatus = this.coalDetailsData.status;
 						// 鑾峰彇鍘熷彂淇℃伅
 						this.primarySkin = this.coalDetailsData.skinTwo;
@@ -824,7 +824,7 @@
 					});
 				}, 5000);
 			},
-			// 灞曠ず鎻愮叅鍗曡鎯�
+			// 灞曠ず鏀跺彂鍗曡鎯�
 			showCaolPickUpBill() {
 				uni.navigateTo({
 					url: `/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill?orderPlanId=${this.orderPlanId}`
@@ -1517,7 +1517,7 @@
 		.sub-table{
 			width: 690rpx;
 			min-height: 300rpx;
-			margin: vww(20) vww(15) vww(13);
+			margin: vww(40) vww(15) vww(13);
 			background: #ffffff;
 			box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12);
 			border-radius: 20rpx;
@@ -1530,9 +1530,12 @@
 			align-items: flex-start;
 			/deep/ .uni-table{
 				min-width: 0!important;
-			}
-
+			
 		}
+			.uni-table::-webkit-scrollbar {
+				display: none;
+				}
+			}
 
 		.origin-info {
 			width: 690rpx;

--
Gitblit v1.9.1