From 6be7c40bccc170217e8ff3db0762b43416b66c24 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 22 九月 2026 14:51:05 +0800
Subject: [PATCH] refactor(qc): 重构质检模块数据表格字段配置
---
src/views/mes/qc/ipqc/data.ts | 10 +++++
src/views/mes/qc/iqc/data.ts | 20 +++++-----
src/views/mes/qc/pendinginspect/data.ts | 4 +-
src/views/mes/qc/rqc/data.ts | 29 +++++---------
src/views/mes/qc/oqc/data.ts | 31 +++++----------
5 files changed, 42 insertions(+), 52 deletions(-)
diff --git a/src/views/mes/qc/ipqc/data.ts b/src/views/mes/qc/ipqc/data.ts
index 0a6c7a9..2f5b14c 100644
--- a/src/views/mes/qc/ipqc/data.ts
+++ b/src/views/mes/qc/ipqc/data.ts
@@ -538,6 +538,16 @@
width: 100,
},
{
+ field: 'auditNickname',
+ title: '澶嶆牳浜�',
+ width: 100,
+ },
+ {
+ field: 'approveNickname',
+ title: '瀹℃牳浜�',
+ width: 100,
+ },
+ {
field: 'status',
title: '鍗曟嵁鐘舵��',
width: 100,
diff --git a/src/views/mes/qc/iqc/data.ts b/src/views/mes/qc/iqc/data.ts
index 631757d..65b70b4 100644
--- a/src/views/mes/qc/iqc/data.ts
+++ b/src/views/mes/qc/iqc/data.ts
@@ -444,16 +444,6 @@
minWidth: 180,
},
{
- field: 'vendorNickname',
- title: '渚涘簲鍟嗙畝绉�',
- width: 120,
- },
- {
- field: 'vendorBatch',
- title: '渚涘簲鍟嗘壒娆″彿',
- width: 130,
- },
- {
field: 'itemCode',
title: '浜у搧鐗╂枡缂栫爜',
width: 130,
@@ -505,6 +495,16 @@
width: 100,
},
{
+ field: 'auditNickname',
+ title: '澶嶆牳浜�',
+ width: 100,
+ },
+ {
+ field: 'approveNickname',
+ title: '瀹℃牳浜�',
+ width: 100,
+ },
+ {
field: 'status',
title: '鍗曟嵁鐘舵��',
width: 100,
diff --git a/src/views/mes/qc/oqc/data.ts b/src/views/mes/qc/oqc/data.ts
index 721f2d9..5e7a01e 100644
--- a/src/views/mes/qc/oqc/data.ts
+++ b/src/views/mes/qc/oqc/data.ts
@@ -444,16 +444,6 @@
minWidth: 180,
},
{
- field: 'clientNickname',
- title: '瀹㈡埛鍚嶇О',
- width: 120,
- },
- {
- field: 'batchCode',
- title: '鎵规鍙�',
- width: 130,
- },
- {
field: 'itemCode',
title: '浜у搧鐗╂枡缂栫爜',
width: 130,
@@ -472,11 +462,6 @@
field: 'unitName',
title: '鍗曚綅',
width: 80,
- },
- {
- field: 'outQuantity',
- title: '鍙戣揣鏁伴噺',
- width: 100,
},
{
field: 'checkQuantity',
@@ -498,12 +483,6 @@
},
},
{
- field: 'outDate',
- title: '鍑鸿揣鏃ユ湡',
- width: 120,
- formatter: 'formatDate',
- },
- {
field: 'inspectDate',
title: '妫�娴嬫棩鏈�',
width: 120,
@@ -515,6 +494,16 @@
width: 100,
},
{
+ field: 'auditNickname',
+ title: '澶嶆牳浜�',
+ width: 100,
+ },
+ {
+ field: 'approveNickname',
+ title: '瀹℃牳浜�',
+ width: 100,
+ },
+ {
field: 'status',
title: '鍗曟嵁鐘舵��',
width: 100,
diff --git a/src/views/mes/qc/pendinginspect/data.ts b/src/views/mes/qc/pendinginspect/data.ts
index 71c6adc..d8694bf 100644
--- a/src/views/mes/qc/pendinginspect/data.ts
+++ b/src/views/mes/qc/pendinginspect/data.ts
@@ -7,7 +7,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
-import { MdItemSelect } from '#/views/mes/md/item/components';
+import { MdmItemSelect } from '#/views/basicData/mdm/components';
/** 鍒楄〃鐨勬悳绱㈣〃鍗� */
export function useGridFormSchema(): VbenFormSchema[] {
@@ -24,7 +24,7 @@
{
fieldName: 'itemId',
label: '浜у搧鐗╂枡',
- component: markRaw(MdItemSelect),
+ component: markRaw(MdmItemSelect),
componentProps: {
placeholder: '璇烽�夋嫨浜у搧鐗╂枡',
},
diff --git a/src/views/mes/qc/rqc/data.ts b/src/views/mes/qc/rqc/data.ts
index 394c342..7e5e445 100644
--- a/src/views/mes/qc/rqc/data.ts
+++ b/src/views/mes/qc/rqc/data.ts
@@ -436,20 +436,6 @@
minWidth: 180,
},
{
- field: 'sourceDocType',
- title: '鏉ユ簮鍗曟嵁绫诲瀷',
- width: 120,
- cellRender: {
- name: 'CellDict',
- props: { type: DICT_TYPE.MES_QC_SOURCE_DOC_TYPE },
- },
- },
- {
- field: 'sourceDocCode',
- title: '鏉ユ簮鍗曟嵁缂栫爜',
- width: 160,
- },
- {
field: 'itemCode',
title: '浜у搧鐗╂枡缂栫爜',
width: 130,
@@ -470,11 +456,6 @@
width: 80,
},
{
- field: 'batchCode',
- title: '鎵规鍙�',
- width: 130,
- },
- {
field: 'checkResult',
title: '妫�娴嬬粨鏋�',
width: 110,
@@ -495,6 +476,16 @@
width: 100,
},
{
+ field: 'auditNickname',
+ title: '澶嶆牳浜�',
+ width: 100,
+ },
+ {
+ field: 'approveNickname',
+ title: '瀹℃牳浜�',
+ width: 100,
+ },
+ {
field: 'status',
title: '鍗曟嵁鐘舵��',
width: 100,
--
Gitblit v1.9.3