fourcal/src/main/resources/templates/admin/project_approve.ftl

3341 lines
276 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<#assign base=request.contextPath />
<#import "../common/defaultLayout.ftl" as defaultLayout>
<@defaultLayout.layout>
<link rel="stylesheet" type="text/css" href="${base}/common/css/time-axis.css">
<style type="text/css" media="all">
/**让所有的模态对话框都居中*/
.am-modal.am-modal-prompt.am-modal-active {
transform: translate(-50%, -50%) scale(1);
left: 50%;
top: 50%;
margin-left: 0;
margin-top: 0 !important;
}
select[readonly] option {
display: none;
}
/**
审核通过
*/
.approve-passed{
position:absolute;
right:10px;
top:10px;
border-radius: 100%;
width: 150px;
height: 150px;
border: 3px dashed green;
color: green;
white-space: nowrap;
display: flex;
align-items: center;
justify-content: center;
transform: rotateZ(20deg);
font-size: 14px;
}
.approve-passed:after {
content:"审核通过";
}
/**
待审核
*/
.approve-topass{
position:absolute;
right:10px;
top:170px;
border-radius: 100%;
width: 150px;
height: 150px;
border: 3px dashed orange;
color: orange;
white-space: nowrap;
display: flex;
align-items: center;
justify-content: center;
transform: rotateZ(20deg);
font-size: 14px;
}
.approve-topass:after {
content:"待审核";
}
/**
审核不过
*/
.approve-nopass{
position:absolute;
right:10px;
top:10px;
border-radius: 100%;
width: 150px;
height: 150px;
border: 3px dashed red;
color: red;
white-space: nowrap;
display: flex;
align-items: center;
justify-content: center;
transform: rotateZ(20deg);
font-size: 14px;
}
.approve-nopass:after {
content:"审核不通过";
}
input {
/*width: 600px;*/
width: 100%;
border:0 none;
outline:none;
}
textarea {
overflow-x: hidden;
overflow-y:hidden;
}
.huanhang{
table-layout:fixed;
word-break:break-all;
}
/* 页面相关样式 */
.project_approve {
height: 100%;
display: flex;
flex-direction: column;
}
.project_approve .page-header {
display: flex;
align-items: center;
flex: 0 0 auto;
}
.project_approve .page-content {
flex: 1 1 auto;
overflow: hidden;
}
.palm-tabs.outer {
height: 100%;
}
.palm-tabs.inner {
height: unset;
}
.project_approve .fixed-section .am-modal-bd {
padding-bottom: 0;
border-bottom: none;
}
.project_approve .fixed-section .fixed-table.has-actions {
height: calc(100% - 45px);
}
.project_approve .fixed-section .fixed-table table {
border-bottom: 1px solid #ddd;
}
.project_approve .fixed-table table td {
vertical-align: middle;
}
/* 解决项目审核页面缩小50%显示,表格内容变小靠右显示问题 */
.am-tabs.palm-tabs.outer>.am-tabs-bd.palm-tabs-bd{
overflow: visible !important;
}
.am-tab-panel .am-tabs-bd.palm-tabs-bd{
overflow: visible
}
/* 解决横向滚动条出现的空白区域,给隐藏掉 */
#tab3{
overflow-x: hidden;
}
</style>
<div id="printContainer"></div>
<div class="project_approve" id="contentContainer">
<div class="page-header am-padding">
<div style="word-wrap:break-word; word-break:break-all; " class="am-fl am-cf"><strong class="am-text-primary am-text-lg">项目审核</strong> /
<small>${project.name}</small></div>
</div>
<form method="post" class="page-content am-form" id="pmsForm" action="${base}/project/budgetEditSave">
<input type="hidden" id="keywords" name="keywords" value='${keywords!""}'/>
<input type="hidden" id="pageNumber" name="pageNumber" value='${pageNumber!}'/>
<!--选项卡tabsbegin-->
<div class="am-tabs palm-tabs outer" data-am-tabs>
<ul class="am-tabs-nav am-nav am-nav-tabs palm-tabs-nav">
<li id="jiben" <#if check==1>class="am-active"</#if>><a href="#tab1">项目立项(概算)信息</a></li>
<#-- <#if project.status==1 || project.status==5 || project.status==10 || project.status==15>-->
<#-- <li><a href="#tab2">项目立项(概算)其他信息</a></li>-->
<#-- </#if>-->
<#if project.status==5 || project.status==10 || project.status==15>
<li><a href="#tab3">项目预算信息</a></li>
</#if>
<#if project.status==10 || project.status==15>
<li id="jiesuan" <#if check==0>class="am-active"</#if>><a href="#tab4">项目结算信息</a></li>
</#if>
<#if project.status==15>
<li><a href="#tab5">项目决算信息</a></li>
</#if>
<li><a href="#tab6">项目审核记录</a></li>
</ul>
<div class="am-tabs-bd palm-tabs-bd">
<#-- 项目立项(概算)信息 展示内容 -->
<div <#if check==1>class="am-tab-panel am-fade am-in am-active" <#else> class="am-tab-panel am-fade am-in"</#if> id="tab1">
<input name="id" id="id" type="hidden" value="${project.id}" />
<input name="type" id="type" type="hidden" value="${type}"/>
<input name="projectContributionProfitRateThreshold" id="projectContributionProfitRateThreshold" type="hidden" value="${project.projectContributionProfitRateThreshold}" />
<!--验证表单元素validate) begin-->
<div class="am-u-sm-12 am-u-md-12" style="padding:0 1.6rem 1.6rem 1rem;margin:0;">
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/estimateMainExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
<#-- <button type="button" class="am-btn am-btn-default" onclick="printPage('tab1')">-->
<#-- <span class="am-icon-archive"></span> 打印-->
<#-- </button>-->
</div>
</div>
</div>
<!--startprint-->
<table id="myTable" class="am-table am-table-bordered">
<tr class="am-text-nowrap">
<th class="table-title" colspan="6" style="text-align: center">项目立项(概算)信息</th>
<input type="hidden" style="border-style:none;" name="id" id="id" value="${id!}"/>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">部门名称:</span></th>
<td class="table-title" colspan="2" ><input readonly value="${project.deptName!}"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目编号:</span></th>
<td class="table-title" colspan="2" ><input readonly value="${project.projectNo!}"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目名称:</span></th>
<td class="table-title" colspan="5" ><input readonly value="${project.name!}"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目类型:</span></th>
<td class="table-title" colspan="1" >
<#if project.type??>
<#if (project.type) =1>
<input readonly value="工程集成类"/>
<#elseif (project.type) =2>
<input readonly value="设备集成类"/>
<#elseif (project.type) =3>
<input readonly value="战略合作类"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目计划开始时间:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${(project.startDate?string("yyyy-MM-dd"))!}"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目计划结束时间:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${(project.endDate?string("yyyy-MM-dd"))!}"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">垫资模式:</span></th>
<td class="table-title" <#if project.underwrittenMode! <= 2> colspan="5" <#else> colspan="1" </#if> >
<#if project.underwrittenMode??>
<#if (project.underwrittenMode) =1>
<input readonly value="不垫资"/>
<#elseif (project.underwrittenMode) =3>
<input readonly value="垫资(账期覆盖)"/>
<#elseif (project.underwrittenMode) =4>
<input readonly value="垫资(账期不覆盖)"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<#if project.underwrittenMode! gt 2>
<th class="table-title" colspan="1" ><span style="font-size: 15px">垫资利息:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.advanceInterestAmount)}元" /></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">垫资峰值:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.advancePeakAmount)}元" /></td>
</#if>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">合作类型:</span></th>
<td class="table-title" <#if project.cooperateType! == 1> colspan="1" <#else> colspan="5" </#if> >
<#if project.cooperateType??>
<#if (project.cooperateType) =1>
<input readonly value="战略合作类"/>
<#elseif (project.cooperateType) =2>
<input readonly value="非战略合作类"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<#if project.cooperateType! == 1>
<th class="table-title" colspan="1" ><span style="font-size: 15px">合作对象:</span></th>
<td class="table-title" colspan="3" ><input readonly value="${project.collaborator!}"/>
<#if project.collaboratorUrl?? && project.collaboratorUrl != "">
<div class="am-form-file am-text-xs">
<a href="${project.collaboratorUrl!}" download>
<i class="am-icon-cloud-upload"></i> 下载附件
</a>
</div>
<#else>
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
</#if>
</td>
</#if>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">合同金额:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.contractAmount)}元"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目毛利:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.grossProfit)}元" /></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目毛利率:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.grossProfitMargin)}%" /></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">汇智产品金额:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.huizhiProductAmount, '0.00')}元"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">华智产品金额:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.huazhiProductAmount, '0.00')}元"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">华三产品金额:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.huasanProductAmount, '0.00')}元"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">其他产品金额:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${Utils.format(project.ziguangOtherAmount, '0.00')}元"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目把握度:</span></th>
<td class="table-title" colspan="1" >
<#if project.certainty??>
<#if (project.certainty) =1>
<input readonly value="A项目成功率80%-100%"/>
<#elseif (project.certainty) =2>
<input readonly value="B项目成功率60%-80%"/>
<#elseif (project.certainty) =3>
<input readonly value="C项目成功率40%-60%"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">行业场景应用:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${project.industryScenario!}"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目解决方案:</span></th>
<td class="table-title" colspan="1" >
<#if project.resolvePlan??>
<#if (project.resolvePlan!) =1>
<input readonly value="公共服务(智慧交通、雪亮工程、治安防控体系等)"/>
<#elseif (project.resolvePlan!) =2>
<input readonly value="泛行业(智慧园区、智慧医疗、智慧工地等)"/>
<#elseif (project.resolvePlan!) =3>
<input readonly value="其他生态"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">客户名称:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${project.customer!}"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">最终用户名称:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${project.terminalCustomer!}"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">价值及风险:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="5" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${project.valueRisk!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目负责人:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${project.principal!}"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">预计合同签订时间:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${(project.contractTime?string("yyyy-MM-dd"))!}"/></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目计划招标时间:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${(project.bidsTime?string("yyyy-MM-dd"))!}"/></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">是否二次合作:</span></th>
<td class="table-title" colspan="1" >
<#if project.isSecond??>
<#if (project.isSecond!) =1>
<input readonly value="是"/>
<#elseif (project.isSecond!) =2>
<input readonly value="否"/>
<#else >
<input readonly value=""/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">直签:</span></th>
<td class="table-title" colspan="3" >
<#if project.signType??>
<#if (project.signType!) =1>
<input readonly value="是"/>
<#elseif (project.signType!) =2>
<input readonly value="否"/>
<#else >
<input readonly value=""/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">主合同收款条款:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${project.mainContractCollectionTerms!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">主合同具体解决方案:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${project.mainContractResolvePlan!}</textarea>
</td> </tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">计收计划:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${project.calculationCollection!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目阶段:</span></th>
<td class="table-title" colspan="2" >
<#if project.stage??>
<#if (project.stage) =0>
<input readonly value="C0、项目可研"/>
<#elseif (project.stage) =1>
<input readonly value="C1、项目申报"/>
<#elseif (project.stage) =2>
<input readonly value="C2、项目设计"/>
<#elseif (project.stage) =3>
<input readonly value="C3、项目财评"/>
<#elseif (project.stage) =4>
<input readonly value="C4、项目立项评审"/>
<#elseif (project.stage) =5>
<input readonly value="C5、项目公示期"/>
<#elseif (project.stage) =6>
<input readonly value="C6、项目合同期"/>
<#elseif (project.stage) =7>
<input readonly value="C7、项目结算期"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">公司销售阶段:</span></th>
<td class="table-title" colspan="2" >
<#if project.saleStage??>
<#if (project.saleStage) =0>
<input readonly value="S0-商机线索"/>
<#elseif (project.saleStage) =1>
<input readonly value="S1-需求摸索"/>
<#elseif (project.saleStage) =2>
<input readonly value="S2-标前引导"/>
<#elseif (project.saleStage) =3>
<input readonly value="S3-预算评审"/>
<#elseif (project.saleStage) =4>
<input readonly value="S4-招投标期"/>
<#elseif (project.saleStage) =5>
<input readonly value="S5-合同期"/>
<#elseif (project.saleStage) =6>
<input readonly value="S6-交付期"/>
<#elseif (project.saleStage) =7>
<input readonly value="S7-结算期"/>
<#elseif (project.saleStage) =8>
<input readonly value="S8-决算期"/>
<#elseif (project.saleStage) =9>
<input readonly value="L-项目丢单"/>
<#elseif (project.saleStage) =9>
<input readonly value="S-暂停期"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">当前进度描述:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${project.stageRemark!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">下一步计划:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${project.nextPlan!}</textarea>
</td>
</tr>
</table>
</div>
<#-- 项目预算信息 展示内容 -->
<div class="am-tab-panel am-fade am-in" id="tab3">
<#if huiQianFile! !="">
<div style="float: right"><a href="${huiQianFile}" download target="_blank">下载会签单</a></div>
</#if>
<div class="am-tabs palm-tabs inner" data-am-tabs id="subTab">
<ul class="am-tabs-nav am-nav am-nav-tabs palm-tabs-nav">
<li class="am-active"><a href="#tab30">项目基本信息</a></li>
<li><a href="#tab35">预算信息</a></li>
<li><a href="#tab31">收入明细表</a></li>
<li><a href="#tab36">收款计划表</a></li>
<li><a href="#tab32">采购成本明细表</a></li>
<li><a href="#tab33">项目管理成本表</a></li>
<li><a href="#tab34">资金计划表</a></li>
</ul>
</div>
<div class="am-tabs-bd palm-tabs-bd">
<div class="am-tab-panel am-fade am-in am-active" id="tab30">
<input name="projectId" id="projectId" type="hidden" value="${projectBudget.projectId}" />
<div class="am-u-sm-12 am-u-md-12" style="padding:0 1.6rem 1.6rem 1rem;margin:0;">
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/estimateSecondExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
</div>
</div>
</div>
<!--验证表单元素validate) begin-->
<table id="myTable" class="am-table am-table-bordered">
<tr class="am-text-nowrap">
<th class="table-title" colspan="6" style="text-align: center">项目基本信息</th>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">部门名称:</span></th>
<td class="table-title" colspan="2" ><input readonly value="${projectBudget.deptNameBudget!}" /></td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目编号:</span></th>
<td class="table-title" colspan="2" ><input readonly value="${projectBudget.projectNoBudget!}" /></td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目名称:</span></th>
<td class="table-title" colspan="5" >
<input readonly value="${projectBudget.nameBudget!}" />
</td>
</tr>
<#if projectBudget.contractBudget??>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">合同名称:</span></th>
<td class="table-title" colspan="5" >
<input readonly value="${projectBudget.contractBudget!}"/>
</td>
</tr>
</#if>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目类型:</span></th>
<td class="table-title" colspan="1" >
<#if projectBudget.typeBudget??>
<#if (projectBudget.typeBudget) =1>
<input readonly value="工程集成类"/>
<#elseif (projectBudget.typeBudget) =2>
<input readonly value="设备集成类"/>
<#elseif (projectBudget.typeBudget) =3>
<input readonly value="战略合作类"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目计划开始时间:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${(projectBudget.startDateBudget?string("yyyy-MM-dd"))!}">
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目计划结束时间:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${(projectBudget.endDateBudget?string("yyyy-MM-dd"))!}">
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">垫资模式:</span></th>
<td class="table-title" colspan="1" >
<#if projectBudget.underwrittenModeBudget??>
<#if (projectBudget.underwrittenModeBudget) =1>
<input readonly value="不垫资"/>
<#elseif (projectBudget.underwrittenModeBudget) =3>
<input readonly value="垫资(账期覆盖)"/>
<#elseif (projectBudget.underwrittenModeBudget) =4>
<input readonly value="垫资(账期不覆盖)"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="4" id="noUnder0b" <#if projectBudget.underwrittenModeBudget! gt 2>hidden</#if>></th>
<th class="table-title" colspan="1" id="noUnder1b" <#if projectBudget.underwrittenModeBudget! <= 2>hidden</#if>><span style="font-size: 15px">垫资利息:</span></th>
<td class="table-title" colspan="1" id="noUnder2b" <#if projectBudget.underwrittenModeBudget! <= 2>hidden</#if>>
<input readonly value="${Utils.format(projectBudget.advanceInterestAmountBudget)}" />
</td>
<th class="table-title" colspan="1" id="noUnder3b" <#if projectBudget.underwrittenModeBudget! <= 2>hidden</#if>><span style="font-size: 15px">垫资峰值:</span></th>
<td class="table-title" colspan="1" id="noUnder4b" <#if projectBudget.underwrittenModeBudget! <= 2>hidden</#if>>
<input readonly value="${Utils.format(projectBudget.advancePeakAmountBudget)}" />
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">合作类型:</span></th>
<td class="table-title" colspan="1" id="spanMode" >
<#if projectBudget.cooperateTypeBudget??>
<#if (projectBudget.cooperateTypeBudget) =1>
<input readonly value="战略合作类"/>
<#elseif (projectBudget.cooperateTypeBudget) =2>
<input readonly value="非战略合作类"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" id="coop1b" <#if projectBudget.cooperateTypeBudget! != 1>hidden</#if> ><span style="font-size: 15px">合作对象:</span></th>
<td class="table-title" colspan="3" id="coop2b" <#if projectBudget.cooperateTypeBudget! != 1>hidden</#if> >
<#if projectBudget.collaboratorUrlBudget?? && projectBudget.collaboratorUrlBudget != "">
<div class="am-form-file am-text-xs">
<a href="${projectBudget.collaboratorUrlBudget!}" download>
<i class="am-icon-cloud-upload"></i> 下载附件
</a>
</div>
<#else>
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
</#if>
</td>
<th class="table-title" colspan="4" id="coop0b" <#if projectBudget.cooperateTypeBudget! == 1>hidden</#if>></th>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">合同金额:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.contractAmountBudget)}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目毛利A:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.grossProfitABudget)}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目毛利A利率:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.grossProfitAMarginBudget)}" />
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="2"></th>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目毛利:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.grossProfitBudget)}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目毛利率:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.grossProfitMarginBudget)}" />
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">汇智产品金额:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.huizhiProductAmountBudget, "0.00")}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">华智产品金额:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.huazhiProductAmountBudget, "0.00")}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">华三产品金额:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.huasanProductAmountBudget, "0.00")}" />
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">其他产品金额:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${Utils.format(projectBudget.ziguangOtherAmountBudget, "0.00")}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目把握度:</span></th>
<td class="table-title" colspan="1" >
<#if projectBudget.certaintyBudget??>
<#if (projectBudget.certaintyBudget) =1>
<input readonly value="A项目成功率80%-100%"/>
<#elseif (projectBudget.certaintyBudget) =2>
<input readonly value="B项目成功率60%-80%"/>
<#elseif (projectBudget.certaintyBudget) =3>
<input readonly value="C项目成功率40%-60%"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">行业场景应用:</span></th>
<td class="table-title" colspan="1" ><input readonly value="${projectBudget.industryScenarioBudget!}"/></td>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目解决方案:</span></th>
<td class="table-title" colspan="1" >
<#if projectBudget.resolvePlanBudget??>
<#if (projectBudget.resolvePlanBudget!) =1>
<input readonly value="公共服务(智慧交通、雪亮工程、治安防控体系等)"/>
<#elseif (projectBudget.resolvePlanBudget!) =2>
<input readonly value="泛行业(智慧园区、智慧医疗、智慧工地等)"/>
<#elseif (projectBudget.resolvePlanBudget!) =3>
<input readonly value="其他生态"/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">客户名称:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${projectBudget.customerBudget!}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">最终用户名称:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${projectBudget.terminalCustomerBudget!}" />
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">价值及风险:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="5" cols="20" id="valueRiskBudget" name="valueRiskBudget" maxlength="1000"
class="am-input" style="border-style:none;" data-validate-async data-validation-message="请输入价值及风险"
placeholder="请输入价值及风险"
>${projectBudget.valueRiskBudget!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目负责人:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${projectBudget.principalBudget!}" />
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">预计合同签订时间:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${(projectBudget.contractTimeBudget?string("yyyy-MM-dd"))!}">
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">项目计划招标时间:</span></th>
<td class="table-title" colspan="1" >
<input readonly value="${(projectBudget.bidsTimeBudget?string("yyyy-MM-dd"))!}">
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">是否二次合作:</span></th>
<td class="table-title" colspan="1" >
<#if projectBudget.isSecondBudget??>
<#if (projectBudget.isSecondBudget!) =1>
<input readonly value="是"/>
<#elseif (projectBudget.isSecondBudget!) =2>
<input readonly value="否"/>
<#else >
<input readonly value=""/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
<th class="table-title" colspan="1" ><span style="font-size: 15px">直签:</span></th>
<td class="table-title" colspan="3" >
<#if projectBudget.signTypeBudget??>
<#if (projectBudget.signTypeBudget!) =1>
<input readonly value="是"/>
<#elseif (projectBudget.signTypeBudget!) =2>
<input readonly value="否"/>
<#else >
<input readonly value=""/>
</#if>
<#else>
<input readonly value=""/>
</#if>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">主合同收款条款:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${projectBudget.mainContractCollectionTermsBudget!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">主合同具体解决方案:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${projectBudget.mainContractResolvePlanBudget!}</textarea>
</td>
</tr>
<tr class="am-text-nowrap">
<th class="table-title" colspan="1" ><span style="font-size: 15px">计收计划:</span></th>
<td class="table-title" colspan="5" >
<textarea rows="3" cols="20" style="border-style:none;background-color: white;" disabled="disabled"
>${projectBudget.calculationCollectionBudget!}</textarea>
</td>
</tr>
</table>
</div>
<div class="am-tab-panel am-fade am-in" id="tab31">
<#--<span class="am-text-lg">收入明细表</span>-->
<div class="fixed-section">
<div class="am-modal-bd">
<div class="fixed-actions">
<div class="am-btn-toolbar">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/incomeExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
</div>
</div>
</div>
<div class="fixed-table has-actions">
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;"
id="incomeTable">
<thead>
<tr>
<th>序号</th>
<th>类别</th>
<th>名称</th>
<th>规格类型</th>
<th>参数</th>
<th>单位</th>
<th>数量</th>
<th>单价</th>
<th>税率(%</th>
<th>含税总金额(元)</th>
<th>不含税金额(元)</th>
<th>税金(元)</th>
<#--<td>操作</td>-->
</tr>
</thead>
<tbody>
<#if incomeDetails??>
<#list incomeDetails as incomeDetail>
<tr>
<td>${(incomeDetail_index+1)!}</td>
<td>
<#--<select style="width: auto" readonly
class="am-modal-prompt-input am-modal-prompt-input-income">
<option value="1" <#if incomeDetail.type == 1>selected</#if>>设备类
</option>
<option value="2" <#if incomeDetail.type == 2>selected</#if>>工程类
</option>
<option value="3" <#if incomeDetail.type == 3>selected</#if>>服务类
</option>
</select>-->
<#if incomeDetail.type ==1 >
设备类
<#elseif incomeDetail.type ==2>
工程类
<#elseif incomeDetail.type ==3>
服务类
</#if>
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income"
value="${incomeDetail.name!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income"
value="${incomeDetail.spec!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income"
value="${incomeDetail.param!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income"
value="${incomeDetail.unit!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-amount"
value="${Utils.format(incomeDetail.amount,'0.00')}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-price"
value="${Utils.format2(incomeDetail.price,'0.00')}"></td>
<td> <input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-tax-rate"
value="${Utils.format(incomeDetail.taxRate,'0.00')}"></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-tax-include"
value="${Utils.format(incomeDetail.totalTaxInclude,'0.00')}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-tax-exclude"
value="${Utils.format(incomeDetail.totalTaxExclude,'0.00')}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-tax"
value="${Utils.format(incomeDetail.totalTax,'0.00')}"
readonly></td>
<#--<td>
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete">
<span class="am-icon-minus"></span></button>
</td>-->
</tr>
</#list>
</#if>
<tr class="total-new" id="incomeTotal">
<td>总计</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-amount-income" value="${Utils.format(incomeTotalAmount,'0.00')}" readonly <#--onkeyup="integerNumber(this)"-->></td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-total-tax-include-income" value="${Utils.format(budgetBean.incomeTotalTaxInclude,'0.00')}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-total-tax-exclude-income" value="${Utils.format(budgetBean.incomeTotalTaxExclude,'0.00')}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-total-tax-income" value="${Utils.format(budgetBean.incomeTotalTax,'0.00')}" readonly></td>
<#--<td></td>-->
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="am-tab-panel am-fade am-in" id="tab36">
<#--<span class="am-text-lg">收入明细表</span>-->
<div class="fixed-section">
<div class="am-modal-bd">
<div class="fixed-actions">
<div class="am-btn-toolbar">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/incomePlanExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
</div>
</div>
</div>
<div class="fixed-table has-actions">
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;"
id="incomePlanTable">
<thead>
<tr>
<th width="60px">序号</th>
<th>收款节点</th>
<th>收款时间</th>
<th>收款金额(元)</th>
</tr>
</thead>
<tbody>
<#if incomePlanDetails??>
<#list incomePlanDetails as incomePlanDetail>
<tr>
<td width="60px">${(incomePlanDetail_index+1)!}</td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income-plan" value="${incomePlanDetail.receivePoint!}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income-plan incomePlanTime" value="${(incomePlanDetail.receiveTime?string("yyyy-MM-dd"))!}" autocomplete="off" readonly></td>
<td><input type="text" class="number am-modal-prompt-input am-modal-prompt-input-income-plan input-changeable-receive input-changeable-receive-income-plan" value="${Utils.format(incomePlanDetail.receiveAmount,'0')}" readonly></td>
</tr>
</#list>
</#if>
<tr class="total-new" id="incomePlanTotal">
<td width="60px">总计</td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-income-plan input-changeable-total-receive-income-plan" value="${Utils.format(incomePlanTotal,'0.00')}" readonly></td>
<#-- <td></td>-->
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="am-tab-panel am-fade am-in" id="tab32">
<#--<span class="am-text-lg">采购成本明细表</span>-->
<div class="fixed-section">
<div class="am-modal-bd">
<div class="fixed-actions">
<div class="am-btn-toolbar">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/costExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
</div>
</div>
</div>
<div class="fixed-table has-actions">
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;"
id="costTable">
<thead>
<tr>
<th>序号</th>
<th>费用项目</th>
<th>采购类别</th>
<th>名称</th>
<th>单位</th>
<th>数量</th>
<th>单价</th>
<th>税率(%</th>
<th>含税总金额(元)</th>
<th>不含税金额(元)</th>
<th>税金(元)</th>
<th>签约方</th>
<th>是否垫资</th>
<th>预估垫资金额(元)</th>
<th>支出时间</th>
<th>支出金额(元)</th>
<th>付款方式</th>
<th>备注</th>
</tr>
</thead>
<tbody id="tab32TBody">
<#if costDetails??>
<#list costDetails as costDetail>
<tr>
<td>${(costDetail_index+1)!}</td>
<td>
<#--<select style="width: auto" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost am-modal-prompt-input-cost-type">
<option value="1" <#if costDetail.type == 1>selected</#if>>设备
</option>
<option value="2" <#if costDetail.type == 2>selected</#if>>施工
</option>
<option value="3" <#if costDetail.type == 3>selected</#if>>服务
</option>
<option value="4" <#if costDetail.type == 4>selected</#if>>其他
</option>
</select>-->
<#if costDetail.type ==1 >
设备
<#elseif costDetail.type ==2>
施工
<#elseif costDetail.type ==3>
服务
<#elseif costDetail.type ==4>
其他
</#if>
</td>
<td>
<#list procurementTypes as procurementType>
<#if costDetail.category == procurementType.id>${procurementType.name}</#if>
</#list>
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost"
value="${costDetail.name!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost"
value="${costDetail.unit!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-amount"
value="${Utils.format(costDetail.amount,'0.00')}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-price"
value="${Utils.format2(costDetail.price,'0.00')}"></td>
<td><input type="text" min="0.00" max="99.99" step="0.01" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-tax-rate"
value="${Utils.format(costDetail.taxRate,'0.00')}"></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-tax-include"
value="${Utils.format(costDetail.totalTaxInclude,'0.00')}"
readonly>
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-tax-exclude"
value="${Utils.format(costDetail.totalTaxExclude,'0.00')}"
readonly>
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-tax"
value="${Utils.format(costDetail.totalTax,'0.00')}"
readonly>
</td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost" value="${costDetail.contractParty!}" readonly></td>
<td>
<#--<select style="width: auto" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost am-modal-prompt-input-cost-type">
<option value="1" <#if costDetail.type == 1>selected</#if>>设备
</option>
<option value="2" <#if costDetail.type == 2>selected</#if>>施工
</option>
<option value="3" <#if costDetail.type == 3>selected</#if>>服务
</option>
<option value="4" <#if costDetail.type == 4>selected</#if>>其他
</option>
</select>-->
<#if costDetail.isUnderwritten ==0 >
<#elseif costDetail.isUnderwritten ==1>
<#elseif costDetail.isUnderwritten ==2>
</#if>
</td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-underwritten-amount-cost" value="${Utils.format(costDetail.underwrittenAmount,'0')}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost" value="${(costDetail.payTime?string("yyyy-MM-dd"))!}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-pay-amount-cost" value="${Utils.format(costDetail.payAmount,'0')}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost" value="${costDetail.payWay!}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost" value="${costDetail.remark!}" readonly></td>
<#--<td>
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete">
<span class="am-icon-minus"></span></button>
</td>-->
</tr>
</#list>
</#if>
<tr class="total-new" id="costTotal">
<td>总计</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-amount-cost" value="${Utils.format(costTotalAmount,'0.00')}" readonly <#--onkeyup="integerNumber(this)"-->></td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-tax-include-cost" value="${Utils.format(budgetBean.costPurchaseTotalTaxInclude,'0.00')}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-tax-exclude-cost" value="${Utils.format(budgetBean.costPurchaseTotalTaxExclude,'0.00')}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-tax-cost" value="${Utils.format(budgetBean.costPurchaseTotalTax,'0.00')}" readonly></td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-underwritten-amount-cost" value="${Utils.format(costUnderwrittenAmountTotal,'0.00')}" readonly></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-total-pay-amount-cost" value="${Utils.format(costPayAmountTotal,'0.00')}" readonly></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="am-tab-panel am-fade am-in" id="tab33">
<#--<span class="am-text-lg">项目管理成本表</span>-->
<div class="fixed-section">
<div class="am-modal-bd">
<div class="fixed-actions">
<div class="am-btn-toolbar">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/costManageExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
</div>
</div>
</div>
<div class="fixed-table has-actions">
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;"
id="costProjectManageTable">
<thead>
<tr>
<th width="60px">序号</th>
<th width="120px">财务费用类别</th>
<th>业务项目</th>
<th>项目明细</th>
<th>单位</th>
<th>数量</th>
<th>单价</th>
<th>总金额(元)</th>
<th>支出时间</th>
<th>支出金额(元)</th>
<th>预估计算方法</th>
<th>预估依据</th>
<th>备注</th>
<#--<td>操作</td>-->
</tr>
</thead>
<tbody>
<#if costProjectManageDetails??>
<#list costProjectManageDetails as costProjectManageDetail>
<tr>
<td width="60px">${(costProjectManageDetail_index+1)!}</td>
<td width="120px">
<#--<select style="width: auto"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
<#if costProjectManageDetail.deletable==0>readonly</#if>>
<option value="1"
<#if costProjectManageDetail.type == 1>selected</#if>>人工成本
</option>
<option value="2"
<#if costProjectManageDetail.type == 2>selected</#if>>业务费用
</option>
<option value="3"
<#if costProjectManageDetail.type == 3>selected</#if>>其他费用
</option>
</select>-->
<#if costProjectManageDetail.type ==1 >
人工成本
<#elseif costProjectManageDetail.type ==2>
业务费用
<#elseif costProjectManageDetail.type ==3>
其他费用
<#elseif costProjectManageDetail.type ==4>
保证金
</#if>
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.name!}" readonly
<#--<#if costProjectManageDetail.deletable==0>readonly</#if>-->>
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.detail!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.unit!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-amount-project-manage"
value="${Utils.format(costProjectManageDetail.amount,'0.00')}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-price-project-manage"
value="${Utils.format2(costProjectManageDetail.price,'0.00')}">
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-project-manage"
value="${Utils.format(costProjectManageDetail.total,'0.00')}"
readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage" value="${(costProjectManageDetail.payTime?string("yyyy-MM-dd"))!}" readonly></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-pay-amount-project-manage" value="${Utils.format(costProjectManageDetail.payAmount,'0.00')}" readonly></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.predictMethod!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.predictWhy!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.remark!}"></td>
<#--<td><#if costProjectManageDetail.deletable==1>
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete">
<span class="am-icon-minus"></span></button></#if>
<input type="hidden"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.deletable!}">
</td>-->
</tr>
</#list>
</#if>
<tr class="total-new" id="manageTotal">
<td width="60px">总计</td>
<td width="120px"></td>
<td></td>
<td></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-amount-project-manage" value="${Utils.format(costProjectManageTotalAmount,'0.00')}" readonly <#--onkeyup="integerNumber(this)"-->></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-total-project-manage" value="${Utils.format(budgetBean.costProjectManageTaxInclude,'0.00')}" readonly></td>
<td></td>
<td><input type="text" class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-pay-amount-project-manage" value="${Utils.format(managePayAmountTotal,'0.00')}" readonly></td>
<td></td>
<td></td>
<td></td>
<#--<td></td>-->
</tr>
</tbody>
</table>
</div>
</div>
<div style="margin-top: 5px;">
备注:本表展示不含税金额
</div>
</div>
</div>
<div class="am-tab-panel am-fade am-in" id="tab34" style="">
<#--<span class="am-text-lg">资金计划表</span>-->
<div class="am-u-sm-12 am-u-md-12" style="padding:0 1.6rem 1.6rem 1rem;margin:0;">
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/budgetPlanExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
<button type="button" class="am-btn am-btn-default" onclick="openDetail()">
<span class="am-icon-archive"></span> 拓展明细
</button>
<button type="button" class="am-btn am-btn-default" onclick="closeDetail()">
<span class="am-icon-archive"></span> 隐藏明细
</button>
<#-- <button type="button" class="am-btn am-btn-default" onclick="printPage('tab34')">-->
<#-- <span class="am-icon-archive"></span> 打印-->
<#-- </button>-->
</div>
</div>
</div>
<!--startprint-->
<table class="am-table table-main" style="display: flex;border-collapse: collapse;padding:0;"
id="budgetPlanDetailTable">
<thead style="display: inline-block;white-space: nowrap;flex-shrink: 0;">
<tr style="display: inline-block;">
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="月份" readonly></td>
<td style="display: none;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="设备支出" readonly></td>
<td style="display: none;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="工程支出(含服务+施工+其他)" readonly></td>
<td style="display: none;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="经营性开支" readonly></td>
<td style="display: none;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="保证金支出" readonly></td>
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="支出合计" readonly></td>
<td style="display: none;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-income"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="销售收款" readonly></td>
<td style="display: none;border-top: 1px solid #ddd;" class="am-modal-prompt-input-budget-plan-income"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="保证金收款" readonly></td>
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="收款合计" readonly></td>
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="资金余额" readonly></td>
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="资金利息" readonly></td>
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="垫资计划" readonly></td>
<td style="display: block;border-top: 1px solid #ddd;"><input type="text" class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail" value="还款计划" readonly></td>
<#-- <td style="display: block;">操作</td>-->
</tr>
</thead>
<tbody style="display: inline-block;white-space: nowrap;">
<tr style="display: inline-block;">
<td style="display: block;"><input type="text" class="am-modal-prompt-input input-total-month-budget-plan"
value="${projectBudgetPlanDetailTotal.month}" readonly/></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
class="am-modal-prompt-input input-total-device-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.deviceCost)}"
readonly/></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
class="am-modal-prompt-input input-total-engineer-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.engineerCost)}"
readonly/></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
class="am-modal-prompt-input input-total-project-manage-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.projectManageCost)}"
readonly/></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text"
class="am-modal-prompt-input input-total-earnest-money-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.earnestMoneyCost)}"
readonly/></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input input-total-total-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.totalCost)}"
readonly/></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-income"><input type="text"
class="am-modal-prompt-input input-total-sale-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.saleIncome)}"
readonly/></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-income"><input type="text"
class="am-modal-prompt-input input-total-earnest-money-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.earnestMoneyIncome)}"
readonly/></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input input-total-total-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.totalIncome)}"
readonly/></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input input-total-fund-balance-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.fundBalance)}"
readonly/></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input input-total-capital-interest-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.capitalInterest)}"
readonly/></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input input-total-underwritten-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.underwrittenPlan)}"
readonly/></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input input-total-repayment-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.repaymentPlan)}"
readonly/></td>
</tr>
<#if projectBudgetPlanDetails??>
<#list projectBudgetPlanDetails as projectBudgetPlanDetail>
<tr style="display: inline-block;">
<td style="display: block;"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-month-budget-plan"
value="${projectBudgetPlanDetail.month!}"></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-device-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.deviceCost)}">
</td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-engineer-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.engineerCost)}">
</td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-project-manage-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.projectManageCost)}">
</td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-cost"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.earnestMoneyCost)}">
</td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-total-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.totalCost)}"
readonly></td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-income"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-sale-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.saleIncome)}">
</td>
<td style="display: none;" class="am-modal-prompt-input-budget-plan-income"><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.earnestMoneyIncome)}">
</td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-total-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.totalIncome)}"
readonly></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-fund-balance-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.fundBalance)}"
readonly></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-capital-interest-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.capitalInterest)}"
readonly></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-underwritten-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.underwrittenPlan)}"
readonly></td>
<td style="display: block;"><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-repayment-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.repaymentPlan)}"
readonly></td>
<#--<td style="display: block;">
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete-budget-plan">
<span class="am-icon-minus"></span></button>
</td>-->
</tr>
</#list>
</#if>
</tbody>
</table>
<!--endprint-->
</div>
<#--<span class="am-text-primary"><a style="cursor: pointer" id="income-detail">收入明细表</a></span>
<span class="am-text-primary"><a style="cursor: pointer" id="cost-detail">采购成本明细表</a></span>
<span class="am-text-primary"><a style="cursor: pointer" id="cost-project-manage-detail">项目管理成本表</a></span>
<span class="am-text-primary budget-plan-detail"><a style="cursor: pointer">资金计划表</a></span>-->
<div class="am-tab-panel am-fade am-in am-scrollable-horizontal" id="tab35">
<div class="am-u-sm-12 am-u-md-12" style="padding:0 1.6rem 1.6rem 1rem;margin:0;">
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/budgetExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
<button type="button" class="am-btn am-btn-default" onclick="printPage('tab35')">
<span class="am-icon-archive"></span> 打印
</button>
</div>
</div>
</div>
<#if (project.status==5 || project.status==10 || project.status==15) && project.approveStatusBudget == 1>
<div class="approve-topass"></div>
</#if>
<#if (project.status==5 || project.status==10 || project.status==15) && project.approveStatusBudget == 2>
<div class="approve-passed"></div>
</#if>
<#if (project.status==5 || project.status==10 || project.status==15) && project.approveStatusBudget == 3>
<div class="approve-nopass"></div>
</#if>
<!--startprint-->
<span class="am-text-lg">收入</span>
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用</td>
<td>含税金额(元)</td>
<td>不含税金额(元)</td>
<td>税金(元)</td>
</tr>
<tr>
<td>收入</td>
<td>设备类</td>
<td><input type="text" class="number" name="incomeDeviceTaxInclude"
value="${Utils.format(budgetBean.incomeDeviceTaxInclude,'0.00')}"
required readonly title="设备类含税总额"></td>
<td><input type="text" class="number" name="incomeDeviceTaxExclude"
value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0.00')}"
required readonly title="设备类不含税总额"></td>
<td><input type="text" class="number" name="incomeDeviceTax"
value="${Utils.format(budgetBean.incomeDeviceTax,'0.00')}"
required readonly title="设备类税金"></td>
</tr>
<tr>
<td>收入</td>
<td>工程类</td>
<td><input type="text" class="number" name="incomeEngineerTaxInclude"
value="${Utils.format(budgetBean.incomeEngineerTaxInclude,'0.00')}"
required readonly title="工程类含税总额"></td>
<td><input type="text" class="number" name="incomeEngineerTaxExclude"
value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0.00')}"
required readonly title="工程类不含税总额"></td>
<td><input type="text" class="number" name="incomeEngineerTax"
value="${Utils.format(budgetBean.incomeEngineerTax,'0.00')}"
required readonly title="工程类税金"></td>
</tr>
<tr>
<td>收入</td>
<td>服务类</td>
<td><input type="text" class="number" name="incomeServiceTaxInclude"
value="${Utils.format(budgetBean.incomeServiceTaxInclude,'0.00')}"
required readonly title="服务类含税总额"></td>
<td><input type="text" class="number" name="incomeServiceTaxExclude"
value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0.00')}"
required readonly title="服务类不含税总额"></td>
<td><input type="text" class="number" name="incomeServiceTax"
value="${Utils.format(budgetBean.incomeServiceTax,'0.00')}"
required readonly title="服务类税金"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<td><input type="text" class="number" name="incomeTotalTaxInclude"
value="${Utils.format(budgetBean.incomeTotalTaxInclude,'0.00')}"
readonly required title="此列累计"></td>
<td><input type="text" class="number" name="incomeTotalTaxExclude"
value="${Utils.format(budgetBean.incomeTotalTaxExclude,'0.00')}"
readonly required title="此列累计"></td>
<td><input type="text" class="number" name="incomeTotalTax"
value="${Utils.format(budgetBean.incomeTotalTax,'0.00')}"
readonly required title="此列累计"></td>
</tr>
</tbody>
(备注:本表所用税率为:<span class="incomeTaxRates">${incomeTaxRates!}</span>)
</table>
<span class="am-text-lg">成本</span>
<#-- <span class="am-text-primary"><a style="cursor: pointer" id="cost-detail">采购成本明细表</a></span>
<span class="am-text-primary"><a style="cursor: pointer" id="cost-project-manage-detail">项目管理成本表</a></span>-->
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用</td>
<td>费用项目</td>
<td>含税金额(元)</td>
<td>不含税金额(元)</td>
<td width="210px">税金(元)</td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>设备</td>
<td><input type="text" class="number" name="costPurchaseDeviceTaxInclude"
value="${Utils.format(budgetBean.costPurchaseDeviceTaxInclude,'0.00')}"
readonly required title="购买设备含税总额"></td>
<td><input type="text" class="number" name="costPurchaseDeviceTaxExclude"
value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0.00')}"
readonly required title="购买设备不含税总额"></td>
<td width="210px"><input type="text" class="number" name="costPurchaseDeviceTax"
value="${Utils.format(budgetBean.costPurchaseDeviceTax,'0.00')}"
readonly required title="购买设备税金"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>施工</td>
<td><input type="text" class="number" name="costPurchaseBuildTaxInclude"
value="${Utils.format(budgetBean.costPurchaseBuildTaxInclude,'0.00')}"
readonly required title="购买施工含税总额"></td>
<td><input type="text" class="number" name="costPurchaseBuildTaxExclude"
value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0.00')}"
readonly required title="购买施工不含税总额"></td>
<td width="210px"><input type="text" class="number" name="costPurchaseBuildTax"
value="${Utils.format(budgetBean.costPurchaseBuildTax,'0.00')}"
readonly required title="购买施工税金"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>服务</td>
<td><input type="text" class="number" name="costPurchaseServiceTaxInclude"
value="${Utils.format(budgetBean.costPurchaseServiceTaxInclude,'0.00')}"
readonly required title="购买服务含税总额"></td>
<td><input type="text" class="number" name="costPurchaseServiceTaxExclude"
value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0.00')}"
readonly required title="购买服务不含税总额"></td>
<td width="210px"><input type="text" class="number" name="costPurchaseServiceTax"
value="${Utils.format(budgetBean.costPurchaseServiceTax,'0.00')}"
readonly required title="购买服务税金"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>其他</td>
<td><input type="text" class="number" name="costPurchaseOtherTaxInclude"
value="${Utils.format(budgetBean.costPurchaseOtherTaxInclude,'0.00')}"
readonly required title="购买其他含税总额"></td>
<td><input type="text" class="number" name="costPurchaseOtherTaxExclude"
value="${Utils.format(budgetBean.costPurchaseOtherTaxExclude,'0.00')}"
readonly required title="购买其他不含税总额"></td>
<td width="210px"><input type="text" class="number" name="costPurchaseOtherTax"
value="${Utils.format(budgetBean.costPurchaseOtherTax,'0.00')}"
readonly required title="购买其他税金"></td>
</tr>
<tr>
<td>成本</td>
<td>项目管理成本</td>
<td>项目管理成本</td>
<td><input type="text" class="number" name="costProjectManageTaxInclude"
value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0.00')}"
readonly required title="项目管理成本总额"></td>
<td><input type="text" class="number" name="costProjectManageTaxExclude"
value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0.00')}"
readonly required title="项目管理成本总额"></td>
<td width="210px"><input type="text" class="number" name="costProjectManageTax"
value="财务计取以不含税方式核算"
readonly required title=""></td>
</tr>
<tr>
<td>成本</td>
<td>其他</td>
<td class="huanhang">${project.otherName!}</td>
<td><input type="text" class="number" name="costOtherOtherTaxInclude"
value="${Utils.format(budgetBean.costOtherOtherTaxInclude,'0.00')}"
required readonly title="其他含税总额(填入)"></td>
<td><input type="text" class="number" name="costOtherOtherTaxExclude"
value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0.00')}"
required readonly title="其他不含税总额(填入)"></td>
<td width="210px"><input type="text" class="number" name="costOtherOtherTax"
value="${Utils.format(budgetBean.costOtherOtherTax,'0.00')}"
required readonly title="其他税金"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<td></td>
<td><input type="text" class="number" name="costTotalTaxInclude"
value="${Utils.format(budgetBean.costTotalTaxInclude, '0.00')}"
readonly required title="此列累计"></td>
<td><input type="text" class="number" name="costTotalTaxExclude"
value="${Utils.format(budgetBean.costTotalTaxExclude, '0.00')}"
readonly required title="此列累计"></td>
<td width="210px"><input type="text" class="number" name="costTotalTax"
value="${Utils.format(budgetBean.costTotalTax, '0.00')}"
readonly required title="此列累计"></td>
</tr>
</tbody>
(备注:本表所用税率为:<span class="costTaxRates">${costTaxRates!}</span>)
</table>
<span class="am-text-lg">管理</span>
<#--<span class="am-text-primary budget-plan-detail"><a style="cursor: pointer">资金计划表</a></span>-->
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用项目</td>
<td>不含税金额(元)</td>
</tr>
<tr>
<td>财务费用</td>
<td>资金占用成本</td>
<td><input type="text" class="number" name="costExpropriationTaxExclude"
value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0.00')}"
required readonly title="资金占用成本不含税总额"></td>
</tr>
<tr>
<td>公司管理费用</td>
<td></td>
<td><input type="text" class="number" name="costCompanyManageTaxExclude"
value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0.00')}"
required readonly title="公司管理费用不含税总额"></td>
</tr>
</tbody>
(备注:财务计取以不含税方式核算)
</table>
<span class="am-text-lg">利润率计算</span>
<table class="am-table am-table-bordered am-table-radius table-main"
style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>利润率(%)</td>
<td>不含税金额(元)</td>
<td>计算方式</td>
</tr>
<tr>
<td>项目毛利A</td>
<td><input type="text" class="number" name="projectGrossProfitARate" value="${Utils.format(budgetBean.projectGrossProfitARate,'0')}" readonly title="毛利A不含税/收入总计(不含税)"></td>
<td><input type="text" class="number" name="projectGrossProfitA" value="${Utils.format(budgetBean.projectGrossProfitA,'0')}" readonly title="收入总计(不含税)-成本总计(不含税)"></td>
<td>毛利A=收入明细表金额总计(不含税)-采购成本明细表金额总计(不含税)</td>
</tr>
<tr>
<td>项目毛利(元)</td>
<td><input type="text" class="number" name="projectGrossProfitRate" value="${Utils.format(budgetBean.projectGrossProfitRate,'0')}" readonly required title="毛利(不含税)/收入总计(不含税)"></td>
<td><input type="text" class="number" name="projectGrossProfit" value="${Utils.format(budgetBean.projectGrossProfit,'0')}" readonly required title="收入总计(不含税)-成本总计(不含税)-财务费用总计(不含税)"></td>
<td>毛利=收入总计(不含税)-成本总计(不含税)-财务费用总计(不含税)</td>
</tr>
<tr>
<td>项目贡献利润(元)</td>
<td><input type="text" class="number" name="projectContributionProfitRate" value="${Utils.format(budgetBean.projectContributionProfitRate,'0')}" readonly required title="贡献利润(不含税)/收入总计(不含税)"></td>
<td><input type="text" class="number" name="projectContributionProfit" value="${Utils.format(budgetBean.projectContributionProfit,'0')}" readonly required title="项目毛利(不含税)-公司管理费用总计(不含税)"></td>
<td>贡献利润=项目毛利(不含税)-公司管理费用总计(不含税)</td>
</tr>
</tbody>
</table>
<span class="am-text-lg">现金流量表</span>
<#--<span class="am-text-primary budget-plan-detail"><a style="cursor: pointer">资金计划表</a></span>-->
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr>
<td>类别</td>
<td>金额(元)</td>
<td>计算方式</td>
</tr>
<tr>
<td>销售商品、提供劳务收到的现金<#--a--></td>
<td><input type="text" class="number" name="saleIncomeCash" value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly required title="取自资金计划表(销售收款)"></td>
<td>从资金计划表查(销售收款)</td>
</tr>
<tr>
<td>收到的税费返还<#--b--></td>
<td>/<input type="hidden" name="taxReturn" value="${Utils.format(cashFlowBean.taxReturn,'0')}" readonly required></td>
<td>/</td>
</tr>
<tr>
<td>收到其他与经营活动有关的现金<#--c--></td>
<td><input type="text" class="number" name="earnestMoneyIncome" value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly required title="取自资金计划表(保证金收款)"></td>
<td>从资金计划表查(保证金收款)</td>
</tr>
<tr>
<td>购买商品、接受劳务支付的现金<#--d--></td>
<td><input type="text" class="number" name="purchaseCost" value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly required title="取自资金计划表(设备支出+工程支出)"></td>
<td>从资金计划表查(设备支出+工程支出)</td>
</tr>
<tr>
<td>支付的各项税费<#--e--></td>
<td>/<input type="hidden" name="taxCost" value="${Utils.format(cashFlowBean.taxCost,'0')}" readonly required></td>
<td>/</td>
</tr>
<tr>
<td>支付其他与经营活动有关的现金<#--f--></td>
<td><input type="text" class="number" name="earnestMoneyCost" value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly required title="取自资金计划表(经营性开支+保证金支出+资金利息)"></td>
<td>从资金计划表查(经营性开支+保证金支出+资金利息)</td>
</tr>
<tr>
<td>经营活动产生的现金流量净额<#--g--></td>
<td><input type="text" class="number" name="netCashFlow" value="${Utils.format(cashFlowBean.netCashFlow,'0')}" readonly required title="g=a+c+b-d-f-e"></td>
<td>销售商品、提供劳务收到的现金+收到的税费返还+收到其他与经营活动有关的现金-购买商品、接受劳务支付的现金-支付的各项税费-支付其他与经营活动有关的现金</td>
</tr>
<tr>
<td>投资活动现金流入<#--h--></td>
<td>/<input type="hidden" name="cashInflowFromInvestingActivities" value="${Utils.format(cashFlowBean.cashInflowFromInvestingActivities,'0')}" readonly required></td>
<td>/</td>
</tr>
<tr>
<td>投资活动现金流出<#--i--></td>
<td>/<input type="hidden" name="cashOutflowFromInvestingActivities" value="${Utils.format(cashFlowBean.cashOutflowFromInvestingActivities,'0')}" readonly required></td>
<td>/</td>
</tr>
<tr>
<td>投资活动产生的现金流量净额<#--j--></td>
<td>/<input type="hidden" name="netCashFromInvestingActivities" value="${Utils.format(cashFlowBean.netCashFromInvestingActivities,'0')}" readonly required></td>
<td>/</td>
</tr>
<tr>
<td>融资资金流入<#--k--></td>
<td><input type="text" class="number" name="financingCapitalInflow" value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}" readonly required title="从资金计划表查(垫资计划)"></td>
<td>从资金计划表查(垫资计划)</td>
</tr>
<tr>
<td>还款资金流出<#--l--></td>
<td><input type="text" class="number" name="financingCapitalOutflow" value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}" readonly required title="从资金计划表查(还款计划)"></td>
<td>从资金计划表查(还款计划)</td>
</tr>
<tr>
<td>筹资活动产生的现金流量净额<#--m--></td>
<td><input type="text" class="number" name="financingCapitalCashflow" value="${Utils.format(cashFlowBean.financingCapitalCashflow,'0')}" readonly required title="m=k-l"></td>
<td>融资资金流入-还款资金流出</td>
</tr>
<tr>
<td>货币资金净增加额<#--n--></td>
<td><input type="text" class="number" name="netIncreaseMonetaryFunds" value="${Utils.format(cashFlowBean.netIncreaseMonetaryFunds,'0')}" readonly required title="n=g+j+m"></td>
<td>经营活动产生的现金流量净额+投资活动产生的现金流量净额+筹资活动产生的现金流量净额</td>
</tr>
</tbody>
</table>
<!--endprint-->
</div>
</div>
</div>
<!--验证表单元素validate end-->
<div <#if check==0>class="am-tab-panel am-fade am-in am-active am-scrollable-horizontal" <#else> class="am-tab-panel am-fade am-in am-scrollable-horizontal"</#if> id="tab4">
<#if (project.status==10 || project.status==15) && project.approveStatusSettle == 1>
<div class="approve-topass"></div>
</#if>
<#if (project.status==10 || project.status==15) && project.approveStatusSettle == 2>
<div class="approve-passed"></div>
</#if>
<#if (project.status==10 || project.status==15) && project.approveStatusSettle == 3>
<div class="approve-nopass"></div>
</#if>
<input name="id" id="id" type="hidden" value="${project.id}" />
<div class="am-u-sm-10">
<div class="am-form am-form-inline">
<div class="am-form-group am-form-icon">
<input type="text" id="time" name="time" autocomplete="off" readonly value="${time!}">
</div>
</div>
</div>
<br/>
<br/>
<div class="am-u-sm-12 am-u-md-12" style="padding:0 1.6rem 1.6rem 1rem;margin:0;">
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/settleExport?id=${project.id!}&time=${time!}'">
<span class="am-icon-archive"></span> 导出
</button>
<button type="button" class="am-btn am-btn-default">
<span class="am-icon-archive"></span> 打印
</button>
</div>
</div>
</div>
<span class="am-text-lg">收入</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>上月结算总额(元)</td>
<td>本月结算金额(元)</td>
<td>结算总额(元)</td>
</tr>
<tr>
<td>收入</td>
<td>设备类</td>
<#-- <td><input name="incomeDeviceEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateIncomeDevice,'0.00')}" required readonly title="设备类概算总额"></td>-->
<td><input name="incomeDeviceBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetIncomeDevice,'0.00')}" required readonly title="设备类预算总额"></td>
<td><input name="incomeDeviceFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.incomeDeviceTaxExclude,'0.00')}" required readonly title="设备类上月结算总额"></td>
<td><input type="text" class="number" name="incomeDevice" value="${Utils.format(monthBean.incomeDevice,'0.00')}" readonly required title="本月结算金额"></td>
<td><input type="text" class="number" name="incomeDeviceSettleTotal" value="${Utils.format(currentBean.incomeDeviceTaxExclude,'0.00')}" readonly title="设备类结算总额"></td>
</tr>
<tr>
<td>收入</td>
<td>工程类</td>
<#-- <td><input name="incomeEngineerEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateIncomeEngineer,'0.00')}" required readonly title="工程类概算总额"></td>-->
<td><input name="incomeEngineerBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetIncomeEngineer,'0.00')}" required readonly title="工程类预算总额"></td>
<td><input name="incomeEngineerFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.incomeEngineerTaxExclude,'0.00')}" required readonly title="工程类上月结算总额"></td>
<td><input type="text" class="number" name="incomeEngineer" value="${Utils.format(monthBean.incomeEngineer,'0.00')}" readonly required title="工程类本月结算金额"></td>
<td><input type="text" class="number" name="incomeEngineerSettleTotal" value="${Utils.format(currentBean.incomeEngineerTaxExclude,'0.00')}" readonly title="工程类结算总额"></td>
</tr>
<tr>
<td>收入</td>
<td>服务类</td>
<#-- <td><input name="incomeServiceEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateIncomeService,'0.00')}" required readonly title="服务类概算总额"></td>-->
<td><input name="incomeServiceBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetIncomeService,'0.00')}" required readonly title="服务类预算总额"></td>
<td><input name="incomeServiceFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.incomeServiceTaxExclude,'0.00')}" required readonly title="服务类上月结算总额"></td>
<td><input type="text" class="number" name="incomeService" value="${Utils.format(monthBean.incomeService,'0.00')}" readonly required title="服务类本月结算金额"></td>
<td><input type="text" class="number" name="incomeServiceSettleTotal" value="${Utils.format(currentBean.incomeServiceTaxExclude,'0.00')}" readonly title="服务类结算总额"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<#-- <td><input name="incomeEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.getEstimateIncomeTotal(),'0.00')}" readonly required title="此列累计"></td>-->
<td><input name="incomeBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.getBudgetIncomeTotal(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="incomeFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.getIncomeTotalTaxExclude(),'0.00')}" required readonly title="此列累计"></td>
<td><input type="text" class="number" name="incomeTotal" value="${Utils.format(monthBean.getIncomeTotal(),'0.00')}" readonly title="此列累计"></td>
<td><input type="text" class="number" name="incomeSettleTotal" value="${Utils.format(currentBean.getIncomeTotalTaxExclude(),'0.00')}" readonly title="此列累计"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">成本</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用</td>
<td>费用项目</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>上月结算总额(元)</td>
<td>本月结算金额(元)</td>
<td>结算总额(元)</td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>设备</td>
<#-- <td><input name="costPurchaseDeviceEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostPurchaseDevice,'0.00')}" readonly required title="购买设备概算总额"></td>-->
<td><input name="costPurchaseDeviceBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostPurchaseDevice,'0.00')}" readonly required title="购买设备预算总额"></td>
<td><input name="costPurchaseDeviceFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costPurchaseDeviceTaxExclude,'0.00')}" required readonly title="购买设备上月结算总额"></td>
<td><input type="text" class="number" name="costPurchaseDevice" value="${Utils.format(monthBean.costPurchaseDevice,'0.00')}" readonly required title="购买设备本月结算总额"></td>
<td><input type="text" class="number" name="costPurchaseDeviceSettleTotal" value="${Utils.format(currentBean.costPurchaseDeviceTaxExclude,'0.00')}" readonly title="购买设备结算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>施工</td>
<#-- <td><input name="costPurchaseBuildEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostPurchaseBuild,'0.00')}" readonly required title="施工采购成本概算总额"></td>-->
<td><input name="costPurchaseBuildBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostPurchaseBuild,'0.00')}" readonly required title="施工采购成本预算总额"></td>
<td><input name="costPurchaseBuildFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costPurchaseBuildTaxExclude,'0.00')}" required readonly title="施工采购成本上月结算总额"></td>
<td><input type="text" class="number" name="costPurchaseBuild" value="${Utils.format(monthBean.costPurchaseBuild,'0.00')}" readonly required title="施工采购成本本月结算金额"></td>
<td><input type="text" class="number" name="costPurchaseBuildSettleTotal" value="${Utils.format(currentBean.costPurchaseBuildTaxExclude,'0.00')}" readonly title="施工采购成本结算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>服务</td>
<#-- <td><input name="costPurchaseServiceEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostPurchaseService,'0.00')}" readonly required title="服务采购成本概算总额"></td>-->
<td><input name="costPurchaseServiceBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostPurchaseService,'0.00')}" readonly required title="服务采购成本预算总额"></td>
<td><input name="costPurchaseServiceFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costPurchaseServiceTaxExclude,'0.00')}" required readonly title="服务采购成本上月结算总额"></td>
<td><input type="text" class="number" name="costPurchaseService" value="${Utils.format(monthBean.costPurchaseService,'0.00')}" readonly required title="服务采购成本本月结算金额"></td>
<td><input type="text" class="number" name="costPurchaseServiceSettleTotal" value="${Utils.format(currentBean.costPurchaseServiceTaxExclude,'0.00')}" readonly title="服务采购成本结算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>其他</td>
<#-- <td><input name="costPurchaseOtherEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostPurchaseOther,'0.00')}" readonly required title="其他采购成本概算总额"></td>-->
<td><input name="costPurchaseOtherBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostPurchaseOther,'0.00')}" readonly required title="其他采购成本预算总额"></td>
<td><input name="costPurchaseOtherFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costPurchaseOtherTaxExclude,'0.00')}" required readonly title="其他采购成本上月结算总额"></td>
<td><input type="text" class="number" name="costPurchaseOther" value="${Utils.format(monthBean.costPurchaseOther,'0.00')}" readonly required title="其他采购成本本月结算金额"></td>
<td><input type="text" class="number" name="costPurchaseOtherSettleTotal" value="${Utils.format(currentBean.costPurchaseOtherTaxExclude,'0.00')}" readonly title="其他采购成本结算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>项目管理成本</td>
<td>项目管理成本</td>
<#-- <td><input name="costProjectManageEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostProjectManage,'0.00')}" readonly required title="项目管理成本概算总额"></td>-->
<td><input name="costProjectManageBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostProjectManage,'0.00')}" readonly required title="项目管理成本预算总额"></td>
<td><input name="costProjectManageFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costProjectManageTaxExclude,'0.00')}" required readonly title="项目管理成本上月结算总额"></td>
<td><input type="text" class="number" name="costProjectManage" value="${Utils.format(monthBean.costProjectManage,'0.00')}" readonly required title="项目管理成本本月结算金额"></td>
<td><input type="text" class="number" name="costProjectManageSettleTotal" value="${Utils.format(currentBean.costProjectManageTaxExclude,'0.00')}" readonly title="项目管理成本结算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>其他</td>
<td style="width: 200px" class="huanhang">${project.otherName!}</td>
<#-- <td><input name="costOtherEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostOther,'0.00')}" readonly required title="其他成本概算总额"></td>-->
<td><input name="costOtherBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostOther,'0.00')}" readonly required title="其他成本预算总额"></td>
<td><input name="costOtherFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costOtherOtherTaxExclude,'0.00')}" required readonly title="其他成本上月结算总额"></td>
<td><input type="text" class="number" name="costOther" value="${Utils.format(monthBean.costOther,'0.00')}" required readonly title="其他成本本月结算金额"></td>
<td><input type="text" class="number" name="costOtherSettleTotal" value="${Utils.format(currentBean.costOtherOtherTaxExclude,'0.00')}" readonly title="其他成本结算总额"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<td></td>
<#-- <td><input name="costEstimateTotal" value="${Utils.format(monthBean.getEstimateCostTotal(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>-->
<td><input name="costBudgetTotal" value="${Utils.format(monthBean.getBudgetCostTotal(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>
<td><input name="costFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.getCostTotalTaxExclude(),'0.00')}" required readonly title="此列累计"></td>
<td><input type="text" class="number" name="costTotal" value="${Utils.format(monthBean.getCostTotal(),'0.00')}" readonly title="此列累计"></td>
<td><input type="text" class="number" name="costSettleTotal" value="${Utils.format(currentBean.getCostTotalTaxExclude(),'0.00')}" readonly title="此列累计"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">管理</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用项目</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>上月结算总额(元)</td>
<td>本月结算金额(元)</td>
<td>结算总额(元)</td>
</tr>
<tr>
<td>财务费用</td>
<td>资金占用成本</td>
<#-- <td><input name="costExpropriationEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostExpropriation,'0.00')}" required readonly title="资金占用成本概算总额"></td>-->
<td><input name="costExpropriationBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostExpropriation,'0.00')}" required readonly title="资金占用成本预算总额"></td>
<td><input name="costExpropriationFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costExpropriationTaxExclude,'0.00')}" required readonly title="资金占用成本上月结算总额"></td>
<td><input type="text" class="number" name="costExpropriation" value="${Utils.format(monthBean.costExpropriation,'0.00')}" readonly required title="资金占用成本本月结算金额"></td>
<td><input type="text" class="number" name="costExpropriationSettleTotal" value="${Utils.format(currentBean.costExpropriationTaxExclude,'0.00')}" readonly title="资金占用成本结算总额"></td>
</tr>
<tr>
<td>公司管理费用</td>
<td></td>
<#-- <td><input name="costCompanyManageEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateCostCompanyManage,'0.00')}" required readonly title="公司管理费用概算总额"></td>-->
<td><input name="costCompanyManageBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetCostCompanyManage,'0.00')}" required readonly title="公司管理费用预算总额"></td>
<td><input name="costCompanyManageFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costCompanyManageTaxExclude,'0.00')}" required readonly title="公司管理费用上月结算总额"></td>
<td><input type="text" class="number" name="costCompanyManage" value="${Utils.format(monthBean.costCompanyManage,'0.00')}" readonly required title="公司管理费用本月结算金额"></td>
<td><input type="text" class="number" name="costCompanyManageSettleTotal" value="${Utils.format(currentBean.costCompanyManageTaxExclude,'0.00')}" readonly title="公司管理费用结算总额"></td>
</tr>
<tr>
<td>所得税费用</td>
<td></td>
<#-- <td>/</td>-->
<td>/</td>
<td><input name="costIncomeTaxFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.costIncomeTax,'0.00')}" required readonly title="公司管理费用上月结算总额"></td>
<td><input type="text" class="number" name="costIncomeTax" value="${Utils.format(monthBean.costIncomeTax,'0.00')}" readonly required title="公司管理费用本月结算金额"></td>
<td><input type="text" class="number" name="costIncomeTaxSettleTotal" value="${Utils.format(currentBean.costIncomeTax,'0.00')}" readonly title="公司管理费用结算总额"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<#-- <td><input name="costManageEstimateTotal" value="${Utils.format(monthBean.getEstimateCostManageTotal(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>-->
<td><input name="costManageBudgetTotal" value="${Utils.format(monthBean.getBudgetCostManageTotal(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>
<td><input name="costManageFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.getCostManageTotal(),'0.00')}" required readonly title="此列累计"></td>
<td><input type="text" class="number" name="costManageTotal" value="${Utils.format(monthBean.getCostManageTotal(),'0.00')}" readonly title="此列累计"></td>
<td><input type="text" class="number" name="costManageSettleTotal" value="${Utils.format(currentBean.getCostManageTotal(),'0.00')}" readonly title="此列累计"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">利润率计算</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>上月结算总额(元)</td>
<td>本月结算金额(元)</td>
<td>结算总额(元)</td>
<td>利润率(%</td>
</tr>
<tr>
<td>项目毛利</td>
<#-- <td><input name="grossProfitEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateGrossProfit,'0.00')}" required readonly title="项目毛利概算总额"></td>-->
<td><input name="grossProfitBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetGrossProfit,'0.00')}" required readonly title="项目毛利预算总额"></td>
<td><input name="grossProfitFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.grossProfit,'0.00')}" required readonly title="项目毛利上月结算总额"></td>
<td><input type="text" class="number" name="grossProfit" value="${Utils.format(monthBean.grossProfit,'0.00')}" readonly required title="项目毛利本月结算金额"></td>
<td><input type="text" class="number" name="grossProfitSettleTotal" value="${Utils.format(currentBean.grossProfit,'0.00')}" readonly title="项目毛利结算总额"></td>
<td><input name="grossProfitProfitMargin" type="text" class="number" value="${Utils.format(currentBean.getGrossProfitProfitMargin(),'0.00')}" readonly title="项目毛利利润率"></td>
</tr>
<tr>
<td>项目贡献利润</td>
<#-- <td><input name="contributionProfitEstimateTotal" type="text" class="number" value="${Utils.format(monthBean.estimateContributionProfit,'0.00')}" required readonly title="项目贡献利润概算总额"></td>-->
<td><input name="contributionProfitBudgetTotal" type="text" class="number" value="${Utils.format(monthBean.budgetContributionProfit,'0.00')}" required readonly title="项目贡献利润预算总额"></td>
<td><input name="contributionProfitFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.contributionProfit,'0.00')}" required readonly title="项目贡献利润上月结算总额"></td>
<td><input type="text" class="number" name="contributionProfit" value="${Utils.format(monthBean.contributionProfit,'0.00')}" required readonly title="项目贡献利润本月结算金额"></td>
<td><input type="text" class="number" name="contributionProfitSettleTotal" value="${Utils.format(currentBean.contributionProfit,'0.00')}" readonly title="项目贡献利润结算总额"></td>
<td><input name="contributionProfitProfitMargin" type="text" class="number" value="${Utils.format(currentBean.getContributionProfitProfitMargin(),'0.00')}" readonly title="项目贡献利润利润率"></td>
</tr>
<tr>
<td>项目净利润</td>
<#-- <td>/</td>-->
<td>/<#--<input name="netProfitBudgetTotal" type="text" class="number" value="${Utils.format(budgetBean.getProjectContributionProfit(),'0.00')}" required readonly title="项目净利润预算总额">--></td>
<td><input name="netProfitFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.netProfit,'0.00')}" required readonly title="项目净利润上月结算总额"></td>
<td><input type="text" class="number" name="netProfit" value="${Utils.format(monthBean.netProfit,'0.00')}" required readonly title="项目净利润本月结算金额"></td>
<td><input type="text" class="number" name="netProfitSettleTotal" value="${Utils.format(currentBean.netProfit,'0.00')}" readonly title="项目净利润结算总额"></td>
<td><input name="netProfitProfitMargin" type="text" class="number" value="${Utils.format(currentBean.getNetProfitProfitMargin(),'0.00')}" readonly title="项目净利润利润率"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">结算现金流量表</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>预算总额(元)</td>
<td>上月结算总额(元)</td>
<td>本月结算金额(元)</td>
<td>结算总额(元)</td>
</tr>
<tr>
<td>销售商品、提供劳务收到的现金</td>
<td><input name="saleIncomeCashBudget" type="text" class="number" value="${Utils.format(monthBean.budgetSaleIncomeCash,'0.00')}" readonly required title="预算总额"></td>
<td><input name="saleIncomeCashFormerSettle" type="text" class="number" value="${Utils.format(formerBean.saleIncomeCash,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="saleIncomeCash" value="${Utils.format(monthBean.saleIncomeCash,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="saleIncomeCashSettle" type="text" class="number" value="${Utils.format(currentBean.saleIncomeCash,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>收到的税费返还</td>
<td>/</td>
<td><input name="taxReturnFormerSettle" type="text" class="number" value="${Utils.format(formerBean.taxReturn,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="taxReturn" value="${Utils.format(monthBean.taxReturn,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="taxReturnSettle" type="text" class="number" value="${Utils.format(currentBean.taxReturn,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>收到其他与经营活动有关的现金</td>
<td><input name="earnestMoneyIncomeBudget" type="text" class="number" value="${Utils.format(monthBean.budgetEarnestMoneyIncome,'0.00')}" readonly required title="预算总额"></td>
<td><input name="earnestMoneyIncomeFormerSettle" type="text" class="number" value="${Utils.format(formerBean.earnestMoneyIncome,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="earnestMoneyIncome" value="${Utils.format(monthBean.earnestMoneyIncome,'0.00')}" readonly required title="本月结算金额"></td>
<td><input name="earnestMoneyIncomeSettle" type="text" class="number" value="${Utils.format(currentBean.earnestMoneyIncome,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>购买商品、接受劳务支付的现金</td>
<td><input name="purchaseCostBudget" type="text" class="number" value="${Utils.format(monthBean.budgetPurchaseCost,'0.00')}" readonly required title="预算总额"></td>
<td><input name="purchaseCostFormerSettle" type="text" class="number" value="${Utils.format(formerBean.purchaseCost,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="purchaseCost" value="${Utils.format(monthBean.purchaseCost,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="purchaseCostSettle" type="text" class="number" value="${Utils.format(currentBean.purchaseCost,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>支付的各项税费</td>
<td>/</td>
<td><input name="taxCostFormerSettle" type="text" class="number" value="${Utils.format(formerBean.taxCost,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="taxCost" value="${Utils.format(monthBean.taxCost,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="taxCostSettle" type="text" class="number" value="${Utils.format(currentBean.taxCost,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>支付其他与经营活动有关的现金</td>
<td><input name="earnestMoneyCostBudget" type="text" class="number" value="${Utils.format(monthBean.budgetEarnestMoneyCost,'0.00')}" readonly required title="预算总额"></td>
<td><input name="earnestMoneyCostFormerSettle" type="text" class="number" value="${Utils.format(formerBean.earnestMoneyCost,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="earnestMoneyCost" value="${Utils.format(monthBean.earnestMoneyCost,'0.00')}" readonly required title="本月结算金额"></td>
<td><input name="earnestMoneyCostSettle" type="text" class="number" value="${Utils.format(currentBean.earnestMoneyCost,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>经营活动产生的现金流量净额</td>
<td><input name="netCashFlowBudget" type="text" class="number" value="${Utils.format(monthBean.budgetNetCashFlow,'0.00')}" readonly required title="预算总额"></td>
<td><input name="netCashFlowFormerSettle" type="text" class="number" value="${Utils.format(formerBean.netCashFlow,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="netCashFlow" value="${Utils.format(monthBean.netCashFlow,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="netCashFlowSettle" type="text" class="number" value="${Utils.format(currentBean.netCashFlow,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>投资活动现金流入</td>
<td>/</td>
<td><input name="cashInflowFromInvestingActivitiesFormerSettle" type="text" class="number" value="${Utils.format(formerBean.cashInflowFromInvestingActivities,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="cashInflowFromInvestingActivities" value="${Utils.format(monthBean.cashInflowFromInvestingActivities,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="cashInflowFromInvestingActivitiesSettle" value="${Utils.format(currentBean.cashInflowFromInvestingActivities,'0.00')}" type="text" class="number" readonly title="结算总额"></td>
</tr>
<tr>
<td>投资活动现金流出</td>
<td>/</td>
<td><input name="cashOutflowFromInvestingActivitiesFormerSettle" type="text" class="number" value="${Utils.format(formerBean.cashOutflowFromInvestingActivities,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="cashOutflowFromInvestingActivities" value="${Utils.format(monthBean.cashOutflowFromInvestingActivities,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="cashOutflowFromInvestingActivitiesSettle" value="${Utils.format(currentBean.cashOutflowFromInvestingActivities,'0.00')}" type="text" class="number" readonly title="结算总额"></td>
</tr>
<tr>
<td>投资活动产生的现金流量净额</td>
<td>/</td>
<td><input name="netCashFromInvestingActivitiesFormerSettle" type="text" class="number" value="${Utils.format(formerBean.netCashFromInvestingActivities,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="netCashFromInvestingActivities" value="${Utils.format(monthBean.netCashFromInvestingActivities,'0.00')}" readonly required title="本月结算金额"></td>
<td><input name="netCashFromInvestingActivitiesSettle" type="text" class="number" value="${Utils.format(currentBean.netCashFromInvestingActivities,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>融资资金流入</td>
<td><input name="financingCapitalInflowBudget" type="text" class="number" value="${Utils.format(monthBean.budgetFinancingCapitalInflow,'0.00')}" readonly required title="预算总额"></td>
<td><input name="financingCapitalInflowFormerSettle" type="text" class="number" value="${Utils.format(formerBean.financingCapitalInflow,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="financingCapitalInflow" value="${Utils.format(monthBean.financingCapitalInflow,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="financingCapitalInflowSettle" type="text" class="number" value="${Utils.format(currentBean.financingCapitalInflow,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>还款资金流出</td>
<td><input name="financingCapitalOutflowBudget" type="text" class="number" value="${Utils.format(monthBean.budgetFinancingCapitalOutflow,'0.00')}" readonly required title="预算总额"></td>
<td><input name="financingCapitalOutflowFormerSettle" type="text" class="number" value="${Utils.format(formerBean.financingCapitalOutflow,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="financingCapitalOutflow" value="${Utils.format(monthBean.financingCapitalOutflow,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="financingCapitalOutflowSettle" type="text" class="number" value="${Utils.format(currentBean.financingCapitalOutflow,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>筹资活动产生的现金流量净额</td>
<td><input name="financingCapitalCashflowBudget" type="text" class="number" value="${Utils.format(monthBean.budgetFinancingCapitalCashflow,'0.00')}" readonly required title="预算总额"></td>
<td><input name="financingCapitalCashflowFormerSettle" type="text" class="number" value="${Utils.format(formerBean.financingCapitalCashflow,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="financingCapitalCashflow" value="${Utils.format(monthBean.financingCapitalCashflow,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="financingCapitalCashflowSettle" type="text" class="number" value="${Utils.format(currentBean.financingCapitalCashflow,'0.00')}" readonly title="结算总额"></td>
</tr>
<tr>
<td>货币资金净增加额</td>
<td><input name="netIncreaseMonetaryFundsBudget" type="text" class="number" value="${Utils.format(monthBean.budgetNetIncreaseMonetaryFunds,'0.00')}" readonly required title="预算总额"></td>
<td><input name="netIncreaseMonetaryFundsFormerSettle" type="text" class="number" value="${Utils.format(formerBean.netIncreaseMonetaryFunds,'0.00')}" required readonly title="上月结算总额"></td>
<td><input type="text" class="number" name="netIncreaseMonetaryFunds" value="${Utils.format(monthBean.netIncreaseMonetaryFunds,'0.00')}" required readonly title="本月结算金额"></td>
<td><input name="netIncreaseMonetaryFundsSettle" type="text" class="number" value="${Utils.format(currentBean.netIncreaseMonetaryFunds,'0.00')}" readonly title="结算总额"></td>
</tr>
<#--<tr>
<td>合计</td>
<td><input name="cashFlowBudgetTotal" type="text" class="number" value="${Utils.format(cashFlowBean.saleIncomeCash + cashFlowBean.earnestMoneyIncome + cashFlowBean.purchaseCost + cashFlowBean.earnestMoneyCost + cashFlowBean.getNetCashFlow() +
cashFlowBean.financingCapitalInflow + cashFlowBean.financingCapitalOutflow + cashFlowBean.getFinancingCapitalCashflow() + cashFlowBean.getNetIncreaseMonetaryFunds(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="cashFlowFormerSettleTotal" type="text" class="number" value="${Utils.format(formerBean.getCashFlowTotal(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="cashFlowTotal" type="text" class="number" value="${Utils.format(monthBean.getCashFlowTotal(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="cashFlowSettleTotal" type="text" class="number" value="${Utils.format(currentBean.getCashFlowTotal(),'0.00')}" readonly required title="此列累计"></td>
</tr>-->
</tbody>
</table>
</div>
<!--验证表单元素validate end-->
<div class="am-tab-panel am-fade am-in am-scrollable-horizontal" id="tab5">
<#if project.status ==15 && project.approveStatusFinal == 1>
<div class="approve-topass"></div>
</#if>
<#if project.status ==15 && project.approveStatusFinal == 2>
<div class="approve-passed"></div>
</#if>
<#if project.status ==15 && project.approveStatusFinal == 3>
<div class="approve-nopass"></div>
</#if>
<input name="id" id="id" type="hidden" value="${project.id}" />
<div class="am-u-sm-12 am-u-md-12" style="padding:0 1.6rem 1.6rem 1rem;margin:0;">
<div class="am-btn-toolbar" style="padding-left:.5rem;">
<div class="am-btn-group am-btn-group-xs">
<button type="button" class="am-btn am-btn-default" onclick="location.href='${base}/project/finalExport?id=${project.id!}'">
<span class="am-icon-archive"></span> 导出
</button>
</div>
</div>
</div>
<span class="am-text-lg">收入</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>结算总额(元)</td>
<td>决算总额(元)</td>
</tr>
<tr>
<td>收入</td>
<td>设备类</td>
<#-- <td><input name="incomeDeviceTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.incomeDeviceTaxExclude,'0.00')}" required readonly title="设备类概算总额"></td>-->
<td><input name="incomeDeviceTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0.00')}" required readonly title="设备类预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.incomeDeviceTaxExclude,'0.00')}" required readonly title="设备类结算总额"></td>
<td><input name="incomeDeviceFinalTotal" type="text" class="number" value="${Utils.format(finalBean.incomeDeviceFinalTotal,'0.00')}" required readonly title="设备类决算总额"></td>
</tr>
<tr>
<td>收入</td>
<td>工程类</td>
<#-- <td><input name="incomeEngineerTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.incomeEngineerTaxExclude,'0.00')}" required readonly title="工程类概算总额"></td>-->
<td><input name="incomeEngineerTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0.00')}" required readonly title="工程类预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.incomeEngineerTaxExclude,'0.00')}" required readonly title="工程类结算总额"></td>
<td><input name="incomeEngineerFinalTotal" type="text" class="number" value="${Utils.format(finalBean.incomeEngineerFinalTotal,'0.00')}" required readonly title="工程类决算总额"></td>
</tr>
<tr>
<td>收入</td>
<td>服务类</td>
<#-- <td><input name="incomeServiceTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.incomeServiceTaxExclude,'0.00')}" required readonly title="服务类概算总额"></td>-->
<td><input name="incomeServiceTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0.00')}" required readonly title="服务类预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.incomeServiceTaxExclude,'0.00')}" required readonly title="服务类结算总额"></td>
<td><input name="incomeServiceFinalTotal" type="text" class="number" value="${Utils.format(finalBean.incomeServiceFinalTotal,'0.00')}" required readonly title="服务类决算总额"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<#-- <td><input name="estimateIncomeTotalTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.getIncomeTotalTaxExclude(),'0.00')}" readonly required title="此列累计"></td>-->
<td><input name="budgetIncomeTotalTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.getIncomeTotalTaxExclude(),'0.00')}" readonly required title="此列累计"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.getIncomeTotalTaxExclude(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="incomeFinalTotal" type="text" class="number" value="${Utils.format(finalBean.getIncomeTotal(),'0.00')}" readonly required title="此列累计"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">成本</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用</td>
<td>费用项目</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>结算总额(元)</td>
<td>决算总额(元)</td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>设备</td>
<#-- <td><input name="costPurchaseDeviceTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costPurchaseDeviceTaxExclude,'0.00')}" readonly required title="购买设备概算总额"></td>-->
<td><input name="costPurchaseDeviceTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0.00')}" readonly required title="购买设备预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.costPurchaseDeviceTaxExclude,'0.00')}" readonly required title="购买设备结算总额"></td>
<td><input name="costPurchaseDeviceFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costPurchaseDeviceFinalTotal,'0.00')}" readonly required title="购买设备决算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>施工</td>
<#-- <td><input name="costPurchaseBuildTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costPurchaseBuildTaxExclude,'0.00')}" readonly required title="施工采购成本概算总额"></td>-->
<td><input name="costPurchaseBuildTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0.00')}" readonly required title="施工采购成本预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.costPurchaseBuildTaxExclude,'0.00')}" readonly required title="施工采购成本结算总额"></td>
<td><input name="costPurchaseBuildFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costPurchaseBuildFinalTotal,'0.00')}" required readonly title="施工采购成本决算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>服务</td>
<#-- <td><input name="costPurchaseServiceTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costPurchaseServiceTaxExclude,'0.00')}" readonly required title="服务采购成本概算总额"></td>-->
<td><input name="costPurchaseServiceTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0.00')}" readonly required title="服务采购成本预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.costPurchaseServiceTaxExclude,'0.00')}" readonly required title="服务采购成本结算总额"></td>
<td><input name="costPurchaseServiceFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costPurchaseServiceFinalTotal,'0.00')}" required readonly title="服务采购成本决算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>采购成本</td>
<td>其他</td>
<#-- <td><input name="costPurchaseOtherTaxInclude" type="text" class="number" value="${Utils.format(estimateBean.costPurchaseOtherTaxExclude,'0.00')}" readonly required title="其他采购成本概算总额"></td>-->
<td><input name="costPurchaseOtherTaxInclude" type="text" class="number" value="${Utils.format(budgetBean.costPurchaseOtherTaxExclude,'0.00')}" readonly required title="其他采购成本预算总额"></td>
<td><input name="costPurchaseOtherSettleTotal" value="${Utils.format(currentBean.costPurchaseOtherTaxExclude,'0.00')}" type="text" class="number" readonly required title="其他采购成本结算总额"></td>
<td><input name="costPurchaseOtherFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costPurchaseOtherFinalTotal,'0.00')}" required readonly title="其他采购成本决算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>项目管理成本</td>
<td>项目管理成本</td>
<#-- <td><input name="costProjectManageTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costProjectManageTaxExclude,'0.00')}" readonly required title="项目管理成本概算总额"></td>-->
<td><input name="costProjectManageTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0.00')}" readonly required title="项目管理成本预算总额"></td>
<td><input name="costProjectManageSettleTotal" value="${Utils.format(currentBean.costProjectManageTaxExclude,'0.00')}" type="text" class="number" readonly required title="项目管理成本结算总额"></td>
<td><input name="costProjectManageFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costProjectManageFinalTotal,'0.00')}" required readonly title="项目管理成本决算总额"></td>
</tr>
<tr>
<td>成本</td>
<td>其他</td>
<td style="width: 200px" class="huanhang">${project.otherName!}</td>
<#-- <td><input name="costOtherOtherTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costOtherOtherTaxExclude,'0.00')}" readonly required title="其他成本概算总额"></td>-->
<td><input name="costOtherOtherTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0.00')}" readonly required title="其他成本预算总额"></td>
<td><input name="costOtherSettleTotal" value="${Utils.format(currentBean.costOtherOtherTaxExclude,'0.00')}" type="text" class="number" readonly required title="其他成本结算总额"></td>
<td><input name="costOtherFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costOtherFinalTotal,'0.00')}" required readonly title="其他成本决算总额"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<td></td>
<#-- <td><input name="incomeTotalTaxExclude" value="${Utils.format(estimateBean.getCostTotalTaxExclude(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>-->
<td><input name="costTotalTaxExclude" value="${Utils.format(budgetBean.getCostTotalTaxExclude(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>
<td><input name="costSettleTotal" value="${Utils.format(currentBean.getCostTotalTaxExclude(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>
<td><input name="costFinalTotal" type="text" class="number" value="${Utils.format(finalBean.getCostTotal(),'0.00')}" readonly required title="此列累计"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">管理</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>费用项目</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>结算总额(元)</td>
<td>决算总额(元)</td>
</tr>
<tr>
<td>财务费用</td>
<td>资金占用成本</td>
<#-- <td><input name="costExpropriationTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costExpropriationTaxExclude,'0.00')}" required readonly title="资金占用成本概算总额"></td>-->
<td><input name="costExpropriationTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0.00')}" required readonly title="资金占用成本预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.costExpropriationTaxExclude,'0.00')}" required readonly title="资金占用成本结算总额"></td>
<td><input name="costExpropriationFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costExpropriationFinalTotal,'0.00')}" required readonly title="资金占用成本决算总额"></td>
</tr>
<tr>
<td>公司管理费用</td>
<td></td>
<#-- <td><input name="costCompanyManageTaxExclude" type="text" class="number" value="${Utils.format(estimateBean.costCompanyManageTaxExclude,'0.00')}" required readonly title="公司管理费用概算总额"></td>-->
<td><input name="costCompanyManageTaxExclude" type="text" class="number" value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0.00')}" required readonly title="公司管理费用预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.costCompanyManageTaxExclude,'0.00')}" required readonly title="公司管理费用结算总额"></td>
<td><input name="costCompanyManageFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costCompanyManageFinalTotal,'0.00')}" required readonly title="公司管理费用决算总额"></td>
</tr>
<tr>
<td>所得税费用</td>
<td></td>
<#-- <td>/</td>-->
<td>/</td>
<td><input name="costIncomeTaxSettleTotal" value="${Utils.format(currentBean.costIncomeTax,'0.00')}" type="text" class="number" required readonly title="所得税费用结算总额"></td>
<td><input name="costIncomeTaxFinalTotal" type="text" class="number" value="${Utils.format(finalBean.costIncomeTaxFinalTotal,'0.00')}" required readonly title="所得税费用决算总额"></td>
</tr>
<tr>
<td>合计</td>
<td></td>
<#-- <td><input name="manageEstimateTotal" value="${Utils.format(estimateBean.getCostManageExclude(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>-->
<td><input name="manageBudgetTotal" value="${Utils.format(budgetBean.getCostManageExclude(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>
<td><input name="manageSettleTotal" value="${Utils.format(currentBean.getCostManageTotal(),'0.00')}" type="text" class="number" readonly required title="此列累计"></td>
<td><input name="manageFinalTotal" type="text" class="number" value="${Utils.format(finalBean.getCostManageTotal(),'0.00')}" readonly required title="此列累计"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">利润率计算</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<#-- <td>概算总额(元)</td>-->
<td>预算总额(元)</td>
<td>结算总额(元)</td>
<td>决算总额(元)</td>
<td>利润率(%</td>
</tr>
<tr>
<td>项目毛利</td>
<#-- <td><input name="projectGrossProfit" type="text" class="number" value="${Utils.format(estimateBean.getProjectGrossProfit(),'0.00')}" readonly required title="项目毛利概算总额"></td>-->
<td><input name="projectGrossProfit" type="text" class="number" value="${Utils.format(budgetBean.getProjectGrossProfit(),'0.00')}" readonly required title="项目毛利预算总额"></td>
<td><input name="grossProfitSettleTotal" type="text" class="number" value="${Utils.format(finalBean.grossProfitSettleTotal,'0.00')}" readonly required title="项目毛利结算总额"></td>
<td><input name="grossProfitFinalTotal" type="text" class="number" value="${Utils.format(finalBean.grossProfitFinalTotal,'0.00')}" required readonly title="项目毛利决算总额"></td>
<td><input name="grossProfitProfitMargin" type="text" class="number" value="${Utils.format(finalBean.grossProfitProfitMargin,'0.00')}" required readonly title="项目毛利利润率"></td>
</tr>
<tr>
<td>项目贡献利润</td>
<#-- <td><input name="projectContributionProfit" type="text" class="number" value="${Utils.format(estimateBean.getProjectContributionProfit(),'0.00')}" readonly required title="项目贡献利润概算总额"></td>-->
<td><input name="projectContributionProfit" type="text" class="number" value="${Utils.format(budgetBean.getProjectContributionProfit(),'0.00')}" readonly required title="项目贡献利润预算总额"></td>
<td><input name="contributionMarginSettleTotal" type="text" class="number" value="${Utils.format(currentBean.contributionProfit,'0.00')}" readonly required title="项目贡献利润结算总额"></td>
<td><input name="contributionMarginFinalTotal" type="text" class="number" value="${Utils.format(finalBean.contributionMarginFinalTotal,'0.00')}" required readonly title="项目贡献利润决算总额"></td>
<td><input name="contributionMarginProfitMargin" type="text" class="number" value="${Utils.format(finalBean.contributionMarginProfitMargin,'0.00')}" required readonly title="项目贡献利润利润率"></td>
</tr>
<tr>
<td>项目净利润</td>
<#-- <td>/</td>-->
<td><#--<input name="netMarginBudgetTotal" type="text" class="number" value="${Utils.format(finalBean.netMarginBudgetTotal,'0.00')}" readonly required title="项目净利润预算总额">-->/</td>
<td><input name="netMarginSettleTotal" type="text" class="number" value="${Utils.format(currentBean.netProfit,'0.00')}" readonly required title="项目净利润结算总额"></td>
<td><input name="netMarginFinalTotal" type="text" class="number" value="${Utils.format(finalBean.netMarginFinalTotal,'0.00')}" required readonly title="项目净利润决算总额"></td>
<td><input name="netMarginProfitMargin" type="text" class="number" value="${Utils.format(finalBean.netMarginProfitMargin,'0.00')}" required readonly title="项目净利润利润率"></td>
</tr>
</tbody>
</table>
<span class="am-text-lg">决算现金流量表</span>
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr class="am-text-lg">
<td>类别</td>
<td>预算总额(元)</td>
<td>结算总额(元)</td>
<td>决算总额(元)</td>
</tr>
<tr>
<td>销售商品、提供劳务收到的现金</td>
<td><input name="budgetSaleIncomeCash" type="text" class="number" value="${Utils.format(cashFlowBean.saleIncomeCash,'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.saleIncomeCash,'0.00')}" readonly required title="结算总额"></td>
<td><input name="saleIncomeCash" type="text" class="number" value="${Utils.format(finalBean.saleIncomeCash,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>收到的税费返还</td>
<td>/</td>
<td><input type="text" class="number" value="${Utils.format(currentBean.taxReturn,'0.00')}" readonly required title="结算总额"></td>
<td><input name="taxReturn" type="text" class="number" value="${Utils.format(finalBean.taxReturn,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>收到其他与经营活动有关的现金</td>
<td><input name="budgetEarnestMoneyIncome" type="text" class="number" value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.earnestMoneyIncome,'0.00')}" readonly required title="结算总额"></td>
<td><input name="earnestMoneyIncome" type="text" class="number" value="${Utils.format(finalBean.earnestMoneyIncome,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>购买商品、接受劳务支付的现金</td>
<td><input name="budgetPurchaseCost" type="text" class="number" value="${Utils.format(cashFlowBean.purchaseCost,'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.purchaseCost,'0.00')}" readonly required title="结算总额"></td>
<td><input name="purchaseCost" type="text" class="number" value="${Utils.format(finalBean.purchaseCost,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>支付的各项税费</td>
<td>/</td>
<td><input type="text" class="number" value="${Utils.format(currentBean.taxCost,'0.00')}" readonly required title="结算总额"></td>
<td><input name="taxCost" type="text" class="number" value="${Utils.format(finalBean.taxCost,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>支付其他与经营活动有关的现金</td>
<td><input name="budgetEarnestMoneyCost" type="text" class="number" value="${Utils.format(cashFlowBean.earnestMoneyCost,'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.earnestMoneyCost,'0.00')}" readonly required title="结算总额"></td>
<td><input name="earnestMoneyCost" type="text" class="number" value="${Utils.format(finalBean.earnestMoneyCost,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>经营活动产生的现金流量净额</td>
<td><input name="budgetNetCashFlow" type="text" class="number" value="${Utils.format(cashFlowBean.getNetCashFlow(),'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.netCashFlow,'0.00')}" readonly required title="结算总额"></td>
<td><input name="netCashFlow" type="text" class="number" value="${Utils.format(finalBean.netCashFlow,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>投资活动现金流入</td>
<td>/</td>
<td><input type="text" class="number" value="${Utils.format(currentBean.cashInflowFromInvestingActivities,'0.00')}" readonly required title="结算总额"></td>
<td><input name="cashInflowFromInvestingActivities" value="${Utils.format(finalBean.cashInflowFromInvestingActivities,'0.00')}" type="text" class="number" readonly required title="决算总额"></td>
</tr>
<tr>
<td>投资活动现金流出</td>
<td>/</td>
<td><input type="text" class="number" value="${Utils.format(currentBean.cashOutflowFromInvestingActivities,'0.00')}" readonly required title="结算总额"></td>
<td><input name="cashOutflowFromInvestingActivities" type="text" class="number" value="${Utils.format(finalBean.cashOutflowFromInvestingActivities,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>投资活动产生的现金流量净额</td>
<td>/</td>
<td><input type="text" class="number" value="${Utils.format(currentBean.netCashFromInvestingActivities,'0.00')}" readonly required title="结算总额"></td>
<td><input name="netCashFromInvestingActivities" type="text" class="number" value="${Utils.format(finalBean.netCashFromInvestingActivities,'0.00')}" readonly required title="决算总额"></td>
</tr>
<tr>
<td>融资资金流入</td>
<td><input name="budgetFinancingCapitalInflow" type="text" class="number" value="${Utils.format(cashFlowBean.financingCapitalInflow,'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.financingCapitalInflow,'0.00')}" readonly required title="结算总额"></td>
<td><input name="financingCapitalInflow" type="text" class="number" value="${Utils.format(finalBean.financingCapitalInflow,'0.00')}" required readonly title="决算总额"></td>
</tr>
<tr>
<td>还款资金流出</td>
<td><input name="budgetFinancingCapitalOutflow" type="text" class="number" value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.financingCapitalOutflow,'0.00')}" readonly required title="结算总额"></td>
<td><input name="financingCapitalOutflow" type="text" class="number" value="${Utils.format(finalBean.financingCapitalOutflow,'0.00')}" required readonly title="决算总额"></td>
</tr>
<tr>
<td>筹资活动产生的现金流量净额</td>
<td><input name="budgetFinancingCapitalCashflow" type="text" class="number" value="${Utils.format(cashFlowBean.getFinancingCapitalCashflow(),'0.00')}" readonly required title="预算总额"></td>
<td><input type="text" class="number" value="${Utils.format(currentBean.financingCapitalCashflow,'0.00')}" readonly required title="结算总额"></td>
<td><input name="financingCapitalCashflow" type="text" class="number" value="${Utils.format(finalBean.financingCapitalCashflow,'0.00')}" required readonly title="决算总额"></td>
</tr>
<tr>
<td>货币资金净增加额</td>
<td><input name="budgetNetIncreaseMonetaryFunds" type="text" class="number" value="${Utils.format(cashFlowBean.getNetIncreaseMonetaryFunds(),'0.00')}" readonly required title="预算总额"></td>
<td><input name="type14SettleTotal" type="text" class="number" value="${Utils.format(currentBean.netIncreaseMonetaryFunds,'0.00')}" readonly required title="结算总额"></td>
<td><input name="netIncreaseMonetaryFunds" type="text" class="number" value="${Utils.format(finalBean.netIncreaseMonetaryFunds,'0.00')}" required readonly title="决算总额"></td>
</tr>
<#--<tr>
<td>合计</td>
<td><input name="cashFluxBudgetTotal" type="text" class="number" value="${Utils.format(cashFlowBean.getCashFluxTotal(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="cashFluxSettleTotal" type="text" class="number" value="${Utils.format(currentBean.getCashFlowTotal(),'0.00')}" readonly required title="此列累计"></td>
<td><input name="cashFluxFinalTotal" type="text" class="number" value="${Utils.format(finalBean.getCashFluxTotal(),'0.00')}" readonly required title="此列累计"></td>
</tr>-->
</tbody>
</table>
</div>
<!--验证表单元素validate end-->
<div class="am-tab-panel am-fade am-in" id="tab6">
<div class="main">
<#if taskRecords?exists >
<ul class="time-axis">
<#list taskRecords as node>
<li class="time-axis-item">
<div class="time-axis-date" style="margin-left: -96px"> ${node.createTime}
<span></span>
</div>
<div class="time-axis-title"> 【${node.procDefName}】&nbsp; ${node.roleName}-${node.assigneeName}:
<#if node.taskIndex!=2 && node.taskStatus==2>审核通过</#if>
<#if node.taskIndex!=2 && node.taskStatus==3>审核不通过</#if>
<#if node.canRollback>
<button type="button"
class="am-btn am-btn-default am-btn-xs am-text-secondary"
onclick="openRollbackToRecordModal('${node.id}', '${node.procDefName}-${node.taskName}')">
退回
</button>
</#if>
<#if node.taskStatus==4>
退回到【${node.rollbackDesc!}】
</#if>
</div>
<div class="time-axis-title">
${node.taskComment}
<#if node.fileUrl! !=""><a href="${node.fileUrl}" download target="_blank">下载会签单</a></#if>
</div>
</li>
</#list>
</ul>
<#else>
<div class="am-kai" align="center">
<h3>无记录!</h3>
</div>
</#if>
</div>
</div>
</div>
</div>
<#--收入明细表弹窗-->
<div class="am-modal am-modal-prompt" style="width: 1200px;max-height:600px;overflow-y:auto;"
tabindex="-1" id="my-prompt-income-detail">
<div class="am-modal-dialog">
<div class="am-modal-hd">销售收入明细表——${project.name}</div>
<div class="am-modal-bd">
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;"
id="incomeTable">
<tbody>
<tr>
<td>类别</td>
<td>名称</td>
<td>单位</td>
<td>数量</td>
<td>单价</td>
<td>税率(%</td>
<td>含税总金额(元)</td>
<td>不含税金额(元)</td>
<#--<td>操作</td>-->
</tr>
<#if incomeDetails??>
<#list incomeDetails as incomeDetail>
<tr>
<td>
<#--<select style="width: auto" readonly
class="am-modal-prompt-input am-modal-prompt-input-income">
<option value="1" <#if incomeDetail.type == 1>selected</#if>>设备类
</option>
<option value="2" <#if incomeDetail.type == 2>selected</#if>>工程类
</option>
<option value="3" <#if incomeDetail.type == 3>selected</#if>>服务类
</option>
</select>-->
<#if incomeDetail.type ==1 >
设备类
<#elseif incomeDetail.type ==2>
工程类
<#elseif incomeDetail.type ==3>
服务类
</#if>
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income"
value="${incomeDetail.name!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income"
value="${incomeDetail.unit!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-amount"
value="${incomeDetail.amount!0}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-price"
value="${Utils.format2(incomeDetail.price,'0.00')}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-tax-rate"
value="${Utils.format(incomeDetail.taxRate,'0.00')}"></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-tax-include"
value="${Utils.format(incomeDetail.totalTaxInclude,'0.00')}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-income input-changeable-total-tax-exclude"
value="${Utils.format(incomeDetail.totalTaxExclude,'0.00')}"
readonly></td>
<#--<td>
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete">
<span class="am-icon-minus"></span></button>
</td>-->
</tr>
</#list>
</#if>
</tbody>
</table>
<#--<button type="button" id="incomeAddBtn" class="am-btn am-btn-primary am-btn-xs am-round">
<span class="am-icon-plus"></span></button>-->
</div>
<div class="am-modal-footer">
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
<#--<span class="am-modal-btn" data-am-modal-confirm>保存</span>-->
</div>
</div>
</div>
<#--采购成本明细弹窗-->
<div class="am-modal am-modal-prompt" style="width: 1200px;max-height:600px;overflow-y:auto;"
tabindex="-1" id="my-prompt-cost-detail">
<div class="am-modal-dialog">
<div class="am-modal-hd">采购成本明细表——${project.name}</div>
<div class="am-modal-bd">
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;"
id="costTable">
<tbody>
<tr>
<td>大类</td>
<td>类别</td>
<td>名称</td>
<td>单位</td>
<td>数量</td>
<td>单价</td>
<td>税率(%</td>
<td>含税总金额(元)</td>
<td>不含税金额(元)</td>
<#--<td>操作</td>-->
</tr>
<#if costDetails??>
<#list costDetails as costDetail>
<tr>
<td>
<#--<select style="width: auto" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost am-modal-prompt-input-cost-type">
<option value="1" <#if costDetail.type == 1>selected</#if>>设备
</option>
<option value="2" <#if costDetail.type == 2>selected</#if>>施工
</option>
<option value="3" <#if costDetail.type == 3>selected</#if>>服务
</option>
<option value="4" <#if costDetail.type == 4>selected</#if>>其他
</option>
</select>-->
<#if costDetail.type ==1 >
设备
<#elseif costDetail.type ==2>
施工
<#elseif costDetail.type ==3>
服务
<#elseif costDetail.type ==4>
其他
</#if>
</td>
<td>
<#list procurementTypes as procurementType>
<#if costDetail.category == procurementType.id>${procurementType.name}</#if>
</#list>
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost"
value="${costDetail.name!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost"
value="${costDetail.unit!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-amount"
value="${costDetail.amount!0}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-price"
value="${Utils.format2(costDetail.price,'0.00')}"></td>
<td><input type="text" min="0.00" max="99.99" step="0.01" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-tax-rate"
value="${Utils.format(costDetail.taxRate,'0.00')}"></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-tax-include"
value="${Utils.format(costDetail.totalTaxInclude,'0.00')}" readonly>
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost input-changeable-total-tax-exclude"
value="${Utils.format(costDetail.totalTaxExclude,'0.00')}" readonly>
</td>
<td>
<#-- <button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete">
<span class="am-icon-minus"></span></button>-->
</td>
</tr>
</#list>
</#if>
</tbody>
</table>
<#--<button type="button" id="costAddBtn" class="am-btn am-btn-primary am-btn-xs am-round"><span
class="am-icon-plus"></span></button>-->
</div>
<div class="am-modal-footer">
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
<#--<span class="am-modal-btn" data-am-modal-confirm>保存</span>-->
</div>
</div>
</div>
<#--项目管理明细表弹窗-->
<div class="am-modal am-modal-prompt" style="width: 1200px;max-height:600px;overflow-y:auto;"
tabindex="-1" id="my-prompt-cost-project-manage-detail">
<div class="am-modal-dialog">
<div class="am-modal-hd">项目管理成本明细表——${project.name}</div>
<div class="am-modal-bd">
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;"
id="costProjectManageTable">
<tbody>
<tr>
<td>财务费用类别</td>
<td>业务项目</td>
<td>项目明细</td>
<td>单位</td>
<td>数量</td>
<td>单价</td>
<td>总金额(元)</td>
<td>预估计算方法</td>
<td>预估依据</td>
<td>备注</td>
<#--<td>操作</td>-->
</tr>
<#if costProjectManageDetails??>
<#list costProjectManageDetails as costProjectManageDetail>
<tr>
<td>
<#--<select style="width: auto"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
<#if costProjectManageDetail.deletable==0>readonly</#if>>
<option value="1"
<#if costProjectManageDetail.type == 1>selected</#if>>人工成本
</option>
<option value="2"
<#if costProjectManageDetail.type == 2>selected</#if>>业务费用
</option>
<option value="3"
<#if costProjectManageDetail.type == 3>selected</#if>>其他费用
</option>
</select>-->
<#if costProjectManageDetail.type ==1 >
人工成本
<#elseif costProjectManageDetail.type ==2>
业务费用
<#elseif costProjectManageDetail.type ==3>
其他费用
</#if>
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.name!}" readonly
<#--<#if costProjectManageDetail.deletable==0>readonly</#if>-->></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.detail!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.unit!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-amount-project-manage"
value="${costProjectManageDetail.amount!0}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-price-project-manage"
value="${Utils.format2(costProjectManageDetail.price,'0.00')}"></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage input-changeable-total-project-manage"
value="${Utils.format(costProjectManageDetail.total,'0.00')}"
readonly></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.predictMethod!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.predictWhy!}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.remark!}"></td>
<#--<td><#if costProjectManageDetail.deletable==1>
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete">
<span class="am-icon-minus"></span></button></#if>
<input type="hidden"
class="am-modal-prompt-input am-modal-prompt-input-cost-project-manage"
value="${costProjectManageDetail.deletable!}">
</td>-->
</tr>
</#list>
</#if>
</tbody>
</table>
<#--<button type="button" id="costProjectManageAddBtn"
class="am-btn am-btn-primary am-btn-xs am-round"><span class="am-icon-plus"></span>
</button>-->
</div>
<div class="am-modal-footer">
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
<#--<span class="am-modal-btn" data-am-modal-confirm>保存</span>-->
</div>
</div>
</div>
<#--资金计划明细表弹窗-->
<div class="am-modal am-modal-prompt" style="width: 1200px;max-height:600px;overflow-y:auto;"
tabindex="-1" id="my-prompt-budget-plan-detail">
<div class="am-modal-dialog">
<div class="am-modal-hd">资金计划明细表——${project.name}</div>
<div class="am-modal-bd">
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;"
id="budgetPlanDetailTable">
<tbody>
<tr>
<td>月份</td>
<td>设备支出</td>
<td>工程支出(含服务+施工+其他)</td>
<td>经营性开支</td>
<td>保证金支出</td>
<td>支出合计</td>
<td>销售收款</td>
<td>保证金收款</td>
<td>收款合计</td>
<td>资金余额</td>
<td>资金利息</td>
<td>垫资计划</td>
<td>还款计划</td>
<#-- <td>操作</td>-->
</tr>
<tr>
<td><#--<input type="text" class="am-modal-prompt-input input-total-month-budget-plan"
value="${projectBudgetPlanDetailTotal.month}" readonly/>-->${projectBudgetPlanDetailTotal.month}</td>
<td><input type="text"
class="am-modal-prompt-input input-total-device-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.deviceCost)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-engineer-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.engineerCost)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-project-manage-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.projectManageCost)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-earnest-money-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.earnestMoneyCost)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-total-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.totalCost)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-sale-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.saleIncome)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-earnest-money-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.earnestMoneyIncome)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-total-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.totalIncome)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-fund-balance-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.fundBalance)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-capital-interest-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.capitalInterest)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-underwritten-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.underwrittenPlan)}"
readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-total-repayment-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetailTotal.repaymentPlan)}"
readonly/></td>
<td></td>
</tr>
<#if projectBudgetPlanDetails??>
<#list projectBudgetPlanDetails as projectBudgetPlanDetail>
<tr>
<td><#--<input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-month-budget-plan"
value="${projectBudgetPlanDetail.month!}">-->${projectBudgetPlanDetail.month!}</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-device-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.deviceCost)}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-engineer-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.engineerCost)}">
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-project-manage-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.projectManageCost)}">
</td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.earnestMoneyCost)}">
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-total-cost-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.totalCost)}"
readonly></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-sale-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.saleIncome)}"></td>
<td><input type="text" readonly
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-earnest-money-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.earnestMoneyIncome)}">
</td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-total-income-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.totalIncome)}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-fund-balance-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.fundBalance)}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-capital-interest-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.capitalInterest)}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-underwritten-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.underwrittenPlan)}"
readonly></td>
<td><input type="text"
class="am-modal-prompt-input am-modal-prompt-input-budget-plan-detail input-changeable-repayment-plan-budget-plan"
value="${Utils.format(projectBudgetPlanDetail.repaymentPlan)}"
readonly></td>
<#--<td>
<button type="button"
class="am-btn am-btn-warning am-btn-xs am-round am-modal-line-delete-budget-plan">
<span class="am-icon-minus"></span></button>
</td>-->
</tr>
</#list>
</#if>
</tbody>
</table>
<#--<button type="button" id="budgetPlanDetailAddBtn"
class="am-btn am-btn-primary am-btn-xs am-round"><span class="am-icon-plus"></span>
</button>-->
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
<tbody>
<tr>
<td>垫资峰值时间</td>
<td>垫资峰值金额</td>
<td>利率</td>
<td>资金利息</td>
</tr>
<tr>
<td><input type="text"
class="am-modal-prompt-input input-underwritten-plan-statistic-max-month-budget-plan"
value="${underwrittenPlanStatistic.maxMonth!}" readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-underwritten-plan-statistic-amount-budget-plan"
value="${Utils.format(underwrittenPlanStatistic.amount,'')}" readonly/>
</td>
<td><input type="text"
class="am-modal-prompt-input input-underwritten-plan-statistic-tax-rate-budget-plan"
value="${Utils.format(project.underwrittenTaxRate,'')}" readonly/></td>
<td><input type="text"
class="am-modal-prompt-input input-underwritten-plan-statistic-capital-interest-budget-plan"
value="${Utils.format(underwrittenPlanStatistic.capitalInterest,'')}"
readonly/></td>
</tr>
</tbody>
</table>
</div>
<div class="am-modal-footer">
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
<#-- <span class="am-modal-btn" data-am-modal-confirm>保存</span>-->
</div>
</div>
</div>
<#--审核弹窗-->
<div class="am-modal am-modal-prompt" style="width: 1000px;max-height:600px;overflow-y:auto;"
tabindex="-1" id="my-approve">
<div class="am-modal-dialog">
<div style="word-wrap:break-word; word-break:break-all; " class="am-modal-hd">审核——${project.name}</div>
<div class="am-modal-bd" style="border-bottom: none">
<form method="post" class="am-form" id="tmpForm" action="${base}/procurement/type/save">
<div class="am-tabs am-margin" data-am-tabs>
<div class="am-tabs-bd">
<div class="am-tab-panel am-fade am-in am-active" id="tab1">
<div class="am-g am-form-group am-margin-top">
<div class="am-u-sm-4 am-u-md-2 am-text-right">审核</div>
<div class="am-u-sm-12 am-u-md-4 switch-button" style="height: 25px;">
<label class="am-radio-inline">
<input type="radio" value="2" checked="checked" style="width: 20px" name="docVlGender" required> 审核通过
</label>
<label class="am-radio-inline">
<input type="radio" value="3" style="width: 20px" name="docVlGender"> 审核不通过
</label>
</div>
<div class="am-hide-sm-only am-u-md-1" style="color: red;"></div>
<div class="am-u-sm-2 am-u-md-5 input-msg"></div>
</div>
<div class="am-g am-form-group am-margin-top" style="display: flex;">
<div class="am-u-sm-4 am-u-md-2 am-text-right">
<span style="color: red;">*</span>审核意见</div>
<div class="am-u-sm-6 am-u-md-6">
<textarea id="doc-vld-ta-2" minlength="10" maxlength="100"></textarea>
</div>
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
</div>
</div>
</div>
</div>
</form>
</div>
<div class="am-modal-footer">
<button type="button"
class="am-btn am-btn-default am-btn-xs am-text-secondary"
onclick="$('#my-approve').modal('close')">
取消
</button>
<span style="margin-left: 100px"></span>
<button type="button"
class="am-btn am-btn-default am-btn-xs am-text-secondary"
onclick="completeTask('${project.id}')">
确定
</button>
</div>
</div>
</div>
<#--管理员退回弹窗-->
<div class="am-modal am-modal-prompt" style="width: 600px;max-height:400px;overflow-y:auto;"
tabindex="-1" id="rollbackToRecordModal">
<div class="am-modal-dialog">
<div class="modal-header">
<h2 style="padding-top: 20px;font-size: x-large;">您正在进行退回功能</h2>
<h5 >项目名称:<span style="color: red">${project.name}</span></h5>
<h5 >退回到:<span id="rbTaskDesc" style="color: red"></span></h5>
</div>
<div class="am-modal-bd" style="border-bottom: none">
<form method="post" class="am-form" id="tmpForm" action="">
<div class="am-tabs am-margin" style="border-top: 1px solid #ddd;" data-am-tabs>
<div class="am-tabs-bd">
<div class="am-tab-panel am-fade am-in am-active" id="tab1">
<input type="hidden" id="rbTaskRecordId" name="rbTaskRecordId" value=''/>
<div class="am-g am-form-group am-margin-top" style="display: flex;">
<div class="am-u-sm-2 am-u-md-2 am-text-right">
<span style="color: red;">*</span>退回意见</div>
<div class="am-u-sm-10 am-u-md-10">
<textarea id="rollbackTextarea" minlength="1" rows="3" cols="40" maxlength="300" class="am-input"></textarea>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<div class="am-modal-footer">
<button type="button"
class="am-btn am-btn-default am-btn-xs am-text-secondary"
onclick="$('#rollbackToRecordModal').modal('close')">
取消
</button>
<span style="margin-left: 100px"></span>
<button type="button"
class="am-btn am-btn-default am-btn-xs am-text-secondary"
onclick="rollbackToRecord()">
确定
</button>
</div>
</div>
</div>
<!--选项卡tabsend-->
<div class="am-margin">
<button type="button" class="am-btn am-btn-warning am-btn-xs" onclick="back()">
返回上一级
</button>
<#if adminId==project.approveId>
<button type="submit" class="am-btn am-btn-primary am-btn-xs" id="saveFinal">审核</button>
</#if>
</div>
</form>
</div>
<script>
var base = "${base}";
</script>
<script src="${base}/assets/js/project_common.js"></script>
<script src="${base}/assets/js/project_budget.js"></script>
<script src="${base}/assets/js/project_budget_income.js"></script>
<script src="${base}/assets/js/project_budget_cost.js"></script>
<script src="${base}/assets/js/project_budget_cost_project_manage.js"></script>
<script src="${base}/assets/js/project_budget_plan.js"></script>
<script src="${base}/layui/layui.js"></script>
</@defaultLayout.layout>
<script>
// 打印
var printPage = function(id) {
try {
if ($('#' + id) && $('#' + id)[0]) {
// 需要打印的页面html
var targethtml = $('#' + id)[0].innerHTML;
// 打印标签内的内容
var sprintstr = '<!--startprint-->'; // 开始位置
var eprintstr = '<!--endprint-->'; // 结束位置
// 截取标签内的内容
var printhtml = targethtml.substr(targethtml.indexOf(sprintstr) + 17);
printhtml = printhtml.substring(0, printhtml.indexOf(eprintstr));
// 获取当前页面全部的innerHTML
var bodyhtml = document.body.innerHTML;
$('#printContainer').show();
$('#printContainer')[0].innerHTML = printhtml;
$('#contentContainer').hide();
// document.body.innerHTML = $('#printContainer')[0].outerHTML;
document.body.style.height = $('#printContainer')[0].clientHeight * 1.5 + 'px';
window.print();
// document.body.innerHTML = bodyhtml;
document.body.style.height = '100%';
$('#printContainer').hide();
$('#contentContainer').show();
}
} catch(e) {
console.log(e);
layer.alert("浏览器不支持打印功能,请切换支持该功能的浏览器");
}
}
var back = function () {
var pageNumber = $("#pageNumber").val();
var keywords = $("#keywords").val();
keywords = keywords.replace(/\{/g, '%7b').replace(/\}/g, '%7d');
console.log("keywords: " + keywords);
location.href = '${base}/project/list?pageNumber=' + pageNumber + '&keywords=' + keywords;
};
$(function () {
$("#subTab").find('a').on('opened.tabs.amui', function(e) {
console.log(e)
var id = $(this).attr('href');
$(id).addClass('am-active').siblings().removeClass('am-active')
})
$("#saveFinal").click(function () {
$('#my-approve').modal({
relatedTarget: this,
onConfirm: function (e) {
},
onCancel: function (e) {
}
});
});
$("#incomeAddBtn").click(function () {
appendTrIncome();
});
// 初始化表格高度
var tab32HeadH = $("#tab32").find('thead').get(0).offsetHeight
$("#tab32TBody").get(0).style.maxHeight = 'calc(100% - ' + tab32HeadH + 'px)'
<#--.style.maxHeight = `calc(100% - ${tab32HeadH}px)`-->
});
var completeTask = function (projectId) {
var message = $("#doc-vld-ta-2").val();
var approvetype = $("#type").val();
if (message == '') {
layer.alert("请填写审核意见");
return;
}
var type = $("input[name='docVlGender']:checked").val();
var params = {
type: type,
message: message
};
$.ajax({
url: '${base}/project/completeTask/' + projectId + "/" + approvetype,
data: JSON.stringify(params),
dataType: "json",
contentType: "application/json",
type: 'post',
async: false,
success: function (data) {
if (data.status == 0) {
layer.alert(data.msg);
refreshMyApproveMsg();
var urlType = data.data;
if(urlType == 1){
location.href = "${base}/project/list";
}else {
location.href = "${base}/project/listApprove";
}
} else if (data.status == 1) {
layer.alert(data.msg);
}
}
});
};
layui.use('laydate', function(){
var laydate = layui.laydate;
laydate.render({
elem: '#time',
type: 'month',
btns: ['confirm'],
trigger: 'click',
ready: function(){
console.log($(this.elem).val());
},
done: function() {
var time = $(this.elem).val();
console.log("time:" + time)
setKeywords(time);
$("#pmsForm").attr("action","${base}/project/approve?listFrom=list&id=${project.id}");
$("#pmsForm").submit();
}
});
});
function setKeywords(time) {
var keywordsObj = {};
keywordsObj.time = time;
var keywords = "";
if (!$.isEmptyObject(keywordsObj)) {
keywords = JSON.stringify(keywordsObj);
}
console.log("keywords = " + keywords);
$("#keywords").val(keywords);
}
/**
* 刷新审批更新 更新跑马灯
*/
function refreshMyApproveMsg() {
var span = $("#myMsgSpan", parent.document);
$.ajax({
url: '${base}/admin/approveProjectsMsg',
dataType: "json",
contentType: "application/json",
type: 'post',
async: false,
success: function (data) {
if (data.status == 0) {
span.text(data.msg)
}
}
});
}
/**
* 打开退回弹窗
*/
var openRollbackToRecordModal= function(taskRecordId, rbTaskDesc) {
$("#rbTaskRecordId").val(taskRecordId);
$("#rbTaskDesc").html(rbTaskDesc);
$('#rollbackToRecordModal').modal({
relatedElement: this,
onConfirm: function() {
console.log("提交");
},
onCancel: function() {
console.log("取消");
}
});
};
/**
* 退回
*/
var rollbackToRecord = function () {
var message = $("#rollbackTextarea").val();
var rbTaskDesc = $("#rbTaskDesc").text();
var rbTaskRecordId = $("#rbTaskRecordId").val();
var params = {
taskRecordId: rbTaskRecordId,
message: message,
rollbackDesc: rbTaskDesc
};
$.ajax({
url: '${base}/project/rollbackToRecord',
data: JSON.stringify(params),
dataType: "json",
contentType: "application/json",
type: 'post',
async: false,
success: function (data) {
if (data.status == 0) {
layer.alert(data.msg);
window.location.href = window.location.href;
} else if (data.status == 1) {
layer.alert(data.msg);
}
}
});
};
var closeDetail = function () {
$('.am-modal-prompt-input-budget-plan-income').css('display', 'none');
$('.am-modal-prompt-input-budget-plan-cost').css('display', 'none');
};
var openDetail = function () {
$('.am-modal-prompt-input-budget-plan-income').css('display', 'block');
$('.am-modal-prompt-input-budget-plan-cost').css('display', 'block');
};
</script>