From 76f165afb5462e1731540f761d04c621aee3cfb7 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 24 三月 2025 09:11:55 +0800
Subject: [PATCH] feat:日志页面查看日志去除皮毛净

---
 pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue |   37 +++++++++++++++++++++----------------
 1 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue b/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue
index 64ead23..ef96c58 100644
--- a/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue
+++ b/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue
@@ -30,13 +30,13 @@
 				</view>
 				<view class="selected-info">
 					<view class="selected-info_label">
-						褰撳墠閫夋嫨鐓ゅ満
+						褰撳墠閫夋嫨鍦哄湴
 					</view>
 					<view class="selected-info_text">
 						<niceui-data-select-input v-model="filedId"
 							:localdata="filedNameList"
-							label="鐓ゅ満閫夋嫨"
-							placeholder="璇烽�夋嫨鐓ゅ満"
+							label="鍦哄湴閫夋嫨"
+							placeholder="璇烽�夋嫨鍦哄湴"
 							@change="filedChange"></niceui-data-select-input>
 					</view>
 				</view>
@@ -101,7 +101,7 @@
 							v-for="item in customerNameList"
 							@click="selectCustomer(item)">
 							<view class="item-image">
-								<image src="https://mx.jzeg.cn:9096/appimg/image/banner/address.png"
+								<image src="https://wrzs.czjlchem.com:9090/appimg/image/banner/address.png"
 									mode="widthFix"
 									style="width: 18px;"></image>
 							</view>
@@ -217,7 +217,7 @@
 					this.getShipToList()
 				})
 			},
-			// 鏍规嵁閮ㄩ棬鑾峰彇鐓ゅ満鍚嶇О
+			// 鏍规嵁閮ㄩ棬鑾峰彇鍦哄湴鍚嶇О
 			getDeptIdByFiledList() {
 				this.$reqGet('getDeptIdByFiledList', { deptId: this.deptId }).then(res => {
 					this.filedNameList = res.data.map(v => {
@@ -226,8 +226,13 @@
 							text: v.name
 						}
 					})
-					this.filedId = this.filedNameList.length !== 0 ? this.filedNameList[0].value : ''
-					this.filedName = this.filedNameList.length !== 0 ? this.filedNameList[0].text : ''
+					if (Array.isArray(this.filedNameList) && this.filedNameList.length === 1) {
+						this.filedId = this.filedNameList[0].value
+						this.filedName = this.filedNameList[0].text
+					} else if (Array.isArray(this.filedNameList) && this.filedNameList.length > 1) {
+						this.filedId = ''
+						this.filedName = ''
+					}
 				})
 			},
 			filedChange(e) {
@@ -256,15 +261,15 @@
 				let form = {
 					carNo: uni.getStorageSync('carNo'),
 					coalName: this.productName,
-					deptId: this.deptId,
-					deptName: this.deptName,
-					filedId: this.filedId,
-					filedName: this.filedName,
+					deptId: this.deptId,  //閮ㄩ棬Id
+					deptName: this.deptName,  //閮ㄩ棬鍚嶇О
+					filedId: this.filedId,  //鍦哄湴Id
+					filedName: this.filedName,  //鍦哄湴鍚嶇О
 					orderType: "澶栬喘",
-					sendDate: this.sendDate,
-					xsUserId1: uni.getStorageSync('userId'),
-					isPretendDischar: 1,
-					isSpecial: 1,
+					sendDate: this.sendDate,  //鍙戣繍鏃堕棿
+					xsUserId1: uni.getStorageSync('userId'),  //鐢ㄦ埛id
+					isPretendDischar: 1,  //鏄惁鑳借鍗� 1宸茬粡纭瑁呭嵏 0涓嶉渶瑕佽鍗�
+					isSpecial: 1,  //鏄惁鏄壒浜у搧 1鐗规畩浜у搧 0涓嶆槸鐗逛娇浜у搧
 					customerId: this.customerId,
 					customerName: this.customerName
 				}
@@ -462,4 +467,4 @@
 			}
 		}
 	}
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.1