duhe
2025-11-11 c2161d6ac6c8bff6424ad18c2a14d5bfb7ceefbf
菜单增加采购入库单、配置路径
2个文件已修改
152 ■■■■ 已修改文件
src/router/index.js 92 ●●●● 补丁 | 查看 | 原始文档 | 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,
@@ -88,18 +94,7 @@
      },
    ],
  },
  // //登录跳转页
  // {
  //   path: "/indexPage",
  //   component: () => import("@/views/indexPage"),
  //   hidden: true,
  // },
  //销售出库单
  // {
  //   path: "/sales/salesOUt/sellOutBill",
  //   component: () => import("@/views/sellOutBill/index"),
  //   hidden: true,
  // },
  {
    path: "/sales/salesOUt/sellOutBill",
    component: Layout,
@@ -119,12 +114,7 @@
      },
    ],
  },
  //销售出库单编辑页面
  // {
  //   path: "/sellOutBillEdit",
  //   component: () => import("@/views/sales/salesOUt/sellOutBill/edit/index"),
  //   hidden: true,
  // },
  //销售出库单编辑
  {
    path: "/sales/salesOUt/sellOutBillEdit",
    component: Layout,
@@ -143,12 +133,37 @@
      },
    ],
  },
  //销售单
  // {
  //   path: "/sellBill",
  //   component: () => import("@/views/sellBill/index"),
  //   hidden: true,
  // },
  //采购入库单
  {
    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/gy/gySource",
@@ -167,17 +182,6 @@
        meta: { title: "生产资源列表", activeMenu: "basic/gy" },
      },
    ],
  },
  //打印列表页面
  {
    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
@@ -89,7 +89,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: {