From d876aa06f04d7b93f849e944cca5df64b6a28ee2 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 09 十二月 2025 10:19:29 +0800
Subject: [PATCH] 1.南洋电缆小数点修改
---
src/views/procurementManagement/invoiceEntry/indexOld.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/procurementManagement/invoiceEntry/indexOld.vue b/src/views/procurementManagement/invoiceEntry/indexOld.vue
index 1b4c6b9..c3a87f8 100644
--- a/src/views/procurementManagement/invoiceEntry/indexOld.vue
+++ b/src/views/procurementManagement/invoiceEntry/indexOld.vue
@@ -478,7 +478,7 @@
});
};
const formattedNumber = (row, column, cellValue) => {
- return parseFloat(cellValue).toFixed(2) ?? 0;
+ return parseFloat(cellValue).toFixed(5) ?? 0;
};
// 琛ㄦ牸閫夋嫨鏁版嵁
const handleSelectionChange = (selection) => {
@@ -689,7 +689,7 @@
row.ticketsAmount = 0;
}
// 璁$畻鏈鏉ョエ鏁�
- row.ticketsNum = (row.ticketsAmount / row.taxInclusiveUnitPrice).toFixed(2);
+ row.ticketsNum = (row.ticketsAmount / row.taxInclusiveUnitPrice).toFixed(5);
// 璁$畻鏈潵绁ㄦ暟
row.futureTickets = row.tempFutureTickets - row.ticketsNum;
// 璁$畻鏈潵绁ㄩ噾棰�
@@ -716,7 +716,7 @@
invoiceAmountTotal += item.ticketsAmount;
}
});
- form.value.invoiceAmount = invoiceAmountTotal.toFixed(2);
+ form.value.invoiceAmount = invoiceAmountTotal.toFixed(5);
}
onMounted(() => {
--
Gitblit v1.9.3