viewEmployRecord.jsp 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  7. <title>领用单信息</title>
  8. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  9. <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  11. <script type="text/javascript" src="/shares/js/constant.js"></script>
  12. <script type="text/javascript" src="/shares/js/common.js"></script>
  13. <script type="text/javascript" src="/shares/js/file.js"></script>
  14. <script type="text/javascript" src="/shares/datePicker/WdatePicker.js"></script>
  15. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  16. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  17. <script src="/shares/xheditor/xheditor-1.1.14/xheditor-1.1.14-zh-cn.min.js" type="text/javascript" ></script>
  18. <!-- 选择窗口需要加载的js文件 start-->
  19. <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
  20. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
  21. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  22. <!-- 明细 -->
  23. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerTextBox.js" type="text/javascript"></script>
  24. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
  25. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
  26. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerSpinner.js" type="text/javascript"></script>
  27. <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
  28. <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
  29. <script type="text/javascript">
  30. var gr = null;
  31. var str = [];
  32. var str = eval('${recordStr}');
  33. $(function (){
  34. initEmployDetail();
  35. });
  36. function initEmployDetail(){
  37. gr = manager = $("#maingrid")
  38. .ligerGrid(
  39. {
  40. columns : [
  41. {
  42. display : '资产名称',
  43. name : 'asset_name',
  44. width : 120
  45. },
  46. {
  47. display : '资产编号',
  48. name : 'asset_id',
  49. width : 120
  50. },
  51. {
  52. display : '资产类型',
  53. name : 'asset_type_name',
  54. width : 120
  55. },
  56. {
  57. display : '规格型号',
  58. name : 'asset_version',
  59. width : 100
  60. },
  61. {
  62. display : '数量',
  63. name : 'asset_number',
  64. width : 100
  65. },
  66. {
  67. display : '是否归还',
  68. name : 'return_state',
  69. width : 120,
  70. render:function(row){
  71. var html="";
  72. if(row.return_state=='0'){
  73. html+="未归还";
  74. }else if(row.return_state=='1'){
  75. html+="已归还";
  76. }
  77. return html;
  78. }
  79. },
  80. {
  81. display : '领用说明',
  82. name : 'remark',
  83. width : 220
  84. }
  85. ],
  86. pageSize : 20,
  87. data : {
  88. Rows : str
  89. },
  90. usePager :false,
  91. checkbox: false,
  92. /* url : 'erpAssetTakeStockPlan.do?task=assetTakeStockDetailList'
  93. + '&time='
  94. + new Date().getTime(),
  95. pageParmName : 'p', //页索引参数名,(提交给服务器)
  96. pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器) */
  97. width : '95.9%',
  98. height : '90.9%'
  99. });
  100. $("#pageloading").hide();
  101. }
  102. </script>
  103. <style type="text/css">
  104. .file-style{
  105. width: 550px;
  106. }
  107. .file-style input[type='file'] {
  108. width:385px ;
  109. height:24px;
  110. line-height:22px;
  111. vertical-align: bottom;
  112. background-color: #fff;
  113. border: 1px solid #cccccc;
  114. margin-top: 2px;
  115. margin-bottom: 2px;
  116. }
  117. </style>
  118. </head>
  119. <body style="background: #ffffff;">
  120. <div class="s_title b10 f6">
  121. <img src="/shares/images/master1/gg_ico.png" width="27" height="26" /> 领用单信息
  122. <div class="article_title">
  123. <c:if test="${requestScope.tag == 'toList' }">
  124. <input class="art_back" title="返回" name="" onclick="location='MTAssetEmployAction.do?task=toList';" type="button" style="width:50px;"/>
  125. </c:if>
  126. <c:if test="${requestScope.tag == 'toMyList' }">
  127. <input class="art_back" title="返回" name="" onclick="location='MTAssetEmployAction.do?task=toMyList';" type="button" style="width:50px;"/>
  128. </c:if>
  129. </div>
  130. </div>
  131. <form id="employForm" action="assetEmployAction.do" method="post">
  132. <div class="container" style="padding-top: 103px;">
  133. <div class="forum-container" >
  134. <center>
  135. <table class="l-table-edit">
  136. <tr>
  137. <th colspan="4">领用单信息</th>
  138. </tr>
  139. <tr>
  140. <td class="l-table-edit-text" >领用单号:</td>
  141. <td class="l-table-edit-td" >
  142. ${requestScope.assetEmploy.employ_no}
  143. </td>
  144. <td class="l-table-edit-text" >领用日期:</td>
  145. <td class="l-table-edit-td" >
  146. ${requestScope.assetEmploy.employ_date_string}
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="l-table-edit-text">领用部门:</td>
  151. <td class="l-table-edit-td">
  152. ${requestScope.assetEmploy.employ_dept_name}
  153. </td>
  154. <td class="l-table-edit-text">领用人:</td>
  155. <td class="l-table-edit-td">
  156. ${requestScope.assetEmploy.employ_user_name}
  157. </td>
  158. </tr>
  159. <tr>
  160. <td class="l-table-edit-text">备注:</td>
  161. <td class="l-table-edit-td" colspan="3">
  162. ${requestScope.assetEmploy.remark }
  163. </td>
  164. </tr>
  165. <tr>
  166. <th colspan="4">资产领用明细</th>
  167. </tr>
  168. <tr>
  169. <td colspan="4" height="300">
  170. <!-- 产品明细 start -->
  171. <div class="l-clear"></div>
  172. <div id="maingrid" style="margin-top:10px"></div>
  173. <br />
  174. <div style="display: none;"></div>
  175. <!-- 产品明细 end -->
  176. </td>
  177. </tr>
  178. </table>
  179. <input type="hidden" id="jsonEmployData" name="jsonEmployData" value="">
  180. <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
  181. <input type="hidden" id="task" name="task" value="addAssetEmploy">
  182. <!-- 通过菜单新增or通过新增按钮新增 -->
  183. <input type="hidden" id="addType" name="addType" value="${addType }"/>
  184. </center>
  185. </div>
  186. </div>
  187. </form>
  188. <%@ include file="/include/message.jsp"%>
  189. </body>
  190. </html>