| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <%@ 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="${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 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">
- var g = null;
- var historyData = eval('${historyData}');
- $(document).ready(function(){
- f_initHistoryGrid();
- });
- function f_initHistoryGrid() {
- g = $("#assetDepGrid").ligerGrid({
- columns: [
- { display: '折旧开始年月', name: 'dep_start_date',width:100},
- { display: '资产原值', name: 'asset_unit_price',width:100},
- { display: '折旧年月', name: 'asset_dep_date_string',width:100},
- { display: '本月折旧值', name: 'asset_dep_value',width:100},
- { display: '本月残值', name: 'asset_salvage',width:100},
- { display: '操作日期', name: 'operate_date',width:100},
- { display: '折旧类型', name: 'dep_type',width:100,
- render:function(row){
- if(row.dep_type=='0'){
- return '自动折旧';
- }else{
- return '手动折旧';
- }
- }
- },
- { display: '操作人', name: 'operator_name',width:150}],
- data:{Rows:historyData},
- checkbox : false,
- width: '99.8%',
- usePager: false,
- height : '99.8%'
- });
- $("#pageloading").hide();
- }
- </script>
- <style type="text/css">
- body {
- padding: 5px;
- margin: 0;
- }
- #layout1 {
- width: 100%;
- margin: 0;
- padding: 0;
- }
- .l-button {
- margin-left: 1px;
- width:100px;
- }
- #deptBtn {
- width: 100%;
- background: #e5ecf9;
- text-align: center;
- height: 25px;
- padding-top: 3px
- }
- .l-layout-left {
- overflow-y: auto;
- }
- </style>
- </HEAD>
- <BODY>
- <%@ include file="/include/button.jsp"%>
- <%@ include file="/include/message.jsp"%>
- <div class="container">
- <form id="report" action="assetFlowDirectionAction.do" method="post" target="_blank">
- <div class="forum-container" >
- <table border="0" cellspacing="1" cellpadding="0" class="l-table-edit line">
- <th>资产折旧历史</th>
- </table>
- </div>
- <div style="overflow: hidden; clear: both;">
- <div id="assetDepGrid" style="margin: 0; padding: 0"></div>
- </div>
- </form>
- </div>
- </BODY>
- </HTML>
|