------------------------------------------------------------------------------------- var _systemform = new Ext.FormPanel({ labelAlign:'left', labelWidth:100, buttonAlign:'center', frame:true, margins:'10 10 10 10', width : 480, height : 270, title:'新增卡种集团', id:_this.genId('addform'), defaults:{width:315}, layout : 'form', items : [{ xtype:'textfield', fieldLabel:'卡种集团名称', name:'cgname', id:_this.genId('cgname'), allowBlank:false },{ fieldLabel:'平台类型', layout:'column', items:[ { columnWidth:.5, layout:'form', defaultType:'checkbox', checkboxToggle:true, hideLabels:true, items:[ { boxLabel:'发卡方类型', inputValue:1, id:_this.genId('fkf'), checked:true, handler:function(checkbox){ if(checkbox.getValue()){ fkfType=1; }else if(!checkbox.getValue()){ fkfType=0; } } } ] },{ columnWidth:.5, layout:'form', defaultType:'checkbox', checkboxToggle:true, hideLabels:true, items:[ { boxLabel:'受理方类型', id:_this.genId('slf'), inputValue:1, checked:false, handler:function(checkbox){ if(checkbox.getValue()){ slfType=1; }else if(!checkbox.getValue()){ slfType=0; }; } } ] } ] }, { xtype:'textarea', fieldLabel:'备注', name:'note', id:_this.genId('note'), allowBlank:true } ], buttons:[{ text:'查询', handler:_this.specmerchSave }, { text:'重置', handler:function(){ } }] });
|
|