Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r36187 -r36469 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 36187) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 36469) @@ -2869,13 +2869,13 @@ } // 点击器械包名称根据器械包类型打开不同的窗口 -function amendDisinfectionTousse(row) { +function amendDisinfectionTousse(row,type) { var tousseName = $('#tousseName' + row).val(); var tousseDefinitionID = $('#tousseDefinitionID' + row).val(); var tousseType = $('#tousseType' + row).val(); var materials = $('#materials' + row).val(); var isApplyEntireTousse = $('#isApplyEntireTousse' + row).val(); - if (tousseType == '消毒物品' || tousseType == '灭菌物品') { + if (tousseType == '灭菌物品' || type == 'updateAmount') { var width = 740; var height = 400; var availWidth = window.screen.availWidth; @@ -2915,7 +2915,7 @@ offset: [offsetTop, offsetLeft] }); } - } else if (tousseType == '器械包') { + } else if (tousseType == '器械包' || tousseType == '消毒物品') { var invoicePlanId = $('#recyclingApplicationId').val(); $.magnificPopup.open({ items: [{ @@ -4332,8 +4332,8 @@ alertDiv("外来器械包回收数量修改请使用旁边的按钮操作"); return; } - if (tousseType == '消毒物品' && '是' != isApplyEntireTousse) { - alertDiv("拆包的消毒物品回收数量修改请使用旁边的按钮操作"); + if (tousseType == '消毒物品') { + amendDisinfectionTousse(row,'updateAmount'); return; } obj.blur();