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

Commit 3fccaeda authored by 胡佳晨's avatar 胡佳晨

退款 时间配置 不能为空

parent 54acc1ea
......@@ -80,11 +80,15 @@
refundOpenTime: $("input[name^='refundOpenTime']").val(),
refundCloseTime: $("input[name^='refundCloseTime']").val()
}
$.operate.post(prefix + "/refundConfig/change",
param,
function (res) {
location.reload();
});
if ($("input[name^='refundCloseTime']").val() == "" || $("input[name^='refundOpenTime']").val()) {
alert("定时时间不能为空");
} else {
$.operate.post(prefix + "/refundConfig/change",
param,
function (res) {
location.reload();
});
}
}
</script>
</body>
......
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