From d8dd5f30755b1b9293ccc2e349cb93c1ab3e0085 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 21 Nov 2024 09:08:10 +0800 Subject: [PATCH] =?UTF-8?q?YT-1146=E7=94=B3=E8=AF=B7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=8E=BB=E6=8E=89=E4=BB=8E=E5=8C=85=E8=A3=85=E5=8F=B7?= =?UTF-8?q?=EF=BC=8C=E5=88=B0=E5=8C=85=E8=A3=85=E5=8F=B7=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table/src/Table.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Table/src/Table.vue b/src/components/Table/src/Table.vue index d021328a9..0f323f45d 100644 --- a/src/components/Table/src/Table.vue +++ b/src/components/Table/src/Table.vue @@ -106,7 +106,7 @@ export default defineComponent({ if (!wsCache.get('ShowPackingNumber')) { if (columns) { - columns = columns.filter(item => item.field != 'packingNumber') + columns = columns.filter(item => item.field != 'packingNumber' && item.field != 'fromPackingNumber'&& item.field != 'toPackingNumber') } } for (const v of columnsChildren || columns) { @@ -347,7 +347,7 @@ export default defineComponent({ } = unref(getProps) if (!wsCache.get('ShowPackingNumber')) { if (columns) { - columns = columns.filter(item => item.field != 'packingNumber') + columns = columns.filter(item => item.field != 'packingNumber' && item.field != 'fromPackingNumber'&& item.field != 'toPackingNumber') } } //默认排序