| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <%@ 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/yw/yongfu/costDetailMgr.js"></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 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);
- }
- },
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditCostHand('+row.cost_hand_id+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delCostHand('+row.cost_hand_id+')\">删除</a> ';
- return html;
- }
- }
- ],
- fixedCellHeight: false, //是否固定单元格的高度
- pageSize:50,
- url: 'CostAction.do?task=listCostHand&cost_id=${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);
- }
- },
- {
- display: '操作', isAllowHide: false,width: 150,
- render: function (row)
- {
- var html = '<a href=\"#\" onclick=\"toEditCostStay('+row.cost_stay_id+')\">修改</a>  ';
- html += '<a href=\"#\" onclick=\"delCostStay('+row.cost_stay_id+')\">删除</a> ';
- return html;
- }
- }
- ],
- fixedCellHeight: false, //是否固定单元格的高度
- pageSize:50,
- url: 'CostAction.do?task=listCostStay&cost_id=${cost_id}&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '99%'
- });
- $("#pageloading").hide();
- }
- </script>
- <style type="text/css">
- .file-style {
- width: 300px;
- }
- .file-style input[type='file'] {
- width: 260px;
- height: 24px;
- line-height: 22px;
- vertical-align: bottom;
- background-color: #fff;
- border: 1px solid #cccccc;
- margin-top: 2px;
- margin-bottom: 2px;
- }
- </style>
- </head>
- <body>
- <input type="hidden" id="type" name="type" value="${type }">
- <input type="hidden" id="cost_id" name="cost_id" value="${cost_id }">
- <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%">
- <tr>
- <td>
- <c:if test="${type == 2}">
- 工程名称:
- </c:if>
- <c:if test="${type == 1}">
- 分公司名称:
- </c:if>
- </td>
- <td><label id="sname"></label></td>
- <td>责任人:</td>
- <td><label id="sman"></label></td>
- </tr>
- <tr>
- <td>合计收到工程款(万元):</td>
- <td><label id="cost_hand_project_funds_count"></label></td>
- <td>合计应交金额(万元):</td>
- <td><label id="cost_hand_cost_count_count"></label></td>
- </tr>
- <tr>
- <td>合计已交金额(万元):</td>
- <td><label id="cost_stay_sum_price_count"></label></td>
- <td>合计差额(万元):</td>
- <td><label id="cost_balance"></label></td>
- </tr>
- </table>
- <div id="tab1"
- style="width: 99.8%; overflow: hidden; border: 1px solid #A3C0E8;">
- <div title="应交金额明细">
- <div class="forum-container temp-form" >
- <div style="margin: 5px auto; text-align: left">
- <input type="button" value="新增" id="resetBtn"
- class="l-button" onclick="submitSaveCostHand();"/>
- </div>
- </div>
- <div id="maingrid1" style="margin: 0; padding: 0"></div>
- </div>
- <div title="已交金额明细">
- <div class="forum-container temp-form" >
- <div style="margin: 5px auto; text-align: left;">
- <input type="button" value="新增" id="resetBtn"
- class="l-button" onclick="submitSaveCostStay();" />
- </div>
- </div>
- <div id="maingrid2" style="margin: 0; padding: 0"></div>
- </div>
- </div>
- </div>
- </div>
- <div id="costHand" class="forum-container2" style="display: none">
- <form name="costHandForm" action="" method='post'>
- <table style="width:99.8%;height: 99%;">
- <tr>
- <td height="30" class="left-text" >序号:</td>
- <td colspan="2">
- <input type="hidden" id="cost_hand_id" name="cost_hand_id" value="">
- <input type="text" name="cost_hand_num" id="cost_hand_num" class="default-text"/>
- </td>
- <td height="30" class="left-text" >工程名称<FONT COLOR="red">*</FONT>:</td>
- <td colspan="2">
- <input type="text" name="cost_hand_project_name" id="cost_hand_project_name" class="default-text"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >合同造价(万元):</td>
- <td colspan="2">
- <input type="text" name="cost_hand_contract_price" id="cost_hand_contract_price" class="default-text" maxlength="16"/>
- </td>
- <td height="30" class="left-text" >合计收到工程款(万元):</td>
- <td colspan="2">
- <input type="text" name="cost_hand_project_funds" id="cost_hand_project_funds" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >管理费费率:</td>
- <td colspan="2">
- <input type="text" name="cost_hand_mar_rate" id="cost_hand_mar_rate" class="default-text"/>
- </td>
- <td height="30" class="left-text" >管理费金额(万元):</td>
- <td colspan="2">
- <input type="text" name="cost_hand_mgr_price" id="cost_hand_mgr_price" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >企业所得税税率:</td>
- <td colspan="2">
- <input type="text" name="cost_hand_tax_ratio" id="cost_hand_tax_ratio" class="default-text"/>
- </td>
- <td height="30" class="left-text" >企业所得税金额(万元):</td>
- <td colspan="2">
- <input type="text" name="cost_hand_hand_price" id="cost_hand_hand_price" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >项目经理补贴费每月金额(万元):</td>
- <td>
- <input type="text" name="cost_hand_promagr_subsidy" id="cost_hand_promagr_subsidy" class="default-text" maxlength="16"/>
- </td>
- <td height="30" class="left-text" >项目经理补贴费月数:</td>
- <td>
- <input type="text" name="cost_hand_subsidy_count" id="cost_hand_subsidy_count" class="default-text"/>
- </td>
- <td height="30" class="left-text" >项目经理补贴费金额(万元):</td>
- <td>
- <input type="text" name="cost_hand_subsidy_price" id="cost_hand_subsidy_price" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >安全员补贴费每月金额(万元):</td>
- <td>
- <input type="text" name="cost_hand_safer_subsidy" id="cost_hand_safer_subsidy" class="default-text" maxlength="16"/>
- </td>
- <td height="30" class="left-text" >安全员补贴费月数:</td>
- <td>
- <input type="text" name="cost_hand_safer_count" id="cost_hand_safer_count" class="default-text"/>
- </td>
- <td height="30" class="left-text" >安全员补贴费金额(万元):</td>
- <td>
- <input type="text" name="cost_hand_safer_price" id="cost_hand_safer_price" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >其他名称:</td>
- <td colspan="2">
- <input type="text" name="cost_hand_other_name" id="cost_hand_other_name" class="default-text"/>
- </td>
- <td height="30" class="left-text" >其他金额(万元):</td>
- <td colspan="2">
- <input type="text" name="cost_hand_other_price" id="cost_hand_other_price" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >备注1:</td>
- <td colspan="2">
- <input type="text" name="cost_hand_remark_1" id="cost_hand_remark_1" class="default-text"/>
- </td>
- <td height="30" class="left-text" >备注2:</td>
- <td colspan="2">
- <input type="text" name="cost_hand_remark_2" id="cost_hand_remark_2" class="default-text"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >附件:</td>
- <td colspan="5">
- <jsp:include page="/include/file.jsp">
- <jsp:param name="fieldName" value="cost_hand_affix" />
- <jsp:param name="folder" value="yongfu/cost" />
- <jsp:param name="documentId" value="" />
- <jsp:param name="size" value="10" />
- <jsp:param name="isView" value="1" />
- <jsp:param name="isDelFile" value="1" />
- <jsp:param name="definedCss" value="file-style" />
- </jsp:include>
- </td>
- </tr>
- </table>
- </form>
- </div>
- <div id="costStay" class="forum-container2" style="display: none">
- <form name="costStayForm" action="" method='post'>
- <table style="width:99.8%;height: 99%;">
- <tr>
- <td height="30" class="left-text" >序号:</td>
- <td>
- <input type="hidden" id="cost_stay_id" name="cost_stay_id" value="">
- <input type="text" name="cost_stay_num" id="cost_stay_num" class="default-text"/>
- </td>
- <td height="30" class="left-text" >日期<FONT COLOR="red">*</FONT>:</td>
- <td>
- <input type="text" name="cost_stay_date" id="cost_stay_date" class="default-text"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >其中管理费(万元):</td>
- <td>
- <input type="text" name="cost_stay_mgr_price" id="cost_stay_mgr_price" class="default-text" maxlength="16"/>
- </td>
- <td height="30" class="left-text" >其中企业所得税(万元):</td>
- <td>
- <input type="text" name="cost_stay_tax_ratio" id="cost_stay_tax_ratio" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >其中项目经理补贴费(万元):</td>
- <td>
- <input type="text" name="cost_stay_pm_price" id="cost_stay_pm_price" class="default-text" maxlength="16"/>
- </td>
- <td height="30" class="left-text" >其中安全员补贴费(万元):</td>
- <td>
- <input type="text" name="cost_stay_safer_price" id="cost_stay_safer_price" class="default-text" maxlength="16"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >其他(万元):</td>
- <td>
- <input type="text" name="cost_stay_other_price" id="cost_stay_other_price" class="default-text" maxlength="16"/>
- </td>
- <td height="30" class="left-text" >收款账户:</td>
- <td>
- <input type="text" name="cost_stay_account_name" id="cost_stay_account_name" class="default-text"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >备注1:</td>
- <td>
- <input type="text" name="cost_stay_remark_1" id="cost_stay_remark_1" class="default-text"/>
- </td>
- <td height="30" class="left-text" >备注2:</td>
- <td>
- <input type="text" name="cost_stay_remark_2" id="cost_stay_remark_2" class="default-text"/>
- </td>
- </tr>
- <tr>
- <td height="30" class="left-text" >附件:</td>
- <td colspan="3">
- <jsp:include page="/include/file.jsp">
- <jsp:param name="fieldName" value="cost_stay_affix" />
- <jsp:param name="folder" value="yongfu/cost" />
- <jsp:param name="documentId" value="" />
- <jsp:param name="size" value="10" />
- <jsp:param name="isView" value="1" />
- <jsp:param name="isDelFile" value="1" />
- <jsp:param name="definedCss" value="file-style" />
- </jsp:include>
- </td>
- </tr>
- </table>
- </form>
- </div>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|