From 7f594b32345b5547d73d92ab6995eb5c69f357b9 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 17 三月 2025 17:40:17 +0800
Subject: [PATCH] feat:注册车牌号校验修改

---
 pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue b/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
index 0f6491a..e810f2d 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -1,7 +1,7 @@
 <template>
 	<view class="weighingDevice">
 		<view class="one"
-			style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/weighbanner.png') no-repeat;
+			style="background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/weighbanner.png') no-repeat;
 		background-size: cover;">
 			<view class="top">
 				<view class="top_left">
@@ -31,19 +31,19 @@
 				<view class="weigh-item">
 					<view class="item">
 						<view class="concrete"
-							style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/skin.png') no-repeat;background-size: cover;">
+							style="background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/skin.png') no-repeat;background-size: cover;">
 							鐨�</view>
 						<view class="num">{{ weighList.skinTwo }}</view>
 					</view>
 					<view class="item">
 						<view class="concrete"
-							style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/hair.png') no-repeat;background-size: cover;">
+							style="background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/hair.png') no-repeat;background-size: cover;">
 							姣�</view>
 						<view class="num">{{ weighList.hairTwo }}</view>
 					</view>
 					<view class="item">
 						<view class="concrete"
-							style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clean.png') no-repeat;background-size: cover;">
+							style="background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/clean.png') no-repeat;background-size: cover;">
 							鍑�</view>
 						<view class="num">{{ weighList.cleanTwo }}</view>
 					</view>
@@ -169,8 +169,9 @@
 				plain
 				@click="evacuation"
 				throttleTime="500"
+				:disabled='((weighList.hair  ? weighList.hair  : temporaryWeighObj.hair ) - (weighList.skin ? weighList.skin : temporaryWeighObj.skin) > 1)'
 				:loading="TwoEvacuationLoading"
-				v-if='weighList.skin||weighList.hair'></u-button>
+				v-if='(weighList.skin||weighList.hair)'></u-button>
 			<!-- 澶栭攢璁㈠崟绉扮毊鏃讹紝杩斿洖鍔犲噺鍚ㄦ寜閽疆鐏般�傜О姣涙椂鍙敤.澶栬喘璁㈠崟锛屼笉鍑虹幇杩斿洖鍔犲噺鍚ㄧ殑鎸夐挳 -->
 			<u-button type="primary"
 				text="纭畾绉伴噸"
@@ -220,10 +221,11 @@
 						<u-form-item>
 							<u-textarea v-model="abnormalForm.abnormalContent"
 								confirmType="done"
+								style="border: solid 1px #ccc;padding-bottom: 0;"
 								placeholder="璇疯緭鍏ュ紓甯稿師鍥�(瀛楁暟涓嶅皯浜�5涓瓧)"
-								:height='200'
+								:height='180'
 								border="surround"
-								autoHeight></u-textarea>
+								></u-textarea>
 						</u-form-item>
 					</u--form>
 				</view>
@@ -354,7 +356,7 @@
 				errorTipShow: false,
 				rules: {
 					abnormalContent: [{
-							required: false,
+							required: true,
 							message: "璇峰~鍐欏紓甯稿師鍥�",
 							trigger: ['blur', 'change'],
 							type: 'string'
@@ -672,9 +674,15 @@
 			},
 			// 鎻愪氦寮傚父鍘熷洜
 			abnormalConfirm() {
+				if(!this.abnormalForm.abnormalContent){
+					this.$u.toast('璇疯緭鍏ュ紓甯稿師鍥�')
+					
+				}else{
 				this.weighData.abnormalText = this.abnormalForm.abnormalContent
 				this.saveWeigh()
 				this.abnormalModalShow = false
+				}
+				
 			},
 			skinAbnormal() {
 				this.$reqPost('skinAbnormal', { sceneId: this.weighData.sceneId, tmId: this.weighData.tmId }, 'params')
@@ -724,8 +732,11 @@
 
 		.slot-content {
 			width: 96%;
-			height: 210rpx;
-			border-bottom: 1rpx solid rgb(220, 223, 230);
+			// height: 210rpx;
+			border: 1rpx solid rgb(220, 223, 230);
+		  ::v-deep textarea{
+			padding-bottom: 0!important;
+		  }
 		}
 
 		.table-title {

--
Gitblit v1.9.1