| | |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | 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, |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | //个人中心 |
| | | { |
| | | path: "/user", |
| | | component: Layout, |
| | |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/sellOut", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | activeMenu: "/sell/sellOut/sellOutBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/sellOut/sellOutBill", |
| | | component: () => import("@/views/sell/sellOut/sellOutBill.vue"), |
| | | name: "SellOutBill", |
| | | meta: { title: "销售出库单", activeMenu: "sell/sellOUt" }, |
| | | meta: { title: "销售出库单", activeMenu: "sell/sellOUt/sellOutBill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //销售出库单编辑页面 |
| | | //销售出库单编辑 |
| | | { |
| | | path: "/sell/sellOut/sellOutBillEdit", |
| | | component: Layout, |
| | |
| | | path: "/sell/sellOut/sellOutBillEdit", |
| | | component: () => import("@/views/sell/sellOut/sellOutBillEdit.vue"), |
| | | name: "SellOutBillEdit", |
| | | meta: { title: "销售出库单编辑", activeMenu: "/sell/sellOut" }, |
| | | meta: { title: "销售出库单编辑", activeMenu: "/sell/sellOut/sellOutBillEdit" }, |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | //采购入库单 |
| | | { |
| | | 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/production/gySource", |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | //打印列表页面 |
| | | { |
| | | path: "/printList", |
| | | component: () => import("@/views/component/printList/index"), |
| | | hidden: true, |
| | | }, |
| | | { |
| | | path: "/hBarPlanPrint", |
| | | component: () => import("@/views/component/printList/hBarPlanPrint"), |
| | | hidden: true, |
| | | }, |
| | | // 仓库 |
| | | { |
| | | path: "/gyWarehouse", |
| | |
| | | component: () => import("@/views/gyEmployee/index"), |
| | | hidden: true, |
| | | }, |
| | | // 客户 |
| | | { |
| | | path: "/GyCustomer", |
| | | component: () => import("@/views/GyCustomer/index"), |
| | | hidden: false, |
| | | }, |
| | | { |
| | | path: "/basic/gy/gyCustomer", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy/gyCustomer", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyCustomer", |
| | | component: () => import("@/views/GyCustomer/index"), |
| | | name: "GyCustomer", |
| | | meta: { title: "客户列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | // 物料 |
| | | { |
| | | path: "/gyMaterial", |
| | | component: () => import("@/views/gyMaterial/GyMaterial"), |
| | | hidden: false, |
| | | }, |
| | | { |
| | | path: "/basic/gy/gyMaterial", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy/gyMaterial", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyMaterial", |
| | | component: () => import("@/views/gyMaterial/GyMaterial"), |
| | | name: "gyMaterial", |
| | | meta: { title: "物料列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | ]; |
| | | |
| | | // 动态路由,基于用户权限动态去加载 |