优化管理模块页面的校验

This commit is contained in:
季圣华
2020-06-07 22:37:44 +08:00
parent 1c74faab7c
commit 6f039191bb
9 changed files with 50 additions and 26 deletions

View File

@@ -345,6 +345,9 @@
//保存信息
$("#savePerson").off("click").on("click", function () {
if(!$('#personFM').form('validate')){
return;
}
if (!$("#Type").val()) {
$.messager.alert('提示', '请选择类型!', 'warning');
return;