/* var quotationviewInitData=[[0, '我的报价单'],[1, '活动报价单'],[2, '所有报价单']];
var getQuotationviewValue = function(id){
var quotationviewValues = quotationviewInitData;
for (var i = 0; i < quotationviewValues.length; i++){
if (quotationviewValues[i][0] == id) return quotationviewValues[i][1];
}
};
var quotationviewStore = new Ext.data.SimpleStore({
fields : ['quotationviewValue', 'displayValue'],
data :quotationviewInitData
});*/
/* var quotationview= new Ext.form.ComboBox({
fieldLabel : "视图",
store : quotationviewStore,
displayField : 'displayValue',
valueField : 'quotationviewValue',
typeAhead : true,
mode : 'local',
hiddenName : 'quotationview',
readOnly : true,
triggerAction : 'all',
emptyText : "-视图未选择-",
listEmptyText:'-视图未选择-',
selectOnFocus : true,
anchor:'90%'
});
*/
var getQuotationviewValue = function(id){
var quotationviewValues = quotationviewInitData;
for (var i = 0; i < quotationviewValues.length; i++){
if (quotationviewValues[i][0] == id) return quotationviewValues[i][1];
}
};
var quotationviewStore = new Ext.data.SimpleStore({
fields : ['quotationviewValue', 'displayValue'],
data :quotationviewInitData
});*/
/* var quotationview= new Ext.form.ComboBox({
fieldLabel : "视图",
store : quotationviewStore,
displayField : 'displayValue',
valueField : 'quotationviewValue',
typeAhead : true,
mode : 'local',
hiddenName : 'quotationview',
readOnly : true,
triggerAction : 'all',
emptyText : "-视图未选择-",
listEmptyText:'-视图未选择-',
selectOnFocus : true,
anchor:'90%'
});
*/