From f3c111bb9d6e0dc42a3e743dcfa2e0f1b0ef1714 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 04 九月 2026 13:30:58 +0800
Subject: [PATCH] fix(wls): 仓库/库区/库位表单「是否冻结」补充默认值 false,避免不操作开关时空值提交报错

---
 src/views/mes/qc/indicator/data.ts |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/src/views/mes/qc/indicator/data.ts b/src/views/mes/qc/indicator/data.ts
index 42ae2d5..a20cc84 100644
--- a/src/views/mes/qc/indicator/data.ts
+++ b/src/views/mes/qc/indicator/data.ts
@@ -8,8 +8,8 @@
   DICT_TYPE,
   MesAutoCodeRuleCode,
   MesQcResultValueType,
-} from '../../../../packages/constants/src';
-import { getDictOptions } from '../../../../packages/effects/hooks/src';
+} from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
 
 import { Button } from 'ant-design-vue';
 
@@ -186,10 +186,7 @@
       field: 'type',
       title: '妫�娴嬮」绫诲瀷',
       width: 120,
-      cellRender: {
-        name: 'CellDict',
-        props: { type: DICT_TYPE.MES_INDICATOR_TYPE },
-      },
+      slots: { default: 'type' },
     },
     {
       field: 'tool',
@@ -273,10 +270,7 @@
       field: 'type',
       title: '妫�娴嬮」绫诲瀷',
       width: 120,
-      cellRender: {
-        name: 'CellDict',
-        props: { type: DICT_TYPE.MES_INDICATOR_TYPE },
-      },
+      slots: { default: 'type' },
     },
     {
       field: 'tool',

--
Gitblit v1.9.3