From 5e57cafb22d73d58e97e479fa6f5d98dd3e3b7de Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 29 Mar 2026 09:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(mes):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E7=B1=BB=E5=9E=8B=E7=BC=96=E7=A0=81=E5=8F=8A?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=A0=A1=E9=AA=8C=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加工具类型编码字段,并重构工具类型的保存和更新逻辑,简化数据校验过程。更新表单组件以支持新功能,优化用户体验。 --- src/views/mes/tm/tool/type/ToolTypeForm.vue | 44 +++++++++++++++------ src/views/mes/tm/tool/type/index.vue | 15 ++++++- src/views/mes/utils/constants.ts | 1 + 3 files changed, 46 insertions(+), 14 deletions(-) diff --git a/src/views/mes/tm/tool/type/ToolTypeForm.vue b/src/views/mes/tm/tool/type/ToolTypeForm.vue index f57c88881..09625714b 100644 --- a/src/views/mes/tm/tool/type/ToolTypeForm.vue +++ b/src/views/mes/tm/tool/type/ToolTypeForm.vue @@ -7,6 +7,7 @@ :rules="formRules" label-width="120px" v-loading="formLoading" + :disabled="isDetail" > @@ -31,7 +32,7 @@ - + @@ -83,8 +86,8 @@