diff --git a/src/main/resources/static/assets/js/project_budget_plan.js b/src/main/resources/static/assets/js/project_budget_plan.js index d64e992..3764cd9 100644 --- a/src/main/resources/static/assets/js/project_budget_plan.js +++ b/src/main/resources/static/assets/js/project_budget_plan.js @@ -68,7 +68,7 @@ function bindBudgetPlanDeleteBtn() { updateBudgetPlanTotal("input-changeable-repayment-plan-budget-plan","input-total-repayment-plan-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); } @@ -90,7 +90,7 @@ function bindChangeableInputBudgetPlanDetail() { //更新所有月支出总额 updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); //工程支出改变 $(".input-changeable-engineer-cost-budget-plan").change(function () { @@ -108,7 +108,7 @@ function bindChangeableInputBudgetPlanDetail() { //更新所有月支出总额 updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); //经营性支出改变 $(".input-changeable-project-manage-cost-budget-plan").change(function () { @@ -126,7 +126,7 @@ function bindChangeableInputBudgetPlanDetail() { //更新所有月支出总额 updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); //保证金改变 $(".input-changeable-earnest-money-cost-budget-plan").change(function () { @@ -144,7 +144,7 @@ function bindChangeableInputBudgetPlanDetail() { //更新所有月支出总额 updateBudgetPlanTotal("input-changeable-total-cost-budget-plan","input-total-total-cost-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); //销售收款改变 @@ -161,7 +161,7 @@ function bindChangeableInputBudgetPlanDetail() { //更新所有月收入总额 updateBudgetPlanTotal("input-changeable-total-income-budget-plan","input-total-total-income-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); //保证金收款改变 $(".input-changeable-earnest-money-income-budget-plan").change(function () { @@ -177,7 +177,7 @@ function bindChangeableInputBudgetPlanDetail() { //更新所有月收入总额 updateBudgetPlanTotal("input-changeable-total-income-budget-plan","input-total-total-income-budget-plan"); //更新余额 - updateEachFundBanlance(); + updateEachFundBalance(); }); @@ -216,7 +216,7 @@ function updateBudgetPlanTotal(className, totalClassName) { * 更新每一行【即每个月】的资金余额 * 每个月的余额=本月收入-支出+上月余额 */ -function updateEachFundBanlance() { +function updateEachFundBalance() { var fundBalance = 0; //找到每个月的资金余额输入框 $(".input-changeable-fund-balance-budget-plan").each(function (t) {