Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r30847 -r30936 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 30847) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 30936) @@ -1947,6 +1947,10 @@ //var barcode = barcodeTemp.substring(barcodeTemp.length-9,barcodeTemp.length); //由于条码可能超过9位,所以取全部 var barcode = barcodeTemp; + if($('#appType').val() == "质量监测回收申请单"){ + alertDiv("质量监测回收申请单不允许添加新的物品,只能回收申请单中的物品!"); + return false; + } $.ajax({ type:'get', url:encodeURI(WWWROOT + '/disinfectSystem/recyclingRecordAction!getBarcodeInfo.do?time='+new Date().getTime()+'&barcode='+barcode+''), @@ -5222,6 +5226,10 @@ alertDiv("外来器械回收单不能添加器械包!"); return false; } + if(tousseType == "质量监测回收申请单"){ + alertDiv("质量监测回收申请单不允许添加新的物品,只能回收申请单中的物品!"); + return false; + } //是否开启限制使用记录转换的申请单不能添加别的物品 if(sstsConfig.restrictAddOtherGoodsToApplicationFromUseRecord && $('#useRecordId').val() != ''){ alertDiv("使用记录转换的申请单不能添加器械包");