index.js 1.93 KB
/**
 * on sale page store
 * @author: qi.li <qi.li@yoho.cn>
 * @date: 2017/04/13
 */

let filterFields = {
    handleActions: {
        label: '处理方式',
        labelSpan: 6,
        fieldSpan: 18,
        model: -1,
        options: [
            {
                value: -1,
                label: '全部'
            },
            {
                value: 1,
                label: '退回'
            },
            {
                value: 2,
                label: '补单入库'
            },
            {
                value: 3,
                label: '少货补库'
            }
        ]
    },
    handleStatus: {
        label: '状态',
        labelSpan: 6,
        fieldSpan: 18,
        model: -1,
        options: [
            {
                value: -1,
                label: '全部'
            },
            {
                value: 1,
                label: '处理中-侍确认'
            },
            {
                value: 2,
                label: '处理中-已确认'
            },
            {
                value: 3,
                label: '完成'
            }
        ]
    }
};

const table = {
    cols: [
        {
            title: '差异单号',
            key: 'info',
            align: 'center',
        },
        {
            title: '差异来源',
            key: 'info',
            align: 'center',
        },
        {

            title: '主题',
            key: 'info',
            align: 'center',
        },
        {

            title: '处理方式',
            key: 'info',
            align: 'center',
        },
        {

            title: '发起时间',
            key: 'info',
            align: 'center',
        },
        {
            title: '品牌经理',
            key: 'info',
            align: 'center',
        },
        {
            title: '操作',
            key: 'info',
            align: 'center',
        }

    ]
};

export {
    filterFields,
    table
}