From aaf244eed628cba25adff37ddf8b041a37a7f8fe Mon Sep 17 00:00:00 2001 From: sangchengzhi <2305486879@qq.com> Date: Tue, 13 Jan 2026 16:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=93=E6=A3=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=89=B9=E6=AE=8A=E6=97=B6?= =?UTF-8?q?=E6=AE=B5=E4=B8=8D=E8=AE=A9=E7=BC=B4=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Ghxq.vue | 12 + src/views/JiaoFei_detail.vue | 12 + src/views/ZYCharge.vue | 13 ++ src/views/Zstj_detail.vue | 90 +++++++- src/views/Zstj_tc.vue | 431 +++++++++++++++++++++++++++++++---- 5 files changed, 506 insertions(+), 52 deletions(-) diff --git a/src/views/Ghxq.vue b/src/views/Ghxq.vue index 5bfe350..7044f97 100644 --- a/src/views/Ghxq.vue +++ b/src/views/Ghxq.vue @@ -357,6 +357,18 @@ export default { if( _this.yuyue.m > 0 && _this.radiovalue1 == ''){ Toast("请选择支付方式"); return; + } + // 检查当前时间是否在23:48-00:01之间,这个时间段内禁止充值 + const now = new Date(); + const hours = now.getHours(); + const minutes = now.getMinutes(); + + if ((hours === 23 && minutes >= 48) || (hours === 0 && minutes <= 1)) { + Toast({ + message: '当前时间段(23:48-00:01)正在对账,暂不支持支付操作,请0点过后再试!', + duration: 5000 + }); + return; } console.log("card",_this.card.cardNo); if(_this.radiovalue1 == "微信医保支付" && _this.card.cardNo !="90120746" ){ diff --git a/src/views/JiaoFei_detail.vue b/src/views/JiaoFei_detail.vue index 16db3f2..c4f98be 100644 --- a/src/views/JiaoFei_detail.vue +++ b/src/views/JiaoFei_detail.vue @@ -256,6 +256,18 @@ export default { if (!this.radiovalue1) { Toast('请选择支付方式'); return; + } + // 检查当前时间是否在23:48-00:01之间,这个时间段内禁止充值 + const now = new Date(); + const hours = now.getHours(); + const minutes = now.getMinutes(); + + if ((hours === 23 && minutes >= 48) || (hours === 0 && minutes <= 1)) { + Toast({ + message: '当前时间段(23:48-00:01)正在对账,暂不支持支付操作,请0点过后再试!', + duration: 5000 + }); + return; } // 设置支付状态为进行中 this.isPaying = true; diff --git a/src/views/ZYCharge.vue b/src/views/ZYCharge.vue index 232f33c..89aa7f9 100644 --- a/src/views/ZYCharge.vue +++ b/src/views/ZYCharge.vue @@ -208,6 +208,19 @@ return; }) }, onConfirm() { + // 检查当前时间是否在23:48-00:01之间,这个时间段内禁止充值 + const now = new Date(); + const hours = now.getHours(); + const minutes = now.getMinutes(); + + if ((hours === 23 && minutes >= 48) || (hours === 0 && minutes <= 1)) { + Toast({ + message: '当前时间段(23:48-00:01)正在对账,暂不支持支付操作,请0点过后再试!', + duration: 5000 + }); + return; + } + if(this.zyinfo.YJJKC < this.chargemoney){ Toast({ message: '今日线上剩余可充值额度不足,请调整充值金额或到收费室进行充值!', diff --git a/src/views/Zstj_detail.vue b/src/views/Zstj_detail.vue index 3e6a529..5c8cf9c 100644 --- a/src/views/Zstj_detail.vue +++ b/src/views/Zstj_detail.vue @@ -2,7 +2,16 @@
项目价格:¥{{ item.price }}
项目说明:{{ item.explain }}
注意事项:{{ item.detailData.specialRequests }}
+项目详情:{{ item.detailData.program_items }}
+