|
|
@@ -247,7 +247,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
beforeLabelTextTpl: "",
|
|
|
},{
|
|
|
xtype:'textfield',
|
|
|
- fieldLabel: '联系电话',
|
|
|
+ fieldLabel: '手机号码',
|
|
|
name: 'mobile',
|
|
|
readOnly:true,
|
|
|
editable:false,
|
|
|
@@ -256,7 +256,7 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
beforeLabelTextTpl: "",
|
|
|
},{
|
|
|
xtype:'textfield',
|
|
|
- fieldLabel: '联系邮件',
|
|
|
+ fieldLabel: '邮箱',
|
|
|
name: 'email',
|
|
|
readOnly:true,
|
|
|
editable:false,
|
|
|
@@ -265,6 +265,61 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
|
|
|
beforeLabelTextTpl: "",
|
|
|
}]
|
|
|
},
|
|
|
+ accountadd:{
|
|
|
+ items:[{
|
|
|
+ xtype:'textfield',
|
|
|
+ fieldLabel: '手机号码',
|
|
|
+ name: 'mobile',
|
|
|
+ hideTrigger:true,
|
|
|
+ allowBlank:false,
|
|
|
+ maxLength: 30,
|
|
|
+ regex:/^(13[0-9]|14[5|7]|15[0|1|2|3|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\d{8}$/,
|
|
|
+ regexText:'请输入正确的手机号码',
|
|
|
+ listeners:{
|
|
|
+ blur:function(f,a,b,c){
|
|
|
+ if(f.value&&f.value!=''&&f.isValid()){
|
|
|
+ // var url = 'https://sso.ubtob.com' + '/api/user/checkMobile?mobile='+f.value;
|
|
|
+ // saas.util.BaseUtil.request({url })
|
|
|
+ // .then(function(res) {
|
|
|
+ // if(res.success) {
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // .catch(function(response) {
|
|
|
+ // });
|
|
|
+ // Ext.Ajax.request({
|
|
|
+ // url: Ext.manifest.server.accountPath + '/api/user/checkMobile',
|
|
|
+ // params: {
|
|
|
+ // mobile: f.value
|
|
|
+ // },
|
|
|
+ // method: 'GET',
|
|
|
+ // headers:{
|
|
|
+ // 'Access-Control-Allow-Origin': '*',
|
|
|
+ // "Content-Type": 'application/json;charset=UTF-8'
|
|
|
+ // },
|
|
|
+ // success: function (response) {
|
|
|
+ // debugger
|
|
|
+ // },
|
|
|
+ // failure: function (response) {
|
|
|
+ // debugger
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },{
|
|
|
+ xtype:'textfield',
|
|
|
+ fieldLabel: '真实姓名',
|
|
|
+ name: 'realname',
|
|
|
+ allowBlank:false,
|
|
|
+ maxLength: 30,
|
|
|
+ },{
|
|
|
+ xtype:'textfield',
|
|
|
+ fieldLabel: '邮箱',
|
|
|
+ name: 'email',
|
|
|
+ allowBlank:false,
|
|
|
+ maxLength: 30,
|
|
|
+ }]
|
|
|
+ },
|
|
|
warehouse:{
|
|
|
items:[{
|
|
|
xtype:'hidden',
|