Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.js =================================================================== diff -u -r37857 -r37873 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.js (.../awaitForRecycleList.js) (revision 37857) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.js (.../awaitForRecycleList.js) (revision 37873) @@ -102,12 +102,12 @@ return addZero(parseInt(v.month, 10) + 1) + "-" + addZero(v.date) + " " + addZero(v.hours) + ":" + addZero(v.minutes); } } -function recycleTheApplication(id, barcode, cleanBasketBarcodes, foreignTousseInvoicedAndNoUse, tiStatus) { +function recycleTheApplication(id, barcode, cleanBasketBarcodes) { var rememberRecycleUser = CookieManager.getCookie("rememberRecycleUser"); if(cleanBasketBarcodes){ - location.href = "recycleForTouchScreen.jsp?resolution=" + resolution + "&recyclingApplicationId=" + id + "&barcode=" + barcode + "&rememberRecycleUser=" + rememberRecycleUser + '&source=' + source + '&cleanBasketBarcodes=' + cleanBasketBarcodes + '&foreignTousseInvoicedAndNoUse=' + foreignTousseInvoicedAndNoUse + '&tiStatus=' + encodeURIComponent(tiStatus || ''); + location.href = "recycleForTouchScreen.jsp?resolution=" + resolution + "&recyclingApplicationId=" + id + "&barcode=" + barcode + "&rememberRecycleUser=" + rememberRecycleUser + '&source=' + source + '&cleanBasketBarcodes=' + cleanBasketBarcodes; }else { - location.href = "recycleForTouchScreen.jsp?resolution=" + resolution + "&recyclingApplicationId=" + id + "&barcode=" + barcode + "&rememberRecycleUser=" + rememberRecycleUser + '&source=' + source + '&foreignTousseInvoicedAndNoUse=' + foreignTousseInvoicedAndNoUse + '&tiStatus=' + encodeURIComponent(tiStatus || ''); + location.href = "recycleForTouchScreen.jsp?resolution=" + resolution + "&recyclingApplicationId=" + id + "&barcode=" + barcode + "&rememberRecycleUser=" + rememberRecycleUser + '&source=' + source; } } @@ -952,7 +952,7 @@ if(msg.cleanBasketBarcodes && msg.cleanBasketBarcodes.length > 0){ cleanBasketBarcodes = msg.cleanBasketBarcodes.join(';'); } - recycleTheApplication(id, barcode, cleanBasketBarcodes, msg.foreignTousseInvoicedAndNoUse, msg.tiStatus); + recycleTheApplication(id, barcode, cleanBasketBarcodes); } else if (msg.departMent != "" && msg.orgUnitCoding != "") { var id = $("#inputselect").val(); var appType = $("#appTypeSelect").val(); Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp =================================================================== diff -u -r37857 -r37873 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp (.../recycleForTouchScreen.jsp) (revision 37857) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp (.../recycleForTouchScreen.jsp) (revision 37873) @@ -237,9 +237,6 @@ var secondOrgUnitName = '<%=request.getAttribute("orgUnitName")%>'; var fromLogin = '${fromLogin}'; var cleanBasketBarcodes = '${param.cleanBasketBarcodes}'; -var foreignTousseInvoicedAndNoUse = '${param.foreignTousseInvoicedAndNoUse}'; -var tiStatus = '${param.tiStatus}'; -tiStatus = decodeURIComponent(tiStatus); if(fromLogin == 'true'){ welcome(departName,userName); <%session.removeAttribute("fromLogin");%> Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r37857 -r37873 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 37857) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 37873) @@ -25,6 +25,8 @@ // 可以终止的TousseItem的id.已经回收但是还没有发货的话,也是可以终止的。目前部分发货不能终止 var canTerminateTousseItemIds = []; var lastTousseNames = ''; +// ZSYY-335:保存提示 +var foreignTousseInvoicedAndNoUseInfo = []; //缓存标识牌条码 var sessionIDCardBarcodes = new newMap(); // 是否开启根据科室加载模板 @@ -2591,6 +2593,23 @@ }); } +//SZSDSRMYY-128:显示对应物品的所有已回收物品的回收时间 +// function openRecyclingTimeList(row){ +// $("#recycleTimeList").dialog({ +// resizable: false, +// height: 530, +// width: 800, +// title: '回收时间列表', +// modal: true, +// open: function () { +// $("#recycleTimeListBox").show() +// }, +// close: function () { +// //$("#confirmMsg").html(""); +// } +// }); +// } + // 打开器械包加急的窗口 function openSetUrgentAmountPage(row, packed) { if (packed) { @@ -3270,7 +3289,7 @@ var recyclingApplicationId = $('#recyclingApplicationId').val(); var materials = $('#materials' + row).val(); DWREngine.setAsync(false); - RecyclingRecordTableManager.getTousseIntoBasketAmount(materials, tousseDefinitionID, recycleAmount, idCardBarcode, JSON.stringify(params), JSON.stringify(getTousseIntoBasketInfo()), recyclingApplicationId, foreignTousseInvoicedAndNoUse, function (result) { + RecyclingRecordTableManager.getTousseIntoBasketAmount(materials, tousseDefinitionID, recycleAmount, idCardBarcode, JSON.stringify(params), JSON.stringify(getTousseIntoBasketInfo()), recyclingApplicationId, function (result) { var jsonObj = JSON.parse(result); if (!jsonObj.success) { alertDiv(jsonObj.message); @@ -3295,6 +3314,8 @@ } } } + var arr = jsonObj.foreignTousseInvoicedAndNoUseInfo || []; + foreignTousseInvoicedAndNoUseInfo = foreignTousseInvoicedAndNoUseInfo.concat(arr); if (!sstsConfig.allowDecreaseRecyclingAmountGreatUnPackingAmount) { if (recycleAmountNew < maxCount) { alertDiv(tousseName + "已装配" + packAmount + "个,已发货" + invoiceAmount + "个,修改后回收的数量为" + recycleAmountNew + ",不能小于已装配或者已发货的数量!"); @@ -4267,6 +4288,7 @@ '丢失' + '报损' + '删除'; + //trStr += ' 
上次回收时间:2023-02-02 23:15 查看详细
'; trStr += ' 
'; trStr += ' 
'; trStr += ' 
'; @@ -4974,9 +4996,17 @@ }, 800, 500); } else { //ZSYY-335:外来器械发货后可以二次回收 - if(sstsConfig.enableSecondRecyclingAfterInvoiceFunction && foreignTousseInvoicedAndNoUse == 'true'){ - dialogConfirm(lastTousseNames+"("+params_barcode+")为"+tiStatus+"状态,是否直接进行二次回收?", function () { - submitFormFunction(confirmation, saveAndNew, false, print, recyclingAmountConfirm,false, '否', foreignTousseInvoicedAndNoUse); + if(sstsConfig.enableSecondRecyclingAfterInvoiceFunction && foreignTousseInvoicedAndNoUseInfo.length > 0){ + var html = ''; + for(var i=0;i