qq_41295110
2025-11-17 466c984edb0d84af59a290fa4abbdadb5c237fb5
src/router/index.js
@@ -494,54 +494,160 @@
      },
    ],
  },
    // 分布式调入单
  // 分布式调入单
  {
    path: "/FbStepFoldinBillList",
    component: () => import("@/views/FbStepFoldinBillList/fbStepFoldinBillList"),
    hidden: false,
  },
   {
    path: "/basic/gy/FbStepFoldinBillList",
    path: "/purchase/POStockInBill/FbStepFoldinBillList",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/basic/gy/FbStepFoldinBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      activeMenu: "/purchase/POStockInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/basic/gy/FbStepFoldinBillList",
        component: () => import("@/views/FbStepFoldinBillList/fbStepFoldinBillList"),
        path: "/purchase/POStockInBill/FbStepFoldinBillList",
        component: () => import("@/views/FbStepFoldinBillList/fbStepFoldinBillList.vue"),
        name: "FbStepFoldinBillList",
        meta: { title: "分布式调入单", activeMenu: "basic/gy" },
        meta: { title: "分布式调入单列表", activeMenu: "/purchase/POStockInBill" },
      },
    ],
  },
  //分布式调出单fbStepFoldOutBillList
 {
    path: "/fbStepFoldOutBillList",
    component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList"),
    hidden: false,
  },
   {
    path: "/basic/gy/FbStepFoldOutBillList",
  {
    path: "/purchase/POStockInBill/FbStepFoldOutBillList",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/basic/gy/FbStepFoldOutBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      activeMenu: "/purchase/POStockInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/basic/gy/FbStepFoldOutBillList",
        component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList"),
        path: "/purchase/POStockInBill/FbStepFoldOutBillList",
        component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue"),
        name: "FbStepFoldOutBillList",
        meta: { title: "分布式调入单", activeMenu: "basic/gy" },
        meta: { title: "分布式调出单列表", activeMenu: "/purchase/POStockInBill" },
      },
    ],
  },
      //器具领用出库单维护
    {
      path: "/scMould/warehouse/Sc_MouldProdOutBillList",
      component: Layout,
      hidden: true,
      redirect: "noredirect",
      meta: {
        breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
        activeMenu: "/scMould/warehouse/Sc_MouldProdOutBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      },
      children: [
        {
          path: "/scMould/warehouse/Sc_MouldProdOutBillList",
          component: () => import("@/views/scMould/warehouse/Sc_MouldProdOutBillList"),
          name: "Sc_MouldProdOutBillList",
          meta: { title: "器具领用出库单维护", activeMenu: "scMould/warehouse" },
        },
      ],
    },
    //器具领用出库单
    {
      path: "/scMould/warehouse/Sc_MouldProdOutBillEdit",
      component: Layout,
      hidden: true,
      redirect: "noredirect",
      meta: {
        breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
        activeMenu: "/scMould/warehouse/Sc_MouldProdOutBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      },
      children: [
        {
          path: "/scMould/warehouse/Sc_MouldProdOutBillEdit",
          component: () => import("@/views/scMould/warehouse/Sc_MouldProdOutBillEdit"),
          name: "Sc_MouldProdOutBillEdit",
          meta: { title: "器具领用出库单编辑", activeMenu: "scMould/warehouse" },
        },
      ],
    },
    //器具领用退库单维护
    {
      path: "/scMould/warehouse/Sc_MouldProdBackBillList",
      component: Layout,
      hidden: true,
      // permissions: ["system:goods:add"],
      redirect: "noredirect",
      meta: {
        breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
        activeMenu: "/scMould/warehouse/Sc_MouldProdBackBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      },
      children: [
        {
          path: "/scMould/warehouse/Sc_MouldProdBackBillList",
          component: () => import("@/views/scMould/warehouse/Sc_MouldProdBackBillList"),
          name: "Sc_MouldProdBackBillList",
          meta: { title: "器具领用退库单维护", activeMenu: "scMould/warehouse" },
        },
      ],
    },
    //器具领用退库单
      {
      path: "/scMould/warehouse/Sc_MouldProdBackBillEdit",
      component: Layout,
      hidden: true,
      redirect: "noredirect",
      meta: {
        breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
        activeMenu: "/scMould/warehouse/Sc_MouldProdBackBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      },
      children: [
        {
          path: "/scMould/warehouse/Sc_MouldProdBackBillEdit",
          component: () => import("@/views/scMould/warehouse/Sc_MouldProdBackBillEdit"),
          name: "Sc_MouldProdBackBillEdit",
          meta: { title: "器具领用退库单编辑", activeMenu: "scMould/warehouse" },
        },
      ],
    },
        //器具直接调拨单维护
    {
      path: "/scMould/warehouse/Sc_MouldProdMoveBillList",
      component: Layout,
      hidden: true,
      // permissions: ["system:goods:add"],
      redirect: "noredirect",
      meta: {
        breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
        activeMenu: "/scMould/warehouse/Sc_MouldProdMoveBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      },
      children: [
        {
          path: "/scMould/warehouse/Sc_MouldProdMoveBillList",
          component: () => import("@/views/scMould/warehouse/Sc_MouldProdMoveBillList"),
          name: "Sc_MouldProdMoveBillList",
          meta: { title: "器具直接调拨单维护", activeMenu: "scMould/warehouse" },
        },
      ],
    },
    //器具直接调拨单
    {
      path: "/scMould/warehouse/Sc_MouldProdMoveBillEdit",
      component: Layout,
      hidden: true,
      redirect: "noredirect",
      meta: {
        breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
        activeMenu: "/scMould/warehouse/Sc_MouldProdMoveBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。
      },
      children: [
        {
          path: "/scMould/warehouse/Sc_MouldProdMoveBillEdit",
          component: () => import("@/views/scMould/warehouse/Sc_MouldProdMoveBillEdit"),
          name: "Sc_MouldProdMoveBillEdit",
          meta: { title: "器具直接调拨单编辑", activeMenu: "scMould/warehouse" },
        },
      ],
    },
];
// 动态路由,基于用户权限动态去加载