| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <%@ include file="/include/head.jsp"%>
- <%@ page contentType="text/html;charset=GBK"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib uri="/WEB-INF/tlds/taglib.tld" prefix="OA"%>
- <!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="main.css" rel="stylesheet" type="text/css"></link>
- <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/jquery-1.3.2.min.js"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"
- type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
-
- });
- function addAssetDepreciation(){
- var rs = $.validate({name:"depreciation_method_name",model:[{type:"require",msg:"方式名称不能为空!"}]});
- rs &= $.validate({name:"depreciation_year_rate",model:[{type:"require",msg:"年折旧率不能为空!"}]});
- rs &= $.validate({name:"depreciation_year_value",model:[{type:"require",msg:"年折旧额不能为空!"}]});
- if(!rs)return;
- $("#addAssetDepreciationForm").submit();
- }
- </script>
- <style type="text/css">
- body {
- padding: 5px;
- margin: 0;
- }
- #layout1 {
- width: 100%;
- margin: 0;
- padding: 0;
- }
- .l-button {
- margin-left: 1px;
- }
- #deptBtn {
- width: 100%;
- background: #e5ecf9;
- text-align: center;
- height: 25px;
- padding-top: 3px
- }
- #leftBtn{
- width: 100%;
- background: #e5ecf9;
- 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="l-content">
- <form id="addAssetDepreciationForm" name="addAssetDepreciationForm" method="post" action="assetDepreciationAction.do?task=addDepreciation">
- <div id="layout1">
- <div position="center" id="center" title="新增折旧方法" class="forum-container">
- <input id="tabid" name="tabid" value="${param.tabid }" type="hidden"/>
- <div id="leftBtn">
- <input type="button" value="保存" class="l-button" onclick="addAssetDepreciation()" id="addAssetDepreciationBtn" />
- </div>
- <table border="0" cellspacing="1" cellpadding="0" class="l-table-edit line">
- <tr>
- <td class="l-table-edit-text">方法名<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- <textarea id="depreciation_method_name" name="depreciation_method_name" rows="2" cols="80" class=""></textarea>
- <!-- <input id="depreciation_method_name" name="depreciation_method_name" type='text' value="" style="height: 20px;width: 400px;"/> -->
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">年折旧率<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- <textarea id="depreciation_year_rate" name="depreciation_year_rate" rows="3" cols="80" class=""></textarea>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">年折旧额<FONT COLOR="red">*</FONT>:</td>
- <td class="l-table-edit-td">
- <textarea id="depreciation_year_value" name="depreciation_year_value" rows="3" cols="80" class=""></textarea>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">期折旧率:</td>
- <td class="l-table-edit-td">
- <textarea id="depreciation_period_rate" name="depreciation_period_rate" rows="3" cols="80" class=""></textarea>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">期折旧额:</td>
- <td class="l-table-edit-td">
- <textarea id="depreciation_period_value" name="depreciation_period_value" rows="3" cols="80" class=""></textarea>
- </td>
- </tr>
- </table>
- </div>
- <div class="forum-container">
- <table border="0" cellspacing="1" cellpadding="0" class="l-table-edit line">
- <tr><th colspan="11">可使用属性</th></tr>
- <tr>
- <td class="l-table-edit-td" width="20px">
- 资产原值
- </td>
- <td class="l-table-edit-td" width="20px" height="30px">
- 累计折旧
- </td>
- <td class="l-table-edit-td" width="20px">
- 减值准备
- </td>
- <td class="l-table-edit-td" width="20px">
- 预计净残值
- </td>
- <td class="l-table-edit-td" width="20px">
- 剩余使用年限
- </td>
- <td class="l-table-edit-td" width="20px">
- 预计使用期间数
- </td>
- <td class="l-table-edit-td" width="20px">
- 已折旧期间数
- </td>
- <td class="l-table-edit-td" width="20px">
- 预计工作总量
- </td>
- <td class="l-table-edit-td" width="20px">
- 已使用工作量
- </td>
- <td class="l-table-edit-td" width="20px">
- 当年工作量
- </td>
- <td class="l-table-edit-td" width="20px">
- 当期工作量
- </td>
- </tr>
- </table>
- </div>
- </div>
- </form>
- </div>
- </BODY>
- </HTML>
|