Index: ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js =================================================================== diff -u -r32007 -r32008 --- ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 32007) +++ ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 32008) @@ -945,10 +945,19 @@ focus:function(that){ this.selectText(); if(sstsConfig.enablePackingMaterialsCheckFunction){ - setTimeout(function(){ + if('basketTreeGrid' == treeId){ + setTimeout(function(){ + var records = Ext4.getCmp(treeId).getSelectionModel().getSelection(); + getPackingMaterialsForCheckFun(records[0],that.value) + }, 2000); + }else { var records = Ext4.getCmp(treeId).getSelectionModel().getSelection(); - getPackingMaterialsForCheckFun(records[0],that.value) - }, 2000); + if(records[0].data.tousseType == '敷料包' || records[0].data.taskType == 3){ + setTimeout(function(){ + getPackingMaterialsForCheckFun(records[0],that.value) + }, 2000); + } + } } } }