修改住院模块流程页面,修改限额时段

This commit is contained in:
sangchengzhi
2026-02-06 14:37:09 +08:00
parent 6af4a4d549
commit 1dafcb4364
16 changed files with 1827 additions and 458 deletions

View File

@@ -358,14 +358,14 @@ export default {
Toast("请选择支付方式");
return;
}
// 检查当前时间是否在23:48-00:01之间这个时间段内禁止充值
// 检查当前时间是否在23:00-00:01之间这个时间段内禁止充值
const now = new Date();
const hours = now.getHours();
const minutes = now.getMinutes();
if ((hours === 23 && minutes >= 48) || (hours === 0 && minutes <= 1)) {
if ((hours === 23 && minutes >= 0) || (hours === 0 && minutes <= 1)) {
Toast({
message: '当前时间段(23:48-00:01)正在对账暂不支持支付操作请0点过后再试',
message: '当前时间段(23:00-00:01)正在对账暂不支持支付操作请0点过后再试',
duration: 5000
});
return;