From d2124efc2b19d309550fc7ff95a16858c54faca0 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 08 七月 2025 17:48:33 +0800
Subject: [PATCH] yys  1.出库管理-分页查询      2.出库管理-导出      3.出库管理-领用      4.出库台账-分页查询      5.出库台账-导出      6.出库台账-删除      7.库存管理-分页查询      8.库存管理-导出      9.库存管理-删除

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

diff --git a/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue b/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
index 0523e40..7596e6d 100644
--- a/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
+++ b/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
@@ -55,28 +55,28 @@
       label: "鍚◣鍗曚环(鍏�)",
       prop: "taxInclusiveUnitPrice",
       formatData: (val) => {
-        return parseFloat(val).toFixed(2) ?? 0;
+        return val ? parseFloat(val).toFixed(2) : "-";
       },
     },
     {
       label: "鍚◣鎬讳环(鍏�)",
       prop: "taxInclusiveTotalPrice",
       formatData: (val) => {
-        return parseFloat(val).toFixed(2) ?? 0;
+        return val ? parseFloat(val).toFixed(2) : "-";
       },
     },
     {
       label: "涓嶅惈绋庢�讳环(鍏�)",
       prop: "taxExclusiveTotalPrice",
       formatData: (val) => {
-        return parseFloat(val).toFixed(2) ?? 0;
+        return val ? parseFloat(val).toFixed(2) : "-";
       },
     },
     {
       label: "鏈鏉ョエ閲戦(鍏�)",
       prop: "ticketsAmount",
       formatData: (val) => {
-        return parseFloat(val).toFixed(2) ?? 0;
+        return val ? parseFloat(val).toFixed(2) : "-";
       },
     },
     {
@@ -87,7 +87,7 @@
       label: "鏈潵绁ㄩ噾棰�(鍏�)",
       prop: "futureTicketsAmount",
       formatData: (val) => {
-        return parseFloat(val).toFixed(2) ?? 0;
+        return val ? parseFloat(val).toFixed(2) : "-";
       },
     },
   ],

--
Gitblit v1.9.3