| | |
| | | title: "销售出库单维护", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/sellOutBill/index.vue"), |
| | | import("@/views/sell/sellOut/sellOutBill.vue"), |
| | | hidden: false, |
| | | name: "SellOutBill", |
| | | path: "sellOutBill", |
| | |
| | | noCache: false, |
| | | title: "销售出库单", |
| | | }, |
| | | component: () => import('@/views/sell/sellOutBill/edit/index.vue'), |
| | | component: () => |
| | | import("@/views/sell/sellOut/sellOutBillEdit.vue"), |
| | | hidden: false, |
| | | name: "SellOutBillEdit", |
| | | path: "sellOutBillEdit", |
| | |
| | | noCache: false, |
| | | title: "销售订单维护", |
| | | }, |
| | | component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBill.vue"), |
| | | component: () => |
| | | import("@/views/sell/xsSeOrderBill/xsSeOrderBill.vue"), |
| | | hidden: false, |
| | | name: "XsSeOrderBill", |
| | | path: "xsSeOrderBill", |
| | |
| | | noCache: false, |
| | | title: "发货通知单维护", |
| | | }, |
| | | component: () => import("@/views/sell/XsSeOutStockBill.vue"), |
| | | component: () => |
| | | import("@/views/sell/XsSeOutStockBill.vue"), |
| | | hidden: false, |
| | | name: "XsSeOutStockBill", |
| | | path: "xsSeOutStockBill", |
| | |
| | | noCache: false, |
| | | title: "退货通知单维护", |
| | | }, |
| | | component: () => import("@/views/sell/XsSeOutStockBackBillList.vue"), |
| | | component: () => |
| | | import("@/views/sell/XsSeOutStockBackBillList.vue"), |
| | | hidden: false, |
| | | name: "XsSeOutStockBackBillList", |
| | | path: "xsSeOutStockBackBillList", |
| | |
| | | noCache: false, |
| | | title: "生产资料列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gySource/index.vue"), |
| | | component: () => import("@/views/basic/gySource/index.vue"), |
| | | hidden: false, |
| | | name: "GySource", |
| | | path: "gySource", |
| | |
| | | noCache: false, |
| | | title: "仓位列表", |
| | | }, |
| | | component: () => import('@/views/basic/gyStockPlace/gyStockPlace.vue'), |
| | | component: () => |
| | | import("@/views/basic/gyStockPlace/gyStockPlace.vue"), |
| | | hidden: false, |
| | | name: "GyStockPlace", |
| | | path: "gyStockPlace", |
| | |
| | | noCache: false, |
| | | title: "职员列表", |
| | | }, |
| | | component: () => import('@/views/basic/gyEmployee/gyEmployee.vue'), |
| | | component: () => |
| | | import("@/views/basic/gyEmployee/gyEmployee.vue"), |
| | | hidden: false, |
| | | name: "GyEmployee", |
| | | path: "gyEmployee", |
| | |
| | | noCache: false, |
| | | title: "采购订单列表", |
| | | }, |
| | | component: () => import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"), |
| | | component: () => |
| | | import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"), |
| | | hidden: false, |
| | | name: "CgPoOrderBill", |
| | | path: "cgPoOrderBill", |
| | | }, |
| | | |
| | | ], |
| | | }, |
| | | { |
| | |
| | | title: "收料通知单列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/purchase/cgPoInStockBill/cgPoInStockBill.vue"), |
| | | import( |
| | | "@/views/purchase/cgPoInStockBill/cgPoInStockBill.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "CgPoInStockBill", |
| | | path: "cgPoInStockBill", |
| | | }, |
| | | ] |
| | | } |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "系统管理", |
| | | }, |
| | | hidden: false, |
| | | name: "System", |
| | | path: "/system", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "用户管理", |
| | | }, |
| | | hidden: false, |
| | | name: "User", |
| | | path: "user", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "用户列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/system/user/xtUserList.vue"), |
| | | hidden: false, |
| | | name: "XtUserList", |
| | | path: "xtUserList", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | |
| | | router.addRoutes(asyncRoutes); |
| | | commit("SET_ROUTES", rewriteRoutes); |
| | | commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes)); |
| | | commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes)); |
| | | commit("SET_DEFAULT_ROUTES", sidebarRoutes); |
| | | commit("SET_TOPBAR_ROUTES", sidebarRoutes); |
| | | console.log(11, rewriteRoutes); |
| | | resolve(rewriteRoutes); |
| | | }); |
| | | }, |