From c9faa6fc186d3a4a01fbc1f7adcb2b487691bcd6 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 23 七月 2026 09:42:41 +0800
Subject: [PATCH] ``` feat(workorder): 添加工单工序校验功能

---
 src/views/mes/qc/defect/data.ts |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/views/mes/qc/defect/data.ts b/src/views/mes/qc/defect/data.ts
index b3be261..14e8457 100644
--- a/src/views/mes/qc/defect/data.ts
+++ b/src/views/mes/qc/defect/data.ts
@@ -4,8 +4,8 @@
 
 import { h } from 'vue';
 
-import { DICT_TYPE, MesAutoCodeRuleCode } from '../../../../packages/constants/src';
-import { getDictOptions } from '../../../../packages/effects/hooks/src';
+import { DICT_TYPE, MesAutoCodeRuleCode } from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
 
 import { Button } from 'ant-design-vue';
 
@@ -150,10 +150,7 @@
       field: 'type',
       title: '妫�娴嬮」绫诲瀷',
       width: 120,
-      cellRender: {
-        name: 'CellDict',
-        props: { type: DICT_TYPE.MES_INDICATOR_TYPE },
-      },
+      slots: { default: 'type' },
     },
     {
       field: 'level',

--
Gitblit v1.9.3