Index: ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/sterilizationLoadingForm.js =================================================================== diff -u -r20940 -r21374 --- ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/sterilizationLoadingForm.js (.../sterilizationLoadingForm.js) (revision 20940) +++ ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/sterilizationLoadingForm.js (.../sterilizationLoadingForm.js) (revision 21374) @@ -1300,7 +1300,7 @@ minChars : 0, valueField : 'departmentCode', displayField : 'departmentName', - width : 200, + width : 80, pageSize : 100, listConfig: {width: 300}, forceSelection : true, @@ -1310,6 +1310,17 @@ hideTrigger : true, typeAhead : false, allowBlank : true, + listeners : { + expand:function(){//下拉框宽度调大 + this.view.setWidth(300); + this.list.setWidth(300); + }, + specialkey : function (thisTextfield, e) { + if (e.getKey() == Ext.EventObject.ENTER) { + search(); + } + } + }, store : new Ext.data.Store({ pageSize: 100, proxy : new Ext.data.HttpProxy({ @@ -1328,13 +1339,7 @@ xtype : 'textfield', name : 'searchKeyWord', id : 'searchKeyWord', - listeners : { - specialkey : function (thisTextfield, e) { - if (e.getKey() == Ext.EventObject.ENTER) { - search(); - } - } - } + width : 80 },{ text : '搜索', handler : function (thisButton) { @@ -1408,7 +1413,7 @@ minChars : 0, valueField : 'departmentCode', displayField : 'departmentName', - width : 200, + width : 100, pageSize : 100, listConfig: {width: 300}, forceSelection : true, @@ -1419,10 +1424,14 @@ typeAhead : false, allowBlank : true, listeners:{ + expand:function(){//下拉框宽度调大 + this.view.setWidth(300); + this.list.setWidth(300); + }, select:function(combo,record,opts) {//给科室下拉框绑定选中事件 //重新加载树结构 reviewedPanel.loader.load(reviewedPanel.root,function(){}); - }  + } },  store : new Ext.data.Store({ pageSize: 100,