// 提现订单搜索项：按截图保留订单号、开始时间、结束时间。
export const search = [
    {
        prop: 'user_name',
        label: '账户持有人',
        type: 'input' as const,
        placeholder: '请输入账户持有人',
        width: '210',
    },
    {
        prop: 'startTime',
        label: '开始时间',
        type: 'date' as const,
        dateType: 'datetime' as const,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择开始时间',
        width: '200',
    },
    {
        prop: 'endTime',
        label: '结束时间',
        type: 'date' as const,
        dateType: 'datetime' as const,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择结束时间',
        width: '200',
    },
]

// 提现订单表格列：对应截图中的列表表头。
export const tableColumns = [
    { prop: 'trade_id', label: '订单号', align: 'center' as const, width: 200 },
    { prop: 'user_name', label: '账户持有人', width: 160, align: 'center' as const },
    { prop: 'withdraw_currency_symbol', label: '取款币种', align: 'center' as const, width: 100 },
    { prop: 'withdraw_amount', label: '取款金额', align: 'center' as const, width: 120, isNumber: true },
    { prop: 'real_currency_symbol', label: '到账币种', align: 'center' as const, width: 100 },
    { prop: 'real_amount', label: '到账金额', align: 'center' as const, width: 120, isNumber: true },
    { prop: 'rate', label: '汇率', align: 'center' as const, width: 100 },
    { prop: 'channel_name', label: '渠道', align: 'center' as const, width: 140 },
    { prop: 'withdraw_service_fee', label: '服务费', align: 'center' as const, width: 100, isNumber: true },
    { prop: 'withdraw_head_fee', label: '总部手续费', align: 'center' as const, width: 120, isNumber: true },
    { prop: 'withdraw_fee_handle', label: '代理手续费', align: 'center' as const, width: 120, isNumber: true },
    { prop: 'withdraw_point_diff', label: '点差', align: 'center' as const, width: 100, isNumber: true },
    { prop: 'withdraw_risk_fee', label: '风控费', width: 140, align: 'center' as const, isNumber: true },
    { prop: 'withdraw_address', label: '提现地址', width: 140, align: 'center' as const },
    {
        prop: 'status', label: '状态', align: 'center' as const, width: 140, options: [{
            label: '未审核',
            value: 1
        },
        {
            label: '审核成功',
            value: 2
        },
        {
            label: '已提交',
            value: 3
        },
        {
            label: '驳回',
            value: 4
        },]
    },
    { prop: 'created_at', label: '申请时间', width: 240, align: 'center' as const }
]

