From 9b0ee652e8ac293d3a35539ed95af753df5bbc96 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 23 三月 2026 13:52:09 +0800
Subject: [PATCH] 新疆海川开心 1.开票登记、来票登记传id值错误问题

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

diff --git a/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue b/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
index 24a368a..63f31c3 100644
--- a/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
+++ b/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
@@ -14,7 +14,8 @@
 <script setup>
 import { usePaginationApi } from "@/hooks/usePaginationApi";
 import { productList } from "@/api/procurementManagement/procurementLedger.js";
-import { nextTick } from "vue";
+import { nextTick, getCurrentInstance } from "vue";
+import { truncate } from "@/utils/index.js";
 const { proxy } = getCurrentInstance();
 
 defineOptions({
@@ -61,7 +62,7 @@
       prop: "taxInclusiveUnitPrice",
 			width:200,
       formatData: (val) => {
-        return val ? parseFloat(val).toFixed(2) : "-";
+        return val ? truncate(parseFloat(val), 3) : "-";
       },
     },
     {
@@ -69,7 +70,7 @@
       prop: "taxInclusiveTotalPrice",
 			width:200,
       formatData: (val) => {
-        return val ? parseFloat(val).toFixed(2) : "-";
+        return val ? truncate(parseFloat(val), 3) : "-";
       },
     },
     {
@@ -77,7 +78,7 @@
       prop: "taxExclusiveTotalPrice",
 			width:200,
       formatData: (val) => {
-        return val ? parseFloat(val).toFixed(2) : "-";
+        return val ? truncate(parseFloat(val), 3) : "-";
       },
     },
     {
@@ -85,7 +86,7 @@
       prop: "ticketsAmount",
 			width:200,
       formatData: (val) => {
-        return val ? parseFloat(val).toFixed(2) : "-";
+        return val ? truncate(parseFloat(val), 3) : "-";
       },
     },
     {
@@ -97,7 +98,7 @@
       prop: "futureTicketsAmount",
 			width:200,
       formatData: (val) => {
-        return val ? parseFloat(val).toFixed(2) : "-";
+        return val ? truncate(parseFloat(val), 3) : "-";
       },
     },
   ],

--
Gitblit v1.9.3