export function pingan_realTime_columns() {
    // 实时敞口监控 表头
    const listColumns = [
        {
            key: '9th',
            dataIndex: 'index',
            title: '序号',
            align: 'center',
            slots: {
                customRender: 'index',
            },
            width: 80,
        },
        {
            key: '0th',
            dataIndex: 'MiddleGoodsName',
            title: '套保品种',
            align: 'center',
            slots: {
                customRender: 'MiddleGoodsName',
            },
            width: 120,
        },
        {
            key: '1th',
            dataIndex: 'TotalSpotQty',
            title: '采销定价净值',
            align: 'center',
            slots: {
                customRender: 'TotalSpotQty',
            },
            width: 120,
        },
        {
            key: '21th',
            dataIndex: 'DiffSpotQty',
            title: '采销定价净值今日变动',
            align: 'center',
            slots: {
                customRender: 'DiffSpotQty',
            },
            width: 200,
        },
        {
            key: '12th',
            dataIndex: 'needhedgeqty',
            title: '应套保量',
            align: 'center',
            slots: {
                customRender: 'needhedgeqty',
            },
            width: 200,
        },
        {
            key: '13th',
            dataIndex: 'DiffSpotHedgeQty',
            title: '应套保量今日变动',
            align: 'center',
            slots: {
                customRender: 'DiffSpotHedgeQty',
            },
            width: 200,
        },
        {
            key: '123th',
            dataIndex: 'TotalFutureQty',
            title: '保值净持仓量',
            align: 'center',
            slots: {
                customRender: 'TotalFutureQty',
            },
            width: 200,
        },
        {
            key: '1223th',
            dataIndex: 'NeedHedgeExposoure',
            title: '套保敞口',
            align: 'center',
            slots: {
                customRender: 'NeedHedgeExposoure',
            },
            width: 200,
        },
        // {
        //     key: '323th',
        //     dataIndex: 'DiffSpotHedgeQty',
        //     title: '期货账单净持仓',
        //     align: 'center',
        //     slots: {
        //         customRender: 'DiffSpotHedgeQty',
        //     },
        //     width: 200,
        // },
        {
            key: '153th',
            dataIndex: 'TotalExposure',
            title: '净敞口',
            align: 'center',
            slots: {
                customRender: 'TotalExposure',
            },
            width: 200,
        },
    ];
    // 采购明细 表头
    const spotColumns = [
        {
            key: '922th',
            dataIndex: 'index',
            title: '序号',
            align: 'center',
            slots: {
                customRender: 'index',
            },
            width: 80,
        },
        {
            key: '0th',
            dataIndex: 'middleGoodsName',
            title: '套保品种',
            align: 'center',
            slots: {
                customRender: 'middleGoodsName',
            },
            width: 250,
        },
        {
            key: '1th',
            dataIndex: 'createtime',
            title: '时间',
            align: 'center',
            slots: {
                customRender: 'createtime',
            },
            width: 200,
        },
        {
            key: '2th',
            dataIndex: 'contracttype',
            title: '采销类型',
            align: 'center',
            slots: {
                customRender: 'contracttype',
            },
            width: 120,
        },
        {
            key: '3th',
            dataIndex: 'deliverygoodsname',
            title: '现货品种',
            align: 'center',
            slots: {
                customRender: 'deliverygoodsname',
            },
            width: 120,
        },
        {
            key: '4th',
            dataIndex: 'qty',
            title: '现货品种数量',
            align: 'center',
            slots: {
                customRender: 'qty',
            },
            width: 140,
        },
        {
            key: '5th',
            dataIndex: 'changeQty',
            title: '套保品种变动量',
            align: 'center',
            slots: {
                customRender: 'changeQty',
            },
            width: 150,
        },
        {
            key: '7th',
            dataIndex: 'convertfactor',
            title: '折算系数',
            align: 'center',
            slots: {
                customRender: 'convertfactor',
            },
            width: 120,
        },
    ];
    return { listColumns, spotColumns }
}