1234567891011121314151617181920212223 |
- var mnu = "";
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- });
- function Save() {
- var certificatesType = $("#CertificatesType").combobox("getValue");
- var login = $("#LoginID").val();
- var reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
- if (certificatesType == 1 && reg.test(login) == false) {
- $.messager.alert('系统提示', '证件号码格式不正确,请检查并修改正确后重试。', 'info');
- return;
- }
- if ($("#PCode").val() != $("#CPCode").val()) {
- $.messager.alert('系统提示', '两次输入的密码必须一致', 'info');
- return;
- }
- if ($("#PhotoUrl").val() == "") {
- $.messager.alert('系统提示', '请上传小一寸格式照片', 'info');
- return;
- }
- $(document.forms[0]).submit();
- }
|