auto_booking_detail.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
- <%@ page import="java.util.*"%>
- <%@ page import="com.vnex.intranet.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" />
- <jsp:useBean id="avb" class="com.vnex.intranet.vehicle.automobile.booking.value.AutoBookingValueBean" scope="page" />
- <%
- String id = request.getParameter("id");
- avb = bookingProxy.getAutoBookingInfo( Integer.parseInt( 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>
- function listAutoBooking(form)
- {
- form.action="/mainctrl/booking/listAutoBooking";
- form.submit();
- }
- function approveAutoBookingSuccess(form)
- {
- form.action="/mainctrl/booking/approveAutoBookingSuccess";
- form.submit();
- }
- function disapproveAutoBooking(form)
- {
- form.action="/mainctrl/booking/disapproveAutoBooking";
- form.submit();
- }
- </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 bgcolor="#fafafa">
- <td>
- <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
- <tr bgcolor="#fafafa">
- <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>>>车辆预订详细信息
- </font></td>
- </tr>
- <% if( avb.getStatusId() == AutoBookingStatus.REFUSE ) { %>
- <tr bgcolor="#fafafa">
- <td width="125"><font class="strong"> 拒绝理由:
- </font></td>
- <td width="469"> <%= FieldUtil.filterScriptTag(avb.getDisapprove()) %></td>
- </tr>
- <% } %>
- <tr bgcolor="#e0e0e0">
- <td width="125"><font class="strong"> 开始时间:
- </font></td>
- <td width="469"> <%= FieldUtil.filterScriptTag(avb.getBeginTimeS()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="125"><font class="strong"> 终止时间
- </font>:</td>
- <td width="469"> <%= FieldUtil.filterScriptTag(avb.getEndTimeS()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="125"><font class="strong" > 车牌</font>:</td>
- <td width="469"><%= FieldUtil.filterScriptTag(avb.getCarCertNo()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="125"><font class="strong"> 车型</font>:</td>
- <td width="469"><%= FieldUtil.filterScriptTag(avb.getAutoTypeName()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="125"><font class="strong"> </font><font class="strong" > 乘车人数</font>:</td>
- <td width="469"> <%= avb.getPassengerNum() %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="125"><font class="strong"> 带司机</font>:</td>
- <td width="469"><%= FieldUtil.filterScriptTag(avb.getHasDriverS()) %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="125"><font class="strong"> 理由</font>:</td>
- <td width="469"><%= FieldUtil.filterScriptTag(avb.getReason()) %> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="125"><font class="strong" > 路线:</font></td>
- <td width="469"> <%= FieldUtil.filterScriptTag(avb.getRoute()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="125"><font class="strong"> 备注:</font></td>
- <td width="469"> <%= FieldUtil.filterScriptTag(avb.getNote()) %></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td colspan="2" height="30">
- <% if( avb.getStatusId() == AutoBookingStatus.WAITING ) { %>
- <input type="button" name="Submit223" value="同意" class="file" onClick="approveAutoBookingSuccess(this.form)">
- <input type="button" name="Submit22" value="拒绝" class="file" onClick="disapproveAutoBooking(this.form)">
- <% } %>
- <input type="button" name="Submit222" value="返回" class="file" onClick="listAutoBooking(this.form)">
- </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>