From 11df6530c8696871fe15f595629e92c766157319 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 21 八月 2026 15:00:06 +0800
Subject: [PATCH] 盘点条件类型枚举 与字典值保持一致

---
 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 30841f6..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