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: '可用',