viewDepHistory.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  7. <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  8. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  9. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  10. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  11. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  12. <script type="text/javascript" src="/shares/js/constant.js"></script>
  13. <script type="text/javascript" src="/shares/js/common.js"></script>
  14. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
  15. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
  16. <script type="text/javascript">
  17. var g = null;
  18. var historyData = eval('${historyData}');
  19. $(document).ready(function(){
  20. f_initHistoryGrid();
  21. });
  22. function f_initHistoryGrid() {
  23. g = $("#assetDepGrid").ligerGrid({
  24. columns: [
  25. { display: '折旧开始年月', name: 'dep_start_date',width:100},
  26. { display: '资产原值', name: 'asset_unit_price',width:100},
  27. { display: '折旧年月', name: 'asset_dep_date_string',width:100},
  28. { display: '本月折旧值', name: 'asset_dep_value',width:100},
  29. { display: '本月残值', name: 'asset_salvage',width:100},
  30. { display: '操作日期', name: 'operate_date',width:100},
  31. { display: '折旧类型', name: 'dep_type',width:100,
  32. render:function(row){
  33. if(row.dep_type=='0'){
  34. return '自动折旧';
  35. }else{
  36. return '手动折旧';
  37. }
  38. }
  39. },
  40. { display: '操作人', name: 'operator_name',width:150}],
  41. data:{Rows:historyData},
  42. checkbox : false,
  43. width: '99.8%',
  44. usePager: false,
  45. height : '99.8%'
  46. });
  47. $("#pageloading").hide();
  48. }
  49. </script>
  50. <style type="text/css">
  51. body {
  52. padding: 5px;
  53. margin: 0;
  54. }
  55. #layout1 {
  56. width: 100%;
  57. margin: 0;
  58. padding: 0;
  59. }
  60. .l-button {
  61. margin-left: 1px;
  62. width:100px;
  63. }
  64. #deptBtn {
  65. width: 100%;
  66. background: #e5ecf9;
  67. text-align: center;
  68. height: 25px;
  69. padding-top: 3px
  70. }
  71. .l-layout-left {
  72. overflow-y: auto;
  73. }
  74. </style>
  75. </HEAD>
  76. <BODY>
  77. <%@ include file="/include/button.jsp"%>
  78. <%@ include file="/include/message.jsp"%>
  79. <div class="container">
  80. <form id="report" action="assetFlowDirectionAction.do" method="post" target="_blank">
  81. <div class="forum-container" >
  82. <table border="0" cellspacing="1" cellpadding="0" class="l-table-edit line">
  83. <th>资产折旧历史</th>
  84. </table>
  85. </div>
  86. <div style="overflow: hidden; clear: both;">
  87. <div id="assetDepGrid" style="margin: 0; padding: 0"></div>
  88. </div>
  89. </form>
  90. </div>
  91. </BODY>
  92. </HTML>