Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r32140 -r32202 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 32140) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 32202) @@ -2112,8 +2112,19 @@ } if ($('#appType').val() == "质量监测回收申请单") { - alertDiv("质量监测回收申请单不允许添加新的物品,只能回收申请单中的物品!"); - return false; + var isAlert = true; + if(msg.idCardInstance){ + $("#tousseItemTable > tbody > tr").each(function (row, element) { + var tousseName = $('#tousseName' + row).val(); + if(tousseName == msg.idCardInstance.tousseName && msg.idCardInstance.barcode !== ''){ + isAlert = false; + } + }) + } + if(isAlert){ + alertDiv('质量监测回收申请单不允许添加新的物品,只能回收申请单中的物品!'); + return false; + } } if ($('#appType').val() == "申请还物单") { alertDiv("申请还物单不允许添加新的物品,只能回收申请单中的物品!");