From fb4db4ae9b6a7f113ba049f6789e6916c0dcc276 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 12 十月 2026 09:15:08 +0800
Subject: [PATCH] feat(mes): 新增业务码支持并优化追溯查询功能
---
src/views/mes/pro/pallet/data.ts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/views/mes/pro/pallet/data.ts b/src/views/mes/pro/pallet/data.ts
index 73f0d69..6f8fbac 100644
--- a/src/views/mes/pro/pallet/data.ts
+++ b/src/views/mes/pro/pallet/data.ts
@@ -10,6 +10,7 @@
/** 鍒楄〃鐨勬悳绱㈣〃鍗� */
export function useGridFormSchema(): VbenFormSchema[] {
return [
+ { fieldName: 'businessCode', label: '涓氬姟鐮�', component: 'Input', componentProps: { allowClear: true, placeholder: '璇疯緭鍏ュ嚭鍏ュ簱涓氬姟鐮�' } },
{
fieldName: 'code',
label: '鎵樼洏鐮�',
@@ -54,6 +55,7 @@
export function useGridColumns(): VxeTableGridOptions<MesProPalletApi.Pallet>['columns'] {
return [
{ type: 'checkbox', width: 50 },
+ { field: 'businessCode', title: '涓氬姟鐮侊紙鍑哄叆搴擄級', minWidth: 210 },
{
field: 'code',
title: '鎵樼洏鐮�',
@@ -61,6 +63,8 @@
minWidth: 210,
slots: { default: 'code' },
},
+ { field: 'itemName', title: '鍝佺鍚嶇О', minWidth: 150 },
+ { field: 'itemCode', title: '鍝佺缂栫爜', minWidth: 150 },
{
field: 'palletNo',
title: '鎵樼洏搴忓彿',
@@ -77,6 +81,7 @@
title: '宸茬粦琚嬬爜鏁伴噺',
width: 120,
},
+ { field: 'inboundTime', title: '鍏ュ簱鐘舵��', width: 100, formatter: ({ cellValue }) => cellValue ? '宸插叆搴�' : '鏈叆搴�' },
{
field: 'status',
title: '鎵樼洏鐘舵��',
--
Gitblit v1.9.3