From 5c7d78e847739fbd4af4aa28359fc3ee36763a19 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期三, 10 七月 2024 08:31:27 +0800
Subject: [PATCH] feat:修改业务文字,原发磅单上传增加条件

---
 pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue |   45 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 32 insertions(+), 13 deletions(-)

diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue
index 7a669c3..2f64469 100644
--- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue
+++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanMore/fayunPlanMore.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="fileList1.length ? fileList1.length : 2"
 								width="250"
 								height="150"
 								:previewFullImage="true"
@@ -278,7 +278,7 @@
 		<!-- <view class="completeOutSale">
 			<u-modal :show="completeOutSaleShow"
 				title="纭"
-				content="鏄惁瀹屾垚澶栭攢鎻愮叅鍗�"
+				content="鏄惁瀹屾垚澶栭攢鏀跺彂鍗�"
 				:showCancelButton="true"
 				@confirm="completeOutSaleConfirm"
 				@cancel="completeOutSaleCancel"></u-modal>
@@ -297,7 +297,7 @@
 			combinedTitle,
 		},
 		onPullDownRefresh() {
-			this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+			this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			uni.stopPullDownRefresh();
 		},
 		onLoad(value) {
@@ -310,14 +310,14 @@
 			// 	this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao
 			// }
 			if (this.globalIsFirstWeighing === 1) {
-				this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+				this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			}
 			this.init(); //鑾峰彇鏃ュ織
 		},
 		onShow() {
 			this.coalDayPage(); //鑾峰彇鏃ュ織 瀹氭椂浠诲姟
 			if (this.globalIsFirstWeighing === 2) {
-				this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+				this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			}
 		},
 		onReady() {
@@ -346,8 +346,8 @@
 				wareList:[],
 				coalDetailsData: {
 					tmTaskCoalList:[]
-				}, // 鎻愮叅鍗曡鎯�
-				currentPageCoalStatus: 0, // 褰撳墠椤甸潰鎻愮叅鍗曠姸鎬�
+				}, // 鏀跺彂鍗曡鎯�
+				currentPageCoalStatus: 0, // 褰撳墠椤甸潰鏀跺彂鍗曠姸鎬�
 				// 鑾峰彇鎵�鍦ㄧ鎴垮弬鏁�
 				getWeightHouseObj: {
 					deptId: '',
@@ -581,7 +581,7 @@
 					}
 				})
 			},
-			// 鑾峰彇鎻愮叅鍗曡鎯�
+			// 鑾峰彇鏀跺彂鍗曡鎯�
 			getTakeCoal() {
 				uni.showLoading({
 					title: '鍔犺浇涓�'
@@ -589,7 +589,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;
 						// 
@@ -613,7 +613,7 @@
 						// 鑾峰彇瀹㈡湇openId鍙傛暟璧嬪��
 						this.getServiceOpenid.deptId = this.coalDetailsData.deptId;
 						this.getServiceOpenid.filedId = this.coalDetailsData.filedId;
-						// 鑾峰彇鎻愮叅鍗曠姸鎬�
+						// 鑾峰彇鏀跺彂鍗曠姸鎬�
 						this.currentPageCoalStatus = this.coalDetailsData.status;
 						// 鑾峰彇鍘熷彂淇℃伅
 						this.primarySkin = this.coalDetailsData.skinTwo;
@@ -674,7 +674,7 @@
 						}
 					});
 			},
-			// 灞曠ず鎻愮叅鍗曡鎯�
+			// 灞曠ず鏀跺彂鍗曡鎯�
 			showCaolPickUpBill() {
 				uni.navigateTo({
 					url: `/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill?orderPlanId=${this.orderPlanId}`
@@ -1131,6 +1131,25 @@
 </script>
 
 <style lang="scss"	scoped>
+	.sub-table{
+			width: 690rpx;
+			min-height: 300rpx;
+			margin: vww(30) vww(15) vww(13) !important;
+			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;
+			@include flex;
+			    flex-direction: column;
+			justify-content: center;
+			overflow: hidden;
+			position: relative;
+			top: vww(130);
+			align-items: flex-start;
+			/deep/ .uni-table{
+				min-width: 0!important;
+			}
+
+		}
 .codeBox{
 	height: 100rpx;
 		display: flex;
@@ -1367,7 +1386,7 @@
 		.sub-table{
 			width: 690rpx;
 			min-height: 300rpx;
-			margin: vww(20) vww(15) vww(13);
+			margin: vww(30) vww(15) vww(13) !important;
 			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;

--
Gitblit v1.9.1