From 539231de1e68f45a6f11bc88df665cc1f161941f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 09 十二月 2025 15:34:59 +0800
Subject: [PATCH] 1.南洋电缆-小数点位展示修改

---
 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