From bcf7914e7b55e72cc453b559086255a56fe53a64 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期一, 20 一月 2025 08:59:44 +0800 Subject: [PATCH] feat:电子提煤单下载显示 --- pages/driver-page/appointment/appointment.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/driver-page/appointment/appointment.vue b/pages/driver-page/appointment/appointment.vue index 6d1f9ce..46db2fe 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,13 @@ }) }, 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") : '棰勭害澶辫触'); + uni.showModal({ + title: "鎻愮ず", + content: res.msg || '棰勭害澶辫触', + confirmText: "纭畾", + showCancel: false, + }) } }) }, -- Gitblit v1.9.1