From 6ebcfebf58fe23ea401de1050b15ba85e41763a9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 17 十月 2026 18:36:52 +0800
Subject: [PATCH] feat(wls): 仓储物流单据跨模块关联字段改为手工填写
---
src/views/mes/qc/defect/data.ts | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/views/mes/qc/defect/data.ts b/src/views/mes/qc/defect/data.ts
index b3be261..7a0b0c1 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',
@@ -173,7 +170,7 @@
field: 'createTime',
title: '鍒涘缓鏃堕棿',
width: 180,
- formatter: 'formatDateTime',
+ formatter: 'formatDate',
},
{
title: '鎿嶄綔',
--
Gitblit v1.9.3