auto_booking_detail.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
  3. <%@ page import="java.util.*"%>
  4. <%@ page import="com.vnex.intranet.util.*" %>
  5. <%@ page import="com.vnex.intranet.vehicle.automobile.booking.process.AutoBookingStatus"%>
  6. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  7. <jsp:useBean id="bookingProxy" scope="application" class="com.vnex.intranet.vehicle.automobile.booking.proxy.AutoBookingProxyBean" />
  8. <jsp:useBean id="avb" class="com.vnex.intranet.vehicle.automobile.booking.value.AutoBookingValueBean" scope="page" /> 
  9. <%      
  10.     String id = request.getParameter("id");    
  11.     avb = bookingProxy.getAutoBookingInfo( Integer.parseInt( id ) );
  12. %>
  13. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  14. <HTML>
  15. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  16. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  17. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  18. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  19. <script language=JavaScript>
  20. function listAutoBooking(form)
  21. {
  22.    form.action="/mainctrl/booking/listAutoBooking";
  23.    form.submit();
  24. }
  25. function approveAutoBookingSuccess(form)
  26. {
  27.    form.action="/mainctrl/booking/approveAutoBookingSuccess";
  28.    form.submit();
  29. }
  30. function disapproveAutoBooking(form)
  31. {
  32.    form.action="/mainctrl/booking/disapproveAutoBooking";
  33.    form.submit();
  34. }
  35. </script>
  36. <DIV align=center>
  37.   <form name="myform" method="post" action="">
  38.   <input type="hidden" name="id" value="<%= id %>">   
  39.   <input type="hidden" name="statusId" value="<%= request.getParameter("statusId") %>">   
  40.   
  41.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  42.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  43.     <TR> 
  44.         <TD colSpan=3 align="center"><br>
  45.            <!--个人信息开始 -->
  46.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  47.             <tr bgcolor="#fafafa"> 
  48.               <td> 
  49.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  50.                   <tr bgcolor="#fafafa">
  51.                     <td colspan="6" height="15" bgcolor="#666666"><font class="strongw">&nbsp;<a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>&gt;&gt;<a href="/mainctrl/booking/listAutoBooking"><font color="#FFFFFF">车辆预订管理</font></a>&gt;&gt;车辆预订详细信息                    
  52.                     </font></td>                     
  53.                   </tr>
  54. <% if( avb.getStatusId() == AutoBookingStatus.REFUSE ) { %>                  
  55.                   <tr bgcolor="#fafafa"> 
  56.                     <td width="125"><font  class="strong">&nbsp;拒绝理由: 
  57.                       </font></td>
  58.                     <td width="469"> <%= FieldUtil.filterScriptTag(avb.getDisapprove()) %></td>
  59.                   </tr>                  
  60. <% } %>                  
  61.                   <tr bgcolor="#e0e0e0"> 
  62.                     <td width="125"><font  class="strong">&nbsp;开始时间: 
  63.                       </font></td>
  64.                     <td width="469"> <%= FieldUtil.filterScriptTag(avb.getBeginTimeS()) %></td>
  65.                   </tr>
  66.                   <tr bgcolor="#fafafa"> 
  67.                     <td width="125"><font  class="strong">&nbsp;终止时间 
  68.                       </font>:</td>
  69.                     <td width="469"> <%= FieldUtil.filterScriptTag(avb.getEndTimeS()) %></td>
  70.                   </tr>
  71.                   <tr bgcolor="#e0e0e0"> 
  72.                     <td width="125"><font class="strong" >&nbsp;车牌</font>:</td>
  73.                     <td width="469"><%= FieldUtil.filterScriptTag(avb.getCarCertNo()) %></td>
  74.                   </tr>
  75.                   <tr bgcolor="#fafafa"> 
  76.                     <td width="125"><font  class="strong">&nbsp;车型</font>:</td>
  77.                     <td width="469"><%= FieldUtil.filterScriptTag(avb.getAutoTypeName()) %></td>
  78.                   </tr>
  79.                   <tr bgcolor="#e0e0e0"> 
  80.                     <td width="125"><font  class="strong"> </font><font class="strong" >&nbsp;乘车人数</font>:</td>
  81.                     <td width="469"> <%= avb.getPassengerNum() %></td>
  82.                   </tr>
  83.                   <tr bgcolor="#fafafa"> 
  84.                     <td width="125"><font  class="strong">&nbsp;带司机</font>:</td>
  85.                     <td width="469"><%= FieldUtil.filterScriptTag(avb.getHasDriverS()) %> </td>
  86.                   </tr>
  87.                   <tr bgcolor="#e0e0e0"> 
  88.                     <td width="125"><font  class="strong">&nbsp;理由</font>:</td>
  89.                     <td width="469"><%= FieldUtil.filterScriptTag(avb.getReason()) %> </td>
  90.                   </tr>
  91.                   <tr bgcolor="#fafafa"> 
  92.                     <td width="125"><font class="strong" >&nbsp;路线:</font></td>
  93.                     <td width="469"> <%= FieldUtil.filterScriptTag(avb.getRoute()) %></td>
  94.                   </tr>
  95.                   <tr bgcolor="#e0e0e0"> 
  96.                     <td width="125"><font  class="strong">&nbsp;备注:</font></td>
  97.                     <td width="469"> <%= FieldUtil.filterScriptTag(avb.getNote()) %></td>
  98.                   </tr>
  99.                   <tr align="center" bgcolor="#fafafa"> 
  100.                     <td colspan="2" height="30">
  101. <% if( avb.getStatusId() == AutoBookingStatus.WAITING ) { %>                     
  102.                       <input type="button" name="Submit223" value="同意" class="file" onClick="approveAutoBookingSuccess(this.form)">&nbsp;&nbsp;
  103.                       <input type="button" name="Submit22" value="拒绝" class="file" onClick="disapproveAutoBooking(this.form)">&nbsp;&nbsp;
  104. <% } %>                      
  105.                       <input type="button" name="Submit222" value="返回" class="file" onClick="listAutoBooking(this.form)">
  106.                     </td>
  107.                   </tr>
  108.                 </table>
  109.               </td>
  110.             </tr>
  111.           </table>
  112.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  113.        </TD>
  114.     </TR>
  115.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  116.     </TABLE>
  117.   <BR>
  118.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  119. </form></DIV>
  120. </BODY></HTML>