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/product/components/data.ts | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/views/crm/product/components/data.ts b/src/views/crm/product/components/data.ts
index 462508a..2c742e5 100644
--- a/src/views/crm/product/components/data.ts
+++ b/src/views/crm/product/components/data.ts
@@ -41,7 +41,8 @@
{
field: 'count',
title: '鏁伴噺',
- formatter: 'formatAmount3',
+ // 鍟嗘満淇濈暀 3 浣嶏紱鍚堝悓鏁伴噺淇濈暀 1 浣嶏紙瑙� adapter 鐨� formatAmount1锛�
+ formatter: showBusinessPrice ? 'formatAmount3' : 'formatAmount1',
},
{
field: 'totalPrice',
--
Gitblit v1.9.3