From 9d7b3deff138a1c10ccf9b112e71fad8c0a8a004 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 30 十月 2026 16:16:03 +0800
Subject: [PATCH] fix(crm): 合同产品数量保留一位小数

---
 src/views/crm/contract/detail/approve/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/crm/contract/detail/approve/index.vue b/src/views/crm/contract/detail/approve/index.vue
index adc3157..fb32102 100644
--- a/src/views/crm/contract/detail/approve/index.vue
+++ b/src/views/crm/contract/detail/approve/index.vue
@@ -8,7 +8,7 @@
 import { ContentWrap } from '@vben/common-ui';
 import { DICT_TYPE } from '@vben/constants';
 import {
-  erpCountInputFormatter,
+  erpNumberFormatter,
   erpPriceInputFormatter,
   formatDateTime,
 } from '@vben/utils';
@@ -49,7 +49,7 @@
       field: 'count',
       title: '鏁伴噺',
       minWidth: 100,
-      formatter: ({ cellValue }) => erpCountInputFormatter(cellValue) || '-',
+      formatter: ({ cellValue }) => erpNumberFormatter(cellValue, 1) || '-',
     },
     {
       field: 'totalPrice',

--
Gitblit v1.9.3