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/salesManagement/invoiceLedger/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/salesManagement/invoiceLedger/index.vue b/src/views/salesManagement/invoiceLedger/index.vue
index 1d9361b..efd2cd0 100644
--- a/src/views/salesManagement/invoiceLedger/index.vue
+++ b/src/views/salesManagement/invoiceLedger/index.vue
@@ -86,7 +86,7 @@
           </el-col>
           <el-col :span="12">
             <el-form-item :label="`鍙戠エ閲戦(鍏�)锛� 鍚堝悓鎬婚(${form.taxInclusiveTotalPrice}鍏�)`" prop="invoiceTotal">
-              <el-input-number :step="0.01" :min="0" :max="form.taxInclusiveTotalPrice" style="width: 100%" v-model="form.invoiceTotal" placeholder="璇疯緭鍏�" clearable :precision="2"/>
+              <el-input-number :step="0.01" :min="0" :max="form.taxInclusiveTotalPrice" style="width: 100%" v-model="form.invoiceTotal" placeholder="璇疯緭鍏�" clearable/>
             </el-form-item>
           </el-col>
         </el-row>
@@ -226,7 +226,7 @@
 const matchFileType = ref(["pdf"]);
 const uploadModal = ref(false);
 const formattedNumber = (row, column, cellValue) => {
-  return parseFloat(cellValue).toFixed(5);
+  return parseFloat(cellValue).toFixed(2);
 };
 const formatDate = (row, column, cellValue) => {
   return dayjs(cellValue).format("YYYY-MM-DD HH:mm:ss");

--
Gitblit v1.9.3