From 87460846520f12837ee94197df86fbb62f8a9964 Mon Sep 17 00:00:00 2001 From: xxssyyyyssxx Date: Thu, 4 Nov 2021 17:56:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E9=87=8D=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/assets/js/project_budget_plan.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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) {