From 6ebd978221c7bf469f5e1d821b4345101357ca4c Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期一, 10 二月 2025 09:32:22 +0800 Subject: [PATCH] faat:提煤单详情下磅文字修改 --- pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue b/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue index 64ead23..433b9a8 100644 --- a/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue +++ b/pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue @@ -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://mr1.res.jzeg.cn:9096/appimg/image/banner/address.png" mode="widthFix" style="width: 18px;"></image> </view> @@ -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