From 8912649d77e67049e45d6455788a82db434b68e4 Mon Sep 17 00:00:00 2001 From: xxssyyyyssxx Date: Wed, 1 Dec 2021 18:31:49 +0800 Subject: [PATCH] f2 --- src/main/resources/static/assets/js/project_common.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/static/assets/js/project_common.js b/src/main/resources/static/assets/js/project_common.js index 0f297de..c185e1e 100644 --- a/src/main/resources/static/assets/js/project_common.js +++ b/src/main/resources/static/assets/js/project_common.js @@ -142,9 +142,9 @@ function calCostInclude() { var $costTotalTaxInclude = $("input[name='costTotalTaxInclude']"); - $costTotalTaxInclude.val(f2(costPurchaseDeviceTaxInclude) +f2(costPurchaseBuildTaxInclude) + $costTotalTaxInclude.val(f2(f2(costPurchaseDeviceTaxInclude) +f2(costPurchaseBuildTaxInclude) +f2(costPurchaseServiceTaxInclude)+f2(costPurchaseOtherTaxInclude) - +f2(costProjectManageTaxInclude)+f2(costOtherOtherTaxInclude)); + +f2(costProjectManageTaxInclude)+f2(costOtherOtherTaxInclude))); } /** * 统计成本(不含税),有一项没填就置空 @@ -160,7 +160,7 @@ function calCostExclude() { var $costTotalTaxExclude = $("input[name='costTotalTaxExclude']"); - $costTotalTaxExclude.val(f2(costPurchaseDeviceTaxExclude)+f2(costPurchaseBuildTaxExclude) + $costTotalTaxExclude.val(f2(f2(costPurchaseDeviceTaxExclude)+f2(costPurchaseBuildTaxExclude) +f2(costPurchaseServiceTaxExclude)+f2(costPurchaseOtherTaxExclude) - +f2(costProjectManageTaxExclude)+f2(costOtherOtherTaxExclude)); + +f2(costProjectManageTaxExclude)+f2(costOtherOtherTaxExclude))); } \ No newline at end of file