From b02cd77eb78d973c1eb11ebf03d7d5d71b02aa65 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 09 十二月 2025 10:26:53 +0800
Subject: [PATCH] 1.南洋电缆小数点修改

---
 src/views/procurementManagement/invoiceEntry/indexOld.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/procurementManagement/invoiceEntry/indexOld.vue b/src/views/procurementManagement/invoiceEntry/indexOld.vue
index 60d5124..85ac454 100644
--- a/src/views/procurementManagement/invoiceEntry/indexOld.vue
+++ b/src/views/procurementManagement/invoiceEntry/indexOld.vue
@@ -296,19 +296,19 @@
           <el-table-column label="褰曞叆鏃ユ湡" prop="createTime" width="120" />
           <el-table-column
             label="鍚◣鍗曚环(鍏�)"
-            width="150"
+            width="200"
             prop="taxInclusiveUnitPrice"
             :formatter="formattedNumber"
           />
           <el-table-column
             label="鍚◣鎬讳环(鍏�)"
-            width="150"
+            width="200"
             prop="taxInclusiveTotalPrice"
             :formatter="formattedNumber"
           />
           <el-table-column
             label="涓嶅惈绋庢�讳环(鍏�)"
-            width="150"
+            width="200"
             prop="taxExclusiveTotalPrice"
             :formatter="formattedNumber"
           />
@@ -331,7 +331,7 @@
             :min="0"
             :step="0.1"
             :formatter="formattedNumber"
-            width="170"
+            width="200"
           >
             <template #default="scope">
               <el-input-number
@@ -476,7 +476,7 @@
     });
 };
 const formattedNumber = (row, column, cellValue) => {
-  return parseFloat(cellValue).toFixed(2) ?? 0;
+  return parseFloat(cellValue).toFixed(5) ?? 0;
 };
 // 琛ㄦ牸閫夋嫨鏁版嵁
 const handleSelectionChange = (selection) => {
@@ -687,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;
   // 璁$畻鏈潵绁ㄩ噾棰�
@@ -714,7 +714,7 @@
       invoiceAmountTotal += item.ticketsAmount;
     }
   });
-  form.value.invoiceAmount = invoiceAmountTotal.toFixed(2);
+  form.value.invoiceAmount = invoiceAmountTotal.toFixed(5);
 }
 
 onMounted(() => {

--
Gitblit v1.9.3