|
@@ -49,146 +49,40 @@ export const asyncRouterMap = [{
|
|
},
|
|
},
|
|
// 销售管理
|
|
// 销售管理
|
|
{
|
|
{
|
|
- path: '/sales',
|
|
|
|
- redirect: '/sales/salesList',
|
|
|
|
|
|
+ path: '/salesManagement',
|
|
|
|
+ redirect: '/salesManagement/salesQuery',
|
|
component: PageView,
|
|
component: PageView,
|
|
meta: {
|
|
meta: {
|
|
title: '销售管理',
|
|
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'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
|
|
+ icon: 'account-book'
|
|
|
|
+ // permission: 'M_salesManagement'
|
|
},
|
|
},
|
|
- {
|
|
|
|
- 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'
|
|
|
|
- }
|
|
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: '/salesManagement/salesQuery',
|
|
|
|
+ redirect: '/salesManagement/salesQuery/list',
|
|
|
|
+ name: 'salesQuery',
|
|
|
|
+ component: RouteView,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售单查询',
|
|
|
|
+ icon: 'monitor'
|
|
|
|
+ // permission: 'M_salesQuery_list'
|
|
},
|
|
},
|
|
- {
|
|
|
|
- path: '/returnedDetail',
|
|
|
|
- name: 'returnedDetail',
|
|
|
|
- component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/returnedDetail.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '退货单详情',
|
|
|
|
- icon: 'solution'
|
|
|
|
- // permission: 'M_sdispatch_detail'
|
|
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'salesQueryList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "shop" */ '@/views/salesManagement/salesQuery/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售单列表',
|
|
|
|
+ icon: 'menu',
|
|
|
|
+ hidden: true
|
|
|
|
+ // permission: 'M_goodsManage_list'
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: 'customerList',
|
|
|
|
- name: 'customerList',
|
|
|
|
- component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/customerList.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '客户管理',
|
|
|
|
- icon: 'solution'
|
|
|
|
- // permission: 'M_customer_list'
|
|
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
- }
|
|
|
|
]
|
|
]
|
|
},
|
|
},
|
|
// 库存管理
|
|
// 库存管理
|