Index: ssts-web/src/main/webapp/disinfectsystem/invoice/invoicePlanExtractedView.js =================================================================== diff -u -r16100 -r16228 --- ssts-web/src/main/webapp/disinfectsystem/invoice/invoicePlanExtractedView.js (.../invoicePlanExtractedView.js) (revision 16100) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/invoicePlanExtractedView.js (.../invoicePlanExtractedView.js) (revision 16228) @@ -196,7 +196,7 @@ var selectModel = new Ext.grid.CheckboxSelectionModel(); grid = new Ext.grid.GridPanel({ store : new Ext.data.Store({ - autoLoad: true, + autoLoad: false, proxy : new Ext.data.HttpProxy({ url : WWWROOT + '/disinfectSystem/invoicePlanAction!getDepartInvoiePlansByDepartCodes.do', method : 'POST' @@ -239,6 +239,12 @@ }, loadMask:{msg:'正在加载,请稍候...'}, title : '发货计划列表', + listeners : { + render : function(grid){ + Ext.getCmp('tousseType').selectAll(); + refreshList(); + } + }, tbar : [{ text : '科室分组:' },{ @@ -311,22 +317,22 @@ }, { text : '物品类型:' },{ - xtype : 'combo', + xtype : 'multiSelect', id : 'tousseType', name : 'tousseType', valueField : 'value', displayField : 'key', allowBlank : true, editable : false, fieldLabel:'类型', - width : 120, + width : 150, emptyText:'请选择物品类型', mode:'local', store : new Ext.data.SimpleStore({ data:tousseTypeDataArray, fields:['key','value'] }), - forceSelection : true, +// forceSelection : true, triggerAction : 'all', listeners : { select : function(combo, record, index){ @@ -345,6 +351,7 @@ refreshList(false,true); } }] + }); var viewport = new Ext.Viewport({