/**
*
*
* @author hongpf
* @extend App.ux.SysFormPanel
*/
Ext.ns('App.account');
App.account.MutiqueryQueryFormPanel = function(config) {
Ext.apply(this, config);
App.account.MutiqueryQueryFormPanel.superclass.constructor.call(this, {
frame : true,
header : false,
layout : 'form',
items : {
layout : 'column',
items : [{
columnWidth : .5,
layout : 'form',
border : false,
defaults : {
labelWidth : 30,
width : 130,
fixToFloor : false
},
items : [{
xtype : 'numberfield',
fieldLabel : '指令序号',
name : 'dailyInstructionNo'
}]
}, {
columnWidth : .5,
layout : 'form',
border : false,
defaults : {
labelWidth : 30,
width : 130,
fixToFloor : false
},
items : [{
xtype : 'numberfield',
fieldLabel : '指令序号',
name : 'dailyInstructionNo'
}]
}]
}
});
}
Ext.extend(App.account.MutiqueryQueryFormPanel, App.ux.SysFormPanel, {
doSubmit : function() {
if(this.form.isValid()){
var o = this.form.getValues();
for(var i in o){
if(Ext.isEmpty(o[i])||o[i]=='undefined')
delete o[i];
}
o.start = 0 ;
o.limit = App.config.defaultPageSize
this.parent.store.load({
params : o
});
this.closeWindow();
}
},
afterLoadRecord : function(){
this.cxfs.setValue(1) ;
}
});
Ext.reg('MutiqueryQueryFormPanel', App.account.MutiqueryQueryFormPanel);
ext form 多列
最新推荐文章于 2016-11-17 21:24:51 发布