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

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

退款 时间配置 不能为空

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