From 357242b782a2e9a28bfc7f77257e544bacd7f868 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 27 十一月 2025 15:52:32 +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