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 }}
+