/*
 * @Author: liuJie
 * @Date: 2026-02-26 13:57:24
 * @LastEditors: liuJie
 * @LastEditTime: 2026-02-27 15:25:54
 * @Describe: file describe
 */
import type { TableColumnProps } from '@/types/basic-table';

// 基础表格样式配置
export const TABLE_OPTIONS = {
  emptyText: '暂无数据',
  loading: true,
  maxHeight: 'calc(70vh - 150px)',
};

export const INVENTORY_TABLE_COLUMNS: TableColumnProps[] = [
  {
    label: '编号',
    type: 'index',
    align: 'center',
    width: '80px',
  },
  {
    label: '奖品名称',
    prop: 'itemName',
    align: 'left',
    minWidth: '120px',
  },
  {
    label: '入库日期',
    prop: 'warehouseDate',
    align: 'left',
    minWidth: '120px',
  },
  {
    label: '奖品数量',
    prop: 'itemQuantity',
    align: 'center',
    minWidth: '120px',
  },
  {
    label: '经办人',
    prop: 'handler',
    align: 'left',
    minWidth: '120px',
  },
  {
    label: '备注',
    prop: 'remarks',
    align: 'left',
    minWidth: '150px',
  },
  {
    label: '状态',
    prop: 'status',
    slot: 'status',
    align: 'center',
    minWidth: '100px',
  },
  {
    label: '操作',
    prop: 'action',
    slot: 'action',
    fixed: 'right',
    width: '180px',
    align: 'left',
  },
];
