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/edit-table.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/crm/product/components/edit-table.vue b/src/views/crm/product/components/edit-table.vue
index f7cb97a..8427b1e 100644
--- a/src/views/crm/product/components/edit-table.vue
+++ b/src/views/crm/product/components/edit-table.vue
@@ -155,8 +155,8 @@
<template #count="{ row }">
<InputNumber
v-model:value="row.count"
- :min="0.001"
- :precision="3"
+ :min="isBusiness ? 0.001 : 0.1"
+ :precision="isBusiness ? 3 : 1"
@change="handlePriceChange(row)"
/>
</template>
--
Gitblit v1.9.3