From 04fd71bcdd2f4d13f7fcb1f59952f6decdbb3d65 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期一, 09 九月 2024 08:23:32 +0800
Subject: [PATCH] #

---
 zy-asrs-admin/src/views/in/waitPakinLog/index.vue |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/zy-asrs-admin/src/views/in/waitPakinLog/index.vue b/zy-asrs-admin/src/views/in/waitPakinLog/index.vue
index c7ec893..4ab62d4 100644
--- a/zy-asrs-admin/src/views/in/waitPakinLog/index.vue
+++ b/zy-asrs-admin/src/views/in/waitPakinLog/index.vue
@@ -55,11 +55,18 @@
     ...getColumnSearchProps('barcode'),
   },
   {
-    title: formatMessage('db.man_wait_pakin_log.detl_id', '鏄庣粏ID'),
-    dataIndex: 'detlId$',
+    title: formatMessage('db.man_wait_pakin_log.matnr', '鍟嗗搧缂栧彿'),
+    dataIndex: ['detl$', 'mat$', 'matnr'],
     width: 140,
     ellipsis: true,
-    ...getColumnSearchProps('detlId$'),
+    ...getColumnSearchProps('detl$.matnr'),
+  },
+  {
+    title: formatMessage('db.man_wait_pakin_log.batch', '鎵瑰彿'),
+    dataIndex: ['detl$', 'batch'],
+    width: 140,
+    ellipsis: true,
+    ...getColumnSearchProps('detl$.matnr'),
   },
   {
     title: formatMessage('db.man_wait_pakin_log.io_status', '缁勬墭鐘舵��'),
@@ -242,6 +249,11 @@
               }}</a-button>
           </div>
         </template>
+
+        <template v-if="column.dataIndex === 'ioStatus$'">
+          <a-switch :checked="record.ioStatus == 1" :checked-children="formatMessage('waitPakin.switch.open', '鍏ュ簱涓�')"
+            :un-checked-children="formatMessage('waitPakin.switch.close', '寰呭叆搴�')" :disabled="true" />
+        </template>
       </template>
     </a-table>
   </div>

--
Gitblit v1.9.1