src/store/modules/permission.js
@@ -44,8 +44,8 @@
              title: "销售管理",
            },
            hidden: false,
            name: "Sales",
            path: "/sales",
            name: "Sell",
            path: "/sell",
            redirect: "noRedirect",
            children: [
              {
@@ -56,8 +56,8 @@
                  title: "销售出库单",
                },
                hidden: false,
                name: "SalesOUt",
                path: "salesOUt",
                name: "SellOut",
                path: "sellOut",
                redirect: "noRedirect",
                component: "Layout",
                children: [
@@ -68,8 +68,7 @@
                      noCache: false,
                      title: "销售出库单维护",
                    },
                    component: () =>
                      import("@/views/sell/sellOutBill/index.vue"),
                    component: () =>import("@/views/sell/sellOut/sellOutBill.vue"),
                    hidden: false,
                    name: "SellOutBill",
                    path: "sellOutBill",
@@ -81,7 +80,7 @@
                      noCache: false,
                      title: "销售出库单",
                    },
                    component: () => import('@/views/sell/sellOutBill/edit/index.vue'),
                    component: () => import('@/views/sell/sellOut/sellOutBillEdit.vue'),
                    hidden: false,
                    name: "SellOutBillEdit",
                    path: "sellOutBillEdit",
@@ -111,8 +110,8 @@
                  title: "生产资料",
                },
                hidden: false,
                name: "Gy",
                path: "gy",
                name: "Production",
                path: "production",
                redirect: "noRedirect",
                component: "Layout",
                children: [
@@ -124,28 +123,29 @@
                      title: "生产资料列表",
                    },
                    component: () =>
                      import("@/views/basic/gySource/index.vue"),
                      import("@/views/basic/production/gySource.vue"),
                    hidden: false,
                    name: "GySource",
                    path: "gySource",
                  },
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "生产仓库列表",
                    },
                    component: () => import('@/views/basic/gyWarehouse/index.vue'),
                    hidden: false,
                    name: "GyWarehouse",
                    path: "gyWarehouse",
                  },
                  // {
                  //   meta: {
                  //     icon: "build",
                  //     link: null,
                  //     noCache: false,
                  //     title: "生产仓库列表",
                  //   },
                  //   component: () => import('@/views/basic/gyWarehouse/index.vue'),
                  //   hidden: false,
                  //   name: "GyWarehouse",
                  //   path: "gyWarehouse",
                  // },
                ],
              },
            ],
          },
        ];
        console.log(data)
        const sdata = JSON.parse(JSON.stringify(data));
        const rdata = JSON.parse(JSON.stringify(data));
        const sidebarRoutes = filterAsyncRouter(sdata);