| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- // +----------------------------------------------------------------------
- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
- // +----------------------------------------------------------------------
- // | Author: CRMEB Team <admin@crmeb.com>
- // +----------------------------------------------------------------------
- import BasicLayout from '@/layouts/basic-layout';
- import Setting from "@/setting";
- const pre = 'supplier_';
- export default {
- // 顶部导航供应商
- path: `${Setting.roterPre}/supplier`,
- name: 'supplier',
- header: 'supplier',
- // redirect: {
- // name: `${pre}supplier`
- // },
- component: BasicLayout,
- // 供应商侧边栏
- children: [
- {
- path: 'supplier/index',
- name: `${pre}menu`,
- meta: {
- auth: ['admin-supplier-supplier-index'],
- title: '供应商菜单'
- },
- component: () => import('@/pages/supplier/supplierList/index')
- },
- {
- path: 'apply',
- name: `${pre}apply`,
- meta: {
- auth: ['admin-supplier-apply'],
- title: '供应商申请'
- },
- component: () => import('@/pages/supplier/supplierApply/index')
- },
- {
- path: 'menu/list',
- name: `${pre}menulist`,
- meta: {
- auth: ['admin-supplier-menu-list'],
- title: '供应商管理'
- },
- component: () => import('@/pages/supplier/supplier-supplier_list/index')
- },
- {
- path: 'supplierAdd/:id?',
- name: `${pre}supplier`,
- meta: {
- auth: ['admin-supplier-supplierAdd'],
- title: '供应商添加'
- },
- component: () => import('@/pages/supplier/supplierAdd/index')
- },
- {
- path: 'orderList/index',
- name: `${pre}orderList`,
- meta: {
- auth: ['admin-supplier-orderList'],
- title: '订单列表'
- },
- component: () => import('@/pages/supplier/orderList/index')
- },
- {
- path: 'afterOrder/index',
- name: `${pre}afterOrder`,
- meta: {
- auth: ['admin-supplier-afterOrder'],
- title: '售后订单'
- },
- component: () => import('@/pages/supplier/afterOrder/index')
- },
- {
- path: 'orderStatistics/index',
- name: `${pre}orderStatistics`,
- meta: {
- auth: ['admin-supplier-supplier_list'],
- title: '订单统计'
- },
- component: () => import('@/pages/supplier/orderStatistics/index')
- },
- {
- path: 'capital/index',
- name: `${pre}capital`,
- meta: {
- auth: ['admin-supplier-capital-index'],
- title: '供应商流水'
- },
- component: () => import('@/pages/supplier/capital/index')
- },
- {
- path: 'bill/index',
- name: `${pre}bill`,
- meta: {
- auth: ['admin-supplier-bill-index'],
- title: '账单记录'
- },
- component: () => import('@/pages/supplier/bill/index')
- },
- {
- path: 'cash/index',
- name: `${pre}cash`,
- meta: {
- auth: ['admin-supplier-cash-index'],
- title: '转账申请'
- },
- component: () => import('@/pages/supplier/cash/index')
- },
- {
- path: `finance/set`,
- name: `${pre}finance`,
- meta: {
- auth: ['admin-supplier-finance-set'],
- title: '财务设置'
- },
- props: {
- typeMole: 'supplier_finance'
- },
- component: () => import('@/components/fromSubmit/commonForm')
- }
- ]
- };
|