完善系统管理
新增基础信息和商品管理
This commit is contained in:
@@ -44,6 +44,138 @@ export const constantRoutes = [
|
||||
}
|
||||
}]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/baseInfo',
|
||||
component: Layout,
|
||||
redirect: null,
|
||||
meta: {
|
||||
title: '基础信息'
|
||||
},
|
||||
children: [{
|
||||
path: '/warehouses/warehouse',
|
||||
name: 'Warehouse',
|
||||
component: () => import('@/views/baseInfo/warehouses/warehouse/index'),
|
||||
meta: {
|
||||
title: '仓库管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/warehouses/warehouseArea',
|
||||
name: 'WarehouseArea',
|
||||
component: () => import('@/views/baseInfo/warehouses/warehouseArea/index'),
|
||||
meta: {
|
||||
title: '库区管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/warehouses/warehouseAreaType',
|
||||
name: 'WarehouseAreaType',
|
||||
component: () => import('@/views/baseInfo/warehouses/warehouseAreaType/index'),
|
||||
meta: {
|
||||
title: '库区类型管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/warehouses/goodsShelves',
|
||||
name: 'GoodsShelves',
|
||||
component: () => import('@/views/baseInfo/warehouses/goodsShelves/index'),
|
||||
meta: {
|
||||
title: '库位管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/supplier/supplier',
|
||||
name: 'Supplier',
|
||||
component: () => import('@/views/baseInfo/supplier/supplier/supplier'),
|
||||
meta: {
|
||||
title: '供应商管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/supplier/suppliertype',
|
||||
name: 'Suppliertype',
|
||||
component: () => import('@/views/baseInfo/supplier/suppliertype/suppliertype'),
|
||||
meta: {
|
||||
title: '供应商类型管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/goods',
|
||||
component: Layout,
|
||||
redirect: null,
|
||||
meta: {
|
||||
title: '商品管理'
|
||||
},
|
||||
children: [{
|
||||
path: '/brands/index',
|
||||
name: 'Brands',
|
||||
component: () => import('@/views/goods/brands/index'),
|
||||
meta: {
|
||||
title: '品牌管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/category/index',
|
||||
name: 'Category',
|
||||
component: () => import('@/views/goods/category/index'),
|
||||
meta: {
|
||||
title: '商品类别',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/factory/index',
|
||||
name: 'Factory',
|
||||
component: () => import('@/views/goods/factory/index'),
|
||||
meta: {
|
||||
title: '厂家管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/unit/index',
|
||||
name: 'Unit',
|
||||
component: () => import('@/views/goods/unit/index'),
|
||||
meta: {
|
||||
title: '计量单位',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/goods/index',
|
||||
name: 'Goods',
|
||||
component: () => import('@/views/goods/goods/index'),
|
||||
meta: {
|
||||
title: '商品管理',
|
||||
icon: 'product-add'
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/customerManagement',
|
||||
component: Layout,
|
||||
@@ -68,8 +200,7 @@ export const constantRoutes = [
|
||||
meta: {
|
||||
title: '销售'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
children: [{
|
||||
path: '/sales/salesOrder',
|
||||
component: () => import('@/views/sales/salesOrder/salesOrder'),
|
||||
name: 'SalesOrder',
|
||||
|
||||
Reference in New Issue
Block a user