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

电子政务应用

开发平台:

Java

  1. <%@ include file="/vnex/head.jsp"%>
  2. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  3. <script language="JavaScript" src="/vnex/validate.js"></script>
  4. <%@ page import="com.vnex.intranet.vehicle.automobile.manage.value.*" %>
  5. <%@ page import="com.vnex.intranet.util.*" %>
  6. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  7. <jsp:useBean id="proxy" scope="request" class="com.vnex.intranet.vehicle.automobile.manage.proxy.AutoManageProxyBean" />
  8. <jsp:useBean id="autoManageInfo" scope="request" class="com.vnex.intranet.vehicle.automobile.manage.value.AutoManageValueBean" />
  9. <%
  10.     int id = Integer.parseInt(request.getParameter("automobileId"));
  11.     
  12.     autoManageInfo = proxy.getAutoInfo(id);
  13.     
  14.     String purchaseDate = autoManageInfo.getSsPurchaseDate();
  15.     purchaseDate = purchaseDate.substring(purchaseDate.indexOf("-")+1,purchaseDate.length());
  16. %>
  17. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  18. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  19. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  20. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  21. <script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
  22. <script language="JavaScript" src="/vnex/validate.js"></script>
  23. <script language=JavaScript>
  24. function modify()
  25. {
  26.   document.form1.action="/mainctrl/manage/autoBasicModify?automobileId=" + <%=id%>;
  27.   document.form1.submit();
  28. }
  29. function del()
  30. {
  31.   if(confirm("是否要删除所选车辆信息?"))
  32.   {
  33.     document.form1.action="/mainctrl/manage/autoBasicDeleteSuccess";
  34.     document.form1.submit();
  35.   }  
  36. }
  37. function can()
  38. {
  39.   document.form1.action="/mainctrl/manage/autoBasicList";
  40.   document.form1.submit();
  41. }
  42. </script>
  43. <DIV align=center>
  44. <form name="form1" method="post" action="">
  45.    
  46.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  47.     <TBODY>
  48.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  49.     <TR> 
  50.         <TD colSpan=3 align="center"><br>
  51.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  52.             <tr bgcolor="#fafafa"> 
  53.               <td> 
  54.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  55.                   <tr> 
  56.                     <td colspan="6" height="14" 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/manage/autoBasicList"><font color="#FFFFFF">车辆管理</font></a>&gt;&gt;车辆详细信息 
  57.                       </font></td>
  58.                   </tr>
  59.                     
  60.                   <input type="hidden" name="automobileId" value="<%=autoManageInfo.getAutomobileId()%>">
  61.                                       
  62.                   <tr bgcolor="#fafafa"> 
  63.                     <td width="115"><font class="strong">&nbsp;车辆类型:</font></td>
  64.                     <td colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getTypeName()))%></td>
  65.                   </tr>
  66.                   <tr> 
  67.                     <td width="115" bgcolor="#e0e0e0"><font class="strong">&nbsp;车牌号:</font></td>
  68.                     <td bgcolor="#e0e0e0" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getCarCertNo()))%></td>
  69.                   </tr>
  70.                   <tr bgcolor="#fafafa"> 
  71.                     <td width="115"><font class="strong">&nbsp;发动机号:</font> </td>
  72.                     <td colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getEngineNo()))%></td>
  73.                   </tr>
  74.                   <tr> 
  75.                     <td width="115" bgcolor="#e0e0e0"><font class="strong">&nbsp;车架号:</font></td>
  76.                     <td bgcolor="#e0e0e0" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getFrameNo()))%></td>
  77.                   </tr>
  78.                   <tr bgcolor="#fafafa"> 
  79.                     <td width="115"><font class="strong">&nbsp;生产厂商:</font></td>
  80.                     <td colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getProducer()))%></td>
  81.                   </tr>
  82.                   <tr> 
  83.                     <td width="115" bgcolor="#e0e0e0"><font class="strong" >&nbsp;厂牌:</font></td>
  84.                     <td bgcolor="#e0e0e0" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getBrand()))%></td>
  85.                   </tr>
  86.                   <tr bgcolor="#fafafa"> 
  87.                     <td width="115"><font  class="strong">&nbsp;型号:</font></td>
  88.                     <td colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getCarType()))%></td>
  89.                   </tr>
  90.                   <tr> 
  91.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;车门数:</font></td>
  92.                     <td bgcolor="#e0e0e0" colspan="5"><%=autoManageInfo.getCarDoorNum()%></td>
  93.                   </tr>
  94.                   <tr bgcolor="#fafafa"> 
  95.                     <td width="115"><font  class="strong">&nbsp;核定载客:</font></td>
  96.                     <td colspan="5"><%=autoManageInfo.getPassengerNum()%></td>
  97.                   </tr>
  98.                   <tr> 
  99.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;驾驶室前排共乘几人:</font></td>
  100.                     <td bgcolor="#e0e0e0" colspan="5"><%=autoManageInfo.getCabCapacity()%></td>
  101.                   </tr>
  102.                   <tr bgcolor="#fafafa"> 
  103.                     <td width="115"><font  class="strong">&nbsp;购买日期:</font></td>
  104.                     <td colspan="5"><%=autoManageInfo.getSsPurchaseDate()%></td>
  105.                   </tr>
  106.                   <tr> 
  107.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;购买价格:</font></td>
  108.                     <td bgcolor="#e0e0e0" colspan="5"><%=autoManageInfo.getPrice()%>(万元)</td>
  109.                   </tr>
  110.                   <tr bgcolor="#fafafa"> 
  111.                     <td width="115"><font  class="strong">&nbsp;年检日期:</font></td>
  112.                     <td colspan="5"><%=purchaseDate%></td>
  113.                   </tr>
  114.                   <tr> 
  115.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;颜色:</font></td>
  116.                     <td bgcolor="#e0e0e0" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getColor()))%></td>
  117.                   </tr>
  118.                   <tr bgcolor="#fafafa"> 
  119.                     <td width="115"><font  class="strong">&nbsp;所在部门:</font></td>
  120.                     <td colspan="5"><%=autoManageInfo.getDepartmentName()%></td>
  121.                   </tr>
  122.                   <tr> 
  123.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;配置:</font></td>
  124.                     <td bgcolor="#e0e0e0" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getDecoration()))%></td>
  125.                   </tr>
  126.                   <tr bgcolor="#fafafa"> 
  127.                     <td width="115"><font  class="strong">&nbsp;用途:</font></td>
  128.                     <td colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getPurpose()))%></td>
  129.                   </tr>
  130.                   <tr> 
  131.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;是否可以预约:</font> 
  132.                     </td>
  133.                     <td bgcolor="#e0e0e0" colspan="5"><% if (autoManageInfo.getIsBooking() == 1) out.print("是"); else out.print("否");%></td>
  134.                   </tr>
  135.                   <tr bgcolor="#fafafa"> 
  136.                     <td colspan="6"><font  class="strong">&nbsp;技术参数</font> </td>
  137.                   </tr>
  138.                   <tr bgcolor="#fafafa"> 
  139.                     <td width="115"> <font class="strong">&nbsp;长(mm):</font> 
  140.                     </td>
  141.                     <td width="67"> <%=autoManageInfo.getLength()%> </td>
  142.                     <td width="82"><font class="strong">宽(mm):</font></td>
  143.                     <td width="74"><%=autoManageInfo.getWidth()%></td>
  144.                     <td width="115"><font class="strong">高(mm):</font></td>
  145.                     <td width="60"><%=autoManageInfo.getHeight()%></td>
  146.                   </tr>
  147.                   <tr bgcolor="#fafafa"> 
  148.                     <td width="115"><font class="strong">&nbsp;轮距(前后)(mm):</font> 
  149.                     </td>
  150.                     <td colspan="5"><%=autoManageInfo.getWheelBase()%></td>
  151.                   </tr>
  152.                   <tr bgcolor="#e0e0e0"> 
  153.                     <td width="115"><font class="strong">&nbsp;轴距(mm):</font></td>
  154.                     <td colspan="5"><%=autoManageInfo.getTread()%></td>
  155.                   </tr>
  156.                   <tr bgcolor="#fafafa"> 
  157.                     <td width="115"><font class="strong">&nbsp;最小离地间隙(mm):</font></td>
  158.                     <td colspan="5"><%=autoManageInfo.getMinFloor()%></td>
  159.                   </tr>
  160.                   <tr bgcolor="#e0e0e0"> 
  161.                     <td width="115"><font class="strong">&nbsp;整备质量(kg):</font></td>
  162.                     <td colspan="5"><%=autoManageInfo.getWeight()%></td>
  163.                   </tr>
  164.                   <tr bgcolor="#fafafa"> 
  165.                     <td width="115"><font class="strong">&nbsp;最小转弯半径(m):</font></td>
  166.                     <td colspan="5"><%=autoManageInfo.getMinRadius()%></td>
  167.                   </tr>
  168.                   <tr bgcolor="#e0e0e0"> 
  169.                     <td width="115"><font class="strong">&nbsp;排量(mL):</font></td>
  170.                     <td colspan="5"><%=autoManageInfo.getExhaust()%></td>
  171.                   </tr>
  172.                   <tr> 
  173.                     <td width="115" bgcolor="#fafafa"><font class="strong">&nbsp;最大功率(kw):</font></td>
  174.                     <td bgcolor="#fafafa" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getPower()))%></td>
  175.                   </tr>
  176.                   <tr bgcolor="#e0e0e0"> 
  177.                     <td width="115"><font class="strong">&nbsp;发动机型式:</font></td>
  178.                     <td colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getEngineType()))%></td>
  179.                   </tr>
  180.                   <tr> 
  181.                     <td width="115" bgcolor="#fafafa"><font class="strong" >&nbsp;油箱容积(L):</font> 
  182.                     </td>
  183.                     <td bgcolor="#fafafa" colspan="5"><%=autoManageInfo.getTankCubage()%></td>
  184.                   </tr>
  185.                   <tr> 
  186.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;总质量(kg): 
  187.                       </font> </td>
  188.                     <td bgcolor="#e0e0e0" colspan="5"><%=autoManageInfo.getTotalWeight()%></td>
  189.                   </tr>
  190.                   <tr> 
  191.                     <td width="115" bgcolor="#fafafa"><font  class="strong">&nbsp;缸径/行程(mmXmm):</font></td>
  192.                     <td bgcolor="#fafafa" colspan="5"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(autoManageInfo.getJourney()))%></td>
  193.                   </tr>
  194.                   <tr> 
  195.                     <td width="115" bgcolor="#e0e0e0"><font  class="strong">&nbsp;0-100Km/h加速时间(s):</font></td>
  196.                     <td bgcolor="#e0e0e0" colspan="5"><%=autoManageInfo.getAccelerate()%></td>
  197.                   </tr>
  198.                   <tr bgcolor="#fafafa"> 
  199.                     <td width="115"><font  class="strong">&nbsp;最大扭矩(N.m):</font> 
  200.                     </td>
  201.                     <td colspan="5"><%=autoManageInfo.getTurn()%></td>
  202.                   </tr>
  203.                   <tr bgcolor="#e0e0e0"> 
  204.                     <td width="115"><font  class="strong">&nbsp;维修记录说明:</font></td>
  205.                     <td colspan="5"><a href="/mainctrl/manage/autoRepairList?automobileId=<%=id%>">查看维修记录</a></td>
  206.                   </tr>
  207.                   <tr align="center" bgcolor="#fafafa"> 
  208.                     <td colspan="6" height="30"> 
  209.                       <input type="button" name="Submit22" value="修改" class="file" onClick="modify()">
  210.                       &nbsp;&nbsp; 
  211.                       <input type="button" name="Submit2" value="删除" class="file" onClick="del()">
  212.                       &nbsp;&nbsp; 
  213.                       <input type="button" name="Submit222" value="返回" class="file" onClick="can()">
  214.                     </td>
  215.                   </tr>
  216.                 </table>
  217.               </td>
  218.             </tr>
  219.           </table>
  220.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  221.        </TD>
  222.      </TR>
  223.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  224.     </TBODY> 
  225.   </TABLE>
  226.     <BR>
  227.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  228. </form>
  229. </DIV>
  230. </BODY>
  231. </HTML>
  232. </BODY>
  233. </HTML>