记得上下班打卡 | git大法好,push需谨慎

Commit d9cdd5c8 authored by 胡佳晨's avatar 胡佳晨

退款 时间配置 不能为空

parent 187764af
...@@ -80,7 +80,8 @@ ...@@ -80,7 +80,8 @@
refundOpenTime: $("input[name^='refundOpenTime']").val(), refundOpenTime: $("input[name^='refundOpenTime']").val(),
refundCloseTime: $("input[name^='refundCloseTime']").val() refundCloseTime: $("input[name^='refundCloseTime']").val()
} }
if ($("input[name^='refundCloseTime']").text() == "" || $("input[name^='refundOpenTime']").text()) {
if ($("input[name^='refundCloseTime']").val() == "" || $("input[name^='refundOpenTime']").val() == "") {
alert("定时时间不能为空"); alert("定时时间不能为空");
} else { } else {
$.operate.post(prefix + "/refundConfig/change", $.operate.post(prefix + "/refundConfig/change",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment