From ad200796ba558a6dfd333a3c72bac86e6bc08083 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期二, 11 十一月 2025 14:04:15 +0800
Subject: [PATCH] 1

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

diff --git a/src/router/index.js b/src/router/index.js
index 4c38332..35f43b9 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,
@@ -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, // 濡傛灉璁剧疆涓篺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/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,
   },
   // 浠撳簱
   {
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index ac7bf4d..6958ec0 100644
--- a/src/store/modules/permission.js
+++ b/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: {

--
Gitblit v1.9.1