From 501fc9805cc9f3c66a311e09a46e3aa102a72667 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 11 十二月 2025 11:25:52 +0800
Subject: [PATCH] 1.南洋电缆-质量统计过程检台账有数据但是BI大屏没有数据(改成月份统计和合格率) 2.南洋电缆-再加两个统计内容:产品合格率(%)、库存周转率BI展示
---
src/views/procurementManagement/invoiceEntry/indexOld.vue | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/views/procurementManagement/invoiceEntry/indexOld.vue b/src/views/procurementManagement/invoiceEntry/indexOld.vue
index 1b4c6b9..85ac454 100644
--- a/src/views/procurementManagement/invoiceEntry/indexOld.vue
+++ b/src/views/procurementManagement/invoiceEntry/indexOld.vue
@@ -318,7 +318,6 @@
v-model="scope.row.ticketsNum"
placeholder="璇烽�夋嫨"
:min="0"
- :precision="2"
:step="0.1"
clearable
style="width: 100%"
@@ -339,7 +338,6 @@
v-model="scope.row.ticketsAmount"
placeholder="璇烽�夋嫨"
:min="0"
- :precision="2"
:step="0.1"
clearable
style="width: 100%"
@@ -478,7 +476,7 @@
});
};
const formattedNumber = (row, column, cellValue) => {
- return parseFloat(cellValue).toFixed(2) ?? 0;
+ return parseFloat(cellValue).toFixed(5) ?? 0;
};
// 琛ㄦ牸閫夋嫨鏁版嵁
const handleSelectionChange = (selection) => {
@@ -689,7 +687,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 +714,7 @@
invoiceAmountTotal += item.ticketsAmount;
}
});
- form.value.invoiceAmount = invoiceAmountTotal.toFixed(2);
+ form.value.invoiceAmount = invoiceAmountTotal.toFixed(5);
}
onMounted(() => {
--
Gitblit v1.9.3