{
xtype: 'radiogroup',
fieldLabel: '报账类型',
name:'REPORTTYPE',
labelWidth:60,
flex:1,
items: [
{boxLabel: '借款报账', name: 'REPORTTYPE', inputValue: 1, checked: true},
{boxLabel: '合同报账', name: 'REPORTTYPE', inputValue: 2},
{boxLabel: '其他报账', name: 'REPORTTYPE', inputValue: 0},
],
listeners: {
change: function(g, newValue, oldValue, eOpts){
if(typeof newValue.REPORTTYPE === 'number'){
var type = newValue.REPORTTYPE;
if( type == 1){
}else if(type == 2){
}else{
}
}
}
}
}
xtype: 'radiogroup',
fieldLabel: '报账类型',
name:'REPORTTYPE',
labelWidth:60,
flex:1,
items: [
{boxLabel: '借款报账', name: 'REPORTTYPE', inputValue: 1, checked: true},
{boxLabel: '合同报账', name: 'REPORTTYPE', inputValue: 2},
{boxLabel: '其他报账', name: 'REPORTTYPE', inputValue: 0},
],
listeners: {
change: function(g, newValue, oldValue, eOpts){
if(typeof newValue.REPORTTYPE === 'number'){
var type = newValue.REPORTTYPE;
if( type == 1){
}else if(type == 2){
}else{
}
}
}
}
}