From b14930d7ac2ce362403ea28d0bae724161bc1f3c Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期二, 21 四月 2026 10:36:41 +0800
Subject: [PATCH] fix(采购台账): 修正金额显示小数位数及界面文本错误

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

diff --git a/src/utils/summarizeTable.js b/src/utils/summarizeTable.js
index 1ad480d..3a90f25 100644
--- a/src/utils/summarizeTable.js
+++ b/src/utils/summarizeTable.js
@@ -26,9 +26,9 @@
           // 濡傛灉鎸囧畾浜嗕笉闇�瑕佷繚鐣欏皬鏁帮紝鍒欑洿鎺ヨ浆鎹负鏁存暟
           sums[index] = Math.round(sum).toString();
         } else {
-          // 榛樿淇濈暀涓や綅灏忔暟
+          // 榛樿淇濈暀涓変綅灏忔暟
           sums[index] = parseFloat(sum).toFixed(
-            specialFormat[prop]?.decimalPlaces ?? 2
+            specialFormat[prop]?.decimalPlaces ?? 3
           );
         }
       } else {
@@ -43,11 +43,11 @@
 // 涓嶅惈绋庢�讳环璁$畻
 const calculateTaxExclusiveTotalPrice = (taxInclusiveTotalPrice, taxRate) => {
   const taxRateDecimal = taxRate / 100;
-  return (taxInclusiveTotalPrice / (1 + taxRateDecimal)).toFixed(2);
+  return (taxInclusiveTotalPrice / (1 + taxRateDecimal)).toFixed(3);
 };
 // 鍚◣鎬讳环璁$畻
 const calculateTaxIncludeTotalPrice = (taxInclusiveUnitPrice, quantity) => {
-  return (taxInclusiveUnitPrice * quantity).toFixed(2);
+  return (taxInclusiveUnitPrice * quantity).toFixed(3);
 };
 // 瀵煎嚭鍑芥暟渚涘叾浠栨枃浠朵娇鐢�
 export {

--
Gitblit v1.9.3