Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r27930 -r27944 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 27930) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 27944) @@ -881,14 +881,13 @@ var tousseInstanceBarcode = basketItem.tousseInstanceBarcode; var basketElement = $('dl[class="sed clearfix"]:eq(0)'); var basketHidenValue = $("#basketsUl li:first").find('input').val(); - newAmount = parseInt(newAmount) + parseInt(amount); if(type == '材料'){ $("#basketsUl li").each(function(){ var hideStr = $(this).find('input').val(); - var json = JSON.parse(hideStr); + var json = JSON.parse(hideStr); if(json.barcode == basketBarcode){ basketElement = $(this).find("dl"); - basketHidenValue = hideStr; + basketHidenValue = hideStr; $(this).find('dl').children().each(function(){ if($(this).attr('type') == 'hidden'){ var hideStr = $(this).val(); @@ -2446,7 +2445,7 @@ alertDiv('没有可以放入篮筐的器械包。'); }else{ var loadedAmount = tousseIntoBasketFunction("",tousseDefinitionID,tousseName,amount,isCleanedEntirely,orgUnitName,"","",tousseType,row); - + newAmount = 0; if(loadedAmount > 0){ $('#loadedAmount'+row).val(parseInt(loadedAmount,10)+parseInt($('#loadedAmount'+row).val(),10)); //丢失报损器械 @@ -2457,7 +2456,9 @@ setTousseItemLoadedAmountCss(row); inputSuccess = true; - } + } + + refreshAllBasketTotalNum(); } addAllBasketTotalNum(); refreshSplitBasketView();