

export const stockRequisitionColumns = [
    {
        title: '序号',
        dataIndex: 'index',
        key: 'index',
        width: 75,
        customRender: ({ text, record, index }) => `${index + 1}`,
    },
    {
        title: '仓库名称',
        dataIndex: 'inventoryWarehouse',
        key: 'inventoryWarehouse',
        width: 150,
    },
    {
        title: '设备名称',
        dataIndex: 'inventoryName',
        key: 'inventoryName',
        width: 150,
    },
    {
        title: '设备编码',
        dataIndex: 'inventoryNo',
        key: 'inventoryNo',
        width: 150,
    },
    {
        title: '设备型号',
        dataIndex: 'inventoryType',
        key: 'inventoryType',
        width: 150,
    },
    {
        title: '默认货位',
        dataIndex: 'inventoryPosition',
        key: 'inventoryPosition',
        width: 150,
    },
    {
        title: '实际货位',
        dataIndex: 'inventoryActulPosition',
        key: 'inventoryActulPosition',
        width: 150,
    },


].map(item => ({ ...item, align: 'center', resizable: true, maxWidth: 300, minWidth: 75 }));

export const carColumns = [
    {
        title: '序号',
        dataIndex: 'index',
        key: 'index',
        width: 75,
        customRender: ({ text, record, index }) => `${index + 1}`,
    },
    {
        title: '仓库名称',
        dataIndex: 'warehouseName',
        key: 'warehouseName',
        width: 150,
    },
    {
        title: '设备名称',
        dataIndex: 'inventoryName',
        key: 'inventoryName',
        width: 150,
    },
    {
        title: '设备编码',
        dataIndex: 'inventoryNo',
        key: 'inventoryNo',
        width: 150,
    },
    {
        title: '设备型号',
        dataIndex: 'inventoryType',
        key: 'inventoryType',
        width: 150,
    },
    {
        title: '货位名称',
        dataIndex: 'positionName',
        key: 'positionName',
        width: 150,
    },


].map(item => ({ ...item, align: 'center', resizable: true, maxWidth: 300, minWidth: 75 }));

export const typeList = [
    { value: 'Clamp', label: '工装' },
    { value: 'Instrument', label: '设备' },
    { value: 'FinishProduct', label: '成品' },
]