123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <%@include file="../../../../include1.jsp" %>
- <!--引用资源文件,JS-->
- <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/business/em/response/equipment/EquipmentDemand.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/setiframeheight.js" ></script>
-
- <script>
-
- //父部门id
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- $(function(){
-
- <%
- String pagenumber = request.getParameter("pagenumber") == null ? "" : request.getParameter("pagenumber");
- String pp = request.getParameter("pagenumber") ;
- %>
- var pagenumber = '<%=pagenumber%>';
- // var pp='<%=pp%>';
- // alert(pagenumber);
- // alert("pp"+pp);
- if(pagenumber!=''){
- $("#tab").basicTabSetIdx(1);
- }
-
- $("#more").bind('click', function() {
- $("#RECIPIENT_DEPARTMENT_382").resetValue();
- $("#APPLY_TO_USE_TIME_382").val("");
- $("#REPORTED_STATE_382").resetValue();
- $("#AUDIT_STATE_382").resetValue();
- $("#moreDiv1").toggle();
- });
- $("#more2").bind('click', function() {
- $("#DEPT_385").resetValue();
- $("#LAST_UPDATEDATE_385").val("");
- $("#EQUIPMENT_NUMBER_385").val("");
- $("#STATUS_385").resetValue();
- $("#moreDiv2").toggle();
- });
-
- $.post(deptUrl,{id:parentId,name:''},function(data){
- $("#RECIPIENT_DEPARTMENT_382").data("data",data);
- $("#RECIPIENT_DEPARTMENT_382").render();
- $("#DEPT_385").data("data",data);
- $("#DEPT_385").render();
-
- }, "json");
-
-
- });
-
- </script>
- </head>
- <body style="height: 650px;overflow:auto; overflow-x:hidden;">
- <div class="basicTab" id="tab" >
- <div id="tab1" name="装备需求" style="width:100%;height:150px;">
-
- <form id="queryUserForm" method="post">
- <table width='100%' border='0'>
- <tr>
-
- <td width="18%">
- <input type="text" id="RECIPIENT_382" name="RECIPIENT_382" maxlength="15" watermark=" 申 请 单 位 联 系 人">
- </td>
- <td width="7%">
- <button type="button" id="search"><span class="icon_find">查询</span></button>
- </td>
-
- <td>
- </td>
- <td>
- </td>
- <td align="right">
- <a href='#'><span id="more" class="icon_more"> </span></a>
- </td>
- </tr>
- </table>
- <table id="moreDiv1" style="display: none;">
- <tr>
- <td align="right">申请单位:</td>
- <td><div class="selectTree" id="RECIPIENT_DEPARTMENT_382" name="RECIPIENT_DEPARTMENT_382" selWidth="200" boxHeight="260"></div></td>
- <td align="right">申请使用时间:</td>
- <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>
- </tr>
- <tr align="left">
- <td align="right">上报状态:</td>
- <td id="tem"><select name="REPORTED_STATE_382" id="REPORTED_STATE_382" prompt="请选择" data='{"list":[{"value":"51","key":"未上报"},{"value":"52","key":"已上报"}]}'></select></td>
- <td align="right"> 审核状态:</td>
- <td id="tem1"><select name="AUDIT_STATE_382" id="AUDIT_STATE_382" prompt="请选择" data='{"list":[{"value":"53","key":"未审核"},{"value":"54","key":"已审核"}]}'> </select></td>
- </tr>
- </table>
- </form>
-
- <div class="padding_right5"><div id="maingrid"></div></div>
-
- </div>
-
- <!-- ************************************* 表 二 **************************************************************** -->
- <div id="tab2" name="装备调拨" style="width:100%;height:150px;">
- <form method="post">
- <table width='100%' border='0'>
- <tr>
- <td width="18%">
- <input type="text" id="EQUIPMENT_NAME_385" name="EQUIPMENT_NAME_385" maxlength="15" watermark=" 装 备 名 称">
- </td>
- <td width="7%">
- <button type="button" id="search2"><span class="icon_find">查询</span></button>
- </td>
-
- <td>
- </td>
- <td>
- </td>
- <td align="right">
- <a href='#'><span id="more2" class="icon_more"> </span></a>
- </td>
- </tr>
- </table>
- <table id="moreDiv2" style="display: none;">
- <tr>
- <td align="right">数量:</td>
- <td id="tem"><input type="text" name="EQUIPMENT_NUMBER_385" maxlength="15" id="EQUIPMENT_NUMBER_385" /></td></td>
- <td align="right">最后更新时间:</td>
- <td><input type="text" readonly="readonly" name="LAST_UPDATEDATE_385" id="LAST_UPDATEDATE_385" class="date" dateFmt="yyyy-MM-dd"/></td></td>
- </tr>
- <tr align="left">
- <td align="right">单位:</td>
- <td><div class="selectTree" id="DEPT_385" name="DEPT_385" selWidth="206" boxHeight="260"></div></td>
- <td align="right"> 当前状态:</td>
- <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>
- </tr>
- </table>
- </form>
- <div class="padding_right5"><div id="maingrid1"></div></div>
-
- </div>
- </div>
- </body>
- </html>
|