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 | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 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 0c7451e..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 @@ -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' @@ -674,11 +676,13 @@ abnormalConfirm() { if(!this.abnormalForm.abnormalContent){ this.$u.toast('璇疯緭鍏ュ紓甯稿師鍥�') - return - } + + }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') @@ -728,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