| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>领用单信息</title>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <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 type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/file.js"></script>
- <script type="text/javascript" src="/shares/datePicker/WdatePicker.js"></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/ligerDateEditor.js" type="text/javascript"></script>
- <script src="/shares/xheditor/xheditor-1.1.14/xheditor-1.1.14-zh-cn.min.js" type="text/javascript" ></script>
- <!-- 选择窗口需要加载的js文件 start-->
- <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerDialog.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/ligerTextBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerSpinner.js" type="text/javascript"></script>
- <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
- <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- var gr = null;
- var str = [];
- var str = eval('${recordStr}');
- $(function (){
- initEmployDetail();
- });
- function initEmployDetail(){
- gr = manager = $("#maingrid")
- .ligerGrid(
- {
- columns : [
- {
- display : '资产名称',
- name : 'asset_name',
- width : 120
- },
- {
- display : '资产编号',
- name : 'asset_id',
- width : 120
- },
- {
- display : '资产类型',
- name : 'asset_type_name',
- width : 120
- },
- {
- display : '规格型号',
- name : 'asset_version',
- width : 100
- },
- {
- display : '数量',
- name : 'asset_number',
- width : 100
- },
- {
- display : '是否归还',
- name : 'return_state',
- width : 120,
- render:function(row){
- var html="";
- if(row.return_state=='0'){
- html+="未归还";
- }else if(row.return_state=='1'){
- html+="已归还";
- }
- return html;
- }
- },
- {
- display : '领用说明',
- name : 'remark',
- width : 220
- }
- ],
- pageSize : 20,
- data : {
- Rows : str
- },
- usePager :false,
- checkbox: false,
- /* url : 'erpAssetTakeStockPlan.do?task=assetTakeStockDetailList'
- + '&time='
- + new Date().getTime(),
- pageParmName : 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器) */
- width : '95.9%',
- height : '90.9%'
- });
- $("#pageloading").hide();
- }
-
- </script>
- <style type="text/css">
- .file-style{
- width: 550px;
- }
- .file-style input[type='file'] {
- width:385px ;
- height:24px;
- line-height:22px;
- vertical-align: bottom;
- background-color: #fff;
- border: 1px solid #cccccc;
- margin-top: 2px;
- margin-bottom: 2px;
- }
- </style>
- </head>
- <body style="background: #ffffff;">
- <div class="s_title b10 f6">
- <img src="/shares/images/master1/gg_ico.png" width="27" height="26" /> 领用单信息
- <div class="article_title">
- <c:if test="${requestScope.tag == 'toList' }">
- <input class="art_back" title="返回" name="" onclick="location='MTAssetEmployAction.do?task=toList';" type="button" style="width:50px;"/>
- </c:if>
- <c:if test="${requestScope.tag == 'toMyList' }">
- <input class="art_back" title="返回" name="" onclick="location='MTAssetEmployAction.do?task=toMyList';" type="button" style="width:50px;"/>
- </c:if>
- </div>
- </div>
- <form id="employForm" action="assetEmployAction.do" method="post">
- <div class="container" style="padding-top: 103px;">
- <div class="forum-container" >
- <center>
- <table class="l-table-edit">
- <tr>
- <th colspan="4">领用单信息</th>
- </tr>
- <tr>
- <td class="l-table-edit-text" >领用单号:</td>
- <td class="l-table-edit-td" >
- ${requestScope.assetEmploy.employ_no}
- </td>
- <td class="l-table-edit-text" >领用日期:</td>
- <td class="l-table-edit-td" >
- ${requestScope.assetEmploy.employ_date_string}
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">领用部门:</td>
- <td class="l-table-edit-td">
-
- ${requestScope.assetEmploy.employ_dept_name}
-
- </td>
- <td class="l-table-edit-text">领用人:</td>
- <td class="l-table-edit-td">
- ${requestScope.assetEmploy.employ_user_name}
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">备注:</td>
- <td class="l-table-edit-td" colspan="3">
- ${requestScope.assetEmploy.remark }
- </td>
- </tr>
- <tr>
- <th colspan="4">资产领用明细</th>
- </tr>
- <tr>
- <td colspan="4" height="300">
- <!-- 产品明细 start -->
- <div class="l-clear"></div>
- <div id="maingrid" style="margin-top:10px"></div>
- <br />
- <div style="display: none;"></div>
- <!-- 产品明细 end -->
- </td>
- </tr>
- </table>
- <input type="hidden" id="jsonEmployData" name="jsonEmployData" value="">
- <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
- <input type="hidden" id="task" name="task" value="addAssetEmploy">
- <!-- 通过菜单新增or通过新增按钮新增 -->
- <input type="hidden" id="addType" name="addType" value="${addType }"/>
- </center>
- </div>
- </div>
- </form>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|