Commit 6871523e by 朱继来

限制终端英文名称

parent 49985b68
Showing with 5 additions and 5 deletions
......@@ -736,11 +736,11 @@
return false;
}
// var en_reg = /^[a-zA-Z]+$/;
// if(!en_reg.test(customer_en)){
// layer.msg('请填写全英文名称');
// return false;
// }
var en_reg = /^[a-zA-Z0-9\.\s\,]+$/;
if(!en_reg.test(customer_en)){
layer.msg('请填写全英文名称');
return false;
}
if (customer_type == '') {
layer.msg('请选择客户类型');
......
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 sign in to comment