From c2161d6ac6c8bff6424ad18c2a14d5bfb7ceefbf Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 11 十一月 2025 13:27:40 +0800
Subject: [PATCH] 菜单增加采购入库单、配置路径

---
 src/store/modules/permission.js |   60 +++++++++++++++++++
 src/router/index.js             |   92 ++++++++++++++++--------------
 2 files changed, 107 insertions(+), 45 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 201d4f4..3db2c92 100644
--- a/src/router/index.js
+++ b/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, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+      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,
   },
   // 浠撳簱
   {
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index e72b66a..9a6c091 100644
--- a/src/store/modules/permission.js
+++ b/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: {

--
Gitblit v1.9.1