diff --git a/erp_web/pages/manage/organization.html b/erp_web/pages/manage/organization.html index ff4e9332..a59dcb2d 100644 --- a/erp_web/pages/manage/organization.html +++ b/erp_web/pages/manage/organization.html @@ -51,7 +51,7 @@ 简称 + data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/> @@ -69,13 +69,14 @@ 编号 + data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/> 序号 - + @@ -277,6 +278,18 @@ $.messager.alert('提示', '编号不能为空!', 'warning'); return; } + /** + * create by: qiankunpingtai + * create time: 2019/3/21 14:56 + * website:http://39.105.146.63/symphony/ + * description: + * 提交时需要对表格内容进行校验,校验通过后提交后台处理 + */ + var isValid = $("#organizationFM").form('validate'); + if(!isValid){ + return; + } + var objInfo = $("#organizationFM").serializeObject(); $.ajax({ type: "post",