llj
2025-11-17 e1045d3662405a95481d575ed1ae4cf9e3d9b1e7
src/router/index.js
@@ -176,6 +176,102 @@
    component: () => import("@/views/gyEmployee/index"),
    hidden: true,
  },
    // 客户
  {
    path: "/GyCustomer",
    component: () => import("@/views/GyCustomer/index"),
    hidden: false,
  },
   {
    path: "/basic/gy/gyCustomer",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/basic/gy/gyCustomer", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/basic/gy/gyCustomer",
        component: () => import("@/views/GyCustomer/index"),
        name: "GyCustomer",
        meta: { title: "客户列表", activeMenu: "basic/gy" },
      },
    ],
  },
  // 物料
  {
    path: "/gyMaterial",
    component: () => import("@/views/gyMaterial/GyMaterial"),
    hidden: false,
  },
   {
    path: "/basic/gy/gyMaterial",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/basic/gy/gyMaterial", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/basic/gy/gyMaterial",
        component: () => import("@/views/gyMaterial/GyMaterial"),
        name: "gyMaterial",
        meta: { title: "物料列表", activeMenu: "basic/gy" },
      },
    ],
  },
    // 分布式调入单
  {
    path: "/FbStepFoldinBillList",
    component: () => import("@/views/FbStepFoldinBillList/fbStepFoldinBillList"),
    hidden: false,
  },
   {
    path: "/basic/gy/FbStepFoldinBillList",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/basic/gy/FbStepFoldinBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/basic/gy/FbStepFoldinBillList",
        component: () => import("@/views/FbStepFoldinBillList/fbStepFoldinBillList"),
        name: "FbStepFoldinBillList",
        meta: { title: "分布式调入单", activeMenu: "basic/gy" },
      },
    ],
  },
  //分布式调出单fbStepFoldOutBillList
 {
    path: "/fbStepFoldOutBillList",
    component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList"),
    hidden: false,
  },
   {
    path: "/basic/gy/FbStepFoldOutBillList",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/basic/gy/FbStepFoldOutBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/basic/gy/FbStepFoldOutBillList",
        component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList"),
        name: "FbStepFoldOutBillList",
        meta: { title: "分布式调入单", activeMenu: "basic/gy" },
      },
    ],
  },
];
// 动态路由,基于用户权限动态去加载