Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r25608 -r25617 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 25608) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 25617) @@ -1074,6 +1074,16 @@ } } } +function resetRadioInfo(subType){ + if(subType == "select"){ + $("#reasonLong").val(""); + $("#reasonLong").hide(); + + } + if(subType == "text"){ + $("#reasonLong").show(); + } +} /** * 根据扫描的条码加载对应的对象. * @param barcodeTemp @@ -1093,28 +1103,76 @@ if(msg.unfinishedPackingTask!=null){ showUnfinishedPackingTask(msg); }else{ - $("#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" ); - } - } - }); + 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 = '