1
陈婷婷
2025-11-11 ad200796ba558a6dfd333a3c72bac86e6bc08083
1
2个文件已修改
131 ■■■■ 已修改文件
src/router/index.js 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/permission.js 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js
@@ -41,26 +41,31 @@
      },
    ],
  },
  {
    path: "/login",
    component: () => import("@/views/login"),
    hidden: true,
  },
  {
    path: "/register",
    component: () => import("@/views/register"),
    hidden: true,
  },
  //404
  {
    path: "/404",
    component: () => import("@/views/error/404"),
    hidden: true,
  },
  //401
  {
    path: "/401",
    component: () => import("@/views/error/401"),
    hidden: true,
  },
  //登录
  {
    path: "/login",
    component: () => import("@/views/login"),
    hidden: true,
  },
  //注册
  {
    path: "/register",
    component: () => import("@/views/register"),
    hidden: true,
  },
  //首页
  {
    path: "",
    component: Layout,
@@ -74,6 +79,7 @@
      },
    ],
  },
  //个人中心
  {
    path: "/user",
    component: Layout,
@@ -108,7 +114,7 @@
      },
    ],
  },
  //销售出库单编辑页面
  //销售出库单编辑
  {
    path: "/sell/sellOut/sellOutBillEdit",
    component: Layout,
@@ -127,7 +133,37 @@
      },
    ],
  },
  //采购入库单
  {
    path: "/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList",
    component: Layout,
    hidden: true,
    // permissions: ["system:goods:add"],
    redirect: "noredirect",
    meta: {
      breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示
      activeMenu: "/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。
    },
    children: [
      {
        path: "/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList",
        component: () => import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList"),
        name: "Kf_POStockInBillList",
        meta: { title: "采购入库单", activeMenu: "/CaiGouGuanLi/CaiGouRuKu" },
      },
    ],
  },
  //打印列表页面
  {
    path: "/printList",
    component: () => import("@/views/component/printList/index"),
    hidden: true,
  },
  {
    path: "/hBarPlanPrint",
    component: () => import("@/views/component/printList/hBarPlanPrint"),
    hidden: true,
  },
  //生产资源
  {
    path: "/basic/production/gySource",
@@ -146,17 +182,6 @@
        meta: { title: "生产资源列表", activeMenu: "basic/production" },
      },
    ],
  },
  //打印列表页面
  {
    path: "/printList",
    component: () => import("@/views/component/printList/index"),
    hidden: true,
  },
  {
    path: "/hBarPlanPrint",
    component: () => import("@/views/component/printList/hBarPlanPrint"),
    hidden: true,
  },
  // 仓库
  {
src/store/modules/permission.js
@@ -88,7 +88,65 @@
                ],
              },
            ],
          },{
          },
          {
            alwaysShow: true,
            component: "Layout",
            meta: {
              icon: "build",
              link: null,
              noCache: false,
              title: "采购管理",
            },
            hidden: false,
            name: "CaiGouGuanli",
            path: "/CaiGouGuanLi",
            redirect: "noRedirect",
            children: [
              {
                meta: {
                  icon: "build",
                  link: null,
                  noCache: false,
                  title: "采购入库单",
                },
                hidden: false,
                name: "CaiGouRuKu",
                path: "CaiGouRuKu",
                redirect: "noRedirect",
                component: "Layout",
                children: [
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "采购入库单维护",
                    },
                    component: () =>
                      import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"),
                    hidden: false,
                    name: "Kf_POStockInBillList",
                    path: "Kf_POStockInBillList",
                  },
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "采购入库单维护",
                    },
                    component: () =>
                      import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"),
                    hidden: false,
                    name: "Kf_POStockInBillList",
                    path: "Kf_POStockInBillList",
                  }
                ],
              },
            ],
          },
          {
            alwaysShow: true,
            component: "Layout",
            meta: {