import {
    RouteView
} from '@/layouts'

export default [{
    path: '/sales',
    name: 'StockIndex',
    meta: {
        title: '销售管理',
        icon: 'bank'
    },
    component: RouteView,
    children: [
        {
            path: '/sales/online',
            name: 'SalesOnline',
            meta: {
                title: '线上零售订单',
                icon: 'unordered-list'
            },
            component: () => import('@/views/sales/Online')
        },
        {
            path: '/sales/stock',
            name: 'SalesStock',
            meta: {
                title: '线上进货订单',
                icon: 'unordered-list'
            },
            component: () => import('@/views/sales/OnStock')
        }
    ]
}]
