| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>查看</title>
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/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/ligerui.all.js" type="text/javascript">
- <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/ligerTab.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/file.js"></script>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/yongfu/common.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#tab1").ligerTab({
- onBeforeSelectTabItem : function(tabid) {
- },
- onAfterSelectTabItem : function(tabid) {
- showBorrow(tabid);
- }
- });
-
- getCostHand();
- });
- function showBorrow(obj) {
- if (obj == 'tabitem2') {
- getCostStay();
- }
- }
- function getCostHand(){
- var grid = null;
- grid = $("#maingrid1").ligerGrid({
- columns: [
- { display: '序号', name: 'cost_hand_num', width: 100},
- { display: '工程名称', name: 'cost_hand_project_name', width: 100},
- { display: '合同造价(万元)', name: 'cost_hand_contract_price', width: 150},
- { display: '合计收到工程款(万元)', name: 'cost_hand_project_funds', width: 170},
- {display: '管理费', columns:[
- { display: '费率', name: 'cost_hand_mar_rate', width: 100},
- { display: '金额(万元)', name: 'cost_hand_mgr_price', width: 150}
- ]},
- {display: '企业所得税', columns:[
- { display: '税率', name: 'cost_hand_tax_ratio', width: 100},
- { display: '金额(万元)', name: 'cost_hand_hand_price', width: 150}
- ]},
- {display: '项目经理补贴费', columns:[
- { display: '每月金额(万元)', name: 'cost_hand_promagr_subsidy', width: 150},
- { display: '月数', name: 'cost_hand_subsidy_count', width: 100},
- { display: '金额(万元)', name: 'cost_hand_subsidy_price', width: 150}
- ]},
- {display: '安全员补贴费', columns:[
- { display: '每月金额(万元)', name: 'cost_hand_safer_subsidy', width: 150},
- { display: '月数', name: 'cost_hand_safer_count', width: 100},
- { display: '金额(万元)', name: 'cost_hand_safer_price', width: 150}
- ]},
- {display: '其他', columns:[
- { display: '名称', name: 'cost_hand_other_name', width: 100},
- { display: '金额(万元)', name: 'cost_hand_other_price', width: 150}
- ]},
- { display: '小计(万元)', name: 'cost_hand_cost_count', width: 150},
- { display: '备注1', name: 'cost_hand_remark_1', width: 150},
- { display: '备注2', name: 'cost_hand_remark_2', width: 150},
- { display: '附件', name: 'cost_hand_affix', width: 300
- ,render: function (row) {
- return getListDoc(row.cost_hand_affix);
- }
- }
- ],
- fixedCellHeight: false, //是否固定单元格的高度
- pageSize:50,
- url: 'CostAction.do?task=listCostHand&cost_id=${requestScope.costInfo.cost_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- }
- function getCostStay(){
- var grid = null;
- grid = $("#maingrid2").ligerGrid({
- columns: [
- { display: '序号', name: 'cost_stay_num', width: 100 },
- { display: '日期', name: 'cost_stay_date', width: 100
- ,render: function (row) {
- var html = subDate(row.cost_stay_date);
- return html;
- }
- },
- { display: '金额(万元)', name: 'cost_stay_sum_price', width: 150 },
- { display: '其中管理费(万元)', name: 'cost_stay_mgr_price', width: 170},
- { display: '其中企业所得税(万元)', name: 'cost_stay_tax_ratio', width: 170},
- { display: '其中项目经理补贴费(万元)', name: 'cost_stay_pm_price', width: 200},
- { display: '其中安全元补贴费(万元)', name: 'cost_stay_safer_price', width: 170},
- { display: '其他(万元)', name: 'cost_stay_other_price', width: 150},
- { display: '收款账户', name: 'cost_stay_account_name', width: 150},
- { display: '备注1', name: 'cost_stay_remark_1', width: 100},
- { display: '备注2', name: 'cost_stay_remark_2', width: 100},
- { display: '附件', name: 'cost_stay_affix', width: 200
- ,render: function (row) {
- return getListDoc(row.cost_stay_affix);
- }
- }
- ],
- fixedCellHeight: false, //是否固定单元格的高度
- pageSize:50,
- url: 'CostAction.do?task=listCostStay&cost_id=${requestScope.costInfo.cost_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- }
- </script>
- </head>
- <body>
- <div id="title" class="form-button">
- <input type="button" onclick="window.parent.tab.removeSelectedTabItem();" class="l-button" value="关闭" />
- </div>
- <div class="container-layout">
- <div class="forum-container">
- <table style="width:99.8%">
- <c:if test="${requestScope.costInfo.type == 2}">
- <tr>
- <td>工程名称:</td>
- <td>${requestScope.costInfo.projectcost_name }</td>
- <td>合同造价(万元):</td>
- <td>${requestScope.costInfo.projectcost_price }</td>
- <td>责任人:</td>
- <td>${requestScope.costInfo.projectcost_duty_man }</td>
- </tr>
- <tr>
- <td>联系电话:</td>
- <td>${requestScope.costInfo.projectcost_duty_tel }</td>
- <td>备注:</td>
- <td colspan="3">${requestScope.costInfo.projectcost_remark }</td>
- </tr>
- </c:if>
- <c:if test="${requestScope.costInfo.type == 1}">
- <tr>
- <td>分公司名称:</td>
- <td>${requestScope.costInfo.filialectcost_name }</td>
- <td>成立时间:</td>
- <td>${requestScope.costInfo.filialectcost_date }</td>
- <td>责任人:</td>
- <td>${requestScope.costInfo.filialectcost_duty_man }</td>
- </tr>
- <tr>
- <td>联系电话:</td>
- <td>${requestScope.costInfo.filialectcost_duty_tel }</td>
- <td>备注:</td>
- <td colspan="3">${requestScope.costInfo.filialectcost_remark }</td>
- </tr>
- </c:if>
- <tr>
- <td>合计收到工程款(万元):</td>
- <td>${requestScope.costInfo.cost_hand_project_funds_count}</td>
- <td>合计应交金额(万元):</td>
- <td colspan="3">${requestScope.costInfo.cost_hand_cost_count_count}</td>
- </tr>
- <tr>
- <td>合计已交金额(万元):</td>
- <td>${requestScope.costInfo.cost_stay_sum_price_count}</td>
- <td>合计差额(万元):</td>
- <td colspan="3">${requestScope.costInfo.cost_balance}</td>
- </tr>
- </table>
- <div id="tab1"
- style="width: 99.8%; overflow: hidden; border: 1px solid #A3C0E8;">
- <div title="应交金额明细">
- <div id="maingrid1" style="margin: 0; padding: 0"></div>
- </div>
- <div title="已交金额明细">
- <div id="maingrid2" style="margin: 0; padding: 0"></div>
- </div>
- </div>
- </div>
- </div>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|