|
|
@@ -290,7 +290,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
beforeLabelTextTpl: "",
|
|
|
},{
|
|
|
xtype:'textfield',
|
|
|
- fieldLabel: '手机号码',
|
|
|
+ fieldLabel: '联系电话',
|
|
|
name: 'mobile',
|
|
|
readOnly:true,
|
|
|
editable:false,
|
|
|
@@ -311,7 +311,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
accountadd:{
|
|
|
items:[{
|
|
|
xtype:'textfield',
|
|
|
- fieldLabel: '手机号码',
|
|
|
+ fieldLabel: '联系号码',
|
|
|
name: 'mobile',
|
|
|
hideTrigger:true,
|
|
|
allowBlank:false,
|
|
|
@@ -343,14 +343,17 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
}
|
|
|
}else{
|
|
|
saas.util.BaseUtil.showErrorToast('校验失败:'+localJson.message);
|
|
|
+ f.setValue('');
|
|
|
}
|
|
|
},
|
|
|
failure: function (response) {
|
|
|
if(response.responseText){
|
|
|
var localJson = Ext.decode(response.responseText);
|
|
|
saas.util.BaseUtil.showErrorToast('校验失败:'+localJson.message);
|
|
|
+ f.setValue('');
|
|
|
}else{
|
|
|
saas.util.BaseUtil.showErrorToast('手机号校验接口连接超时');
|
|
|
+ f.setValue('');
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
@@ -367,7 +370,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
xtype:'textfield',
|
|
|
fieldLabel: '邮箱',
|
|
|
name: 'email',
|
|
|
- allowBlank:false,
|
|
|
+ allowBlank:true,
|
|
|
beforeLabelTextTpl: "",
|
|
|
regex:/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
|
|
|
regexText:'请输入正确的邮箱',
|
|
|
@@ -417,7 +420,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
fieldLabel: '关联角色',
|
|
|
name: 'roleIds',
|
|
|
allowBlank:false,
|
|
|
- maxLength: 20,
|
|
|
+ maxLength: 30,
|
|
|
}]
|
|
|
},
|
|
|
warehouse:{
|