Index: ssts-web/src/main/webapp/disinfectsystem/packing/printRecyclingDetailWin.js =================================================================== diff -u -r32072 -r32076 --- ssts-web/src/main/webapp/disinfectsystem/packing/printRecyclingDetailWin.js (.../printRecyclingDetailWin.js) (revision 32072) +++ ssts-web/src/main/webapp/disinfectsystem/packing/printRecyclingDetailWin.js (.../printRecyclingDetailWin.js) (revision 32076) @@ -58,7 +58,8 @@ } supplyRoomStore.on('load', function(){ - Ext.getCmp('depart').setValue(supplyRoomStore.getAt(0).data.departId); + var departCoding = document.getElementById('departCoding').value; + Ext.getCmp('depart').setValue(departCoding); }); //打印回收清单的器械包的排序规则,广州中医药附一 @@ -562,7 +563,8 @@ chooseRecyclingDetailWin.show(); // 给combo设置默认值 if (sstsConfig.recyclingRecordListFilterByAssetBelong){ - Ext.getCmp('depart').setRawValue(assetBelongStore.getAt(0).data.name); + var departName = document.getElementById('departName').value; + Ext.getCmp('depart').setRawValue(departName); } else{ supplyRoomStore.reload();