|
@@ -684,6 +684,8 @@ const budgetSummaryObj = (() => {
|
|
const init = async (constructionID) => {
|
|
const init = async (constructionID) => {
|
|
try {
|
|
try {
|
|
$.bootstrapLoading.start();
|
|
$.bootstrapLoading.start();
|
|
|
|
+ // 得先计算费用汇总(概算汇总计算基于费用汇总算出来的总金额)
|
|
|
|
+ await projectObj.project.calcProgram.getGatherFeeData();
|
|
const { treeData, costGrowthRate, growthPeriod } = await ajaxPost('/bills/initialBudgetSummary', { constructionID });
|
|
const { treeData, costGrowthRate, growthPeriod } = await ajaxPost('/bills/initialBudgetSummary', { constructionID });
|
|
calcSetting.costGrowthRate = costGrowthRate;
|
|
calcSetting.costGrowthRate = costGrowthRate;
|
|
calcSetting.growthPeriod = growthPeriod;
|
|
calcSetting.growthPeriod = growthPeriod;
|