//车辆状态(值固定,写在前台页面,不用后台数据字典)
var carState = new Ext.form.ComboBox({
hiddenName:'car.status',
allowBlank:false,
width : 165,
editable:false,
fieldLabel:'<font color="red">*</font>车辆状态',
triggerAction: 'all',
lazyRender:true,
mode: 'local',
store: new Ext.data.ArrayStore({
fields: [
'idValue',
'displayText'
],
data: [['0', '停用'], ['1','启用']]
}),
valueField: 'idValue',
displayField: 'displayText'
});
--