|
|
@@ -258,6 +258,8 @@ Ext.define('saas.view.document.customer.FormPanel', {
|
|
|
allowBlank:false,
|
|
|
text : "电话",
|
|
|
editor : {
|
|
|
+ regex:/^1(3|4|5|7|8|9)\d{9}$/,
|
|
|
+ regexText:'请输入正确的手机号码',
|
|
|
hideTrigger:true,
|
|
|
xtype : "textfield"
|
|
|
},
|
|
|
@@ -369,6 +371,8 @@ Ext.define('saas.view.document.customer.FormPanel', {
|
|
|
allowBlank:true,
|
|
|
text : "联系电话",
|
|
|
editor : {
|
|
|
+ regex:/^1(3|4|5|7|8|9)\d{9}$/,
|
|
|
+ regexText:'请输入正确的手机号码',
|
|
|
xtype : "textfield",
|
|
|
hideTrigger:true,
|
|
|
},
|