| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <%@ page contentType="text/html;charset=GBK"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <HEAD>
- <TITLE>资产领用列表</TITLE>
- <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/yw/asset/viewAssetEmployRecord.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/page.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/searchBox.js"></script>
- <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- $(function () {
- search();
- });
- function searchByKword(s){
- var p = $("#p").val();
- var pSize = getPize();
-
- var param={"p":p,"pSize":pSize};
-
- sendAsyncAjax(param, "MTAssetEmployAction.do?task=assetEmployList"+s, "json", function(data) {
- var num = data.Total;
- page(num,pSize,p);
-
- var list = data.Rows;
- var item_name = $('#contentDiv');
- $(item_name).empty();//初始化table,清空table
- var html = '';
- if(list.length == 0){
- html = notquery();
- }else{
- var j=0;
- for (var i = 0; i < list.length; i++)
- {
- var arr = list[i];
- var bdiv=1+j;
- //bdiv=1+j;
- if(j<7){j++;}else{j=0;};
- html+= '<div class=\"tr_cont_new mar4 f5_new'+bdiv+'\">';
- html+= '<a href=\"MTAssetEmployAction.do?task=viewEmployRecord&employ_id='+arr.universalid+'\">';
- html+= '<div class=\"wdrw_tiao_new bn'+bdiv+' fl\"></div>';
- html+= '<div class=\"tr_rw_d_new fl\">';
- html+= '<p><img src=\"/shares/images/master1/rw_ico_menu.png\" width=\"17\" height=\"15\" />';
- html+= '领用人:'+arr.employ_user_name;
- html+= ' 领用部门:' + arr.employ_dept_name + '';
- html+= '</p><p class=\"mar5\">领用单号:' + arr.employ_no + '</p>';
- html+= '</div>';
- html+= '</a>';
- html+= '<div class=\"tr_rw_btn_new fr\" style=\"width: 300px;\">';
- html+= '</div>';
- html+= '</div>';
-
- }
- }
-
- $(item_name).html(html);
-
- });
- }
- function search(){
- var s="";
- var employ_user_search = encodeURI(encodeURI(searchBox.getValue()));
- if(typeof(employ_user_search) != "undefined" ){
- s += "&employ_user_search=" + employ_user_search;
- }
- var employ_dept_search = encodeURI(encodeURI($("#employ_dept_search").val()));
- if(typeof(employ_dept_search) != "undefined" ){
- s += "&employ_dept_search=" + employ_dept_search;
- }
- searchByKword(s);
- }
- </script>
- </HEAD>
- <BODY>
- <div class="tc_b">
- <div id="left" style="float:left;width:100%;">
- <div class="tc_r">
- <div class="tr_con b5 f4" >
- <div class="fl f4">
- <img src="/shares/images/master1/wdrw_ico.png" width="25" height="31" /> 资产领用</div>
- <div class="fl mar5">
- <div class="fl">
- 领用部门:
- </div>
- <div class="fl mar6">
- <input type="text" class="fl" id="employ_dept_search" name="employ_dept_search" >
- </div>
- </div>
- <div class="div_ck_k fr">
- <input class="div_cx fl" name="employ_user_search" id="employ_user_search" type="text" value="输入领用人"/>
- <input class="btn_ck fl" type="button" onclick="search();" id="button" />
- </div>
- </div>
- <div class="tr_right_bg">
- <div id="contentDiv"></div>
- <jsp:include page="/yw/master1/page.jsp">
- <jsp:param name="functionName" value="search"/>
- </jsp:include>
- </div>
- </div>
- </div>
- <%@ include file="/yw/master1_asset/left/leftManageAsset.jsp"%>
- </div>
- <%@ include file="/include/message.jsp"%>
- </BODY>
- </HTML>
|