From bd5000341aa2393e28e733459f15a02bc4c84542 Mon Sep 17 00:00:00 2001
From: luojie <125330818@qq.com>
Date: Mon, 19 Jan 2026 16:07:24 +0800
Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?=
=?UTF-8?q?ate]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Template/CustomTable.vue | 4 ++--
src/components/Template/HandleFormItem.vue | 2 +-
src/views/business/comps/template/TemplateTable.vue | 5 +++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue
index 874fd7d..d6b9c3b 100644
--- a/src/components/Template/CustomTable.vue
+++ b/src/components/Template/CustomTable.vue
@@ -392,7 +392,7 @@ export default {
options: col.bodyOptions,
maxlength: col.bodyMaxlength,
label: this.$t(col.label),
- precision: currentItem[col.bodyPrecisionKey] || col.precision || 0,
+ precision: currentItem[col.bodyPrecisionKey] || col.precision ,
copyFrom: col.copyFrom || "",
compareTo: col.bodyCompareTo, // 添加 compareTo 字段
type: col.bodyType || "input",
@@ -409,7 +409,7 @@ export default {
maxlength: col.bodySubMaxlength || 10,
label: "",
placeholder: col.bodySubPlaceholder || "请输入",
- precision: col.subPrecision || 0,
+ precision: col.subPrecision,
compareTo: col.bodySubCompareTo, // 添加 compareTo 字段
type: col.bodySubType || "input",
}
diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue
index 70df2f2..f29bb6a 100644
--- a/src/components/Template/HandleFormItem.vue
+++ b/src/components/Template/HandleFormItem.vue
@@ -11,7 +11,7 @@