From 02e9c39e8ec8d4a57e874b62907934bc9b605ccf Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 一月 2026 10:13:20 +0800
Subject: [PATCH] 湟水峡 1.开票和来票传参修改

---
 src/utils/summarizeTable.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/utils/summarizeTable.js b/src/utils/summarizeTable.js
index 1ad480d..3690dd0 100644
--- a/src/utils/summarizeTable.js
+++ b/src/utils/summarizeTable.js
@@ -42,7 +42,8 @@
 };
 // 涓嶅惈绋庢�讳环璁$畻
 const calculateTaxExclusiveTotalPrice = (taxInclusiveTotalPrice, taxRate) => {
-  const taxRateDecimal = taxRate / 100;
+  const taxRateNumber = taxRate?Number(taxRate):0;
+  const taxRateDecimal = taxRateNumber / 100;
   return (taxInclusiveTotalPrice / (1 + taxRateDecimal)).toFixed(2);
 };
 // 鍚◣鎬讳环璁$畻

--
Gitblit v1.9.3