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

电子政务应用

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  3. <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
  4. <%@ taglib uri="/vnex_hr.tld" prefix="hr" %>
  5. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  6. <%@ page import="com.vnex.intranet.util.TimeStamp"%>
  7. <%@ page import="com.vnex.intranet.equipment.value.UserValueBean"%>
  8. <%@ page import="com.vnex.intranet.equipment.value.*"%>
  9. <jsp:useBean id="equipmentValueView" class="com.vnex.intranet.equipment.value.EquipmentValueBean" scope="session" /> 
  10. <%
  11. EquipmentValueBean equipmentASValue = equipmentValueView;
  12. if (equipmentASValue.getTerm() == -1)
  13. equipmentASValue.setTerm(0);
  14. if (equipmentASValue.getQuantity() == -1)
  15. equipmentASValue.setQuantity(0);
  16. if (request.getParameter("categoryId") != null)
  17. equipmentASValue.setCategoryId(new Integer(request.getParameter("categoryId")).intValue());
  18. if (request.getParameter("categoryName") != null)
  19. equipmentASValue.setCategoryName(request.getParameter("categoryName"));
  20. %> 
  21. <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  22. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  23. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  24. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  25. <DIV align=center>
  26. <form name="myForm" method="post" action="/mailctrl/equipmentAdvancedSearchResult">
  27.    
  28.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  29.     <TBODY> 
  30.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  31.     <TR> 
  32.         <TD colSpan=3 align="center"><br>
  33.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  34.             <tr bgcolor="#fafafa"> 
  35.               <td> 
  36.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  37.                   <tr> 
  38.                     <td colspan="2" height="15" bgcolor="#666666"><font class="strongw"><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/equipmentSearchResult"><font color="#FFFFFF">固定资产管理</font></a>&gt;&gt;高级查询</font></td>
  39.                   </tr>
  40.                   <tr> 
  41.                     <td width="149" bgcolor="#fafafa"> 
  42.                       <div align="left"><b><font class="strong" >&nbsp;资产类别:</font></b></div>
  43.                     </td>
  44.                     <td width="443" bgcolor="#fafafa"> 
  45.                       <input type="hidden" name="categoryId" size="8" class="file" value="<%= equipmentASValue.getCategoryId()%>">
  46.                       <input type="text" name="categoryName" readonly size="24" class="file" value="<%= equipmentASValue.getCategoryName()%>">
  47.                       
  48.                     </td>
  49.                   </tr>
  50.                   <tr> 
  51.                     <td width="149" bgcolor="#e0e0e0"> 
  52.                       <div align="left"><b><font class="strong" >&nbsp;名称:</font> </b></div>
  53.                     </td>
  54.                     <td  width="443" bgcolor="#e0e0e0"><font  class="strong"><font  class="strong"> 
  55.                       <input type="text" name="equipmentName" readonly size="24" class="file" value="<%= equipmentASValue.getEquipmentName()%>">
  56.                       </font></font> </td>
  57.                   </tr>
  58.                   <tr> 
  59.                     <td width="149" bgcolor="#FaFaFa"> 
  60.                       <div align="left"><b><font  class="strong">&nbsp;用途: </font></b></div>
  61.                     </td>
  62.                     <td  width="443" bgcolor="#FaFaFa"><font  class="strong"> 
  63.                       <font  class="strong"> 
  64.                       <input type="text" name="purpose" readonly size="24" class="file" value="<%= equipmentASValue.getPurpose()%>">
  65.                       </font></font></td>
  66.                   </tr>
  67.                   <tr> 
  68.                     <td width="149" bgcolor="#e0e0e0"> 
  69.                       <div align="left"><b><font  class="strong"><font  class="strong">&nbsp;型号:<font  class="strong"> 
  70.                         </font> </font></font></b></div>
  71.                     </td>
  72.                     <td  width="443" bgcolor="#e0e0e0"><font  class="strong"><font  class="strong"> 
  73.                       <input type="text" name="model" readonly class="file" size="24" value="<%= equipmentASValue.getModel()%>">
  74.                       </font></font></td>
  75.                   </tr>
  76.                   <tr> 
  77.                     <td width="149" bgcolor="#fafafa"><b><font  class="strong"><font  class="strong">&nbsp;配置:</font></font></b></td>
  78.                     <td  width="443" bgcolor="#fafafa"><font  class="strong"><font  class="strong"> 
  79.                       <input type="text" name="configure" readonly size="24" class="file" value="<%= equipmentASValue.getConfigure()%>">
  80.                       </font></font></td>
  81.                   </tr>
  82.                   <tr> 
  83.                     <td width="149" bgcolor="#e0e0e0"><b><font  class="strong"><font  class="strong">&nbsp;资产编号:</font></font></b></td>
  84.                     <td  width="443" bgcolor="#e0e0e0"><font  class="strong"><font  class="strong"> 
  85.                       <input type="text" name="equipmentCode" readonly size="24" class="file" size="4" value="<%= equipmentASValue.getEquipmentCode()%>">
  86.                       </font></font></td>
  87.                   </tr>
  88.                   <tr> 
  89.                     <td width="149" bgcolor="#fafafa"> 
  90.                       <div align="left"><b><font  class="strong">&nbsp;购买价格:</font></b></div>
  91.                     </td>
  92.                     <td  width="443" bgcolor="#fafafa"> 
  93.                       <input type="text" name="minPrice" class="file" readonly size="24" value="<%= equipmentASValue.getMinPrice()%>">
  94.                       元<font  class="strong"> - 
  95.                       <input type="text" name="maxPrice" class="file" readonly size="24" value="<%= equipmentASValue.getMaxPrice()%>">
  96.                       </font>元</td>
  97.                   </tr>
  98.                   <tr> 
  99.                     <td width="149" bgcolor="#e0e0e0"> 
  100.                       <div align="left"><b><font  class="strong">&nbsp;使用者:</font></b></div>
  101.                     </td>
  102.                     <td  width="443" bgcolor="#e0e0e0"> 
  103.                       <select name="useDeptId" disabled class=choice >
  104.                         <option value = -1>部门</option>
  105.                         <org:DivisionList> <vnex:items select='<%= equipmentASValue.getUseDeptId()+"" %>' > <option value= 
  106.                         <org:DivisionAttribute attribute="id"/> <org:DivisionAttribute attribute="isSelected"/> > 
  107.                         <org:DivisionAttribute attribute="levelStr"/>+<org:DivisionAttribute attribute="name"/> </option> 
  108.                         </vnex:items> </org:DivisionList> 
  109.                       </select>
  110.                       <select name="usePersonId" disabled  >
  111.                         <option value=-1>姓名</option>
  112.                         <hr:EmployeeList divisionId='<%= equipmentASValue.getUseDeptId()%>'>
  113.                         <vnex:items  select ='<%= equipmentASValue.getUsePersonId()+""%>'> 
  114.                         <option value="<hr:EmployeeAttribute attribute="id" />" 
  115.                         <hr:EmployeeAttribute attribute="isSelected"/> > <hr:EmployeeAttribute attribute='<%= null %>' /> 
  116.                         </option>
  117.                         </vnex:items> </hr:EmployeeList> 
  118.                       </select>
  119.                     </td>
  120.                   </tr>
  121.                   <tr> 
  122.                     <td width="149" bgcolor="#fafafa"> 
  123.                       <div align="left"><b><font  class="strong">&nbsp;购买日期:</font></b></div>
  124.                     </td>
  125.                     <td  width="443" bgcolor="#fafafa"> 
  126.                       从: 
  127.                         <input type="text" name="beginDay" readonly size="18" class="text" value="<%= equipmentASValue.getBeginDay()%>" >
  128.                         
  129.                        到: 
  130.                         <input type="text" name="endDay" readonly size="18" class="text" value="<%=equipmentASValue.getEndDay()%>" >
  131.                         
  132.                       
  133.                     </td>
  134.                   </tr>
  135.                   <tr> 
  136.                     <td width="149" bgcolor="#e0e0e0"><b><font  class="strong">&nbsp;购买者:</font></b></td>
  137.                     <td  width="443" bgcolor="#e0e0e0"> 
  138.                       <select name="buyDeptId" disabled class=choice  >
  139.                         <option value = -1>部门</option>
  140.                         <org:DivisionList> <vnex:items select='<%= equipmentASValue.getBuyDeptId()+"" %>' > <option value= 
  141.                         <org:DivisionAttribute attribute="id"/> <org:DivisionAttribute attribute="isSelected"/> > 
  142.                         <org:DivisionAttribute attribute="levelStr"/>+<org:DivisionAttribute attribute="name"/> </option> 
  143.                         </vnex:items> </org:DivisionList> 
  144.                       </select>
  145.                       <select name="buyPersonId" disabled >
  146.                         <option value=-1>姓名</option>
  147.                         <hr:EmployeeList divisionId='<%= equipmentASValue.getBuyDeptId()%>'>
  148.                         <vnex:items  select ='<%= equipmentASValue.getBuyPersonId()+""%>'> 
  149.                         <option value="<hr:EmployeeAttribute attribute="id" />" 
  150.                         <hr:EmployeeAttribute attribute="isSelected"/> > <hr:EmployeeAttribute attribute='<%= null %>' /> 
  151.                         </option>
  152.                         </vnex:items> </hr:EmployeeList> 
  153.                       </select>
  154.                     </td>
  155.                   </tr>
  156.                   <tr> 
  157.                     <td width="149" bgcolor="#fafafa"><b><font  class="strong">&nbsp;供应者:</font></b></td>
  158.                     <td  width="443" bgcolor="#fafafa"><font  class="strong"><font  class="strong"> 
  159.                       <input type="text" name="supplier" readonly class="file" size="24" value="<%= equipmentASValue.getSupplier()%>">
  160.                       </font></font></td>
  161.                   </tr>
  162.                   <tr> 
  163.                     <td width="149" bgcolor="#e0e0e0"> 
  164.                       <div align="left"><b><font  class="strong">&nbsp;放置地点:</font></b></div>
  165.                     </td>
  166.                     <td  width="443" bgcolor="#e0e0e0"><font  class="strong"><font  class="strong"> 
  167.                       <input type="text" name="place" readonly class="file" size="24" value="<%= equipmentASValue.getPlace()%>">
  168.                       </font></font> </td>
  169.                   </tr>
  170.                   <tr bgcolor="#fafafa"> 
  171.                     <td width="149"> 
  172.                       <div align="left"><b><font  class="strong">&nbsp;估计使用期限:</font></b></div>
  173.                     </td>
  174.                     <td  width="443"> 
  175.                       <input type="text" name="STerm" readonly class="file" size="24" value="<%= equipmentASValue.getSTerm()%>">
  176.                       月</td>
  177.                   </tr>
  178.                   
  179.                   <tr bgcolor="#e0e0e0"> 
  180.                     <td width="149"> 
  181.                       <div align="left"><b><font  class="strong">&nbsp;有无维修记录:</font></b></div>
  182.                     </td>
  183.                     <td width="443"> 
  184.                       <div align="left"> 
  185.                         <input type="radio" name="repaired" disabled value="1" <%=((equipmentASValue.getRepaired()==1)?("checked"):("unchecked"))%>>
  186.                         有&nbsp;&nbsp; 
  187.                         <input type="radio" name="repaired" disabled value="0" <%=((equipmentASValue.getRepaired()==0)?("checked"):("unchecked"))%>>
  188.                         无&nbsp;&nbsp; 
  189.                         <input type="radio" name="repaired" disabled value="-1" <%=((equipmentASValue.getRepaired()==-1)?("checked"):("unchecked"))%>>
  190.                         不指定 </div>
  191.                     </td>
  192.                   </tr>
  193.                   <tr> 
  194.                     <td colspan="2" bgcolor="#fafafa"> 
  195.                       <div align="center"><br>                        
  196.                         <input type="button" name="Submit3" value="返回" class="file" onClick="history.back()">
  197.                         <br>
  198.                         <br>
  199.                       </div>
  200.                     </td>
  201.                   </tr>
  202.                 </table>
  203.               </td>
  204.             </tr>
  205.           </table>
  206.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  207.        </TD>
  208.      </TR>
  209.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  210.     </TBODY> 
  211.   </TABLE>
  212.     <BR>
  213.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  214. </form>
  215. </DIV>
  216. </BODY>
  217. </HTML>