dbc4defb1dc76d9f45576c3f02dbb7d07bfebac2.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. <%@include file="../../../../include1.jsp" %>
  8. <!--引用资源文件,JS-->
  9. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  10. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  13. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  14. <script type="text/javascript" src="/nwyj/scripts/business/em/response/equipment/EquipmentDemand.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/setiframeheight.js" ></script>
  16. <script>
  17. //父部门id
  18. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  19. var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
  20. $(function(){
  21. <%
  22. String pagenumber = request.getParameter("pagenumber") == null ? "" : request.getParameter("pagenumber");
  23. String pp = request.getParameter("pagenumber") ;
  24. %>
  25. var pagenumber = '<%=pagenumber%>';
  26. // var pp='<%=pp%>';
  27. // alert(pagenumber);
  28. // alert("pp"+pp);
  29. if(pagenumber!=''){
  30. $("#tab").basicTabSetIdx(1);
  31. }
  32. $("#more").bind('click', function() {
  33. $("#RECIPIENT_DEPARTMENT_382").resetValue();
  34. $("#APPLY_TO_USE_TIME_382").val("");
  35. $("#REPORTED_STATE_382").resetValue();
  36. $("#AUDIT_STATE_382").resetValue();
  37. $("#moreDiv1").toggle();
  38. });
  39. $("#more2").bind('click', function() {
  40. $("#DEPT_385").resetValue();
  41. $("#LAST_UPDATEDATE_385").val("");
  42. $("#EQUIPMENT_NUMBER_385").val("");
  43. $("#STATUS_385").resetValue();
  44. $("#moreDiv2").toggle();
  45. });
  46. $.post(deptUrl,{id:parentId,name:''},function(data){
  47. $("#RECIPIENT_DEPARTMENT_382").data("data",data);
  48. $("#RECIPIENT_DEPARTMENT_382").render();
  49. $("#DEPT_385").data("data",data);
  50. $("#DEPT_385").render();
  51. }, "json");
  52. });
  53. </script>
  54. </head>
  55. <body style="height: 650px;overflow:auto; overflow-x:hidden;">
  56. <div class="basicTab" id="tab" >
  57. <div id="tab1" name="装备需求" style="width:100%;height:150px;">
  58. <form id="queryUserForm" method="post">
  59. <table width='100%' border='0'>
  60. <tr>
  61. <td width="18%">
  62. <input type="text" id="RECIPIENT_382" name="RECIPIENT_382" maxlength="15" watermark=" 申 请 单 位 联 系 人">
  63. </td>
  64. <td width="7%">
  65. <button type="button" id="search"><span class="icon_find">查询</span></button>
  66. </td>
  67. <td>
  68. </td>
  69. <td>
  70. </td>
  71. <td align="right">
  72. <a href='#'><span id="more" class="icon_more">&nbsp;</span></a>
  73. </td>
  74. </tr>
  75. </table>
  76. <table id="moreDiv1" style="display: none;">
  77. <tr>
  78. <td align="right">申请单位:</td>
  79. <td><div class="selectTree" id="RECIPIENT_DEPARTMENT_382" name="RECIPIENT_DEPARTMENT_382" selWidth="200" boxHeight="260"></div></td>
  80. <td align="right">申请使用时间:</td>
  81. <td><input type="text" readonly="readonly" name="APPLY_TO_USE_TIME_382" id="APPLY_TO_USE_TIME_382" class="date" dateFmt="yyyy-MM-dd"/></td></td>
  82. </tr>
  83. <tr align="left">
  84. <td align="right">上报状态:</td>
  85. <td id="tem"><select name="REPORTED_STATE_382" id="REPORTED_STATE_382" prompt="请选择" data='{"list":[{"value":"51","key":"未上报"},{"value":"52","key":"已上报"}]}'></select></td>
  86. <td align="right">&nbsp;&nbsp;审核状态:</td>
  87. <td id="tem1"><select name="AUDIT_STATE_382" id="AUDIT_STATE_382" prompt="请选择" data='{"list":[{"value":"53","key":"未审核"},{"value":"54","key":"已审核"}]}'> </select></td>
  88. </tr>
  89. </table>
  90. </form>
  91. <div class="padding_right5"><div id="maingrid"></div></div>
  92. </div>
  93. <!-- ************************************* 表 二 **************************************************************** -->
  94. <div id="tab2" name="装备调拨" style="width:100%;height:150px;">
  95. <form method="post">
  96. <table width='100%' border='0'>
  97. <tr>
  98. <td width="18%">
  99. <input type="text" id="EQUIPMENT_NAME_385" name="EQUIPMENT_NAME_385" maxlength="15" watermark=" 装 备 名 称">
  100. </td>
  101. <td width="7%">
  102. <button type="button" id="search2"><span class="icon_find">查询</span></button>
  103. </td>
  104. <td>
  105. </td>
  106. <td>
  107. </td>
  108. <td align="right">
  109. <a href='#'><span id="more2" class="icon_more">&nbsp;</span></a>
  110. </td>
  111. </tr>
  112. </table>
  113. <table id="moreDiv2" style="display: none;">
  114. <tr>
  115. <td align="right">数量:</td>
  116. <td id="tem"><input type="text" name="EQUIPMENT_NUMBER_385" maxlength="15" id="EQUIPMENT_NUMBER_385" /></td></td>
  117. <td align="right">最后更新时间:</td>
  118. <td><input type="text" readonly="readonly" name="LAST_UPDATEDATE_385" id="LAST_UPDATEDATE_385" class="date" dateFmt="yyyy-MM-dd"/></td></td>
  119. </tr>
  120. <tr align="left">
  121. <td align="right">单位:</td>
  122. <td><div class="selectTree" id="DEPT_385" name="DEPT_385" selWidth="206" boxHeight="260"></div></td>
  123. <td align="right">&nbsp;&nbsp;当前状态:</td>
  124. <td id="tem1"><select name="STATUS_385" id="STATUS_385" selWidth="206" prompt="请选择" data='{"list":[{"value":"1","key":"未出发"},{"value":"2","key":"已出发"},{"value":"3","key":"调动中"},{"value":"4","key":"已到达"},{"value":"5","key":"已接收"},{"value":"6","key":"返回中"},{"value":"7","key":"已返回"}]}'> </select></td>
  125. </tr>
  126. </table>
  127. </form>
  128. <div class="padding_right5"><div id="maingrid1"></div></div>
  129. </div>
  130. </div>
  131. </body>
  132. </html>