Commit de9d0613 by 朱继来

调整js正则

parent 8480e942
Showing with 1 additions and 1 deletions
...@@ -769,7 +769,7 @@ ...@@ -769,7 +769,7 @@
return false; return false;
} }
var en_reg = /^[a-zA-Z0-9\.\s\,\(\)]+$/; var en_reg = /^[a-zA-Z0-9\.\-\s\,\(\)]+$/;
if(!en_reg.test(customer_en)){ if(!en_reg.test(customer_en)){
layer.msg('请填写全英文名称'); layer.msg('请填写全英文名称');
return false; return false;
......
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