From c63d1bca96c611087832d1c4b37fe2460edd67ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 7 Oct 2026 10:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../warehousePallet/warehousePallet54.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/modules/haianWarehouse/warehousePallet/warehousePallet54.vue b/src/views/modules/haianWarehouse/warehousePallet/warehousePallet54.vue index fed8d88..38fb82b 100644 --- a/src/views/modules/haianWarehouse/warehousePallet/warehousePallet54.vue +++ b/src/views/modules/haianWarehouse/warehousePallet/warehousePallet54.vue @@ -349,6 +349,7 @@ export default { { columnProp: 'palletId', columnLabel: '托盘ID', columnWidth: 120, align: 'center', headerAlign: 'center' }, { columnProp: 'palletFamilyDesc', columnLabel: '托盘大分类', columnWidth: 120, align: 'center', headerAlign: 'center' }, { columnProp: 'typeDesc', columnLabel: '托盘类型', columnWidth: 160, align: 'center', headerAlign: 'center' }, + { columnProp: 'height', columnLabel: '高度', columnWidth: 120, align: 'center', headerAlign: 'center', formatter: 'height' }, // { columnProp: 'status', columnLabel: '托盘状态', columnWidth: 100, align: 'center', headerAlign: 'center', formatter: 'status' }, { columnProp: 'area', columnLabel: '区域', columnWidth: 90, align: 'center', headerAlign: 'center' }, { columnProp: 'locationCode', columnLabel: '站点', columnWidth: 120, align: 'center', headerAlign: 'center' }, @@ -909,6 +910,15 @@ export default { if (value === 'N') return '否' return value || '' } + if (column.formatter === 'height') { + const map = { + HEIGHT_LT_600: '低于600', + HEIGHT_600_1100: '600-1100', + HEIGHT_1100_1500: '1100-1500', + HEIGHT_GE_1500: '大于等于1500' + } + return map[value] || value || '' + } if (column.formatter === 'status') { const map = { AVAILABLE: '可用',