Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectEndCause.jsp =================================================================== diff -u -r24142 -r26452 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectEndCause.jsp (.../selectEndCause.jsp) (revision 24142) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectEndCause.jsp (.../selectEndCause.jsp) (revision 26452) @@ -42,7 +42,7 @@ } }); - $(":button").on('click',function(){ + $("#confirm").on('click',function(){ var returnVal = ""; var chs = $("input:checked"); if(chs.length ==1){ @@ -65,6 +65,20 @@ self.returnValue = returnVal; self.close(); }); + $("#tem").on("keyup",function(){ + if($("#tem").text().length >= 2000){ + alert("备注内容长度不能大于2000!"); + } + }) + $("#clearRemark").on('click',function(){ + var returnVal = ""; + $(":radio").prop('checked',false); + if($("#tem").text() != ""){ + $("#tem").text(""); + } + self.returnValue = ""; + self.close(); + }); }); @@ -83,6 +97,7 @@ 其他:

+ \ No newline at end of file