From 41a639a4a4b6fbf35db7903b5ee3c068c8644430 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期二, 21 四月 2026 10:45:56 +0800
Subject: [PATCH] feat: 统一数值精度为三位小数并添加保养项目字段
---
src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue b/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
index 24a368a..43f42e6 100644
--- a/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
+++ b/src/views/procurementManagement/invoiceEntry/components/ExpandTable.vue
@@ -6,6 +6,7 @@
:tableLoading="loading"
:summaryMethod="summarizeChildrenTable"
:isShowSummary="true"
+ :isShowPagination="false"
height="auto"
>
</PIMTable>
@@ -61,7 +62,7 @@
prop: "taxInclusiveUnitPrice",
width:200,
formatData: (val) => {
- return val ? parseFloat(val).toFixed(2) : "-";
+ return val ? parseFloat(val).toFixed(3) : "-";
},
},
{
@@ -69,7 +70,7 @@
prop: "taxInclusiveTotalPrice",
width:200,
formatData: (val) => {
- return val ? parseFloat(val).toFixed(2) : "-";
+ return val ? parseFloat(val).toFixed(3) : "-";
},
},
{
@@ -77,7 +78,7 @@
prop: "taxExclusiveTotalPrice",
width:200,
formatData: (val) => {
- return val ? parseFloat(val).toFixed(2) : "-";
+ return val ? parseFloat(val).toFixed(3) : "-";
},
},
{
@@ -85,7 +86,7 @@
prop: "ticketsAmount",
width:200,
formatData: (val) => {
- return val ? parseFloat(val).toFixed(2) : "-";
+ return val ? parseFloat(val).toFixed(3) : "-";
},
},
{
@@ -97,7 +98,7 @@
prop: "futureTicketsAmount",
width:200,
formatData: (val) => {
- return val ? parseFloat(val).toFixed(2) : "-";
+ return val ? parseFloat(val).toFixed(3) : "-";
},
},
],
@@ -111,6 +112,9 @@
const getList = async (id) => {
await nextTick();
filters.salesLedgerId = id;
+ // 璁剧疆涓�涓緢澶х殑 pageSize 浠ヨ幏鍙栨墍鏈夋暟鎹�
+ pagination.pageSize = 10000;
+ pagination.currentPage = 1;
getTableData();
};
// 瀛愯〃鍚堣鏂规硶
--
Gitblit v1.9.3