Merge remote-tracking branch 'origin/master'
# Conflicts: # src/main/java/cn/palmte/work/model/ProjectSettleCashFlowRepository.java # src/main/java/cn/palmte/work/model/ProjectSettleCostManageRepository.java # src/main/java/cn/palmte/work/model/ProjectSettleCostRepository.java # src/main/java/cn/palmte/work/model/ProjectSettleIncomeRepository.javamaster
commit
e3496cdc02
|
@ -21,6 +21,21 @@ public class SettleBean {
|
|||
*/
|
||||
private BigDecimal incomeService;
|
||||
|
||||
/**
|
||||
* 获取所有收入总额
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public BigDecimal getIncomeTotal() {
|
||||
BigDecimal incomeDevice = getIncomeDevice();
|
||||
BigDecimal incomeEngineer = getIncomeEngineer();
|
||||
BigDecimal incomeService = getIncomeService();
|
||||
if (null == incomeDevice || null == incomeEngineer || null == incomeService) {
|
||||
return new BigDecimal(0);
|
||||
}
|
||||
return incomeDevice.add(incomeEngineer).add(incomeService);
|
||||
}
|
||||
|
||||
|
||||
//========================成本表================================
|
||||
|
||||
|
@ -55,6 +70,28 @@ public class SettleBean {
|
|||
private BigDecimal costOther;
|
||||
|
||||
|
||||
/**
|
||||
* 获取所有成本总额
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public BigDecimal getCostTotal() {
|
||||
BigDecimal costPurchaseDevice = getCostPurchaseDevice();
|
||||
BigDecimal costPurchaseBuild = getCostPurchaseBuild();
|
||||
BigDecimal costPurchaseService = getCostPurchaseService();
|
||||
BigDecimal costPurchaseOther = getCostPurchaseOther();
|
||||
BigDecimal costProjectManage = getCostProjectManage();
|
||||
BigDecimal costOther = getCostOther();
|
||||
|
||||
if (null == costPurchaseDevice || null == costPurchaseBuild || null == costPurchaseService
|
||||
|| null == costPurchaseOther || null == costProjectManage || null == costOther) {
|
||||
return new BigDecimal(0);
|
||||
}
|
||||
|
||||
return costPurchaseDevice.add(costPurchaseBuild).add(costPurchaseService)
|
||||
.add(costPurchaseOther).add(costProjectManage).add(costOther);
|
||||
}
|
||||
|
||||
//========================管理表================================
|
||||
|
||||
/**
|
||||
|
@ -72,6 +109,18 @@ public class SettleBean {
|
|||
*/
|
||||
private BigDecimal costIncomeTax;
|
||||
|
||||
public BigDecimal getCostManageTotal() {
|
||||
BigDecimal costExpropriation = getCostExpropriation();
|
||||
BigDecimal costCompanyManage = getCostCompanyManage();
|
||||
BigDecimal costIncomeTax = getCostIncomeTax();
|
||||
|
||||
if (null == costExpropriation || null == costCompanyManage || null == costIncomeTax) {
|
||||
return new BigDecimal(0);
|
||||
}
|
||||
|
||||
return costExpropriation.add(costCompanyManage).add(costIncomeTax);
|
||||
}
|
||||
|
||||
|
||||
//========================利润率计算表================================
|
||||
|
||||
|
@ -167,6 +216,38 @@ public class SettleBean {
|
|||
*/
|
||||
private BigDecimal netIncreaseMonetaryFunds;
|
||||
|
||||
/**
|
||||
* 获取所有现金流量总额
|
||||
* @return
|
||||
*/
|
||||
public BigDecimal getCashFluxTotal() {
|
||||
BigDecimal saleIncomeCash = getSaleIncomeCash();
|
||||
BigDecimal taxReturn = getTaxReturn();
|
||||
BigDecimal earnestMoneyIncome = getEarnestMoneyIncome();
|
||||
BigDecimal purchaseCost = getPurchaseCost();
|
||||
BigDecimal taxCost = getTaxCost();
|
||||
BigDecimal earnestMoneyCost = getEarnestMoneyCost();
|
||||
BigDecimal netCashFlow = getNetCashFlow();
|
||||
BigDecimal cashInflowFromInvestingActivities = getCashInflowFromInvestingActivities();
|
||||
BigDecimal cashOutflowFromInvestingActivities = getCashOutflowFromInvestingActivities();
|
||||
BigDecimal netCashFromInvestingActivities = getNetCashFromInvestingActivities();
|
||||
BigDecimal financingCapitalInflow = getFinancingCapitalInflow();
|
||||
BigDecimal financingCapitalOutflow = getFinancingCapitalOutflow();
|
||||
BigDecimal financingCapitalCashflow = getFinancingCapitalCashflow();
|
||||
BigDecimal netIncreaseMonetaryFunds = getNetIncreaseMonetaryFunds();
|
||||
|
||||
if (null == saleIncomeCash || null == taxReturn || null == earnestMoneyIncome || null == purchaseCost || null == taxCost
|
||||
|| null == earnestMoneyCost || null == netCashFlow || null == cashInflowFromInvestingActivities ||
|
||||
null == cashOutflowFromInvestingActivities || null == netCashFromInvestingActivities ||
|
||||
null == financingCapitalInflow || null == financingCapitalOutflow || null == financingCapitalCashflow || null == netIncreaseMonetaryFunds) {
|
||||
return new BigDecimal(0);
|
||||
}
|
||||
|
||||
return saleIncomeCash.add(taxReturn).add(earnestMoneyIncome).add(purchaseCost).add(taxCost).add(earnestMoneyCost)
|
||||
.add(netCashFlow).add(cashInflowFromInvestingActivities).add(cashOutflowFromInvestingActivities).add(netCashFromInvestingActivities)
|
||||
.add(financingCapitalInflow).add(financingCapitalOutflow).add(financingCapitalCashflow).add(netIncreaseMonetaryFunds);
|
||||
}
|
||||
|
||||
public BigDecimal getIncomeDevice() {
|
||||
return incomeDevice;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package cn.palmte.work.config.activiti;
|
||||
|
||||
import org.activiti.engine.ProcessEngineConfiguration;
|
||||
import org.activiti.spring.SpringProcessEngineConfiguration;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
@ -32,7 +33,7 @@ public class ActivitiConfig {
|
|||
//true: activiti会对数据库中所有表进行更新操作。如果表不存在,则自动创建。(开发时常用)
|
||||
//create_drop: 在activiti启动时创建表,在关闭时删除表(必须手动关闭引擎,才能删除表)。(单元测试常用)
|
||||
//drop-create: 在activiti启动时删除原来的旧表,然后在创建新表(不需要手动关闭引擎)。
|
||||
config.setDatabaseSchemaUpdate("true");
|
||||
config.setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_FALSE);
|
||||
return config;
|
||||
}
|
||||
|
||||
|
|
|
@ -101,6 +101,7 @@ public class ActTaskDefController extends BaseController {
|
|||
public String taskList(@PathVariable String procInsId, Map<String, Object> model) {
|
||||
List<ActHisTask> list = actTaskDefService.hisTaskList(procInsId);
|
||||
model.put("taskList", list);
|
||||
model.put("procInsId", procInsId);
|
||||
return "/admin/act_his_task_list";
|
||||
}
|
||||
|
||||
|
|
|
@ -63,6 +63,8 @@ public class ProjectController extends BaseController {
|
|||
private HistoryService historyService;
|
||||
@Autowired
|
||||
private ActTaskDefService actTaskDefService;
|
||||
@Autowired
|
||||
private ProjectSettleService projectSettleService;
|
||||
|
||||
/**
|
||||
* 项目列表
|
||||
|
@ -350,9 +352,11 @@ public class ProjectController extends BaseController {
|
|||
@RequestMapping("/detail")
|
||||
public String detail(@RequestParam("id") int id, Map<String, Object> model) {
|
||||
Project project = projectService.getProject(id);
|
||||
String time = "2021-11";
|
||||
EstimateBean estimateBean = projectEstimateService.getEstimate(project);
|
||||
model.put("estimateBean", estimateBean);
|
||||
model.put("project", project);
|
||||
model.put("formerBean", projectSettleService.getFormerSettle(project, time));
|
||||
BudgetBean budgetBean = projectBudgetService.getBudget(project);
|
||||
//预算主页面数据
|
||||
model.put("budgetBean", budgetBean);
|
||||
|
@ -387,10 +391,12 @@ public class ProjectController extends BaseController {
|
|||
*/
|
||||
@RequestMapping("/approve")
|
||||
public String approve(@RequestParam("id") int id, @RequestParam String listFrom, Map<String, Object> model) {
|
||||
String time = "2021-11";
|
||||
Project project = projectService.getProject(id);
|
||||
EstimateBean estimateBean = projectEstimateService.getEstimate(project);
|
||||
model.put("estimateBean", estimateBean);
|
||||
model.put("project", project);
|
||||
model.put("formerBean", projectSettleService.getFormerSettle(project, time));
|
||||
model.put("listFrom", listFrom);
|
||||
BudgetBean budgetBean = projectBudgetService.getBudget(project);
|
||||
//预算主页面数据
|
||||
|
|
|
@ -42,6 +42,7 @@ public class ProjectFinalController extends BaseController{
|
|||
model.put("project", project);
|
||||
model.put("estimateBean", projectEstimateService.getEstimate(project));
|
||||
model.put("budgetBean", projectBudgetService.getBudget(project));
|
||||
model.put("settleBean",projectFinalSevice.getSettle(project));
|
||||
model.put("finalBean",new FinalBean());
|
||||
//现金表
|
||||
model.put("cashFlowBean", projectBudgetService.getCashFlowBean(project, projectBudgetPlanDetails));
|
||||
|
|
|
@ -16,5 +16,6 @@ public interface ProjectSettleCostManageRepository extends JpaRepository<Project
|
|||
@Query(value = "select * from project_settle_cost_manage where project_id = ?1 and time < ?2", nativeQuery = true)
|
||||
List<ProjectSettleCostManage> findAllByProjectIdBefore(int id, String time);
|
||||
|
||||
List<ProjectSettleCostManage> findAllByProjectId(int id);
|
||||
@Query(value = "select sum(cost_tax_exclude) from project_settle_cost_manage where project_id = ? and type = ?", nativeQuery = true)
|
||||
long costTaxExcludeSum(int projectId,int type);
|
||||
}
|
||||
|
|
|
@ -16,5 +16,6 @@ public interface ProjectSettleCostRepository extends JpaRepository<ProjectSettle
|
|||
@Query(value = "select * from project_settle_cost where project_id = ?1 and time < ?2", nativeQuery = true)
|
||||
List<ProjectSettleCost> findAllByProjectIdBefore(int id, String time);
|
||||
|
||||
List<ProjectSettleCost> findAllByProjectId(int id);
|
||||
@Query(value = "select sum(cost_tax_exclude) from project_settle_cost where project_id = ? and type = ?", nativeQuery = true)
|
||||
long costTaxExcludeSum(int projectId,int type);
|
||||
}
|
||||
|
|
|
@ -16,8 +16,8 @@ public interface ProjectSettleIncomeRepository extends JpaRepository<ProjectSett
|
|||
@Query(value = "select * from project_settle_income where project_id = ?1 and time < ?2", nativeQuery = true)
|
||||
List<ProjectSettleIncome> findAllByProjectIdBefore(int id, String time);
|
||||
|
||||
@Query(value = "select * from project_settle_income where project_id = ?1 order by id desc limit 0, 1", nativeQuery = true)
|
||||
ProjectSettleIncome findNewByProjectId(int id);
|
||||
@Query(value = "select sum(income_tax_exclude) from project_settle_income where project_id = ? and type = ?", nativeQuery = true)
|
||||
long incomeTaxExcludeSum(int projectId,int type);
|
||||
|
||||
|
||||
List<ProjectSettleIncome> findAllByProjectId(int id);
|
||||
}
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
package cn.palmte.work.service;
|
||||
|
||||
import cn.palmte.work.bean.BudgetBean;
|
||||
import cn.palmte.work.bean.CashFlowBean;
|
||||
import cn.palmte.work.bean.EstimateBean;
|
||||
import cn.palmte.work.bean.FinalBean;
|
||||
import cn.palmte.work.bean.*;
|
||||
import cn.palmte.work.model.*;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -35,6 +32,18 @@ public class ProjectFinalSevice {
|
|||
@Autowired
|
||||
private ProjectBudgetService projectBudgetService;
|
||||
|
||||
@Autowired
|
||||
private ProjectSettleIncomeRepository projectSettleIncomeRepository;
|
||||
|
||||
@Autowired
|
||||
private ProjectSettleCostRepository projectSettleCostRepository;
|
||||
|
||||
@Autowired
|
||||
private ProjectSettleCostManageRepository projectSettleCostManageRepository;
|
||||
|
||||
@Autowired
|
||||
private ProjectSettleCashFlowRepository projectSettleCashFlowRepository;
|
||||
|
||||
@Transactional
|
||||
public void save(Project project, FinalBean finalBean) {
|
||||
//预算表数据
|
||||
|
@ -396,4 +405,68 @@ public class ProjectFinalSevice {
|
|||
}
|
||||
return finalBean;
|
||||
}
|
||||
|
||||
public SettleBean getSettle(Project project) {
|
||||
SettleBean settleBean = new SettleBean();
|
||||
long incomeDivice = projectSettleIncomeRepository.incomeTaxExcludeSum(project.getId(), ProjectSettleIncome.TYPE_DEVICE);
|
||||
long incomeEngineer = projectSettleIncomeRepository.incomeTaxExcludeSum(project.getId(), ProjectSettleIncome.TYPE_ENGINEER);
|
||||
long incomeService = projectSettleIncomeRepository.incomeTaxExcludeSum(project.getId(), ProjectSettleIncome.TYPE_SERVICE);
|
||||
|
||||
settleBean.setIncomeDevice(new BigDecimal(incomeDivice));
|
||||
settleBean.setIncomeEngineer(new BigDecimal(incomeEngineer));
|
||||
settleBean.setIncomeService(new BigDecimal(incomeService));
|
||||
|
||||
long costDevice = projectSettleCostRepository.costTaxExcludeSum(project.getId(), ProjectSettleCost.TYPE_DEVICE);
|
||||
long costBuilding = projectSettleCostRepository.costTaxExcludeSum(project.getId(), ProjectSettleCost.TYPE_BUILDING);
|
||||
long costService = projectSettleCostRepository.costTaxExcludeSum(project.getId(), ProjectSettleCost.TYPE_SERVICE);
|
||||
long costOther = projectSettleCostRepository.costTaxExcludeSum(project.getId(), ProjectSettleCost.TYPE_OTHER);
|
||||
long costProjectManage = projectSettleCostRepository.costTaxExcludeSum(project.getId(), ProjectSettleCost.TYPE_PROJECT_MANAGE);
|
||||
long costOtherOther = projectSettleCostRepository.costTaxExcludeSum(project.getId(), ProjectSettleCost.TYPE_OTHER_OTHER);
|
||||
|
||||
settleBean.setCostPurchaseDevice(new BigDecimal(costDevice));
|
||||
settleBean.setCostPurchaseBuild(new BigDecimal(costBuilding));
|
||||
settleBean.setCostPurchaseService(new BigDecimal(costService));
|
||||
settleBean.setCostOther(new BigDecimal(costOther));
|
||||
settleBean.setCostProjectManage(new BigDecimal(costProjectManage));
|
||||
settleBean.setCostPurchaseOther(new BigDecimal(costOtherOther));
|
||||
|
||||
long costExpropriation = projectSettleCostManageRepository.costTaxExcludeSum(project.getId(), ProjectSettleCostManage.TYPE_EXPROPRIATION);
|
||||
long costCompanyMange = projectSettleCostManageRepository.costTaxExcludeSum(project.getId(), ProjectSettleCostManage.TYPE_COMPANY_MANAGE);
|
||||
long costIncomeTax = projectSettleCostManageRepository.costTaxExcludeSum(project.getId(), ProjectSettleCostManage.TYPE_INCOME_TAX);
|
||||
|
||||
settleBean.setCostExpropriation(new BigDecimal(costExpropriation));
|
||||
settleBean.setCostCompanyManage(new BigDecimal(costCompanyMange));
|
||||
settleBean.setCostIncomeTax(new BigDecimal(costIncomeTax));
|
||||
|
||||
long type1 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.SALE_INCOME_CASH);
|
||||
long type2 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.TAX_RETURN);
|
||||
long type3 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.EARNEST_MONEY_INCOME);
|
||||
long type4 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.PURCHASE_COST);
|
||||
long type5 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.TAX_COST);
|
||||
long type6 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.EARNEST_MONEY_COST);
|
||||
long type7 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.NET_CASH_FLOW);
|
||||
long type8 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.CASH_INFLOW_FROM_INVESTING_ACTIVITIES);
|
||||
long type9 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.CASH_OUTFLOW_FROM_INVESTING_ACTIVITIES);
|
||||
long type10 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.NET_CASH_FROM_INVESTING_ACTIVITIES);
|
||||
long type11 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.FINANCING_CAPITAL_INFLOW);
|
||||
long type12 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.FINANCING_CAPITAL_OUTFLOW);
|
||||
long type13 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.FINANCING_CAPITAL_CASHFLOW);
|
||||
long type14 = projectSettleCashFlowRepository.costAmountSum(project.getId(), ProjectSettleCashFlow.NET_INCREASE_MONETARY_FUNDS);
|
||||
|
||||
settleBean.setSaleIncomeCash(new BigDecimal(type1));
|
||||
settleBean.setTaxReturn(new BigDecimal(type2));
|
||||
settleBean.setEarnestMoneyIncome(new BigDecimal(type3));
|
||||
settleBean.setPurchaseCost(new BigDecimal(type4));
|
||||
settleBean.setTaxCost(new BigDecimal(type5));
|
||||
settleBean.setEarnestMoneyCost(new BigDecimal(type6));
|
||||
settleBean.setNetCashFlow(new BigDecimal(type7));
|
||||
settleBean.setCashInflowFromInvestingActivities(new BigDecimal(type8));
|
||||
settleBean.setCashOutflowFromInvestingActivities(new BigDecimal(type9));
|
||||
settleBean.setNetCashFromInvestingActivities(new BigDecimal(type10));
|
||||
settleBean.setFinancingCapitalInflow(new BigDecimal(type11));
|
||||
settleBean.setFinancingCapitalOutflow(new BigDecimal(type12));
|
||||
settleBean.setFinancingCapitalCashflow(new BigDecimal(type13));
|
||||
settleBean.setNetIncreaseMonetaryFunds(new BigDecimal(type14));
|
||||
return settleBean;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -157,7 +157,7 @@ function bindChangeableInput() {
|
|||
* 低于阀值就返回提示信息,否则返回""
|
||||
*/
|
||||
function verifyProjectContributionProfitRate() {
|
||||
var projectContributionProfitRate = f2($("input[name='projectContributionProfitRate']").val());
|
||||
var projectContributionProfitRate = f2(inputVal("projectContributionProfitRate"));
|
||||
var projectContributionProfitRateThreshold = f2($("#projectContributionProfitRateThreshold").val());
|
||||
if(projectContributionProfitRate<projectContributionProfitRateThreshold){
|
||||
return "项目贡献利润率["+projectContributionProfitRate+"]低于阀值["+projectContributionProfitRateThreshold+"],请调整后重新提交";
|
||||
|
@ -175,13 +175,13 @@ function verifyProjectContributionProfitRate() {
|
|||
*/
|
||||
function updateProjectContributionProfitRate() {
|
||||
//收入总计不含税
|
||||
var incomeTotalTaxExclude = f2($("input[name='incomeTotalTaxExclude']").val());
|
||||
var incomeTotalTaxExclude = f2(inputVal("incomeTotalTaxExclude"));
|
||||
//成本总计不含税
|
||||
var costTotalTaxExclude = f2($("input[name='costTotalTaxExclude']").val());
|
||||
var costTotalTaxExclude = f2(inputVal("costTotalTaxExclude"));
|
||||
//资金使用成本不含税
|
||||
var costExpropriationTaxExclude = f2($("input[name='costExpropriationTaxExclude']").val());
|
||||
var costExpropriationTaxExclude = f2(inputVal("costExpropriationTaxExclude"));
|
||||
//公司管理费用
|
||||
var costCompanyManageTaxExclude = f2($("input[name='costCompanyManageTaxExclude']").val());
|
||||
var costCompanyManageTaxExclude = f2(inputVal("costCompanyManageTaxExclude"));
|
||||
|
||||
var projectGrossProfit = f2(incomeTotalTaxExclude-costTotalTaxExclude-costExpropriationTaxExclude);
|
||||
var projectGrossProfitRate = rate(projectGrossProfit, incomeTotalTaxExclude);
|
||||
|
|
|
@ -106,21 +106,24 @@ function updateCostData(data, returnData) {
|
|||
$("input[name='costPurchaseOtherTaxInclude']").val(f2(otherTaxInclude));
|
||||
$("input[name='costPurchaseOtherTaxExclude']").val(f2(otherTaxExclude));
|
||||
|
||||
var costOtherOtherTaxInclude = f2($("input[name='costOtherOtherTaxInclude']").val());
|
||||
/* var costOtherOtherTaxInclude = f2($("input[name='costOtherOtherTaxInclude']").val());
|
||||
var costOtherOtherTaxExclude = f2($("input[name='costOtherOtherTaxExclude']").val());
|
||||
|
||||
var costProjectManageTaxInclude = f2($("input[name='costProjectManageTaxInclude']").val());
|
||||
var costProjectManageTaxExclude = f2($("input[name='costProjectManageTaxExclude']").val());
|
||||
|
||||
$("input[name='costTotalTaxInclude']").val(f2(deviceTaxInclude+buildTaxInclude+serviceTaxInclude+otherTaxInclude+costOtherOtherTaxInclude+costProjectManageTaxInclude));
|
||||
$("input[name='costTotalTaxExclude']").val(f2(deviceTaxExclude+buildTaxExclude+serviceTaxExclude+otherTaxExclude+costOtherOtherTaxExclude+costProjectManageTaxExclude));
|
||||
$("input[name='costTotalTaxExclude']").val(f2(deviceTaxExclude+buildTaxExclude+serviceTaxExclude+otherTaxExclude+costOtherOtherTaxExclude+costProjectManageTaxExclude));*/
|
||||
|
||||
calCostExclude();
|
||||
calCostInclude();
|
||||
|
||||
updateProjectContributionProfitRate();
|
||||
}
|
||||
|
||||
function bindOtherOtherChangeable() {
|
||||
$("input[name='costOtherOtherTaxInclude']").change(function () {
|
||||
var costPurchaseDeviceTaxInclude = f2($("input[name='costPurchaseDeviceTaxInclude']").val());
|
||||
/*var costPurchaseDeviceTaxInclude = f2($("input[name='costPurchaseDeviceTaxInclude']").val());
|
||||
var costPurchaseBuildTaxInclude = f2($("input[name='costPurchaseBuildTaxInclude']").val());
|
||||
var costPurchaseServiceTaxInclude = f2($("input[name='costPurchaseServiceTaxInclude']").val());
|
||||
var costPurchaseOtherTaxInclude = f2($("input[name='costPurchaseOtherTaxInclude']").val());
|
||||
|
@ -128,14 +131,17 @@ function bindOtherOtherChangeable() {
|
|||
var costProjectManageTaxInclude = f2($("input[name='costProjectManageTaxInclude']").val());
|
||||
var costOtherOther = f2($(this).val());
|
||||
|
||||
$("input[name='costTotalTaxInclude']").val(f2(costPurchaseDeviceTaxInclude+costPurchaseBuildTaxInclude+costPurchaseServiceTaxInclude+costPurchaseOtherTaxInclude+costProjectManageTaxInclude+costOtherOther));
|
||||
$("input[name='costTotalTaxInclude']").val(f2(costPurchaseDeviceTaxInclude+costPurchaseBuildTaxInclude
|
||||
+costPurchaseServiceTaxInclude+costPurchaseOtherTaxInclude+costProjectManageTaxInclude+costOtherOther));*/
|
||||
|
||||
calCostInclude();
|
||||
|
||||
updateProjectContributionProfitRate();
|
||||
|
||||
});
|
||||
|
||||
$("input[name='costOtherOtherTaxExclude']").change(function () {
|
||||
var costPurchaseDeviceTaxExclude = f2($("input[name='costPurchaseDeviceTaxExclude']").val());
|
||||
/*var costPurchaseDeviceTaxExclude = f2($("input[name='costPurchaseDeviceTaxExclude']").val());
|
||||
var costPurchaseBuildTaxExclude = f2($("input[name='costPurchaseBuildTaxExclude']").val());
|
||||
var costPurchaseServiceTaxExclude = f2($("input[name='costPurchaseServiceTaxExclude']").val());
|
||||
var costPurchaseOtherTaxExclude = f2($("input[name='costPurchaseOtherTaxExclude']").val());
|
||||
|
@ -143,7 +149,10 @@ function bindOtherOtherChangeable() {
|
|||
var costProjectManageTaxExclude = f2($("input[name='costProjectManageTaxExclude']").val());
|
||||
var costOtherOther = f2($(this).val());
|
||||
|
||||
$("input[name='costTotalTaxExclude']").val(f2(costPurchaseDeviceTaxExclude+costPurchaseBuildTaxExclude+costPurchaseServiceTaxExclude+costPurchaseOtherTaxExclude+costProjectManageTaxExclude+costOtherOther));
|
||||
$("input[name='costTotalTaxExclude']").val(f2(costPurchaseDeviceTaxExclude+costPurchaseBuildTaxExclude
|
||||
+costPurchaseServiceTaxExclude+costPurchaseOtherTaxExclude+costProjectManageTaxExclude+costOtherOther));*/
|
||||
|
||||
calCostExclude();
|
||||
|
||||
updateProjectContributionProfitRate();
|
||||
});
|
||||
|
|
|
@ -84,7 +84,7 @@ function updateCostProjectManageData(data,returnData) {
|
|||
$("input[name='costProjectManageTaxExclude']").val(total);
|
||||
$("input[name='costProjectManageTaxInclude']").val(total);
|
||||
|
||||
var costPurchaseDeviceTaxInclude = f2($("input[name='costPurchaseDeviceTaxInclude']").val());
|
||||
/*var costPurchaseDeviceTaxInclude = f2($("input[name='costPurchaseDeviceTaxInclude']").val());
|
||||
var costPurchaseBuildTaxInclude = f2($("input[name='costPurchaseBuildTaxInclude']").val());
|
||||
var costPurchaseServiceTaxInclude = f2($("input[name='costPurchaseServiceTaxInclude']").val());
|
||||
var costPurchaseOtherTaxInclude = f2($("input[name='costPurchaseOtherTaxInclude']").val());
|
||||
|
@ -105,7 +105,10 @@ function updateCostProjectManageData(data,returnData) {
|
|||
var costOtherOtherTaxExclude = f2($("input[name='costOtherOtherTaxExclude']").val());
|
||||
|
||||
$("input[name='costTotalTaxExclude']").val(f2(costPurchaseDeviceTaxExclude+costPurchaseBuildTaxExclude+costPurchaseServiceTaxExclude+costPurchaseOtherTaxExclude+total+costOtherOtherTaxExclude));
|
||||
*/
|
||||
|
||||
calCostExclude();
|
||||
calCostInclude();
|
||||
|
||||
updateProjectContributionProfitRate();
|
||||
}
|
|
@ -43,18 +43,18 @@ $(function () {
|
|||
*/
|
||||
function verifyBudgetPlan(){
|
||||
|
||||
var costPurchaseDeviceTaxExclude = $("input[name='costPurchaseDeviceTaxExclude']").val();
|
||||
var costPurchaseBuildTaxExclude = $("input[name='costPurchaseBuildTaxExclude']").val();
|
||||
var costPurchaseServiceTaxExclude = $("input[name='costPurchaseServiceTaxExclude']").val();
|
||||
var costPurchaseOtherTaxExclude = $("input[name='costPurchaseOtherTaxExclude']").val();
|
||||
var costProjectManageTaxExclude = $("input[name='costProjectManageTaxExclude']").val();
|
||||
var incomeTotalTaxExclude = $("input[name='incomeTotalTaxExclude']").val();
|
||||
var input_total_device_cost_budget_plan = $(".input-total-device-cost-budget-plan").val();
|
||||
var input_total_engineer_cost_budget_plan = $(".input-total-engineer-cost-budget-plan").val();
|
||||
var input_total_project_manage_budget_plan = $(".input-total-project-manage-cost-budget-plan").val();
|
||||
var input_total_sale_income_budget_plan = $(".input-total-sale-income-budget-plan").val();
|
||||
var input_total_earnest_money_cost_budget_plan = $(".input-total-earnest-money-cost-budget-plan").val();
|
||||
var input_total_earnest_money_income_budget_plan = $(".input-total-earnest-money-income-budget-plan").val();
|
||||
var costPurchaseDeviceTaxExclude = inputVal("costPurchaseDeviceTaxExclude");
|
||||
var costPurchaseBuildTaxExclude = inputVal("costPurchaseBuildTaxExclude");
|
||||
var costPurchaseServiceTaxExclude = inputVal("costPurchaseServiceTaxExclude");
|
||||
var costPurchaseOtherTaxExclude = inputVal("costPurchaseOtherTaxExclude");
|
||||
var costProjectManageTaxExclude = inputVal("costProjectManageTaxExclude");
|
||||
var incomeTotalTaxExclude = inputVal("incomeTotalTaxExclude");
|
||||
var input_total_device_cost_budget_plan = classVal("input-total-device-cost-budget-plan");
|
||||
var input_total_engineer_cost_budget_plan = classVal("input-total-engineer-cost-budget-plan");
|
||||
var input_total_project_manage_budget_plan = classVal("input-total-project-manage-cost-budget-plan");
|
||||
var input_total_sale_income_budget_plan = classVal("input-total-sale-income-budget-plan");
|
||||
var input_total_earnest_money_cost_budget_plan = classVal("input-total-earnest-money-cost-budget-plan");
|
||||
var input_total_earnest_money_income_budget_plan = classVal("input-total-earnest-money-income-budget-plan");
|
||||
|
||||
|
||||
//从采购成本明细中取“设备”大类下的总计---设备支出
|
||||
|
@ -130,16 +130,7 @@ function bindBudgetPlanDeleteBtn() {
|
|||
updateBudgetPlanTotal("input-changeable-underwritten-plan-budget-plan","input-total-underwritten-plan-budget-plan");
|
||||
updateBudgetPlanTotal("input-changeable-repayment-plan-budget-plan","input-total-repayment-plan-budget-plan");
|
||||
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
updatePageData();
|
||||
|
||||
});
|
||||
}
|
||||
|
@ -159,16 +150,8 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
updateBudgetPlanTotal("input-changeable-device-cost-budget-plan","input-total-device-cost-budget-plan");
|
||||
//更新所有月支出总额
|
||||
updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan");
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
|
||||
updatePageData();
|
||||
});
|
||||
//工程支出改变
|
||||
$(".input-changeable-engineer-cost-budget-plan").change(function () {
|
||||
|
@ -184,16 +167,8 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
updateBudgetPlanTotal("input-changeable-engineer-cost-budget-plan","input-total-engineer-cost-budget-plan");
|
||||
//更新所有月支出总额
|
||||
updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan");
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
|
||||
updatePageData();
|
||||
});
|
||||
//经营性支出改变
|
||||
$(".input-changeable-project-manage-cost-budget-plan").change(function () {
|
||||
|
@ -209,16 +184,8 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
updateBudgetPlanTotal("input-changeable-project-manage-cost-budget-plan","input-total-project-manage-cost-budget-plan");
|
||||
//更新所有月支出总额
|
||||
updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan");
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
|
||||
updatePageData();
|
||||
});
|
||||
//保证金改变
|
||||
$(".input-changeable-earnest-money-cost-budget-plan").change(function () {
|
||||
|
@ -234,16 +201,8 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
updateBudgetPlanTotal("input-changeable-earnest-money-cost-budget-plan","input-total-earnest-money-cost-budget-plan");
|
||||
//更新所有月支出总额
|
||||
updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan");
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
|
||||
updatePageData();
|
||||
});
|
||||
|
||||
//销售收款改变
|
||||
|
@ -258,16 +217,8 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
updateBudgetPlanTotal("input-changeable-sale-income-budget-plan","input-total-sale-income-budget-plan");
|
||||
//更新所有月收入总额
|
||||
updateBudgetPlanTotal("input-changeable-total-income-budget-plan","input-total-total-income-budget-plan");
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
|
||||
updatePageData();
|
||||
});
|
||||
//保证金收款改变
|
||||
$(".input-changeable-earnest-money-income-budget-plan").change(function () {
|
||||
|
@ -281,16 +232,8 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
updateBudgetPlanTotal("input-changeable-earnest-money-income-budget-plan","input-total-earnest-money-income-budget-plan");
|
||||
//更新所有月收入总额
|
||||
updateBudgetPlanTotal("input-changeable-total-income-budget-plan","input-total-total-income-budget-plan");
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
|
||||
updatePageData();
|
||||
});
|
||||
|
||||
|
||||
|
@ -312,6 +255,20 @@ function bindChangeableInputBudgetPlanDetail() {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
function updatePageData() {
|
||||
//更新余额
|
||||
updateEachFundBalance();
|
||||
//更新垫资计划
|
||||
updateEachUnderwrittenPlan();
|
||||
//更新回款计划
|
||||
updateEachRepaymentPlan();
|
||||
//更新资金利息
|
||||
updateEachCapitalInterest();
|
||||
//更新垫资峰值月
|
||||
updateUnderwrittenInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新每列的总计
|
||||
*/
|
||||
|
@ -596,17 +553,17 @@ function bindCompanyManageChangeable() {
|
|||
*/
|
||||
function updateCashFlow() {
|
||||
|
||||
var saleIncome = $(".input-total-sale-income-budget-plan").val();
|
||||
var earnestMoneyIncome = $(".input-total-earnest-money-income-budget-plan").val();
|
||||
var deviceCost = $(".input-total-device-cost-budget-plan").val();
|
||||
var engineerCost = $(".input-total-engineer-cost-budget-plan").val();
|
||||
var saleIncome = classVal("input-total-sale-income-budget-plan");
|
||||
var earnestMoneyIncome = classVal("input-total-earnest-money-income-budget-plan");
|
||||
var deviceCost = classVal("input-total-device-cost-budget-plan");
|
||||
var engineerCost = classVal("input-total-engineer-cost-budget-plan");
|
||||
|
||||
var projectManageCost = $(".input-total-project-manage-cost-budget-plan").val();
|
||||
var earnestMoneyCost = $(".input-total-earnest-money-cost-budget-plan").val();
|
||||
var capitalInterest = $(".input-total-capital-interest-budget-plan").val();
|
||||
var projectManageCost = classVal("input-total-project-manage-cost-budget-plan");
|
||||
var earnestMoneyCost = classVal("input-total-earnest-money-cost-budget-plan");
|
||||
var capitalInterest = classVal("input-total-capital-interest-budget-plan");
|
||||
|
||||
var underwrittenPlan = $(".input-total-underwritten-plan-budget-plan").val();
|
||||
var repaymentPlan = $(".input-total-repayment-plan-budget-plan").val();
|
||||
var underwrittenPlan = classVal("input-total-underwritten-plan-budget-plan");
|
||||
var repaymentPlan = classVal("input-total-repayment-plan-budget-plan");
|
||||
|
||||
var d = f2(f2(deviceCost)+f2(engineerCost));
|
||||
var f = f2(f2(projectManageCost)+f2(earnestMoneyCost)+f2(capitalInterest));
|
||||
|
@ -614,10 +571,10 @@ function updateCashFlow() {
|
|||
var m = f2(f2(underwrittenPlan)-f2(repaymentPlan));
|
||||
var n = f2(g+0+m);
|
||||
|
||||
console.log(saleIncome,earnestMoneyIncome,deviceCost,
|
||||
/*console.log(saleIncome,earnestMoneyIncome,deviceCost,
|
||||
engineerCost,projectManageCost,earnestMoneyCost,
|
||||
capitalInterest,underwrittenPlan,repaymentPlan,
|
||||
d,f,g,m,m);
|
||||
d,f,g,m,m);*/
|
||||
|
||||
|
||||
$("input[name='saleIncomeCash']").val(saleIncome);
|
||||
|
|
|
@ -44,3 +44,70 @@ function postAjax(url, data, callback) {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取给定名字的input框的值
|
||||
* @param name
|
||||
* @returns {*|jQuery}
|
||||
*/
|
||||
function inputVal(name) {
|
||||
return $("input[name='"+name+"']").val();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取给定class名字的input框的值
|
||||
* @param className
|
||||
* @returns {*|jQuery}
|
||||
*/
|
||||
function classVal(className) {
|
||||
return $("."+className).val();
|
||||
}
|
||||
|
||||
/**
|
||||
* 统计成本(含税),有一项没填就置空
|
||||
*/
|
||||
function calCostInclude() {
|
||||
var costPurchaseDeviceTaxInclude = inputVal("costPurchaseDeviceTaxInclude");
|
||||
var costPurchaseBuildTaxInclude = inputVal("costPurchaseBuildTaxInclude");
|
||||
var costPurchaseServiceTaxInclude = inputVal("costPurchaseServiceTaxInclude");
|
||||
var costPurchaseOtherTaxInclude = inputVal("costPurchaseOtherTaxInclude");
|
||||
var costProjectManageTaxInclude = inputVal("costProjectManageTaxInclude");
|
||||
var costOtherOtherTaxInclude = inputVal("costOtherOtherTaxInclude");
|
||||
|
||||
|
||||
var $costTotalTaxInclude = $("input[name='costTotalTaxInclude']");
|
||||
|
||||
if(costPurchaseDeviceTaxInclude && costPurchaseBuildTaxInclude
|
||||
&& costPurchaseServiceTaxInclude && costPurchaseOtherTaxInclude
|
||||
&& costProjectManageTaxInclude && costOtherOtherTaxInclude){
|
||||
$costTotalTaxInclude.val(f2(costPurchaseDeviceTaxInclude) +f2(costPurchaseBuildTaxInclude)
|
||||
+f2(costPurchaseServiceTaxInclude)+f2(costPurchaseOtherTaxInclude)
|
||||
+f2(costProjectManageTaxInclude)+f2(costOtherOtherTaxInclude));
|
||||
}else {
|
||||
$costTotalTaxInclude.val("");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 统计成本(不含税),有一项没填就置空
|
||||
*/
|
||||
function calCostExclude() {
|
||||
var costPurchaseDeviceTaxExclude = inputVal("costPurchaseDeviceTaxExclude");
|
||||
var costPurchaseBuildTaxExclude = inputVal("costPurchaseBuildTaxExclude");
|
||||
var costPurchaseServiceTaxExclude = inputVal("costPurchaseServiceTaxExclude");
|
||||
var costPurchaseOtherTaxExclude = inputVal("costPurchaseOtherTaxExclude");
|
||||
var costProjectManageTaxExclude = inputVal("costProjectManageTaxExclude");
|
||||
var costOtherOtherTaxExclude = inputVal("costOtherOtherTaxExclude");
|
||||
|
||||
|
||||
var $costTotalTaxExclude = $("input[name='costTotalTaxExclude']");
|
||||
|
||||
if(costPurchaseDeviceTaxExclude && costPurchaseBuildTaxExclude
|
||||
&& costPurchaseServiceTaxExclude && costPurchaseOtherTaxExclude
|
||||
&& costProjectManageTaxExclude && costOtherOtherTaxExclude){
|
||||
$costTotalTaxExclude.val(f2(costPurchaseDeviceTaxExclude)+f2(costPurchaseBuildTaxExclude)
|
||||
+f2(costPurchaseServiceTaxExclude)+f2(costPurchaseOtherTaxExclude)
|
||||
+f2(costProjectManageTaxExclude)+f2(costOtherOtherTaxExclude));
|
||||
}else {
|
||||
$costTotalTaxExclude.val("");
|
||||
}
|
||||
}
|
|
@ -96,73 +96,32 @@ function calIncomeAndCost() {
|
|||
* 统计收入(含税),有一项没填就置空
|
||||
*/
|
||||
function calIncomeInclude() {
|
||||
var incomeDeviceTaxInclude = $("input[name='incomeDeviceTaxInclude']").val();
|
||||
var incomeEngineerTaxInclude = $("input[name='incomeEngineerTaxInclude']").val();
|
||||
var incomeServiceTaxInclude = $("input[name='incomeServiceTaxInclude']").val();
|
||||
var incomeDeviceTaxInclude = inputVal("incomeDeviceTaxInclude");
|
||||
var incomeEngineerTaxInclude = inputVal("incomeEngineerTaxInclude");
|
||||
var incomeServiceTaxInclude = inputVal("incomeServiceTaxInclude");
|
||||
|
||||
var incomeTotalTaxInclude = $("input[name='incomeTotalTaxInclude']");
|
||||
var $incomeTotalTaxInclude = $("input[name='incomeTotalTaxInclude']");
|
||||
|
||||
if(incomeDeviceTaxInclude && incomeEngineerTaxInclude && incomeServiceTaxInclude){
|
||||
incomeTotalTaxInclude.val(parseFloat(incomeDeviceTaxInclude)+parseFloat(incomeEngineerTaxInclude)+parseFloat(incomeServiceTaxInclude));
|
||||
$incomeTotalTaxInclude.val(f2(incomeDeviceTaxInclude)+f2(incomeEngineerTaxInclude)+f2(incomeServiceTaxInclude));
|
||||
}else {
|
||||
incomeTotalTaxInclude.val("");
|
||||
$incomeTotalTaxInclude.val("");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 统计收入(不含税),有一项没填就置空
|
||||
*/
|
||||
function calIncomeExclude() {
|
||||
var incomeDeviceTaxExclude = $("input[name='incomeDeviceTaxExclude']").val();
|
||||
var incomeEngineerTaxExclude = $("input[name='incomeEngineerTaxExclude']").val();
|
||||
var incomeServiceTaxExclude = $("input[name='incomeServiceTaxExclude']").val();
|
||||
var incomeDeviceTaxExclude = inputVal("incomeDeviceTaxExclude");
|
||||
var incomeEngineerTaxExclude = inputVal("incomeEngineerTaxExclude");
|
||||
var incomeServiceTaxExclude = inputVal("incomeServiceTaxExclude");
|
||||
|
||||
var incomeTotalTaxExclude = $("input[name='incomeTotalTaxExclude']");
|
||||
var $incomeTotalTaxExclude = $("input[name='incomeTotalTaxExclude']");
|
||||
|
||||
if(incomeDeviceTaxExclude && incomeEngineerTaxExclude && incomeServiceTaxExclude){
|
||||
incomeTotalTaxExclude.val(parseFloat(incomeDeviceTaxExclude)+parseFloat(incomeEngineerTaxExclude)+parseFloat(incomeServiceTaxExclude));
|
||||
$incomeTotalTaxExclude.val(f2(incomeDeviceTaxExclude)+f2(incomeEngineerTaxExclude)+f2(incomeServiceTaxExclude));
|
||||
}else {
|
||||
incomeTotalTaxExclude.val("");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 统计成本(含税),有一项没填就置空
|
||||
*/
|
||||
function calCostInclude() {
|
||||
var costPurchaseDeviceTaxInclude = $("input[name='costPurchaseDeviceTaxInclude']").val();
|
||||
var costPurchaseBuildTaxInclude = $("input[name='costPurchaseBuildTaxInclude']").val();
|
||||
var costPurchaseServiceTaxInclude = $("input[name='costPurchaseServiceTaxInclude']").val();
|
||||
var costPurchaseOtherTaxInclude = $("input[name='costPurchaseOtherTaxInclude']").val();
|
||||
var costProjectManageTaxInclude = $("input[name='costProjectManageTaxInclude']").val();
|
||||
var costOtherOtherTaxInclude = $("input[name='costOtherOtherTaxInclude']").val();
|
||||
|
||||
|
||||
var costTotalTaxInclude = $("input[name='costTotalTaxInclude']");
|
||||
|
||||
if(costPurchaseDeviceTaxInclude && costPurchaseBuildTaxInclude && costPurchaseServiceTaxInclude && costPurchaseOtherTaxInclude && costProjectManageTaxInclude && costOtherOtherTaxInclude){
|
||||
costTotalTaxInclude.val(parseFloat(costPurchaseDeviceTaxInclude)+parseFloat(costPurchaseBuildTaxInclude)+parseFloat(costPurchaseServiceTaxInclude)+parseFloat(costPurchaseOtherTaxInclude)+parseFloat(costProjectManageTaxInclude)+parseFloat(costOtherOtherTaxInclude));
|
||||
}else {
|
||||
costTotalTaxInclude.val("");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 统计成本(不含税),有一项没填就置空
|
||||
*/
|
||||
function calCostExclude() {
|
||||
var costPurchaseDeviceTaxExclude = $("input[name='costPurchaseDeviceTaxExclude']").val();
|
||||
var costPurchaseBuildTaxExclude = $("input[name='costPurchaseBuildTaxExclude']").val();
|
||||
var costPurchaseServiceTaxExclude = $("input[name='costPurchaseServiceTaxExclude']").val();
|
||||
var costPurchaseOtherTaxExclude = $("input[name='costPurchaseOtherTaxExclude']").val();
|
||||
var costProjectManageTaxExclude = $("input[name='costProjectManageTaxExclude']").val();
|
||||
var costOtherOtherTaxExclude = $("input[name='costOtherOtherTaxExclude']").val();
|
||||
|
||||
|
||||
var costTotalTaxExclude = $("input[name='costTotalTaxExclude']");
|
||||
|
||||
if(costPurchaseDeviceTaxExclude && costPurchaseBuildTaxExclude && costPurchaseServiceTaxExclude && costPurchaseOtherTaxExclude && costProjectManageTaxExclude && costOtherOtherTaxExclude){
|
||||
costTotalTaxExclude.val(parseFloat(costPurchaseDeviceTaxExclude)+parseFloat(costPurchaseBuildTaxExclude)+parseFloat(costPurchaseServiceTaxExclude)+parseFloat(costPurchaseOtherTaxExclude)+parseFloat(costProjectManageTaxExclude)+parseFloat(costOtherOtherTaxExclude));
|
||||
}else {
|
||||
costTotalTaxExclude.val("");
|
||||
$incomeTotalTaxExclude.val("");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -170,29 +129,29 @@ function calCostExclude() {
|
|||
* 计算毛利、毛利率、贡献、贡献率
|
||||
*/
|
||||
function calIncomeCost() {
|
||||
var incomeTotalTaxExclude = $("input[name='incomeTotalTaxExclude']").val();
|
||||
var costTotalTaxExclude = $("input[name='costTotalTaxExclude']").val();
|
||||
var costExpropriationTaxExclude = $("input[name='costExpropriationTaxExclude']").val();
|
||||
var costCompanyManageTaxExclude = $("input[name='costCompanyManageTaxExclude']").val();
|
||||
var incomeTotalTaxExclude = inputVal("incomeTotalTaxExclude");
|
||||
var costTotalTaxExclude = inputVal("costTotalTaxExclude");
|
||||
var costExpropriationTaxExclude = inputVal("costExpropriationTaxExclude");
|
||||
var costCompanyManageTaxExclude = inputVal("costCompanyManageTaxExclude");
|
||||
|
||||
var projectGrossProfit = $("input[name='projectGrossProfit']");
|
||||
var projectGrossProfitRate = $("input[name='projectGrossProfitRate']");
|
||||
var projectContributionProfit = $("input[name='projectContributionProfit']");
|
||||
var projectContributionProfitRate = $("input[name='projectContributionProfitRate']");
|
||||
var $projectGrossProfit = $("input[name='projectGrossProfit']");
|
||||
var $projectGrossProfitRate = $("input[name='projectGrossProfitRate']");
|
||||
var $projectContributionProfit = $("input[name='projectContributionProfit']");
|
||||
var $projectContributionProfitRate = $("input[name='projectContributionProfitRate']");
|
||||
|
||||
if (incomeTotalTaxExclude && costTotalTaxExclude && costExpropriationTaxExclude) {
|
||||
projectGrossProfit.val(parseFloat(incomeTotalTaxExclude) - parseFloat(costTotalTaxExclude) - parseFloat(costExpropriationTaxExclude));
|
||||
projectGrossProfitRate.val(parseFloat(projectGrossProfit.val()) * 100 / parseFloat(incomeTotalTaxExclude));
|
||||
$projectGrossProfit.val(f2(incomeTotalTaxExclude) - f2(costTotalTaxExclude) - f2(costExpropriationTaxExclude));
|
||||
$projectGrossProfitRate.val(f2($projectGrossProfit.val()) * 100 / f2(incomeTotalTaxExclude));
|
||||
} else {
|
||||
projectGrossProfit.val("");
|
||||
projectGrossProfitRate.val("");
|
||||
$projectGrossProfit.val("");
|
||||
$projectGrossProfitRate.val("");
|
||||
}
|
||||
|
||||
if (projectGrossProfit.val() && costCompanyManageTaxExclude) {
|
||||
projectContributionProfit.val(parseFloat(projectGrossProfit.val()) - parseFloat(costCompanyManageTaxExclude));
|
||||
projectContributionProfitRate.val(parseFloat(projectContributionProfit.val()) * 100 / parseFloat(incomeTotalTaxExclude))
|
||||
if ($projectGrossProfit.val() && costCompanyManageTaxExclude) {
|
||||
$projectContributionProfit.val(f2($projectGrossProfit.val()) - f2(costCompanyManageTaxExclude));
|
||||
$projectContributionProfitRate.val(f2($projectContributionProfit.val()) * 100 / f2(incomeTotalTaxExclude))
|
||||
} else {
|
||||
projectContributionProfit.val("");
|
||||
projectContributionProfitRate.val("");
|
||||
$projectContributionProfit.val("");
|
||||
$projectContributionProfitRate.val("");
|
||||
}
|
||||
}
|
|
@ -6,11 +6,20 @@
|
|||
<div class="am-cf am-padding" style="padding:1rem 1.6rem 1.6rem 1rem;margin:0px;">
|
||||
<!-- padding:1px 2px 3px 4px;上、右、下,和左 -->
|
||||
<div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">工作流程</strong> /
|
||||
<small>审批过程</small>
|
||||
<small>审批过程和流程图</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-g">
|
||||
|
||||
<div class="am-tabs am-margin" data-am-tabs>
|
||||
<ul class="am-tabs-nav am-nav am-nav-tabs">
|
||||
<li class="am-active" ><a href="#tab2">审批过程</a></li>
|
||||
<li><a href="#tab3">流程图</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="am-tabs-bd">
|
||||
<div class="am-tab-panel am-fade am-in am-active" id="tab2">
|
||||
|
||||
<div class="am-u-sm-12 am-scrollable-horizontal">
|
||||
<!-- padding:1px 2px 3px 4px;上、右、下,和左 -->
|
||||
<table class="am-table am-table-striped am-table-hover table-main">
|
||||
|
@ -23,7 +32,6 @@
|
|||
<th class="table-date">结束时间</th>
|
||||
<th class="table-date">用时</th>
|
||||
<th class="table-set am-text-center">意见</th>
|
||||
<th class="table-set am-text-center">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -39,52 +47,25 @@
|
|||
</#if></td>
|
||||
<td>${list.duration!}</td>
|
||||
<td>${list.comments!}</td>
|
||||
|
||||
|
||||
<td>
|
||||
|
||||
<#if !list.endTime??>
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
onclick="completeTask('${list.procInsId}', '${list.taskId}', 2)">
|
||||
<span class="am-icon-pencil-square-o"></span>
|
||||
审批通过
|
||||
</button>
|
||||
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
onclick="completeTask('${list.procInsId}', '${list.taskId}', 3)">
|
||||
<span class="am-icon-pencil-square-o"></span>
|
||||
驳回
|
||||
</button>
|
||||
|
||||
</#if>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</#list>
|
||||
</#if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="am-cf">
|
||||
<!-- 分页 -->
|
||||
<#if (pager.list)?exists && (pager.list?size>0) >
|
||||
<div class="am-fr">
|
||||
<#include "../common/common_pager.ftl">
|
||||
</div>
|
||||
<#else>
|
||||
<div class="am-kai" align="center">
|
||||
<h3>没有找到任何记录!</h3>
|
||||
</div>
|
||||
</#if>
|
||||
<div class="am-tabs-bd">
|
||||
<div class="am-tab-panel am-fade am-in" id="tab3">
|
||||
<img id="img" name="img" style="width: 950px" src="${base}/actProcIns/procInsPng/${procInsId}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="am-margin">
|
||||
<#--<button type="submit" class="am-btn am-btn-primary am-btn-xs">提交保存</button>-->
|
||||
<button type="button" class="am-btn am-btn-warning am-btn-xs"
|
||||
onclick="location.href='${base}/actProcIns/list'">返回
|
||||
</button>
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
onclick="window.open('${base}/activiti-editor/modeler.html?modelId==${list.id?c}')">
|
||||
onclick="design(${list.id?c})" >
|
||||
<span class="am-icon-pencil-square-o"></span>
|
||||
流程设计
|
||||
</button>
|
||||
|
@ -191,6 +191,7 @@
|
|||
|
||||
|
||||
var deploy = function (id) {
|
||||
if (window.confirm('部署后请在流程定义里配置任务审批人,新发起的审批将按最新的流程定义运行,确定要部署吗? ')) {
|
||||
var params = {id: id};
|
||||
$.ajax({
|
||||
url: '${base}/actModel/deploy',
|
||||
|
@ -202,13 +203,21 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$(function () {
|
||||
|
||||
|
||||
var design = function (id) {
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '',
|
||||
shadeClose: true,
|
||||
shade: 0.8,
|
||||
area: ['90%', '90%'],
|
||||
content: '${base}/activiti-editor/modeler.html?modelId==' + id,
|
||||
end: function () {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<td>
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
onclick="window.open('${base}/actProcDef/procDefPng/${list.deploymentId!}')">
|
||||
onclick="pngView('${list.deploymentId!}')">
|
||||
<span class="am-icon-pencil-square-o"></span>
|
||||
流程图片
|
||||
</button>
|
||||
|
@ -269,4 +269,15 @@
|
|||
});
|
||||
}
|
||||
|
||||
var pngView = function (id) {
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '',
|
||||
shadeClose: true,
|
||||
shade: 0.8,
|
||||
area: ['90%', '60%'],
|
||||
content: '${base}/actProcDef/procDefPng/' + id,
|
||||
});
|
||||
};
|
||||
|
||||
</script>
|
|
@ -49,13 +49,6 @@
|
|||
</button>
|
||||
|
||||
</#if>
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
onclick="window.open('${base}/actProcIns/procInsPng/${list.procInsId!}')">
|
||||
<span class="am-icon-pencil-square-o"></span>
|
||||
流程图
|
||||
</button>
|
||||
|
||||
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
|
|
|
@ -716,175 +716,190 @@
|
|||
</div>
|
||||
|
||||
<div class="am-tabs-bd">
|
||||
<div class="am-tab-panel am-fade am-in" id="tab4">
|
||||
<div class="am-tab-panel am-fade am-in am-active" id="tab4">
|
||||
<input name="id" id="id" type="hidden" value="${project.id}" />
|
||||
<span class="am-text-lg">收入</span>
|
||||
<span class="am-text-primary"><a style="cursor: pointer" id="income-detail">收入明细表</a></span>
|
||||
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||
<tbody>
|
||||
<tr class="am-text-lg">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>费用</td>
|
||||
<td>含税金额(元)</td>
|
||||
<td>不含税金额(元)</td>
|
||||
<td>概算总额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收入</td>
|
||||
<td>设备类</td>
|
||||
<td><input type="number" name="incomeDeviceTaxInclude"
|
||||
value="${Utils.format(budgetBean.incomeDeviceTaxInclude,'0')}" required
|
||||
readonly title="设备类含税总额"></td>
|
||||
<td><input type="number" name="incomeDeviceTaxExclude"
|
||||
value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0')}" required
|
||||
readonly title="设备类不含税总额"></td>
|
||||
<td><input name="incomeDeviceEstimateTotal" type="number" value="${Utils.format(estimateBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类概算总额"></td>
|
||||
<td><input name="incomeDeviceBudgetTotal" type="number" value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类预算总额"></td>
|
||||
<td><input name="incomeDeviceFormerSettleTotal" type="number" value="${Utils.format(formerBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="incomeDevice" required title="本月结算金额"></td>
|
||||
<td><input type="number" name="incomeDeviceSettleTotal" readonly title="设备类结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收入</td>
|
||||
<td>工程类</td>
|
||||
<td><input type="number" name="incomeEngineerTaxInclude"
|
||||
value="${Utils.format(budgetBean.incomeEngineerTaxInclude,'0')}" required
|
||||
readonly title="工程类含税总额"></td>
|
||||
<td><input type="number" name="incomeEngineerTaxExclude"
|
||||
value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0')}" required
|
||||
readonly title="工程类不含税总额"></td>
|
||||
<td><input name="incomeEngineerEstimateTotal" type="number" value="${Utils.format(estimateBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类概算总额"></td>
|
||||
<td><input name="incomeEngineerBudgetTotal" type="number" value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类预算总额"></td>
|
||||
<td><input name="incomeEngineerFormerSettleTotal" type="number" value="${Utils.format(formerBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="incomeEngineer" required title="工程类本月结算金额"></td>
|
||||
<td><input type="number" name="incomeEngineerSettleTotal" readonly title="工程类结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收入</td>
|
||||
<td>服务类</td>
|
||||
<td><input type="number" name="incomeServiceTaxInclude"
|
||||
value="${Utils.format(budgetBean.incomeServiceTaxInclude,'0')}" required
|
||||
readonly title="服务类含税总额"></td>
|
||||
<td><input type="number" name="incomeServiceTaxExclude"
|
||||
value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0')}" required
|
||||
readonly title="服务类不含税总额"></td>
|
||||
<td><input name="incomeServiceEstimateTotal" type="number" value="${Utils.format(estimateBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类概算总额"></td>
|
||||
<td><input name="incomeServiceBudgetTotal" type="number" value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类预算总额"></td>
|
||||
<td><input name="incomeServiceFormerSettleTotal" type="number" value="${Utils.format(formerBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="incomeService" required title="服务类本月结算金额"></td>
|
||||
<td><input type="number" name="incomeServiceSettleTotal" readonly title="服务类结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td><input type="number" name="incomeTotalTaxInclude"
|
||||
value="${Utils.format(budgetBean.incomeTotalTaxInclude,'0')}" readonly
|
||||
required title="此列累计"></td>
|
||||
<td><input type="number" name="incomeTotalTaxExclude"
|
||||
value="${Utils.format(budgetBean.incomeTotalTaxExclude,'0')}" readonly
|
||||
required title="此列累计"></td>
|
||||
<td><input name="incomeEstimateTotal" type="number" value="${Utils.format(estimateBean.getIncomeTotalTaxExclude(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="incomeBudgetTotal" type="number" value="${Utils.format(budgetBean.getIncomeTotalTaxExclude(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="incomeFormerSettleTotal" type="number" value="${Utils.format(formerBean.getIncomeTotalTaxExclude(),'0')}" required readonly title="此列累计"></td>
|
||||
<td><input type="number" name="incomeTotal" readonly title="此列累计"></td>
|
||||
<td><input type="number" name="incomeSettleTotal" readonly title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</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">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>费用</td>
|
||||
<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 type="number" name="costPurchaseDeviceTaxInclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseDeviceTaxInclude,'0')}"
|
||||
readonly required title="购买设备含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseDeviceTaxExclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0')}"
|
||||
readonly required title="购买设备不含税总额"></td>
|
||||
<td><input name="costPurchaseDeviceEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备概算总额"></td>
|
||||
<td><input name="costPurchaseDeviceBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备预算总额"></td>
|
||||
<td><input name="costPurchaseDeviceFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseDeviceTaxExclude,'0')}" required readonly title="购买设备上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseDevice" required title="购买设备本月结算总额"></td>
|
||||
<td><input type="number" name="costPurchaseDeviceSettleTotal" readonly title="购买设备结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>采购成本</td>
|
||||
<td>施工</td>
|
||||
<td><input type="number" name="costPurchaseBuildTaxInclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseBuildTaxInclude,'0')}"
|
||||
readonly required title="购买施工含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseBuildTaxExclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0')}"
|
||||
readonly required title="购买施工不含税总额"></td>
|
||||
<td><input name="costPurchaseBuildEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="施工采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseBuildBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="施工采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseBuildFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseBuildTaxExclude,'0')}" required readonly title="施工采购成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseBuild" required title="施工采购成本本月结算金额"></td>
|
||||
<td><input type="number" name="costPurchaseBuildSettleTotal" readonly title="施工采购成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>采购成本</td>
|
||||
<td>服务</td>
|
||||
<td><input type="number" name="costPurchaseServiceTaxInclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseServiceTaxInclude,'0')}"
|
||||
readonly required title="购买服务含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseServiceTaxExclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0')}"
|
||||
readonly required title="购买服务不含税总额"></td>
|
||||
<td><input name="costPurchaseServiceEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="服务采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseServiceBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="服务采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseServiceFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseServiceTaxExclude,'0')}" required readonly title="服务采购成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseService" required title="服务采购成本本月结算金额"></td>
|
||||
<td><input type="number" name="costPurchaseServiceSettleTotal" readonly title="服务采购成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>采购成本</td>
|
||||
<td>其他</td>
|
||||
<td><input type="number" name="costPurchaseOtherTaxInclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseOtherTaxInclude,'0')}"
|
||||
readonly required title="购买其他含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseOtherTaxExclude"
|
||||
value="${Utils.format(budgetBean.costPurchaseOtherTaxExclude,'0')}"
|
||||
readonly required title="购买其他不含税总额"></td>
|
||||
<td><input name="costPurchaseOtherEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseOtherTaxExclude,'0')}" readonly required title="其他采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseOtherBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseOtherTaxExclude,'0')}" readonly required title="其他采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseOtherFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseOtherTaxExclude,'0')}" required readonly title="其他采购成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseOther" required title="其他采购成本本月结算金额"></td>
|
||||
<td><input type="number" name="costPurchaseOtherSettleTotal" readonly title="其他采购成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>项目管理成本</td>
|
||||
<td>项目管理成本</td>
|
||||
<td><#--<input name="costProjectManageTaxInclude" value="${budgetBean.costProjectManageTaxInclude!}" readonly required>-->
|
||||
/
|
||||
</td>
|
||||
<td><input type="number" name="costProjectManageTaxExclude"
|
||||
value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}"
|
||||
readonly required title="项目管理成本总额"></td>
|
||||
<td><input name="costProjectManageEstimateTotal" type="number" value="${Utils.format(estimateBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本概算总额"></td>
|
||||
<td><input name="costProjectManageBudgetTotal" type="number" value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本预算总额"></td>
|
||||
<td><input name="costProjectManageFormerSettleTotal" type="number" value="${Utils.format(formerBean.costProjectManageTaxExclude,'0')}" required readonly title="项目管理成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costProjectManage" required title="项目管理成本本月结算金额"></td>
|
||||
<td><input type="number" name="costProjectManageSettleTotal" readonly title="项目管理成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>其他</td>
|
||||
<td>其他</td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01"
|
||||
name="costOtherOtherTaxInclude"
|
||||
value="${Utils.format(budgetBean.costOtherOtherTaxInclude,'0')}" required
|
||||
title="其他含税总额(填入)"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01"
|
||||
name="costOtherOtherTaxExclude"
|
||||
value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0')}" required
|
||||
title="其他不含税总额(填入)"></td>
|
||||
<td><input name="costOtherEstimateTotal" type="number" value="${Utils.format(estimateBean.costOtherOtherTaxExclude,'0')}" readonly required title="其他成本概算总额"></td>
|
||||
<td><input name="costOtherBudgetTotal" type="number" value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0')}" readonly required title="其他成本预算总额"></td>
|
||||
<td><input name="costOtherFormerSettleTotal" type="number" value="${Utils.format(formerBean.costOtherOtherTaxExclude,'0')}" required readonly title="其他成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costOther" required title="其他成本本月结算金额"></td>
|
||||
<td><input type="number" name="costOtherSettleTotal" readonly title="其他成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="number" name="costTotalTaxInclude"
|
||||
value="${Utils.format(budgetBean.costTotalTaxInclude,'0')}" readonly
|
||||
required title="此列累计"></td>
|
||||
<td><input type="number" name="costTotalTaxExclude"
|
||||
value="${Utils.format(budgetBean.costTotalTaxExclude,'0')}" readonly
|
||||
required title="此列累计"></td>
|
||||
<td><input name="costEstimateTotal" value="${Utils.format(estimateBean.getCostTotalTaxExclude(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costBudgetTotal" value="${Utils.format(budgetBean.getCostTotalTaxExclude(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costFormerSettleTotal" type="number" value="${Utils.format(formerBean.getCostTotalTaxExclude(),'0')}" required readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costTotal" readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costSettleTotal" readonly title="此列累计"></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 class="am-text-lg">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>费用项目</td>
|
||||
<td>不含税金额(元)</td>
|
||||
<td>概算总额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>财务费用</td>
|
||||
<td>资金占用成本</td>
|
||||
<td><input type="number" name="costExpropriationTaxExclude"
|
||||
value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0')}"
|
||||
required readonly title="资金占用成本不含税总额"></td>
|
||||
<td><input name="costExpropriationEstimateTotal" type="number" <#--value="${Utils.format(estimateBean.costExpropriationTaxExclude,'0')}"--> required readonly title="资金占用成本概算总额"></td>
|
||||
<td><input name="costExpropriationBudgetTotal" type="number" value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本预算总额"></td>
|
||||
<td><input name="costExpropriationFormerSettleTotal" type="number" value="${Utils.format(formerBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costExpropriation" required title="资金占用成本本月结算金额"></td>
|
||||
<td><input type="number" name="costExpropriationSettleTotal" readonly title="资金占用成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司管理费用</td>
|
||||
<td></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01"
|
||||
name="costCompanyManageTaxExclude"
|
||||
value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0')}"
|
||||
required title="公司管理费用不含税总额"></td>
|
||||
<td><input name="costCompanyManageEstimateTotal" type="number" value="${Utils.format(estimateBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用概算总额"></td>
|
||||
<td><input name="costCompanyManageBudgetTotal" type="number" value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用预算总额"></td>
|
||||
<td><input name="costCompanyManageFormerSettleTotal" type="number" value="${Utils.format(formerBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costCompanyManage" required title="公司管理费用本月结算金额"></td>
|
||||
<td><input type="number" name="costCompanyManageSettleTotal" readonly title="公司管理费用结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>所得税费用</td>
|
||||
<td></td>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td><input name="costIncomeTaxFormerSettleTotal" type="number" value="${Utils.format(formerBean.costIncomeTax,'0')}" required readonly title="公司管理费用上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costIncomeTax" required title="公司管理费用本月结算金额"></td>
|
||||
<td><input type="number" name="costIncomeTaxSettleTotal" readonly title="公司管理费用结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td><input name="costManageEstimateTotal" value="${Utils.format(estimateBean.costExpropriationTaxExclude + estimateBean.costCompanyManageTaxExclude,'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costManageBudgetTotal" value="${Utils.format(budgetBean.costExpropriationTaxExclude + budgetBean.costCompanyManageTaxExclude,'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costManageFormerSettleTotal" type="number" value="${Utils.format(formerBean.CostManageTotal,'0')}" required readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costManageTotal" readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costManageSettleTotal" readonly title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -892,123 +907,159 @@
|
|||
<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">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>不含税金额(元)</td>
|
||||
<td>概算总额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
<td>利润率(%)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目毛利</td>
|
||||
<td><input type="number" name="projectGrossProfit"
|
||||
value="${Utils.format(budgetBean.projectGrossProfit,'0')}" readonly
|
||||
required title="收入总计(不含税)-成本总计(不含税)-财务费用总计(不含税)"></td>
|
||||
<td><input type="number" name="projectGrossProfitRate"
|
||||
value="${Utils.format(budgetBean.projectGrossProfitRate,'0')}" readonly
|
||||
required title="毛利(不含税)/收入总计(不含税)"></td>
|
||||
<td><input name="grossProfitEstimateTotal" type="number" value="${Utils.format(estimateBean.grossProfitTaxExclude,'0')}" required readonly title="项目毛利概算总额"></td>
|
||||
<td><input name="grossProfitBudgetTotal" type="number" value="${Utils.format(budgetBean.grossProfitTaxExclude,'0')}" required readonly title="项目毛利预算总额"></td>
|
||||
<td><input name="grossProfitFormerSettleTotal" type="number" value="${Utils.format(formerBean.grossProfitTaxExclude,'0')}" required readonly title="项目毛利上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="grossProfit" required title="项目毛利本月结算金额"></td>
|
||||
<td><input type="number" name="grossProfitSettleTotal" readonly title="项目毛利结算总额"></td>
|
||||
<td><input name="grossProfitProfitMargin" type="number" readonly title="项目毛利利润率"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目贡献利润率</td>
|
||||
<td><input type="number" name="projectContributionProfit"
|
||||
value="${Utils.format(budgetBean.projectContributionProfit,'0')}"
|
||||
readonly required title="项目毛利(不含税)-公司管理费用总计(不含税)"></td>
|
||||
<td><input type="number" name="projectContributionProfitRate"
|
||||
value="${Utils.format(budgetBean.projectContributionProfitRate,'0')}"
|
||||
readonly required title="贡献利润(不含税)/收入总计(不含税)"></td>
|
||||
<td>项目贡献利润</td>
|
||||
<td><input name="contributionProfitEstimateTotal" type="number" value="${Utils.format(estimateBean.contributionProfitTaxExclude,'0')}" required readonly title="项目贡献利润概算总额"></td>
|
||||
<td><input name="contributionProfitBudgetTotal" type="number" value="${Utils.format(budgetBean.contributionProfitTaxExclude,'0')}" required readonly title="项目贡献利润预算总额"></td>
|
||||
<td><input name="contributionProfitFormerSettleTotal" type="number" value="${Utils.format(formerBean.contributionProfitTaxExclude,'0')}" required readonly title="项目贡献利润上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="contributionProfit" required title="项目贡献利润本月结算金额"></td>
|
||||
<td><input type="number" name="contributionProfitSettleTotal" readonly title="项目贡献利润结算总额"></td>
|
||||
<td><input name="contributionProfitProfitMargin" type="number" readonly title="项目贡献利润利润率"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目净利润</td>
|
||||
<td>/</td>
|
||||
<td><input name="netProfitBudgetTotal" type="number" value="${Utils.format(budgetBean.netProfitTaxExclude,'0')}" required readonly title="项目净利润预算总额"></td>
|
||||
<td><input name="netProfitFormerSettleTotal" type="number" value="${Utils.format(formerBean.netProfitTaxExclude,'0')}" required readonly title="项目净利润上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netProfit" required title="项目净利润本月结算金额"></td>
|
||||
<td><input type="number" name="netProfitSettleTotal" readonly title="项目净利润结算总额"></td>
|
||||
<td><input name="netProfitProfitMargin" type="number" readonly title="项目净利润利润率"></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 class="am-text-lg">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>金额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>销售商品、提供劳务收到的现金a</td>
|
||||
<td><input type="number" name="saleIncomeCash"
|
||||
value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly
|
||||
required title="取自资金计划表(销售收款)"></td>
|
||||
<td>销售商品、提供劳务收到的现金</td>
|
||||
<td><input name="saleIncomeCashBudget" type="number" value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="saleIncomeCashFormerSettle" type="number" value="${Utils.format(formerBean.saleIncomeCash,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="saleIncomeCash" required title="本月结算金额"></td>
|
||||
<td><input name="saleIncomeCashSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收到的税费返还b</td>
|
||||
<td>/<input type="hidden" name="taxReturn"
|
||||
value="${Utils.format(cashFlowBean.taxReturn,'0')}" readonly required>
|
||||
</td>
|
||||
<td>收到的税费返还</td>
|
||||
<td>/</td>
|
||||
<td><input name="taxReturnFormerSettle" type="number" value="${Utils.format(formerBean.taxReturn,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="taxReturn" required title="本月结算金额"></td>
|
||||
<td><input name="taxReturnSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收到其他与经营活动有关的现金c</td>
|
||||
<td><input type="number" name="earnestMoneyIncome"
|
||||
value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly
|
||||
required title="取自资金计划表(保证金收款)"></td>
|
||||
<td>收到其他与经营活动有关的现金</td>
|
||||
<td><input name="earnestMoneyIncomeBudget" type="number" value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="earnestMoneyIncomeFormerSettle" type="number" value="${Utils.format(formerBean.earnestMoneyIncome,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="earnestMoneyIncome" required title="本月结算金额"></td>
|
||||
<td><input name="earnestMoneyIncomeSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>购买商品、接受劳务支付的现d</td>
|
||||
<td><input type="number" name="purchaseCost"
|
||||
value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly required
|
||||
title="取自资金计划表(设备支出+工程支出)"></td>
|
||||
<td>购买商品、接受劳务支付的现金</td>
|
||||
<td><input name="purchaseCostBudget" type="number" value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="purchaseCostFormerSettle" type="number" value="${Utils.format(formerBean.purchaseCost,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="purchaseCost" required title="本月结算金额"></td>
|
||||
<td><input name="purchaseCostSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>支付的各项税费e</td>
|
||||
<td>/<input type="hidden" name="taxCost"
|
||||
value="${Utils.format(cashFlowBean.taxCost,'0')}" readonly required>
|
||||
</td>
|
||||
<td>支付的各项税费</td>
|
||||
<td>/</td>
|
||||
<td><input name="taxCostFormerSettle" type="number" value="${Utils.format(formerBean.taxCost,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="taxCost" required title="本月结算金额"></td>
|
||||
<td><input name="taxCostSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>支付其他与经营活动有关的现金f</td>
|
||||
<td><input type="number" name="earnestMoneyCost"
|
||||
value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly
|
||||
required title="取自资金计划表(经营性开支+保证金支出+资金利息)"></td>
|
||||
<td>支付其他与经营活动有关的现金</td>
|
||||
<td><input name="earnestMoneyCostBudget" type="number" value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="earnestMoneyCostFormerSettle" type="number" value="${Utils.format(formerBean.earnestMoneyCost,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="earnestMoneyCost" required title="本月结算金额"></td>
|
||||
<td><input name="earnestMoneyCostSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>经营活动产生的现金流量净额g</td>
|
||||
<td><input type="number" name="netCashFlow"
|
||||
value="${Utils.format(cashFlowBean.netCashFlow,'0')}" readonly required
|
||||
title="g=a+c+b-d-f-e"></td>
|
||||
<td>经营活动产生的现金流量净额</td>
|
||||
<td><input name="netCashFlowBudget" type="number" value="${Utils.format(cashFlowBean.getNetCashFlow(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="netCashFlowFormerSettle" type="number" value="${Utils.format(formerBean.netCashFlow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netCashFlow" required title="本月结算金额"></td>
|
||||
<td><input name="netCashFlowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动现金流入h</td>
|
||||
<td>/<input type="hidden" name="cashInflowFromInvestingActivities"
|
||||
value="${Utils.format(cashFlowBean.cashInflowFromInvestingActivities,'0')}"
|
||||
readonly required></td>
|
||||
<td>投资活动现金流入</td>
|
||||
<td>/</td>
|
||||
<td><input name="cashInflowFromInvestingActivitiesFormerSettle" type="number" value="${Utils.format(formerBean.cashInflowFromInvestingActivities,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="cashInflowFromInvestingActivities" required title="本月结算金额"></td>
|
||||
<td><input name="cashInflowFromInvestingActivitiesSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动现金流出i</td>
|
||||
<td>/<input type="hidden" name="cashOutflowFromInvestingActivities"
|
||||
value="${Utils.format(cashFlowBean.cashOutflowFromInvestingActivities,'0')}"
|
||||
readonly required></td>
|
||||
<td>投资活动现金流出</td>
|
||||
<td>/</td>
|
||||
<td><input name="cashOutflowFromInvestingActivitiesFormerSettle" type="number" value="${Utils.format(formerBean.cashOutflowFromInvestingActivities,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="cashOutflowFromInvestingActivities" required title="本月结算金额"></td>
|
||||
<td><input name="cashOutflowFromInvestingActivitiesSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动产生的现金流量净额j</td>
|
||||
<td>/<input type="hidden" name="netCashFromInvestingActivities"
|
||||
value="${Utils.format(cashFlowBean.netCashFromInvestingActivities,'0')}"
|
||||
readonly required></td>
|
||||
<td>投资活动产生的现金流量净额</td>
|
||||
<td>/</td>
|
||||
<td><input name="netCashFromInvestingActivitiesFormerSettle" type="number" value="${Utils.format(formerBean.netCashFromInvestingActivities,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netCashFromInvestingActivities" required title="本月结算金额"></td>
|
||||
<td><input name="netCashFromInvestingActivitiesSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>融资资金流入k</td>
|
||||
<td><input type="number" name="financingCapitalInflow"
|
||||
value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}" readonly
|
||||
required title="从资金计划表查(垫资计划)"></td>
|
||||
<td>融资资金流入</td>
|
||||
<td><input name="financingCapitalInflowBudget" type="number" value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="financingCapitalInflowFormerSettle" type="number" value="${Utils.format(formerBean.financingCapitalInflow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="financingCapitalInflow" required title="本月结算金额"></td>
|
||||
<td><input name="financingCapitalInflowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>还款资金流出l</td>
|
||||
<td><input type="number" name="financingCapitalOutflow"
|
||||
value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}"
|
||||
readonly required title="从资金计划表查(还款计划)"></td>
|
||||
<td>还款资金流出</td>
|
||||
<td><input name="financingCapitalOutflowBudget" type="number" value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="financingCapitalOutflowFormerSettle" type="number" value="${Utils.format(formerBean.financingCapitalOutflow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="financingCapitalOutflow" required title="本月结算金额"></td>
|
||||
<td><input name="financingCapitalOutflowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>筹资活动产生的现金流量净额m</td>
|
||||
<td><input type="number" name="financingCapitalCashflow"
|
||||
value="${Utils.format(cashFlowBean.financingCapitalCashflow,'0')}"
|
||||
readonly required title="m=k-l"></td>
|
||||
<td>筹资活动产生的现金流量净额</td>
|
||||
<td><input name="financingCapitalCashflowBudget" type="number" value="${Utils.format(cashFlowBean.getFinancingCapitalCashflow(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="financingCapitalCashflowFormerSettle" type="number" value="${Utils.format(formerBean.financingCapitalCashflow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="financingCapitalCashflow" required title="本月结算金额"></td>
|
||||
<td><input name="financingCapitalCashflowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>货币资金净增加额n</td>
|
||||
<td><input type="number" name="netIncreaseMonetaryFunds"
|
||||
value="${Utils.format(cashFlowBean.netIncreaseMonetaryFunds,'0')}"
|
||||
readonly required title="n=g+j+m"></td>
|
||||
<td>货币资金净增加额</td>
|
||||
<td><input name="netIncreaseMonetaryFundsBudget" type="number" value="${Utils.format(cashFlowBean.getNetIncreaseMonetaryFunds(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="netIncreaseMonetaryFundsFormerSettle" type="number" value="${Utils.format(formerBean.netIncreaseMonetaryFunds,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netIncreaseMonetaryFunds" required title="本月结算金额"></td>
|
||||
<td><input name="netIncreaseMonetaryFundsSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td><input name="cashFlowBudgetTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFlowFormerSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFlowTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFlowSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -533,124 +533,190 @@
|
|||
</div>
|
||||
|
||||
<div class="am-tabs-bd">
|
||||
<div class="am-tab-panel am-fade am-in" id="tab4">
|
||||
<div class="am-tab-panel am-fade am-in am-active" id="tab4">
|
||||
<input name="id" id="id" type="hidden" value="${project.id}" />
|
||||
<span class="am-text-lg">收入</span>
|
||||
<span class="am-text-primary"><a style="cursor: pointer" id="income-detail">收入明细表</a></span>
|
||||
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||
<tbody>
|
||||
<tr class="am-text-lg">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>费用</td>
|
||||
<td>含税金额(元)</td>
|
||||
<td>不含税金额(元)</td>
|
||||
<td>概算总额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收入</td>
|
||||
<td>设备类</td>
|
||||
<td><input type="number" name="incomeDeviceTaxInclude" value="${Utils.format(budgetBean.incomeDeviceTaxInclude,'0')}" required readonly title="设备类含税总额"></td>
|
||||
<td><input type="number" name="incomeDeviceTaxExclude" value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类不含税总额"></td>
|
||||
<td><input name="incomeDeviceEstimateTotal" type="number" value="${Utils.format(estimateBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类概算总额"></td>
|
||||
<td><input name="incomeDeviceBudgetTotal" type="number" value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类预算总额"></td>
|
||||
<td><input name="incomeDeviceFormerSettleTotal" type="number" value="${Utils.format(formerBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="incomeDevice" required title="本月结算金额"></td>
|
||||
<td><input type="number" name="incomeDeviceSettleTotal" readonly title="设备类结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收入</td>
|
||||
<td>工程类</td>
|
||||
<td><input type="number" name="incomeEngineerTaxInclude" value="${Utils.format(budgetBean.incomeEngineerTaxInclude,'0')}" required readonly title="工程类含税总额"></td>
|
||||
<td><input type="number" name="incomeEngineerTaxExclude" value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类不含税总额"></td>
|
||||
<td><input name="incomeEngineerEstimateTotal" type="number" value="${Utils.format(estimateBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类概算总额"></td>
|
||||
<td><input name="incomeEngineerBudgetTotal" type="number" value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类预算总额"></td>
|
||||
<td><input name="incomeEngineerFormerSettleTotal" type="number" value="${Utils.format(formerBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="incomeEngineer" required title="工程类本月结算金额"></td>
|
||||
<td><input type="number" name="incomeEngineerSettleTotal" readonly title="工程类结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收入</td>
|
||||
<td>服务类</td>
|
||||
<td><input type="number" name="incomeServiceTaxInclude" value="${Utils.format(budgetBean.incomeServiceTaxInclude,'0')}" required readonly title="服务类含税总额"></td>
|
||||
<td><input type="number" name="incomeServiceTaxExclude" value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类不含税总额"></td>
|
||||
<td><input name="incomeServiceEstimateTotal" type="number" value="${Utils.format(estimateBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类概算总额"></td>
|
||||
<td><input name="incomeServiceBudgetTotal" type="number" value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类预算总额"></td>
|
||||
<td><input name="incomeServiceFormerSettleTotal" type="number" value="${Utils.format(formerBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="incomeService" required title="服务类本月结算金额"></td>
|
||||
<td><input type="number" name="incomeServiceSettleTotal" readonly title="服务类结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td><input type="number" name="incomeTotalTaxInclude" value="${Utils.format(budgetBean.incomeTotalTaxInclude,'0')}" readonly required title="此列累计"></td>
|
||||
<td><input type="number" name="incomeTotalTaxExclude" value="${Utils.format(budgetBean.incomeTotalTaxExclude,'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="incomeEstimateTotal" type="number" value="${Utils.format(estimateBean.getIncomeTotalTaxExclude(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="incomeBudgetTotal" type="number" value="${Utils.format(budgetBean.getIncomeTotalTaxExclude(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="incomeFormerSettleTotal" type="number" value="${Utils.format(formerBean.getIncomeTotalTaxExclude(),'0')}" required readonly title="此列累计"></td>
|
||||
<td><input type="number" name="incomeTotal" readonly title="此列累计"></td>
|
||||
<td><input type="number" name="incomeSettleTotal" readonly title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</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">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>费用</td>
|
||||
<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 type="number" name="costPurchaseDeviceTaxInclude" value="${Utils.format(budgetBean.costPurchaseDeviceTaxInclude,'0')}" readonly required title="购买设备含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseDeviceTaxExclude" value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备不含税总额"></td>
|
||||
<td><input name="costPurchaseDeviceEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备概算总额"></td>
|
||||
<td><input name="costPurchaseDeviceBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备预算总额"></td>
|
||||
<td><input name="costPurchaseDeviceFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseDeviceTaxExclude,'0')}" required readonly title="购买设备上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseDevice" required title="购买设备本月结算总额"></td>
|
||||
<td><input type="number" name="costPurchaseDeviceSettleTotal" readonly title="购买设备结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>采购成本</td>
|
||||
<td>施工</td>
|
||||
<td><input type="number" name="costPurchaseBuildTaxInclude" value="${Utils.format(budgetBean.costPurchaseBuildTaxInclude,'0')}" readonly required title="购买施工含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseBuildTaxExclude" value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="购买施工不含税总额"></td>
|
||||
<td><input name="costPurchaseBuildEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="施工采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseBuildBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="施工采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseBuildFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseBuildTaxExclude,'0')}" required readonly title="施工采购成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseBuild" required title="施工采购成本本月结算金额"></td>
|
||||
<td><input type="number" name="costPurchaseBuildSettleTotal" readonly title="施工采购成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>采购成本</td>
|
||||
<td>服务</td>
|
||||
<td><input type="number" name="costPurchaseServiceTaxInclude" value="${Utils.format(budgetBean.costPurchaseServiceTaxInclude,'0')}" readonly required title="购买服务含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseServiceTaxExclude" value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="购买服务不含税总额"></td>
|
||||
<td><input name="costPurchaseServiceEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="服务采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseServiceBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="服务采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseServiceFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseServiceTaxExclude,'0')}" required readonly title="服务采购成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseService" required title="服务采购成本本月结算金额"></td>
|
||||
<td><input type="number" name="costPurchaseServiceSettleTotal" readonly title="服务采购成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>采购成本</td>
|
||||
<td>其他</td>
|
||||
<td><input type="number" name="costPurchaseOtherTaxInclude" value="${Utils.format(budgetBean.costPurchaseOtherTaxInclude,'0')}" readonly required title="购买其他含税总额"></td>
|
||||
<td><input type="number" name="costPurchaseOtherTaxExclude" value="${Utils.format(budgetBean.costPurchaseOtherTaxExclude,'0')}" readonly required title="购买其他不含税总额"></td>
|
||||
<td><input name="costPurchaseOtherEstimateTotal" type="number" value="${Utils.format(estimateBean.costPurchaseOtherTaxExclude,'0')}" readonly required title="其他采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseOtherBudgetTotal" type="number" value="${Utils.format(budgetBean.costPurchaseOtherTaxExclude,'0')}" readonly required title="其他采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseOtherFormerSettleTotal" type="number" value="${Utils.format(formerBean.costPurchaseOtherTaxExclude,'0')}" required readonly title="其他采购成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costPurchaseOther" required title="其他采购成本本月结算金额"></td>
|
||||
<td><input type="number" name="costPurchaseOtherSettleTotal" readonly title="其他采购成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>项目管理成本</td>
|
||||
<td>项目管理成本</td>
|
||||
<td><#--<input name="costProjectManageTaxInclude" value="${budgetBean.costProjectManageTaxInclude!}" readonly required>-->/</td>
|
||||
<td><input type="number" name="costProjectManageTaxExclude" value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本总额"></td>
|
||||
<td><input name="costProjectManageEstimateTotal" type="number" value="${Utils.format(estimateBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本概算总额"></td>
|
||||
<td><input name="costProjectManageBudgetTotal" type="number" value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本预算总额"></td>
|
||||
<td><input name="costProjectManageFormerSettleTotal" type="number" value="${Utils.format(formerBean.costProjectManageTaxExclude,'0')}" required readonly title="项目管理成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costProjectManage" required title="项目管理成本本月结算金额"></td>
|
||||
<td><input type="number" name="costProjectManageSettleTotal" readonly title="项目管理成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>成本</td>
|
||||
<td>其他</td>
|
||||
<td>其他</td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costOtherOtherTaxInclude" value="${Utils.format(budgetBean.costOtherOtherTaxInclude,'0')}" required title="其他含税总额(填入)"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costOtherOtherTaxExclude" value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0')}" required title="其他不含税总额(填入)"></td>
|
||||
<td><input name="costOtherEstimateTotal" type="number" value="${Utils.format(estimateBean.costOtherOtherTaxExclude,'0')}" readonly required title="其他成本概算总额"></td>
|
||||
<td><input name="costOtherBudgetTotal" type="number" value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0')}" readonly required title="其他成本预算总额"></td>
|
||||
<td><input name="costOtherFormerSettleTotal" type="number" value="${Utils.format(formerBean.costOtherOtherTaxExclude,'0')}" required readonly title="其他成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costOther" required title="其他成本本月结算金额"></td>
|
||||
<td><input type="number" name="costOtherSettleTotal" readonly title="其他成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><input type="number" name="costTotalTaxInclude" value="${Utils.format(budgetBean.costTotalTaxInclude,'0')}" readonly required title="此列累计"></td>
|
||||
<td><input type="number" name="costTotalTaxExclude" value="${Utils.format(budgetBean.costTotalTaxExclude,'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="costEstimateTotal" value="${Utils.format(estimateBean.getCostTotalTaxExclude(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costBudgetTotal" value="${Utils.format(budgetBean.getCostTotalTaxExclude(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costFormerSettleTotal" type="number" value="${Utils.format(formerBean.getCostTotalTaxExclude(),'0')}" required readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costTotal" readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costSettleTotal" readonly title="此列累计"></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 class="am-text-lg">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>费用项目</td>
|
||||
<td>不含税金额(元)</td>
|
||||
<td>概算总额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>财务费用</td>
|
||||
<td>资金占用成本</td>
|
||||
<td><input type="number" name="costExpropriationTaxExclude" value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本不含税总额"></td>
|
||||
<td><input name="costExpropriationEstimateTotal" type="number" <#--value="${Utils.format(estimateBean.costExpropriationTaxExclude,'0')}"--> required readonly title="资金占用成本概算总额"></td>
|
||||
<td><input name="costExpropriationBudgetTotal" type="number" value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本预算总额"></td>
|
||||
<td><input name="costExpropriationFormerSettleTotal" type="number" value="${Utils.format(formerBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costExpropriation" required title="资金占用成本本月结算金额"></td>
|
||||
<td><input type="number" name="costExpropriationSettleTotal" readonly title="资金占用成本结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司管理费用</td>
|
||||
<td></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costCompanyManageTaxExclude" value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0')}" required title="公司管理费用不含税总额"></td>
|
||||
<td><input name="costCompanyManageEstimateTotal" type="number" value="${Utils.format(estimateBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用概算总额"></td>
|
||||
<td><input name="costCompanyManageBudgetTotal" type="number" value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用预算总额"></td>
|
||||
<td><input name="costCompanyManageFormerSettleTotal" type="number" value="${Utils.format(formerBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costCompanyManage" required title="公司管理费用本月结算金额"></td>
|
||||
<td><input type="number" name="costCompanyManageSettleTotal" readonly title="公司管理费用结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>所得税费用</td>
|
||||
<td></td>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td><input name="costIncomeTaxFormerSettleTotal" type="number" value="${Utils.format(formerBean.costIncomeTax,'0')}" required readonly title="公司管理费用上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="costIncomeTax" required title="公司管理费用本月结算金额"></td>
|
||||
<td><input type="number" name="costIncomeTaxSettleTotal" readonly title="公司管理费用结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td></td>
|
||||
<td><input name="costManageEstimateTotal" value="${Utils.format(estimateBean.costExpropriationTaxExclude + estimateBean.costCompanyManageTaxExclude,'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costManageBudgetTotal" value="${Utils.format(budgetBean.costExpropriationTaxExclude + budgetBean.costCompanyManageTaxExclude,'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costManageFormerSettleTotal" type="number" value="${Utils.format(formerBean.CostManageTotal,'0')}" required readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costManageTotal" readonly title="此列累计"></td>
|
||||
<td><input type="number" name="costManageSettleTotal" readonly title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -658,87 +724,159 @@
|
|||
<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">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>不含税金额(元)</td>
|
||||
<td>概算总额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
<td>利润率(%)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目毛利</td>
|
||||
<td><input type="number" name="projectGrossProfit" value="${Utils.format(budgetBean.projectGrossProfit,'0')}" readonly required title="收入总计(不含税)-成本总计(不含税)-财务费用总计(不含税)"></td>
|
||||
<td><input type="number" name="projectGrossProfitRate" value="${Utils.format(budgetBean.projectGrossProfitRate,'0')}" readonly required title="毛利(不含税)/收入总计(不含税)"></td>
|
||||
<td><input name="grossProfitEstimateTotal" type="number" value="${Utils.format(estimateBean.grossProfitTaxExclude,'0')}" required readonly title="项目毛利概算总额"></td>
|
||||
<td><input name="grossProfitBudgetTotal" type="number" value="${Utils.format(budgetBean.grossProfitTaxExclude,'0')}" required readonly title="项目毛利预算总额"></td>
|
||||
<td><input name="grossProfitFormerSettleTotal" type="number" value="${Utils.format(formerBean.grossProfitTaxExclude,'0')}" required readonly title="项目毛利上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="grossProfit" required title="项目毛利本月结算金额"></td>
|
||||
<td><input type="number" name="grossProfitSettleTotal" readonly title="项目毛利结算总额"></td>
|
||||
<td><input name="grossProfitProfitMargin" type="number" readonly title="项目毛利利润率"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目贡献利润率</td>
|
||||
<td><input type="number" name="projectContributionProfit" value="${Utils.format(budgetBean.projectContributionProfit,'0')}" readonly required title="项目毛利(不含税)-公司管理费用总计(不含税)"></td>
|
||||
<td><input type="number" name="projectContributionProfitRate" value="${Utils.format(budgetBean.projectContributionProfitRate,'0')}" readonly required title="贡献利润(不含税)/收入总计(不含税)"></td>
|
||||
<td>项目贡献利润</td>
|
||||
<td><input name="contributionProfitEstimateTotal" type="number" value="${Utils.format(estimateBean.contributionProfitTaxExclude,'0')}" required readonly title="项目贡献利润概算总额"></td>
|
||||
<td><input name="contributionProfitBudgetTotal" type="number" value="${Utils.format(budgetBean.contributionProfitTaxExclude,'0')}" required readonly title="项目贡献利润预算总额"></td>
|
||||
<td><input name="contributionProfitFormerSettleTotal" type="number" value="${Utils.format(formerBean.contributionProfitTaxExclude,'0')}" required readonly title="项目贡献利润上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="contributionProfit" required title="项目贡献利润本月结算金额"></td>
|
||||
<td><input type="number" name="contributionProfitSettleTotal" readonly title="项目贡献利润结算总额"></td>
|
||||
<td><input name="contributionProfitProfitMargin" type="number" readonly title="项目贡献利润利润率"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>项目净利润</td>
|
||||
<td>/</td>
|
||||
<td><input name="netProfitBudgetTotal" type="number" value="${Utils.format(budgetBean.netProfitTaxExclude,'0')}" required readonly title="项目净利润预算总额"></td>
|
||||
<td><input name="netProfitFormerSettleTotal" type="number" value="${Utils.format(formerBean.netProfitTaxExclude,'0')}" required readonly title="项目净利润上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netProfit" required title="项目净利润本月结算金额"></td>
|
||||
<td><input type="number" name="netProfitSettleTotal" readonly title="项目净利润结算总额"></td>
|
||||
<td><input name="netProfitProfitMargin" type="number" readonly title="项目净利润利润率"></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 class="am-text-lg">
|
||||
<tr class="am-text-xl">
|
||||
<td>类别</td>
|
||||
<td>金额(元)</td>
|
||||
<td>预算总额(元)</td>
|
||||
<td>上月结算总额(元)</td>
|
||||
<td>本月结算金额(元)</td>
|
||||
<td>结算总额(元)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>销售商品、提供劳务收到的现金a</td>
|
||||
<td><input type="number" name="saleIncomeCash" value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly required title="取自资金计划表(销售收款)"></td>
|
||||
<td>销售商品、提供劳务收到的现金</td>
|
||||
<td><input name="saleIncomeCashBudget" type="number" value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="saleIncomeCashFormerSettle" type="number" value="${Utils.format(formerBean.saleIncomeCash,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="saleIncomeCash" required title="本月结算金额"></td>
|
||||
<td><input name="saleIncomeCashSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收到的税费返还b</td>
|
||||
<td>/<input type="hidden" name="taxReturn" value="${Utils.format(cashFlowBean.taxReturn,'0')}" readonly required></td>
|
||||
<td>收到的税费返还</td>
|
||||
<td>/</td>
|
||||
<td><input name="taxReturnFormerSettle" type="number" value="${Utils.format(formerBean.taxReturn,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="taxReturn" required title="本月结算金额"></td>
|
||||
<td><input name="taxReturnSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收到其他与经营活动有关的现金c</td>
|
||||
<td><input type="number" name="earnestMoneyIncome" value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly required title="取自资金计划表(保证金收款)"></td>
|
||||
<td>收到其他与经营活动有关的现金</td>
|
||||
<td><input name="earnestMoneyIncomeBudget" type="number" value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="earnestMoneyIncomeFormerSettle" type="number" value="${Utils.format(formerBean.earnestMoneyIncome,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="earnestMoneyIncome" required title="本月结算金额"></td>
|
||||
<td><input name="earnestMoneyIncomeSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>购买商品、接受劳务支付的现d</td>
|
||||
<td><input type="number" name="purchaseCost" value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly required title="取自资金计划表(设备支出+工程支出)"></td>
|
||||
<td>购买商品、接受劳务支付的现金</td>
|
||||
<td><input name="purchaseCostBudget" type="number" value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="purchaseCostFormerSettle" type="number" value="${Utils.format(formerBean.purchaseCost,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="purchaseCost" required title="本月结算金额"></td>
|
||||
<td><input name="purchaseCostSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>支付的各项税费e</td>
|
||||
<td>/<input type="hidden" name="taxCost" value="${Utils.format(cashFlowBean.taxCost,'0')}" readonly required></td>
|
||||
<td>支付的各项税费</td>
|
||||
<td>/</td>
|
||||
<td><input name="taxCostFormerSettle" type="number" value="${Utils.format(formerBean.taxCost,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="taxCost" required title="本月结算金额"></td>
|
||||
<td><input name="taxCostSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>支付其他与经营活动有关的现金f</td>
|
||||
<td><input type="number" name="earnestMoneyCost" value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly required title="取自资金计划表(经营性开支+保证金支出+资金利息)"></td>
|
||||
<td>支付其他与经营活动有关的现金</td>
|
||||
<td><input name="earnestMoneyCostBudget" type="number" value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="earnestMoneyCostFormerSettle" type="number" value="${Utils.format(formerBean.earnestMoneyCost,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="earnestMoneyCost" required title="本月结算金额"></td>
|
||||
<td><input name="earnestMoneyCostSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>经营活动产生的现金流量净额g</td>
|
||||
<td><input type="number" name="netCashFlow" value="${Utils.format(cashFlowBean.netCashFlow,'0')}" readonly required title="g=a+c+b-d-f-e"></td>
|
||||
<td>经营活动产生的现金流量净额</td>
|
||||
<td><input name="netCashFlowBudget" type="number" value="${Utils.format(cashFlowBean.getNetCashFlow(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="netCashFlowFormerSettle" type="number" value="${Utils.format(formerBean.netCashFlow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netCashFlow" required title="本月结算金额"></td>
|
||||
<td><input name="netCashFlowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动现金流入h</td>
|
||||
<td>/<input type="hidden" name="cashInflowFromInvestingActivities" value="${Utils.format(cashFlowBean.cashInflowFromInvestingActivities,'0')}" readonly required></td>
|
||||
<td>投资活动现金流入</td>
|
||||
<td>/</td>
|
||||
<td><input name="cashInflowFromInvestingActivitiesFormerSettle" type="number" value="${Utils.format(formerBean.cashInflowFromInvestingActivities,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="cashInflowFromInvestingActivities" required title="本月结算金额"></td>
|
||||
<td><input name="cashInflowFromInvestingActivitiesSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动现金流出i</td>
|
||||
<td>/<input type="hidden" name="cashOutflowFromInvestingActivities" value="${Utils.format(cashFlowBean.cashOutflowFromInvestingActivities,'0')}" readonly required></td>
|
||||
<td>投资活动现金流出</td>
|
||||
<td>/</td>
|
||||
<td><input name="cashOutflowFromInvestingActivitiesFormerSettle" type="number" value="${Utils.format(formerBean.cashOutflowFromInvestingActivities,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="cashOutflowFromInvestingActivities" required title="本月结算金额"></td>
|
||||
<td><input name="cashOutflowFromInvestingActivitiesSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动产生的现金流量净额j</td>
|
||||
<td>/<input type="hidden" name="netCashFromInvestingActivities" value="${Utils.format(cashFlowBean.netCashFromInvestingActivities,'0')}" readonly required></td>
|
||||
<td>投资活动产生的现金流量净额</td>
|
||||
<td>/</td>
|
||||
<td><input name="netCashFromInvestingActivitiesFormerSettle" type="number" value="${Utils.format(formerBean.netCashFromInvestingActivities,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netCashFromInvestingActivities" required title="本月结算金额"></td>
|
||||
<td><input name="netCashFromInvestingActivitiesSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>融资资金流入k</td>
|
||||
<td><input type="number" name="financingCapitalInflow" value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}" readonly required title="从资金计划表查(垫资计划)"></td>
|
||||
<td>融资资金流入</td>
|
||||
<td><input name="financingCapitalInflowBudget" type="number" value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="financingCapitalInflowFormerSettle" type="number" value="${Utils.format(formerBean.financingCapitalInflow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="financingCapitalInflow" required title="本月结算金额"></td>
|
||||
<td><input name="financingCapitalInflowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>还款资金流出l</td>
|
||||
<td><input type="number" name="financingCapitalOutflow" value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}" readonly required title="从资金计划表查(还款计划)"></td>
|
||||
<td>还款资金流出</td>
|
||||
<td><input name="financingCapitalOutflowBudget" type="number" value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="financingCapitalOutflowFormerSettle" type="number" value="${Utils.format(formerBean.financingCapitalOutflow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="financingCapitalOutflow" required title="本月结算金额"></td>
|
||||
<td><input name="financingCapitalOutflowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>筹资活动产生的现金流量净额m</td>
|
||||
<td><input type="number" name="financingCapitalCashflow" value="${Utils.format(cashFlowBean.financingCapitalCashflow,'0')}" readonly required title="m=k-l"></td>
|
||||
<td>筹资活动产生的现金流量净额</td>
|
||||
<td><input name="financingCapitalCashflowBudget" type="number" value="${Utils.format(cashFlowBean.getFinancingCapitalCashflow(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="financingCapitalCashflowFormerSettle" type="number" value="${Utils.format(formerBean.financingCapitalCashflow,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="financingCapitalCashflow" required title="本月结算金额"></td>
|
||||
<td><input name="financingCapitalCashflowSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>货币资金净增加额n</td>
|
||||
<td><input type="number" name="netIncreaseMonetaryFunds" value="${Utils.format(cashFlowBean.netIncreaseMonetaryFunds,'0')}" readonly required title="n=g+j+m"></td>
|
||||
<td>货币资金净增加额</td>
|
||||
<td><input name="netIncreaseMonetaryFundsBudget" type="number" value="${Utils.format(cashFlowBean.getNetIncreaseMonetaryFunds(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="netIncreaseMonetaryFundsFormerSettle" type="number" value="${Utils.format(formerBean.netIncreaseMonetaryFunds,'0')}" required readonly title="上月结算总额"></td>
|
||||
<td><input type="number" min="0.00" max="99999999.99" step="0.01" name="netIncreaseMonetaryFunds" required title="本月结算金额"></td>
|
||||
<td><input name="netIncreaseMonetaryFundsSettle" type="number" readonly title="结算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td><input name="cashFlowBudgetTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFlowFormerSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFlowTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFlowSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -330,6 +330,7 @@
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<script src="${base}/assets/js/project_common.js"></script>
|
||||
<script src="${base}/assets/js/project_estimate.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<td>设备类</td>
|
||||
<td><input name="incomeDeviceTaxExclude" type="number" value="${Utils.format(estimateBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类概算总额"></td>
|
||||
<td><input name="incomeDeviceTaxExclude" type="number" value="${Utils.format(budgetBean.incomeDeviceTaxExclude,'0')}" required readonly title="设备类预算总额"></td>
|
||||
<td><input type="number" required readonly title="设备类结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.incomeDevice,'0')}" required readonly title="设备类结算总额"></td>
|
||||
<td><input name="incomeDeviceFinalTotal" type="number" value="${Utils.format(finalBean.incomeDeviceFinalTotal,'0')}" required title="设备类决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<td>工程类</td>
|
||||
<td><input name="incomeEngineerTaxExclude" type="number" value="${Utils.format(estimateBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类概算总额"></td>
|
||||
<td><input name="incomeEngineerTaxExclude" type="number" value="${Utils.format(budgetBean.incomeEngineerTaxExclude,'0')}" required readonly title="工程类预算总额"></td>
|
||||
<td><input type="number" required readonly title="工程类结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.incomeEngineer,'0')}" required readonly title="工程类结算总额"></td>
|
||||
<td><input name="incomeEngineerFinalTotal" type="number" value="${Utils.format(finalBean.incomeEngineerFinalTotal,'0')}" required title="工程类决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -66,7 +66,7 @@
|
|||
<td>服务类</td>
|
||||
<td><input name="incomeServiceTaxExclude" type="number" value="${Utils.format(estimateBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类概算总额"></td>
|
||||
<td><input name="incomeServiceTaxExclude" type="number" value="${Utils.format(budgetBean.incomeServiceTaxExclude,'0')}" required readonly title="服务类预算总额"></td>
|
||||
<td><input type="number" required readonly title="服务类结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.incomeService,'0')}" required readonly title="服务类结算总额"></td>
|
||||
<td><input name="incomeServiceFinalTotal" type="number" value="${Utils.format(finalBean.incomeServiceFinalTotal,'0')}" required title="服务类决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<td></td>
|
||||
<td><input name="estimateIncomeTotalTaxExclude" type="number" value="${Utils.format(estimateBean.getIncomeTotalTaxExclude(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="budgetIncomeTotalTaxExclude" type="number" value="${Utils.format(budgetBean.getIncomeTotalTaxExclude(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input type="number" readonly required title="此列累计"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.incomeTotal,'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="incomeFinalTotal" type="number" readonly required title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -97,7 +97,7 @@
|
|||
<td>设备</td>
|
||||
<td><input name="costPurchaseDeviceTaxExclude" type="number" value="${Utils.format(estimateBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备概算总额"></td>
|
||||
<td><input name="costPurchaseDeviceTaxExclude" type="number" value="${Utils.format(budgetBean.costPurchaseDeviceTaxExclude,'0')}" readonly required title="购买设备预算总额"></td>
|
||||
<td><input type="number"readonly required title="购买设备结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.costPurchaseDevice,'0')}" readonly required title="购买设备结算总额"></td>
|
||||
<td><input name="costPurchaseDeviceFinalTotal" type="number" value="${Utils.format(finalBean.costPurchaseDeviceFinalTotal,'0')}" required title="购买设备决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -106,7 +106,7 @@
|
|||
<td>施工</td>
|
||||
<td><input name="costPurchaseBuildTaxExclude" type="number" value="${Utils.format(estimateBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="施工采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseBuildTaxExclude" type="number" value="${Utils.format(budgetBean.costPurchaseBuildTaxExclude,'0')}" readonly required title="施工采购成本预算总额"></td>
|
||||
<td><input type="number" readonly required title="施工采购成本结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.costPurchaseBuild,'0')}" readonly required title="施工采购成本结算总额"></td>
|
||||
<td><input name="costPurchaseBuildFinalTotal" type="number" value="${Utils.format(finalBean.costPurchaseBuildFinalTotal,'0')}" required title="施工采购成本决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -115,7 +115,7 @@
|
|||
<td>服务</td>
|
||||
<td><input name="costPurchaseServiceTaxExclude" type="number" value="${Utils.format(estimateBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="服务采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseServiceTaxExclude" type="number" value="${Utils.format(budgetBean.costPurchaseServiceTaxExclude,'0')}" readonly required title="服务采购成本预算总额"></td>
|
||||
<td><input type="number" readonly required title="服务采购成本结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.costPurchaseService,'0')}" readonly required title="服务采购成本结算总额"></td>
|
||||
<td><input name="costPurchaseServiceFinalTotal" type="number" value="${Utils.format(finalBean.costPurchaseServiceFinalTotal,'0')}" required title="服务采购成本决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -124,7 +124,7 @@
|
|||
<td>其他</td>
|
||||
<td><input name="costPurchaseOtherTaxInclude" type="number" value="${Utils.format(estimateBean.costPurchaseOtherTaxInclude,'0')}" readonly required title="其他采购成本概算总额"></td>
|
||||
<td><input name="costPurchaseOtherTaxInclude" type="number" value="${Utils.format(budgetBean.costPurchaseOtherTaxInclude,'0')}" readonly required title="其他采购成本预算总额"></td>
|
||||
<td><input name="costPurchaseOtherSettleTotal" type="number" readonly required title="其他采购成本结算总额"></td>
|
||||
<td><input name="costPurchaseOtherSettleTotal" value="${Utils.format(settleBean.costPurchaseOther,'0')}" type="number" readonly required title="其他采购成本结算总额"></td>
|
||||
<td><input name="costPurchaseOtherFinalTotal" type="number" value="${Utils.format(finalBean.costPurchaseOtherFinalTotal,'0')}" required title="其他采购成本决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -133,7 +133,7 @@
|
|||
<td>项目管理成本</td>
|
||||
<td><input name="costProjectManageTaxExclude" type="number" value="${Utils.format(estimateBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本概算总额"></td>
|
||||
<td><input name="costProjectManageTaxExclude" type="number" value="${Utils.format(budgetBean.costProjectManageTaxExclude,'0')}" readonly required title="项目管理成本预算总额"></td>
|
||||
<td><input name="costProjectManageSettleTotal" type="number" readonly required title="项目管理成本结算总额"></td>
|
||||
<td><input name="costProjectManageSettleTotal" value="${Utils.format(settleBean.costProjectManage,'0')}" type="number" readonly required title="项目管理成本结算总额"></td>
|
||||
<td><input name="costProjectManageFinalTotal" type="number" value="${Utils.format(finalBean.costProjectManageFinalTotal,'0')}" required title="项目管理成本决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -142,7 +142,7 @@
|
|||
<td>其他</td>
|
||||
<td><input name="costOtherOtherTaxExclude" type="number" value="${Utils.format(estimateBean.costOtherOtherTaxExclude,'0')}" readonly required title="其他成本概算总额"></td>
|
||||
<td><input name="costOtherOtherTaxExclude" type="number" value="${Utils.format(budgetBean.costOtherOtherTaxExclude,'0')}" readonly required title="其他成本预算总额"></td>
|
||||
<td><input name="costOtherSettleTotal" type="number" type="number"readonly required title="其他成本结算总额"></td>
|
||||
<td><input name="costOtherSettleTotal" value="${Utils.format(settleBean.costOther,'0')}" type="number" type="number"readonly required title="其他成本结算总额"></td>
|
||||
<td><input name="costOtherFinalTotal" type="number" value="${Utils.format(finalBean.costOtherFinalTotal,'0')}" required title="其他成本决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -151,7 +151,7 @@
|
|||
<td></td>
|
||||
<td><input name="incomeTotalTaxExclude" value="${Utils.format(estimateBean.getIncomeTotalTaxExclude(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costTotalTaxExclude" value="${Utils.format(budgetBean.getCostTotalTaxExclude(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costSettleTotal" value="${Utils.format(settleBean.costTotal,'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="costFinalTotal" type="number" readonly required title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -172,7 +172,7 @@
|
|||
<td>资金占用成本</td>
|
||||
<td><input name="costExpropriationTaxExclude" type="number" value="${Utils.format(estimateBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本概算总额"></td>
|
||||
<td><input name="costExpropriationTaxExclude" type="number" value="${Utils.format(budgetBean.costExpropriationTaxExclude,'0')}" required readonly title="资金占用成本预算总额"></td>
|
||||
<td><input type="number" required readonly title="资金占用成本结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.costExpropriation,'0')}" required readonly title="资金占用成本结算总额"></td>
|
||||
<td><input name="costExpropriationFinalTotal" type="number" value="${Utils.format(finalBean.costExpropriationFinalTotal,'0')}" required title="资金占用成本决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -180,7 +180,7 @@
|
|||
<td></td>
|
||||
<td><input name="costCompanyManageTaxExclude" type="number" value="${Utils.format(estimateBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用概算总额"></td>
|
||||
<td><input name="costCompanyManageTaxExclude" type="number" value="${Utils.format(budgetBean.costCompanyManageTaxExclude,'0')}" required readonly title="公司管理费用预算总额"></td>
|
||||
<td><input type="number" required readonly title="公司管理费用结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.costCompanyManage,'0')}" required readonly title="公司管理费用结算总额"></td>
|
||||
<td><input name="costCompanyManageFinalTotal" type="number" value="${Utils.format(finalBean.costCompanyManageFinalTotal,'0')}" required title="公司管理费用决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -188,7 +188,7 @@
|
|||
<td></td>
|
||||
<td>/</td>
|
||||
<td>/</td>
|
||||
<td><input name="costIncomeTaxSettleTotal" type="number" required readonly title="所得税费用结算总额"></td>
|
||||
<td><input name="costIncomeTaxSettleTotal" value="${Utils.format(settleBean.costIncomeTax,'0')}" type="number" required readonly title="所得税费用结算总额"></td>
|
||||
<td><input name="costIncomeTaxFinalTotal" type="number" value="${Utils.format(finalBean.costIncomeTaxFinalTotal,'0')}" required title="所得税费用决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -196,7 +196,7 @@
|
|||
<td></td>
|
||||
<td><input name="manageEstimateTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="manageBudgetTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="manageSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="manageSettleTotal" value="${Utils.format(settleBean.getCostManageTotal(),'0')}" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="manageFinalTotal" type="number" readonly required title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -252,91 +252,91 @@
|
|||
<tr>
|
||||
<td>销售商品、提供劳务收到的现金</td>
|
||||
<td><input name="budgetSaleIncomeCash" type="number" value="${Utils.format(cashFlowBean.saleIncomeCash,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.saleIncomeCash,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="saleIncomeCash" type="number" value="${Utils.format(finalBean.saleIncomeCash,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收到的税费返还</td>
|
||||
<td>/</td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.taxReturn,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="taxReturn" type="number" value="${Utils.format(finalBean.taxReturn,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>收到其他与经营活动有关的现金</td>
|
||||
<td><input name="budgetEarnestMoneyIncome" type="number" value="${Utils.format(cashFlowBean.earnestMoneyIncome,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.earnestMoneyIncome,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="earnestMoneyIncome" type="number" value="${Utils.format(finalBean.earnestMoneyIncome,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>购买商品、接受劳务支付的现金</td>
|
||||
<td><input name="budgetPurchaseCost" type="number" value="${Utils.format(cashFlowBean.purchaseCost,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.purchaseCost,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="purchaseCost" type="number" value="${Utils.format(finalBean.purchaseCost,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>支付的各项税费</td>
|
||||
<td>/</td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.taxCost,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="taxCost" type="number" value="${Utils.format(finalBean.taxCost,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>支付其他与经营活动有关的现金</td>
|
||||
<td><input name="budgetEarnestMoneyCost" type="number" value="${Utils.format(cashFlowBean.earnestMoneyCost,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.earnestMoneyCost,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="earnestMoneyCost" type="number" value="${Utils.format(finalBean.earnestMoneyCost,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>经营活动产生的现金流量净额</td>
|
||||
<td><input name="budgetNetCashFlow" type="number" value="${Utils.format(cashFlowBean.getNetCashFlow(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.netCashFlow,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="netCashFlow" type="number" value="${Utils.format(finalBean.netCashFlow,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动现金流入</td>
|
||||
<td>/</td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.cashInflowFromInvestingActivities,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="cashInflowFromInvestingActivities" value="${Utils.format(finalBean.cashInflowFromInvestingActivities,'0')}" type="number" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动现金流出</td>
|
||||
<td>/</td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.cashOutflowFromInvestingActivities,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="cashOutflowFromInvestingActivities" type="number" value="${Utils.format(finalBean.cashOutflowFromInvestingActivities,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>投资活动产生的现金流量净额</td>
|
||||
<td>/</td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.netCashFromInvestingActivities,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="netCashFromInvestingActivities" type="number" value="${Utils.format(finalBean.netCashFromInvestingActivities,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>融资资金流入</td>
|
||||
<td><input name="budgetFinancingCapitalInflow" type="number" value="${Utils.format(cashFlowBean.financingCapitalInflow,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.financingCapitalInflow,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="financingCapitalInflow" type="number" value="${Utils.format(finalBean.financingCapitalInflow,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>还款资金流出</td>
|
||||
<td><input name="budgetFinancingCapitalOutflow" type="number" value="${Utils.format(cashFlowBean.financingCapitalOutflow,'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.financingCapitalOutflow,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="financingCapitalOutflow" type="number" value="${Utils.format(finalBean.financingCapitalOutflow,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>筹资活动产生的现金流量净额</td>
|
||||
<td><input name="budgetFinancingCapitalCashflow" type="number" value="${Utils.format(cashFlowBean.getFinancingCapitalCashflow(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input type="number" readonly required title="结算总额"></td>
|
||||
<td><input type="number" value="${Utils.format(settleBean.financingCapitalCashflow,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="financingCapitalCashflow" type="number" value="${Utils.format(finalBean.financingCapitalCashflow,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>货币资金净增加额</td>
|
||||
<td><input name="budgetNetIncreaseMonetaryFunds" type="number" value="${Utils.format(cashFlowBean.getNetIncreaseMonetaryFunds(),'0')}" readonly required title="预算总额"></td>
|
||||
<td><input name="type14SettleTotal" type="number" value="${Utils.format(finalBean.type14SettleTotal,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="type14SettleTotal" type="number" value="${Utils.format(settleBean.netIncreaseMonetaryFunds,'0')}" readonly required title="结算总额"></td>
|
||||
<td><input name="netIncreaseMonetaryFunds" type="number" value="${Utils.format(finalBean.netIncreaseMonetaryFunds,'0')}" required title="决算总额"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>合计</td>
|
||||
<td><input name="cashFluxBudgetTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFluxSettleTotal" type="number" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFluxSettleTotal" type="number" value="${Utils.format(settleBean.getCashFluxTotal(),'0')}" readonly required title="此列累计"></td>
|
||||
<td><input name="cashFluxFinalTotal" type="number" readonly required title="此列累计"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -211,8 +211,8 @@
|
|||
|
||||
<#-- </@shiro.hasPermission>
|
||||
<@shiro.hasPermission name="PROJECT_EDIT">-->
|
||||
<#-- 概算审核通过 并且预算审批状态为草稿和不通过 -->
|
||||
<#if list.approveStatusEstimate=2 && (list.approveStatusBudget==-1 || list.approveStatusBudget==0 || list.approveStatusBudget==3) >
|
||||
<#-- 概算审核通过、预算审批不等于待审核、 结算审批未通过-->
|
||||
<#if list.approveStatusEstimate=2 && list.approveStatusBudget!=1 && list.approveStatusFinal!=2 >
|
||||
<button type="button"
|
||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||
onclick="location.href='${base}/project/budgetEdit?id=${list.id}'"><span
|
||||
|
|
Loading…
Reference in New Issue