Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp =================================================================== diff -u -r21980 -r22561 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp (.../recycleForTouchScreen.jsp) (revision 21980) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp (.../recycleForTouchScreen.jsp) (revision 22561) @@ -239,7 +239,7 @@
-
+
Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r22433 -r22561 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 22433) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 22561) @@ -2089,6 +2089,21 @@ }); return row; } +function highlightExistTousseItem(row){ + //先滑动到对应的行 + var scrollTop = $("#tousseItemsTr" + row).offset().top-$('#tousseItemTable').offset().top; + $('#tousseItemBox').stop(true, false).animate({ + scrollTop: scrollTop + }, 500); + //闪烁一定的次数 + for(var i = 0; i < 5;++i){ + $("#tousseItemsTr" + row).animate({ + backgroundColor: "#7ABD32" + }, 300 ).animate({ + backgroundColor: "transparent" + }, 300 ) + } +} /** * 添加回收记录明细,tousseName为器械包名称,applicationAmount为申请数量,recycleAmount为回收数量,loadedAmount为装载数量 * @param toussItem 物品明细 @@ -2120,6 +2135,7 @@ if($('#deleted'+i).val() == '0'){ alertDiv(tousseName + ",回收列表已存在!"); b = false; + highlightExistTousseItem(i); //删除后再添加该消毒物品,删除的项还原,原因是添加的消毒物品包定义和申请项的包定义不一样 }else if(tousseType == '消毒物品'){ $('#deleted'+i).val('0');