From 08c0b2d862a8d527ee7233d537bbdf8fd198dde2 Mon Sep 17 00:00:00 2001 From: xxssyyyyssxx Date: Wed, 3 Nov 2021 18:54:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E5=90=8D=E5=AD=97=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/assets/js/project_budget_cost_project_manage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/assets/js/project_budget_cost_project_manage.js b/src/main/resources/static/assets/js/project_budget_cost_project_manage.js index 0cddd01..5516912 100644 --- a/src/main/resources/static/assets/js/project_budget_cost_project_manage.js +++ b/src/main/resources/static/assets/js/project_budget_cost_project_manage.js @@ -51,7 +51,7 @@ function appendTrCostProjectManage() { function bindChangeableInputProjectManage() { //数量改变 - $(".input-changeable-amount0").change(function () { + $(".input-changeable-amount-project-manage").change(function () { var amount = parseFloat($(this).val()); //找到对应的单价 var price = parseFloat($(this).parent().parent().find(".input-changeable-price-project-manage").val()); @@ -60,7 +60,7 @@ function bindChangeableInputProjectManage() { $(this).parent().parent().find(".input-changeable-total-project-manage").val(amount*price); }); //单价改变 - $(".input-changeable-price0").change(function () { + $(".input-changeable-price-project-manage").change(function () { var price = parseFloat($(this).val()); //找到对应的数量 var amount = parseFloat($(this).parent().parent().find(".input-changeable-amount-project-manage").val());