From b41552e7d56a7068e9080a475baaef9c173f8b7e Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期三, 22 四月 2026 15:22:31 +0800
Subject: [PATCH] feat(生产报工): 支持多班组成员选择和补产数量录入
---
src/views/procurementManagement/procurementInvoiceLedger/index.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index d82e3e7..2e1e8fb 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -151,7 +151,7 @@
width: 150,
},
{
- label: "閿�鍞悎鍚屽彿",
+ label: "璁㈠崟缂栧彿",
prop: "salesContractNo",
width: 150,
},
@@ -185,7 +185,7 @@
prop: "taxInclusiveTotalPrice",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(3) : 0;
},
},
{
@@ -198,7 +198,7 @@
prop: "ticketsAmount",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(3) : 0;
},
},
{
@@ -206,7 +206,7 @@
prop: "unTicketsPrice",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(3) : 0;
},
},
{
@@ -242,6 +242,9 @@
param,
["ticketsAmount", "unTicketsPrice", "invoiceAmount"],
{
+ ticketsAmount: { decimalPlaces: 3 },
+ unTicketsPrice: { decimalPlaces: 3 },
+ invoiceAmount: { decimalPlaces: 3 },
ticketsNum: { noDecimal: true },
futureTickets: { noDecimal: true },
}
@@ -260,7 +263,7 @@
(c) => c.property === "taxInclusiveTotalPrice"
);
if (taxInclusiveIndex !== -1) {
- sums[taxInclusiveIndex] = taxInclusiveSum.toFixed(2);
+ sums[taxInclusiveIndex] = taxInclusiveSum.toFixed(3);
}
return sums;
};
--
Gitblit v1.9.3