Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r25617 -r25622 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 25617) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 25622) @@ -1074,16 +1074,6 @@ } } } -function resetRadioInfo(subType){ - if(subType == "select"){ - $("#reasonLong").val(""); - $("#reasonLong").hide(); - - } - if(subType == "text"){ - $("#reasonLong").show(); - } -} /** * 根据扫描的条码加载对应的对象. * @param barcodeTemp @@ -1103,76 +1093,28 @@ if(msg.unfinishedPackingTask!=null){ showUnfinishedPackingTask(msg); }else{ - var ids = msg.tousseInstance.id; - $("#dialogConfirm").dialog({ - resizable: false, - height:310, - width:600, - modal: true, - open: function() { - $("#confirmMsg").text(msg.errorMessage); - }, - close: function() { - $("#confirmMsg").text(""); - }, - buttons: { - "是": function() { - $( this ).dialog( "close" ); - var cfContain = '
'; - cfContain += ''; - cfContain += '
' + '' + '
'; - cfContain += '
'; - $("#dialogConfirm").dialog({ - resizable: false, - height:450, - width:900, - modal: true, - title: "废弃原因", - open: function() { - $("#confirmMsg").html(cfContain); - }, - close: function() { - $("#confirmMsg").text(""); - }, - buttons: { - "确定": function() { - var leaveReason = $("input[name='reason']:checked").val(); - - if(leaveReason == "其他"){ - var otherReason = $("#reasonLong").val(); - leaveReason = otherReason; - } - - $.ajax({ - url : WWWROOT + '/disinfectSystem/tousseInstanceAction!deleteTousseGood.do', - type : "post", - data : {ids : ids,reason:leaveReason}, - async : false, - success : function(res){ - loadBarcodeDevice(barcodeTemp); - } - }) - $( this ).dialog( "close" ); - - }, - "取消": function() { - $( this ).dialog( "close" ); - } - } - }); - - }, - "否": function() { - $( this ).dialog( "close" ); - } - } - }); + $("#dialogConfirm").dialog({ + resizable: false, + height:310, + width:600, + modal: true, + open: function() { + $("#confirmMsg").text(msg.errorMessage); + }, + close: function() { + $("#confirmMsg").text(""); + }, + buttons: { + "是": function() { + // addBasketElement(msg.basket); + location.href = 'abandonDispose.jsp'; + $( this ).dialog( "close" ); + }, + "否": function() { + $( this ).dialog( "close" ); + } + } + }); } }else if(msg.orgUnit!= null){ //只更新科室名称及编码信息(since2015-12-16 SYF),添加新单时才更新部门 @@ -2820,7 +2762,7 @@ width:dialogWidth ? dialogWidth : 600, modal: true, open: function() { - $("#confirmMsg").html("你你你"+text); + $("#confirmMsg").html(text); }, close: function() { $("#confirmMsg").html(""); Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp =================================================================== diff -u -r25618 -r25622 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp (.../recycleForTouchScreen.jsp) (revision 25618) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.jsp (.../recycleForTouchScreen.jsp) (revision 25622) @@ -90,30 +90,6 @@ .lightbox dt{background:#f4f4f4;padding:5px;} .lightbox dd{ padding:20px; margin:0;} - <% String orgUnitCoding = AcegiHelper.getLoginUser().getOrgUnitCodingFromSupplyRoomConfig();