zhou zhou
11 小时以前 50e95b985a72fcec4a93a2470e9efdfb2620148a
rsf-design/src/views/manager/loc-preview/locPreviewTable.columns.js
@@ -1,71 +1,72 @@
import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
import { $t } from '@/locales'
export function createLocPreviewTableColumns({ handleViewDetail }) {
  return [
    {
      prop: 'locCode',
      label: '库位编码',
      label: $t('pages.manager.locPreview.table.locCode'),
      minWidth: 150,
      showOverflowTooltip: true
    },
    {
      prop: 'warehouseLabel',
      label: '仓库',
      label: $t('pages.manager.locPreview.table.warehouseLabel'),
      minWidth: 150,
      showOverflowTooltip: true
    },
    {
      prop: 'areaLabel',
      label: '库区',
      label: $t('pages.manager.locPreview.table.areaLabel'),
      minWidth: 150,
      showOverflowTooltip: true
    },
    {
      prop: 'typeLabel',
      label: '库位类型',
      label: $t('pages.manager.locPreview.table.typeLabel'),
      minWidth: 160,
      showOverflowTooltip: true
    },
    {
      prop: 'barcode',
      label: '条码',
      label: $t('pages.manager.locPreview.table.barcode'),
      minWidth: 160,
      showOverflowTooltip: true
    },
    {
      prop: 'useStatusLabel',
      label: '使用状态',
      label: $t('pages.manager.locPreview.table.useStatusLabel'),
      width: 120
    },
    {
      prop: 'row',
      label: '排',
      label: $t('pages.manager.locPreview.table.row'),
      width: 80
    },
    {
      prop: 'col',
      label: '列',
      label: $t('pages.manager.locPreview.table.col'),
      width: 80
    },
    {
      prop: 'lev',
      label: '层',
      label: $t('pages.manager.locPreview.table.lev'),
      width: 80
    },
    {
      prop: 'channel',
      label: '巷道',
      label: $t('pages.manager.locPreview.table.channel'),
      width: 90
    },
    {
      prop: 'updateTimeText',
      label: '更新时间',
      label: $t('table.updateTime'),
      minWidth: 180,
      showOverflowTooltip: true
    },
    {
      prop: 'action',
      label: '详情',
      label: $t('common.actions.detail'),
      width: 100,
      fixed: 'right',
      useSlot: true,