From bbce6db600e6bb0cf2a3bb78bdf5ccff70b737a8 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 23 七月 2026 13:05:10 +0800
Subject: [PATCH] feat(workorder): 添加工序投料BOM明细展开功能

---
 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 5ff866e..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