|
@@ -29,48 +29,50 @@ export const asyncRouterMap = [
|
|
|
{
|
|
|
path: '/home',
|
|
|
name: 'home',
|
|
|
- component: () => import( '@/views/Home'),
|
|
|
+ redirect: '/home',
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '首页',
|
|
|
icon: 'home',
|
|
|
- hide: true
|
|
|
- }
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/home',
|
|
|
+ name: 'home',
|
|
|
+ component: () => import( '@/views/Home'),
|
|
|
+ meta: {
|
|
|
+ title: '首页',
|
|
|
+ icon: 'home',
|
|
|
+ hidden: true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/changePwd',
|
|
|
+ name: 'changePwd',
|
|
|
+ component: () => import( '@/views/user/ChangePwd'),
|
|
|
+ meta: {
|
|
|
+ title: '修改密码',
|
|
|
+ icon: 'home'
|
|
|
+ },
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/notice',
|
|
|
+ name: 'notice',
|
|
|
+ component: () => import( '@/views/notice/list'),
|
|
|
+ meta: {
|
|
|
+ title: '公告',
|
|
|
+ icon: 'bell',
|
|
|
+ hidden: true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/changePwd',
|
|
|
- name: 'changePwd',
|
|
|
- component: () => import( '@/views/user/ChangePwd'),
|
|
|
- meta: {
|
|
|
- title: '修改密码',
|
|
|
- icon: 'home'
|
|
|
- },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- path: '/newProduct/list/:onlineFalg',
|
|
|
- name: 'newProductList',
|
|
|
- component: () => import( '@/views/productManagement/newProduct/list'),
|
|
|
- meta: {
|
|
|
- title: '新品信息',
|
|
|
- icon: 'home'
|
|
|
- },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- path: '/viewProduct/:sn',
|
|
|
- name: 'viewProduct',
|
|
|
- component: () => import( '@/views/productManagement/newProduct/detail'),
|
|
|
- meta: {
|
|
|
- title: '产品详情',
|
|
|
- icon: 'home',
|
|
|
- replaceTab: true
|
|
|
- },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
|
|
|
{
|
|
|
path: '/salesManagement',
|
|
@@ -88,7 +90,7 @@ export const asyncRouterMap = [
|
|
|
name: 'salesQuery',
|
|
|
component: BlankLayout,
|
|
|
meta: {
|
|
|
- title: '销售单查询',
|
|
|
+ title: '销售单',
|
|
|
icon: 'monitor',
|
|
|
permission: 'M_salesQueryList'
|
|
|
},
|
|
@@ -311,6 +313,279 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves',
|
|
|
+ redirect: '/numsGoodsShelves/settlementManagement',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '数字货架',
|
|
|
+ icon: 'hdd',
|
|
|
+ permission: 'M_numsGoodsShelves'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/shelfSet',
|
|
|
+ redirect: '/numsGoodsShelves/shelfSet/list',
|
|
|
+ name: 'shelfSet',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '货架设置',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_shelfSet'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'shelfSetList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/shelfSet/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '货架设置列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'set/:sn',
|
|
|
+ name: 'shelfSetting',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/shelfSet/set.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '货架设置',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ replaceTab: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/shelfMonitoring',
|
|
|
+ redirect: '/numsGoodsShelves/shelfMonitoring/list',
|
|
|
+ name: 'shelfMonitoring',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '货架监控',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_shelfMonitoring'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'shelfMonitoringList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/shelfMonitoring/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '货架监控列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'warehouseDetail/:shelfPlaceSn/:productSn',
|
|
|
+ name: 'shelfMonitoringWarehouseDetail',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/shelfMonitoring/warehouseDetail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '货架监控出入库明细',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ replaceTab: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/replenishmentManagement',
|
|
|
+ redirect: '/numsGoodsShelves/replenishmentManagement/list',
|
|
|
+ name: 'replenishmentManagement',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '补货管理',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_replenishmentManagement'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'replenishmentManagementList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/replenishmentManagement/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '补货管理列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/recallManagement',
|
|
|
+ redirect: '/numsGoodsShelves/recallManagement/list',
|
|
|
+ name: 'recallManagement',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '调回管理',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_recallManagement'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'recallManagementList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/recallManagement/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '调回管理列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/settlementManagement',
|
|
|
+ redirect: '/numsGoodsShelves/settlementManagement/list',
|
|
|
+ name: 'settlementManagement',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '结算管理',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_settlementManagement'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'settlementManagementList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/settlementManagement/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '结算管理列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'unDetail/:shelfSn/:settleType/:shelfName',
|
|
|
+ name: 'unSettlementDetail',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/settlementManagement/unSettlementDetail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '待结算明细',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ replaceTab: true
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'detail/:shelfSn/:shelfName',
|
|
|
+ name: 'settlementDetail',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/settlementManagement/settlementDetail.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '结算历史',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ replaceTab: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/withdrawalManagement',
|
|
|
+ redirect: '/numsGoodsShelves/withdrawalManagement/list',
|
|
|
+ name: 'withdrawalManagement',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '提现管理',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_withdrawalManagement'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'withdrawalManagementList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/withdrawalManagement/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '提现管理列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/numsGoodsShelves/recallStockManagement',
|
|
|
+ redirect: '/numsGoodsShelves/recallStockManagement/list',
|
|
|
+ name: 'recallStockManagement',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '调回入库',
|
|
|
+ icon: 'monitor',
|
|
|
+ permission: 'M_recallStockManagement'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'recallStockManagementList',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/recallStockManagement/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '调回入库列表',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'editStock/:stockPutSn',
|
|
|
+ name: 'editStock',
|
|
|
+ component: () => import( '@/views/numsGoodsShelves/recallStockManagement/editStock.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '编辑入库',
|
|
|
+ icon: 'monitor',
|
|
|
+ hidden: true,
|
|
|
+ replaceTab: true
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ ]
|
|
|
+ },
|
|
|
|
|
|
{
|
|
|
path: '/purchasingManagement',
|
|
@@ -1128,23 +1403,51 @@ export const asyncRouterMap = [
|
|
|
},
|
|
|
{
|
|
|
path: '/inventoryManagement/inventoryWarning',
|
|
|
- name: 'inventoryWarningList',
|
|
|
- component: () => import( '@/views/inventoryManagement/inventoryWarning/list.vue'),
|
|
|
+ name: 'inventoryWarning',
|
|
|
+ redirect: '/inventoryManagement/inventoryWarning/list',
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '库存预警',
|
|
|
icon: 'alert',
|
|
|
permission: 'M_inventoryWarningList'
|
|
|
- }
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'inventoryWarningList',
|
|
|
+ component: () => import( '@/views/inventoryManagement/inventoryWarning/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '库存预警',
|
|
|
+ icon: 'alert',
|
|
|
+ permission: 'M_inventoryWarningList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/inventoryManagement/satelliteWarehouseInventory',
|
|
|
- name: 'satelliteWarehouseInventoryList',
|
|
|
- component: () => import( '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
|
|
|
+ name: 'satelliteWarehouseInventory',
|
|
|
+ redirect: '/inventoryManagement/satelliteWarehouseInventory/list',
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '卫星仓库存',
|
|
|
icon: 'flag',
|
|
|
permission: 'M_satelliteWarehouseInventoryList'
|
|
|
- }
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'satelliteWarehouseInventoryList',
|
|
|
+ component: () => import( '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '卫星仓库存',
|
|
|
+ icon: 'flag',
|
|
|
+ permission: 'M_satelliteWarehouseInventoryList'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/inventoryManagement/inventoryChecking',
|
|
@@ -2068,6 +2371,43 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/productManagement/newProductList',
|
|
|
+ redirect: '/newProduct/list/:onlineFalg',
|
|
|
+ name: 'newProductList',
|
|
|
+ component: BlankLayout,
|
|
|
+ meta: {
|
|
|
+ title: '产品信息',
|
|
|
+ icon: 'sketch',
|
|
|
+ permission: 'M_newProductList'
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/newProduct/list/:onlineFalg',
|
|
|
+ name: 'newProductList',
|
|
|
+ component: () => import( '@/views/productManagement/newProduct/list'),
|
|
|
+ meta: {
|
|
|
+ title: '新品信息',
|
|
|
+ icon: 'file-text',
|
|
|
+ hidden: true
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/viewProduct/:sn',
|
|
|
+ name: 'viewProduct',
|
|
|
+ component: () => import( '@/views/productManagement/newProduct/detail'),
|
|
|
+ meta: {
|
|
|
+ title: '产品详情',
|
|
|
+ icon: 'file-text',
|
|
|
+ replaceTab: true,
|
|
|
+ hidden: true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
path: '/productManagement/productBrand',
|
|
|
redirect: '/productManagement/productBrand/list',
|
|
@@ -2397,81 +2737,53 @@ export const asyncRouterMap = [
|
|
|
children: [
|
|
|
{
|
|
|
path: '/auth/userList',
|
|
|
- name: 'powerUserList',
|
|
|
- component: () => import( '@/views/power/user/userList.vue'),
|
|
|
+ name: 'powerUser',
|
|
|
+ redirect: '/auth/userList/list',
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '用户管理',
|
|
|
icon: 'user',
|
|
|
permission: 'M_powerMD_user_list'
|
|
|
- }
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'powerUserList',
|
|
|
+ component: () => import( '@/views/power/user/userList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ icon: 'user',
|
|
|
+ permission: 'M_powerMD_user_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/auth/roleList',
|
|
|
- name: 'powerRoleList',
|
|
|
- component: () => import( '@/views/power/role/roleList.vue'),
|
|
|
+ name: 'powerRole',
|
|
|
+ redirect: '/auth/roleList/list',
|
|
|
+ component: BlankLayout,
|
|
|
meta: {
|
|
|
title: '角色管理',
|
|
|
icon: 'solution',
|
|
|
permission: 'M_powerMD_role_list'
|
|
|
- }
|
|
|
+ },
|
|
|
+ hideChildrenInMenu: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'powerRoleList',
|
|
|
+ component: () => import( '@/views/power/role/roleList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '角色管理',
|
|
|
+ icon: 'solution',
|
|
|
+ permission: 'M_powerMD_role_list'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- {
|
|
|
- path: '/notice',
|
|
|
- name: 'notice',
|
|
|
- component: () => import( '@/views/notice/list'),
|
|
|
- meta: {
|
|
|
- title: '公告',
|
|
|
- icon: 'bell'
|
|
|
- },
|
|
|
- hidden: true
|
|
|
}
|
|
|
]
|
|
|
},
|