From b2c00a52ad093abb024cd6e7be8c06c7748db114 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 09 三月 2026 13:05:17 +0800
Subject: [PATCH] 入库管理:新增原料入库增加入库时间
---
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