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

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

退款 时间配置 不能为空

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