|
@@ -47,13 +47,164 @@ export const asyncRouterMap = [{
|
|
|
},
|
|
|
hidden: true
|
|
|
},
|
|
|
+ // 销售管理
|
|
|
+ {
|
|
|
+ path: '/sales',
|
|
|
+ redirect: '/sales/salesList',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '销售管理',
|
|
|
+ icon: 'lock',
|
|
|
+ permission: 'M_auth_0'
|
|
|
+ },
|
|
|
+ children: [{
|
|
|
+ path: 'salesList',
|
|
|
+ name: 'salesList',
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/salesList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '销售单查询',
|
|
|
+ icon: 'user'
|
|
|
+ // permission: 'M_sales_List'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/sales/newSales',
|
|
|
+ name: 'newSales',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/newSales.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '新建销售单',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_sales_newSales'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/sales/editSales',
|
|
|
+ name: 'editSales',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/newSales.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '修改销售单',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_sales_editSales'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'stockOutList',
|
|
|
+ name: 'stockOutList',
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/stockOutList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '出库',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_stockOut_list'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/stockOutDetail',
|
|
|
+ name: 'stockOutDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/stockOutDetail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '出库明细',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_stockOut_detail'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'dispatchList',
|
|
|
+ name: 'dispatchList',
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/dispatchList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '急件冲减',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_dispatch_list'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/dispatchDetail',
|
|
|
+ name: 'dispatchDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/dispatchDetail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '急件明细',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_sdispatch_detail'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'returnedList',
|
|
|
+ name: 'returnedList',
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/returnedList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '销售退货',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_returned_list'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/sales/newReturned',
|
|
|
+ name: 'newReturned',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/newReturned.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '新建退货单',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_newReturned'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/sales/newReturned',
|
|
|
+ name: 'editReturned',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/newReturned.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '修改退货单',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_editReturned'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/returnedDetail',
|
|
|
+ name: 'returnedDetail',
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/returnedDetail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '退货单详情',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_sdispatch_detail'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'customerList',
|
|
|
+ name: 'customerList',
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/customerList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '客户管理',
|
|
|
+ icon: 'solution'
|
|
|
+ // permission: 'M_customer_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ // 库存管理
|
|
|
+ // 采购管理
|
|
|
+ // 散件管理
|
|
|
+ // 产品管理
|
|
|
+ // 基础资料
|
|
|
+ // 财务管理
|
|
|
// auth
|
|
|
{
|
|
|
path: '/auth',
|
|
|
redirect: '/auth/userList',
|
|
|
component: PageView,
|
|
|
meta: {
|
|
|
- title: 'IT权限管理',
|
|
|
+ title: '权限管理',
|
|
|
icon: 'lock',
|
|
|
permission: 'M_auth_0'
|
|
|
},
|
|
@@ -109,16 +260,6 @@ export const asyncRouterMap = [{
|
|
|
permission: 'M_sys_register'
|
|
|
}
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/setting/jobs',
|
|
|
- // name: 'powerJobs',
|
|
|
- // component: () => import(/* webpackChunkName: "setting" */ '@/views/power/job/jobs.vue'),
|
|
|
- // meta: {
|
|
|
- // title: '定时器',
|
|
|
- // icon: 'alert',
|
|
|
- // permission: 'M_sys_job'
|
|
|
- // }
|
|
|
- // },
|
|
|
{
|
|
|
path: '/setting/OperateJournal',
|
|
|
name: 'powerOperateJournal',
|