| | |
| | | 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)) |
| | |
| | | path: "/basic/gy/FbStepFoldOutBillList", |
| | | component: () => import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList"), |
| | | name: "FbStepFoldOutBillList", |
| | | meta: { title: "分布式调入单", activeMenu: "basic/gy" }, |
| | | meta: { title: "分布式调出单", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | 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", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | |
| | | 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", |
| | | }, |
| | | ], |
| | | }, |
| | | { |