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 31d5d68..e58d773 100644 --- a/src/main/resources/static/assets/js/project_budget_plan.js +++ b/src/main/resources/static/assets/js/project_budget_plan.js @@ -609,7 +609,7 @@ function summationByClass(input, className, myIndex) { var trs = input.parent().parent().parent().find("tr"); trs.each(function (index, element) { //myIndex从0开始,刨除表头和总计、总计两行 - index-=3; + index-=2; if(index>=0 && index<=myIndex){ total += f2($(this).find(className).val()); }