| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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',
- },
- ];
|