Browse Source

页面微调

clodop
常熟吴彦祖 1 month ago
parent
commit
c63d1bca96
  1. 10
      src/views/modules/haianWarehouse/warehousePallet/warehousePallet54.vue

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

Loading…
Cancel
Save