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/pallet/data.ts |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/views/mes/pro/pallet/data.ts b/src/views/mes/pro/pallet/data.ts
index ee2db7a..73f0d69 100644
--- a/src/views/mes/pro/pallet/data.ts
+++ b/src/views/mes/pro/pallet/data.ts
@@ -53,11 +53,13 @@
 /** 鍒楄〃鐨勫瓧娈� */
 export function useGridColumns(): VxeTableGridOptions<MesProPalletApi.Pallet>['columns'] {
   return [
+    { type: 'checkbox', width: 50 },
     {
       field: 'code',
       title: '鎵樼洏鐮�',
       fixed: 'left',
       minWidth: 210,
+      slots: { default: 'code' },
     },
     {
       field: 'palletNo',
@@ -68,11 +70,7 @@
       field: 'batchCode',
       title: '鎵规鍙�',
       minWidth: 190,
-    },
-    {
-      field: 'capacity',
-      title: '鍙琚嬫暟锛堣/鎵樼洏锛�',
-      width: 150,
+      slots: { default: 'batchCode' },
     },
     {
       field: 'bagCount',
@@ -101,7 +99,7 @@
     },
     {
       title: '鎿嶄綔',
-      width: 90,
+      width: 350,
       fixed: 'right',
       slots: { default: 'actions' },
     },

--
Gitblit v1.9.3