disapprove_auto_booking.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
- <%@ page import="java.util.*"%>
- <%@ page import="com.vnex.intranet.vehicle.automobile.booking.process.AutoBookingStatus"%>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="bookingProxy" scope="application" class="com.vnex.intranet.vehicle.automobile.booking.proxy.AutoBookingProxyBean" />
- <%
- String id = request.getParameter("id");
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="JavaScript" src="/vnex/util/strUtil.js"></script>
- <script language=JavaScript>
- function checkChar(str)
- {
- var i,j,strTemp;
- strTemp=""<>/\'%&";
- for (i=0;i<str.length;i++)
- {
- j=strTemp.indexOf(str.charAt(i));
- if (j!=-1)
- {
- return false;
- }
- }
- return true;
- }
- function disapproveAutoBookingSuccess(form)
- {
- if( checkIt(form) )
- {
- form.action="/mainctrl/booking/disapproveAutoBookingSuccess";
- form.submit();
- }
- }
- function detailAutoBooking(form)
- {
- form.action="/mainctrl/booking/detailAutoBooking";
- form.submit();
- }
- function checkIt(form)
- {
- if(isInvalidateLen(form.disapprove.value,100))
- {
- alert("拒绝理由不能超过25个汉字或100个英文字符");
- form.disapprove.focus();
- return false;
- }
- if(!checkChar(form.disapprove.value))
- {
- alert("请不要在司机驾驶证号中加入"<>/\'%&这样的字符");
- form.disapprove.focus();
- return false;
- }
- return true;
- }
- </script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <input type="hidden" name="id" value="<%= id %>">
- <input type="hidden" name="statusId" value="<%= request.getParameter("statusId") %>">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top">
- <td bgcolor="#fafafa">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="6" height="15" bgcolor="#666666"><font class="strongw"> <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>><a href="/mainctrl/booking/listAutoBooking"><font color="#FFFFFF">车辆预订管理</font></a>>><a href="/mainctrl/booking/detailAutoBooking?id=<%= id %>"><font color="#FFFFFF">车辆预订详细信息</font></a>>>填写拒绝理由
- </font></td>
- </tr>
- </table>
- <table class=title width="600" border="0" cellpadding="2" cellspacing="1">
- <tr bgcolor="#e0e0e0">
- <td width="140"><font class="strong">请填写拒绝理由:</font></td>
- <td width="481">
- <textarea name="disapprove" cols="60" rows="5"></textarea>
- </td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td height="30" colspan="2">
- <input type="button" name="Button" value="确认拒绝" onClick="disapproveAutoBookingSuccess(this.form)" class="text">
- <input type="button" name="Submit2" value="返回" onClick="detailAutoBooking(this.form)" class="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form></DIV>
- </BODY></HTML>