Browse Source

菜单修改

lilei 4 năm trước cách đây
mục cha
commit
cab3ffb76b

+ 68 - 1
src/config/router.config.js

@@ -182,7 +182,6 @@ export const asyncRouterMap = [{
     {
     {
       path: 'customerList',
       path: 'customerList',
       name: 'customerList',
       name: 'customerList',
-      hideChildrenInMenu: true,
       component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/customerList.vue'),
       component: () => import(/* webpackChunkName: "sales" */ '@/views/sales/customerList.vue'),
       meta: {
       meta: {
         title: '客户管理',
         title: '客户管理',
@@ -193,6 +192,74 @@ export const asyncRouterMap = [{
     ]
     ]
   },
   },
   // 库存管理
   // 库存管理
+  {
+    path: '/inventory',
+    redirect: '/inventory/list',
+    component: PageView,
+    meta: {
+      title: '库存管理',
+      icon: 'lock'
+      // permission: 'M_inventory_0'
+    },
+    children: [
+      {
+        path: 'list',
+        name: 'inventoryList',
+        hideChildrenInMenu: true,
+        component: () => import(/* webpackChunkName: "inventory" */ '@/views/inventory/inventoryList.vue'),
+        meta: {
+          title: '库存查询',
+          icon: 'user'
+        // permission: 'M_inventoryList'
+        },
+        children: [
+          {
+            path: '/outPutDetail',
+            name: 'outPutDetail',
+            component: () => import(/* webpackChunkName: "inventory" */ '@/views/inventory/outPutDetail.vue'),
+            meta: {
+              title: '出入库明细',
+              icon: 'solution'
+              // permission: 'M_outPutDetail'
+            }
+          }
+        ]
+      },
+      {
+        path: 'warehouseList',
+        name: 'warehouseList',
+        hideChildrenInMenu: true,
+        component: () => import(/* webpackChunkName: "inventory" */ '@/views/inventory/warehouseList.vue'),
+        meta: {
+          title: '仓库管理',
+          icon: 'user'
+        // permission: 'M_warehouseList'
+        }
+      },
+      {
+        path: 'warning',
+        name: 'inventoryWarning',
+        hideChildrenInMenu: true,
+        component: () => import(/* webpackChunkName: "inventory" */ '@/views/inventory/inventoryWarning.vue'),
+        meta: {
+          title: '库存预警',
+          icon: 'user'
+        // permission: 'M_inventoryWarning'
+        }
+      },
+      {
+        path: 'satelliteStorage',
+        name: 'satelliteStorage',
+        hideChildrenInMenu: true,
+        component: () => import(/* webpackChunkName: "inventory" */ '@/views/inventory/satelliteStorage.vue'),
+        meta: {
+          title: '卫星仓库存',
+          icon: 'user'
+        // permission: 'M_satelliteStorage'
+        }
+      }
+    ]
+  },
   // 采购管理
   // 采购管理
   // 散件管理
   // 散件管理
   // 产品管理
   // 产品管理

+ 8 - 0
src/views/inventory/inventoryDetail.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/inventoryList.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/inventoryWarning.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/outPutDetail.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 9 - 0
src/views/inventory/replenishmentList.vue

@@ -0,0 +1,9 @@
+<template>
+  <div>补货清单</div>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/satelliteStorage.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/warehouseDetail.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/warehouseList.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/inventory/warehouseNew.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/sales/customerList.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>