Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r28717 -r28718 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 28717) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 28718) @@ -1734,12 +1734,14 @@ alertDiv(barcode+",已入筐!"); scanned = true; }else{ - if(msg.shareDeparts.length > 0){ - if(msg.shareDeparts.indexOf(departValue) == -1 && departValue !== ''){ - alertDiv('该器械包不属于该科室。'); - return; + if(msg.shareDeparts){ + if(msg.shareDeparts.length > 0){ + if(msg.shareDeparts.indexOf(departValue) == -1 && departValue !== ''){ + alertDiv('该器械包不属于该科室。'); + return; + } + shareDepartsMap.set(msg.idCardInstance.tousseName,msg.shareDeparts); } - shareDepartsMap.set(msg.idCardInstance.tousseName,msg.shareDeparts); }else { if(!isUndefinedOrNullOrEmpty(tousseDepart) && $('#depart').attr('value') != tousseDepart && msg.tousseInstance.status != '已废弃'){ alertDiv('该器械包不属于该科室。');