From ea4638a34c776ecba891b6ac026f5699798d6c2c Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 03 七月 2026 16:52:32 +0800
Subject: [PATCH] fix: 合同管理岗位字段展示错误

---
 src/views/procurementManagement/invoiceEntry/components/Modal.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/procurementManagement/invoiceEntry/components/Modal.vue b/src/views/procurementManagement/invoiceEntry/components/Modal.vue
index 33d5144..15f9d42 100644
--- a/src/views/procurementManagement/invoiceEntry/components/Modal.vue
+++ b/src/views/procurementManagement/invoiceEntry/components/Modal.vue
@@ -293,7 +293,7 @@
 		prop: "taxInclusiveUnitPrice",
 		width: 150,
 		formatData: (val) => {
-			return val ? parseFloat(val).toFixed(2) : 0;
+			return val ? parseFloat(val).toFixed(4) : 0;
 		},
 	},
 	{
@@ -341,10 +341,10 @@
 ];
 const formattedNumber = (row, column, cellValue) => {
 	if (cellValue == 0) {
-		return parseFloat(cellValue).toFixed(2);
+		return parseFloat(cellValue).toFixed(column.property === "taxInclusiveUnitPrice" ? 4 : 2);
 	}
 	if (cellValue) {
-		return parseFloat(cellValue).toFixed(2);
+		return parseFloat(cellValue).toFixed(column.property === "taxInclusiveUnitPrice" ? 4 : 2);
 	} else {
 		return cellValue;
 	}

--
Gitblit v1.9.3