Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r28722 -r28744 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 28722) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 28744) @@ -1664,12 +1664,14 @@ } }else{ var isExist = false; + var index = 0; $('#tousseItemTable').children().first().children().each(function(i,element){ if($('#tousseName'+i).val() == td.name && $('#deleted'+i).val() == '0'){ $('#recycleAmount'+i).val(parseInt($('#recycleAmount'+i).val()) + 1); $('#tousseOrIDCardInstanceBarcodes'+i).val(appendBarcodes($('#tousseOrIDCardInstanceBarcodes'+i).val(), ti.barcode)); addErrorDamageRemark(ti,i); loadUnSupplementMaterial(msg,i,ti.barcode); + index = i; isExist = true; } }); @@ -1707,6 +1709,8 @@ loadUnSupplementMaterial(msg,tmpRow,ti.barcode); var orgUnitName = $('#depart').val(); var loadedAmount2 = tousseIntoBasketFunction(ti.id,td.id,td.name,1,td.isCleanedEntirely,orgUnitName,"",ti.barcode,td.tousseType,-1,'否',2,msg); + }else { + putTousseInTheBasket(index) } } }else{ //扫描标识牌实例条码