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/bagCode/data.ts |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/views/mes/pro/bagCode/data.ts b/src/views/mes/pro/bagCode/data.ts
index 8af998d..2f23149 100644
--- a/src/views/mes/pro/bagCode/data.ts
+++ b/src/views/mes/pro/bagCode/data.ts
@@ -16,12 +16,16 @@
   return [
     {
       fieldName: 'code',
-      label: '琚嬬爜',
+      label: '杩芥函鐮�',
       component: 'Input',
       componentProps: {
         allowClear: true,
-        placeholder: '璇疯緭鍏ヨ鐮侊紙浜岀淮鐮佸唴瀹癸級',
+        placeholder: '璇疯緭鍏ヨ拷婧爜',
       },
+    },
+    {
+      fieldName: 'businessCode', label: '涓氬姟鐮�', component: 'Input',
+      componentProps: { allowClear: true, placeholder: '璇疯緭鍏ュ嚭鍏ュ簱涓氬姟鐮�' },
     },
     {
       fieldName: 'batchCode',
@@ -77,10 +81,11 @@
     { type: 'checkbox', width: 50 },
     {
       field: 'code',
-      title: '琚嬬爜锛堜簩缁寸爜鍐呭锛�',
+      title: '杩芥函鐮�',
       fixed: 'left',
       minWidth: 220,
     },
+    { field: 'businessCode', title: '涓氬姟鐮侊紙鍑哄叆搴擄級', minWidth: 210 },
     {
       field: 'bagNo',
       title: '琚嬪簭鍙�',
@@ -121,6 +126,7 @@
       title: '缁戝畾鎵樼洏鐮�',
       minWidth: 190,
     },
+    { field: 'inboundTime', title: '鍏ュ簱鐘舵��', width: 100, formatter: ({ cellValue }) => cellValue ? '宸插叆搴�' : '鏈叆搴�' },
     {
       field: 'status',
       title: '琚嬬爜鐘舵��',

--
Gitblit v1.9.3