From bc07cf1a936795d229a0f51d24cd2032580db542 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 20 一月 2026 16:34:51 +0800
Subject: [PATCH] 湟水峡 1.头部修改
---
src/utils/summarizeTable.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/utils/summarizeTable.js b/src/utils/summarizeTable.js
index 3690dd0..1ad480d 100644
--- a/src/utils/summarizeTable.js
+++ b/src/utils/summarizeTable.js
@@ -42,8 +42,7 @@
};
// 涓嶅惈绋庢�讳环璁$畻
const calculateTaxExclusiveTotalPrice = (taxInclusiveTotalPrice, taxRate) => {
- const taxRateNumber = taxRate?Number(taxRate):0;
- const taxRateDecimal = taxRateNumber / 100;
+ const taxRateDecimal = taxRate / 100;
return (taxInclusiveTotalPrice / (1 + taxRateDecimal)).toFixed(2);
};
// 鍚◣鎬讳环璁$畻
--
Gitblit v1.9.3