export const assetLabelPrintColumns = [
  {
    title: '序号',
    dataIndex: 'index',
    key: 'index',
    width: 75,
    customRender: ({ text, record, index }) => `${index + 1}`,
  },
  {
    title: '部门',
    key: 'organizationName',
    dataIndex: 'organizationName',
  },
  {
    title: '名称',
    key: 'inventoryName',
    dataIndex: 'inventoryName',
  },
  {
    title: '编号',
    key: 'inventoryNo',
    dataIndex: 'inventoryNo',
  },
  {
    title: '规格型号',
    key: 'type',
    dataIndex: 'type',
  },
  {
    title: 'epc',
    key: 'epc',
    dataIndex: 'epc',
  },
  {
    title: '打印状态',
    key: 'printStatus',
    dataIndex: 'printStatus',
  },
].map(item => ({ ...item, align: 'center', resizable: true, maxWidth: 300, minWidth: 75 }));

export const workBinColumns = [
  {
    title: '序号',
    dataIndex: 'index',
    key: 'index',
    width: 75,
    customRender: ({ text, record, index }) => `${index + 1}`,
  },
  {
    title: '名称',
    key: 'containerName',
    dataIndex: 'containerName',
  },
  {
    title: '编号',
    key: 'containerNo',
    dataIndex: 'containerNo',
  },
  {
    title: 'epc',
    key: 'epc',
    dataIndex: 'epc',
  },
  {
    title: '打印状态',
    key: 'printStatus',
    dataIndex: 'printStatus',
  },
].map(item => ({ ...item, align: 'center', resizable: true, maxWidth: 300, minWidth: 75 }));