viewAssetDepreciationInfo.jsp 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <%@ page contentType="text/html;charset=GBK"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <HEAD>
  5. <TITLE>设备管理</TITLE>
  6. <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  7. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  8. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  9. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  10. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  11. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"
  12. type="text/javascript"></script>
  13. <script type="text/javascript" src="/shares/js/constant.js"></script>
  14. <script type="text/javascript" src="/shares/js/common.js"></script>
  15. <script type="text/javascript">
  16. $(document).ready(function(){
  17. var params="";
  18. loadDepreciationInfoList(params);
  19. });
  20. function loadDepreciationInfoList(params) {
  21. var asset_id=$("#asset_id").val();
  22. var grid = null;
  23. grid = $("#assetEntryGrid")
  24. .ligerGrid(
  25. {
  26. columns : [
  27. {
  28. display : '资产名称',
  29. name : 'asset_name',
  30. width : 120
  31. },
  32. {
  33. display : '折旧方法',
  34. name : 'depreciation_method_name',
  35. width : 120
  36. },
  37. {
  38. display : '原值',
  39. name : 'asset_original_value',
  40. width : 120
  41. },
  42. {
  43. display : '净值',
  44. name : 'asset_net_value',
  45. width : 120
  46. },
  47. {
  48. display : '折旧值',
  49. name : 'asset_depreciation_value',
  50. width : 120
  51. },
  52. {
  53. display : '折旧时间',
  54. name : 'asset_depreciation_date',
  55. width : 120
  56. }
  57. ],
  58. pageSize : 20,
  59. url : 'erpAssetEntry.do?task=viewDepreciationRocard'+params+'&asset_id='+asset_id
  60. + '&time='
  61. + new Date().getTime(),
  62. pageParmName : 'p', //页索引参数名,(提交给服务器)
  63. pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器)
  64. width : '99.9%',
  65. height : '99.9%'
  66. });
  67. $("#pageloading").hide();
  68. }
  69. </script>
  70. <style type="text/css">
  71. body {
  72. padding: 5px;
  73. margin: 0;
  74. }
  75. #layout1 {
  76. width: 100%;
  77. margin: 0;
  78. padding: 0;
  79. }
  80. .l-button {
  81. margin-left: 1px;
  82. }
  83. #deptBtn {
  84. width: 100%;
  85. background: #e5ecf9;
  86. text-align: center;
  87. height: 25px;
  88. padding-top: 3px
  89. }
  90. .l-layout-left {
  91. overflow-y: auto;
  92. }
  93. .forum-container-2 tr{height: 20px;line-height: 20px}
  94. .forum-container-2 table{width:100%; margin-top: 0px;margin-right: 0px; margin-left: 0px; }
  95. </style>
  96. </HEAD>
  97. <BODY>
  98. <%@ include file="/include/button.jsp"%>
  99. <%@ include file="/include/message.jsp"%>
  100. <input type="hidden" id="asset_id" name="asset_id" value="${asset_id }" />
  101. <div class="container">
  102. <div class="forum-container-2">
  103. <table border="0" cellspacing="0" cellpadding="0">
  104. <thead><tr><th>
  105. 折旧记录
  106. </th></tr></thead>
  107. </table>
  108. </div>
  109. <div style="overflow: hidden; clear: both;">
  110. <div id="assetEntryGrid" style="margin: 0; padding: 0"></div>
  111. </div>
  112. </div>
  113. </BODY>
  114. </HTML>