From 46624ce480a3c14da21f39cc4ad5f7eecea2bb1e Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 17 九月 2026 16:24:28 +0800
Subject: [PATCH] feat(mes): 优化生产批次和袋码管理功能

---
 src/views/mes/pro/bagCode/data.ts |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/views/mes/pro/bagCode/data.ts b/src/views/mes/pro/bagCode/data.ts
index caacb5f..8af998d 100644
--- a/src/views/mes/pro/bagCode/data.ts
+++ b/src/views/mes/pro/bagCode/data.ts
@@ -2,8 +2,12 @@
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 import type { MesProBagCodeApi } from '#/api/mes/pro/bagCode';
 
+import { markRaw } from 'vue';
+
 import { DICT_TYPE } from '@vben/constants';
 import { getDictOptions } from '@vben/hooks';
+
+import { MdmItemSelect } from '#/views/basicData/mdm/components';
 
 import { getRangePickerDefaultProps } from '#/utils';
 
@@ -35,6 +39,14 @@
       componentProps: {
         allowClear: true,
         placeholder: '璇疯緭鍏ョ敓鎴愮粍缂栧彿',
+      },
+    },
+    {
+      fieldName: 'itemId',
+      label: '鍝佺',
+      component: markRaw(MdmItemSelect),
+      componentProps: {
+        placeholder: '璇烽�夋嫨鍝佺锛堜骇鍝佸搧绉嶏級',
       },
     },
     {
@@ -85,6 +97,16 @@
       minWidth: 190,
     },
     {
+      field: 'itemCode',
+      title: '鍝佺缂栫爜',
+      width: 120,
+    },
+    {
+      field: 'itemName',
+      title: '鍝佺鍚嶇О',
+      width: 140,
+    },
+    {
       field: 'lineCode',
       title: '浜х嚎缂栫爜',
       width: 100,

--
Gitblit v1.9.3