From ed7a42835a7aec7582d8a64ba7e3a3314fdc514e Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 23 六月 2026 16:11:05 +0800
Subject: [PATCH] fix(salesQuotation): 调整价格显示与输入的小数精度为4位

---
 src/views/salesManagement/salesQuotation/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/salesManagement/salesQuotation/index.vue b/src/views/salesManagement/salesQuotation/index.vue
index dc4e2ca..102a04b 100644
--- a/src/views/salesManagement/salesQuotation/index.vue
+++ b/src/views/salesManagement/salesQuotation/index.vue
@@ -65,7 +65,7 @@
         </el-table-column>
         <el-table-column prop="totalAmount" label="鎶ヤ环閲戦" width="120">
           <template #default="scope">
-            楼{{ scope.row.totalAmount.toFixed(3) }}
+            楼{{ scope.row.totalAmount.toFixed(4) }}
           </template>
         </el-table-column>
         <el-table-column label="鎿嶄綔" width="200" fixed="right" align="center">
@@ -215,7 +215,7 @@
             <el-table-column prop="unitPrice" label="鍗曚环">
               <template #default="scope">
                 <el-form-item :prop="`products.${scope.$index}.unitPrice`" class="product-table-form-item">
-                  <el-input-number v-model="scope.row.unitPrice" :min="0" :precision="3" style="width: 100%" />
+                  <el-input-number v-model="scope.row.unitPrice" :min="0" :precision="4" style="width: 100%" />
                 </el-form-item>
               </template>
             </el-table-column>
@@ -313,7 +313,7 @@
 <!--          <el-tag :type="getStatusType(currentQuotation.status)">{{ currentQuotation.status }}</el-tag>-->
 <!--        </el-descriptions-item>-->
         <el-descriptions-item label="鎶ヤ环鎬婚" :span="2">
-          <span style="font-size: 18px; color: #e6a23c; font-weight: bold;">楼{{ currentQuotation.totalAmount?.toFixed(3) }}</span>
+          <span style="font-size: 18px; color: #e6a23c; font-weight: bold;">楼{{ currentQuotation.totalAmount?.toFixed(4) }}</span>
         </el-descriptions-item>
       </el-descriptions>
       
@@ -325,7 +325,7 @@
           <el-table-column prop="unit" label="鍗曚綅" />
           <el-table-column prop="unitPrice" label="鍗曚环">
             <template #default="scope">
-              楼{{ scope.row.unitPrice.toFixed(3) }}
+              楼{{ scope.row.unitPrice.toFixed(4) }}
             </template>
           </el-table-column>
         </el-table>

--
Gitblit v1.9.3