修改住院模块流程页面,修改限额时段
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user