1
llj
2025-11-17 64aa82730540f2d24168f7584ad130724db2b7bb
1
3个文件已修改
54 ■■■■■ 已修改文件
src/permission.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/permission.js 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/permission.js
@@ -10,7 +10,7 @@
NProgress.configure({ showSpinner: false })
const whiteList = [ '/login', '/register', '/printList',
  '/hBarPlanPrint', '/gySource', '/gyWarehouse', '/gyStockPlace', '/gyEmployee','/GyCustomer','gyMaterial','FbStepFoldinBillList','/FbStepFoldOutBillList' ] // no redirect whitelist
  '/hBarPlanPrint', '/gySource', '/gyWarehouse', '/gyStockPlace', '/gyEmployee','/GyCustomer','/gyMaterial','/FbStepFoldinBillList','/FbStepFoldOutBillList' ] // no redirect whitelist
const isWhiteList = (path) => {
  return whiteList.some(pattern => isPathMatch(pattern, path))
src/router/index.js
@@ -538,7 +538,7 @@
        path: "/basic/gy/FbStepFoldOutBillList",
        component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList"),
        name: "FbStepFoldOutBillList",
        meta: { title: "分布式调入单", activeMenu: "basic/gy" },
        meta: { title: "分布式调出单", activeMenu: "basic/gy" },
      },
    ],
  },
src/store/modules/permission.js
@@ -307,6 +307,30 @@
                    name: "GySupplier",
                    path: "gySupplier",
                  },
                     {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "物料列表",
                    },
                    component: () => import("@/views/gyMaterial/GyMaterial.vue"),
                    hidden: false,
                    name: "GyMaterial",
                    path: "GyMaterial",
                  },
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "客户列表",
                    },
                    component: () => import("@/views/GyCustomer/index.vue"),
                    hidden: false,
                    name: "GyCustomer",
                    path: "GyCustomer",
                  },
                ],
              },
            ],
@@ -422,6 +446,32 @@
                    name: "POStockInBillEdit",
                    path: "POStockInBillEdit",
                  },
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "分布式调入单维护",
                    },
                    component: () =>
                      import("@/views/FbStepFoldinBillList/fbStepFoldinBillList.vue"),
                    hidden: false,
                    name: "FbStepFoldinBillList",
                    path: "FbStepFoldinBillList",
                  },
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "分布式调出单维护",
                    },
                    component: () =>
                      import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue"),
                    hidden: false,
                    name: "FbStepFoldOutBillList",
                    path: "FbStepFoldOutBillList",
                  },
                ],
              },
              {