From 927e4a7caf46bd073c65ce3b8f14dc1f1582c519 Mon Sep 17 00:00:00 2001 From: wk Date: 星期四, 14 十一月 2024 15:56:11 +0800 Subject: [PATCH] feat:车货总重最大载重增加判断 --- pages/driver-page/appointment/appointment.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/driver-page/appointment/appointment.vue b/pages/driver-page/appointment/appointment.vue index 6d1f9ce..e11ebdb 100644 --- a/pages/driver-page/appointment/appointment.vue +++ b/pages/driver-page/appointment/appointment.vue @@ -23,7 +23,7 @@ <uni-td align="center">{{ item.carNum1 || '' }}</uni-td> <uni-td><u-button text="閫夋嫨" type="primary" - :disabled="item.carNum == item.carNum1" + :disabled="item.carNum == item.carNum1&&!isRCSQ" @click="yuYueBtnClick(item)"></u-button></uni-td> </uni-tr> </uni-table> @@ -74,6 +74,7 @@ this.yuYueListParams.filedId = params.filedId; this.yuYueListParams.deptId = params.deptId; this.yuYueListParams.sendDate = params.sendDate; + this.yuYueListParams.coalName = params.coalName; this.coalStatus = params.coalStatus; this.tmId = params.tmId }, @@ -123,7 +124,7 @@ }) }, 1500); } else { - this.$u.toast(res.msg ? res.msg : '棰勭害澶辫触'); + this.$u.toast(res.msg ? res.msg.replaceAll('<br/>',"\n").replaceAll(/\n/g, "\n").replaceAll(/\r/g, "\r") : '棰勭害澶辫触'); } }) }, -- Gitblit v1.9.1