Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectTousseDiscardCause.jsp =================================================================== diff -u -r12331 -r27269 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectTousseDiscardCause.jsp (.../selectTousseDiscardCause.jsp) (revision 12331) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectTousseDiscardCause.jsp (.../selectTousseDiscardCause.jsp) (revision 27269) @@ -33,19 +33,21 @@ var val = $(chs[0]).val(); if(val == "other"){ var tem = $('#tem'); - if($.trim(tem.text()).length==0){ + if($.trim(tem.val()).length==0){ alert("请选择废弃原因"); }else{ - returnVal = tem.text(); + returnVal = tem.val(); } }else{ returnVal = val; } }else{ alert("请选择终止原因"); } - self.returnValue = returnVal; - self.close(); + + var win = parent.Ext.getCmp('extWindow'); + win.returnValue = returnVal; + win.close(); }); });