| | |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | //#region 条码报表 |
| | | { |
| | | path: "/BarCodeReport/Kf_BarCodeOutInReport", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/BarCodeReport/Kf_BarCodeOutInReport", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [{ |
| | | path: "/warehouse/BarCodeReport/Kf_BarCodeOutInReport", |
| | | component: () => |
| | | import("@/views/warehouse/BarCodeReport/Kf_BarCodeOutInReport.vue"), |
| | | name: "Kf_BarCodeOutInReport", |
| | | meta: { title: "条码出入库报表", activeMenu: "/warehouse/BarCodeReport/Kf_BarCodeOutInReport" }, |
| | | },{ |
| | | path: "/warehouse/BarCodeReport/Kf_ICInventory_BarCode", |
| | | component: () => |
| | | import("@/views/warehouse/BarCodeReport/Kf_ICInventory_BarCode.vue"), |
| | | name: "Kf_ICInventory_BarCode", |
| | | meta: { title: "条码库存报表", activeMenu: "/warehouse/BarCodeReport/Kf_ICInventory_BarCode" }, |
| | | }, |
| | | ] |
| | | }, |
| | | //#endregion |
| | | //#region 条码管理 |
| | | //#region 条码生成 |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/barcodeMaster/Gy_BarCodeBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBill", |
| | | component: () => |
| | | import("@/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue"), |
| | | name: "Gy_BarCodeBill", |
| | | meta: { |
| | | title: "条码生成", |
| | | activeMenu: "warehouse/barcodeMaster", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 条码生成_锦隆 |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong", |
| | | component: () => |
| | | import("@/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue"), |
| | | name: "Gy_BarCodeBill_JinLong", |
| | | meta: { |
| | | title: "条码生成_锦隆", |
| | | activeMenu: "warehouse/barcodeMaster", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 条码生成_锦隆_自动登录 |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin", |
| | | component: () => import("@/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue"), |
| | | hidden: true, |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 条码主挡 |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/barcodeMaster/Gy_BarCodeBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBillList", |
| | | component: () => |
| | | import("@/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue"), |
| | | name: "Gy_BarCodeBillList", |
| | | meta: { |
| | | title: "条码主档", |
| | | activeMenu: "warehouse/barcodeMaster", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 条码主档_锦隆_自动登录 |
| | | { |
| | | path: "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin", |
| | | component: () => import("@/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue"), |
| | | hidden: true, |
| | | }, |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | //#region 仓存管理 |
| | | //#region 调拨申请单列表 |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockRequestBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/transfer/Kf_MoveStockRequestBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockRequestBillList", |
| | | component: () => |
| | | import("@/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue"), |
| | | name: "Kf_MoveStockRequestBillList", |
| | | meta: { |
| | | title: "调拨申请单维护", |
| | | activeMenu: "warehouse/transfer", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 调拨申请单 |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockRequestBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/transfer/Kf_MoveStockRequestBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockRequestBillEdit", |
| | | component: () => |
| | | import("@/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue"), |
| | | name: "Kf_MoveStockRequestBillEdit", |
| | | meta: { |
| | | title: "调拨申请单", |
| | | activeMenu: "warehouse/transfer", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 直接调拨单列表 |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/transfer", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockBillList", |
| | | component: () => |
| | | import("@/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue"), |
| | | name: "Kf_MoveStockBillList", |
| | | meta: { title: "直接调拨单维护", activeMenu: "warehouse/transfer" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 直接调拨单 |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/transfer", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/transfer/Kf_MoveStockBillEdit", |
| | | component: () => |
| | | import("@/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue"), |
| | | name: "Kf_MoveStockBillEdit", |
| | | meta: { title: "直接调拨单", activeMenu: "warehouse/transfer" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 分布式调入单列表 |
| | | { |
| | | path: "/purchase/POStockInBill/FbStepFoldinBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/POStockInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/POStockInBill/FbStepFoldinBillList", |
| | | |
| | | component: () => |
| | | import("@/views/FbStepFoldinBillList/fbStepFoldinBillList.vue"), |
| | | name: "FbStepFoldinBillList", |
| | | |
| | | meta: { |
| | | title: "分布式调入单列表", |
| | | activeMenu: "/purchase/POStockInBill", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 分布式调出单列表 |
| | | { |
| | | path: "/purchase/POStockInBill/FbStepFoldOutBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/POStockInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/POStockInBill/FbStepFoldOutBillList", |
| | | |
| | | component: () => |
| | | import("@/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue"), |
| | | name: "FbStepFoldOutBillList", |
| | | |
| | | meta: { |
| | | title: "分布式调出单列表", |
| | | activeMenu: "/purchase/POStockInBill", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 出库申请单列表 |
| | | { |
| | | path: "/warehouse/shipment/Kf_StockOutRequestBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/shipment/Kf_StockOutRequestBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/shipment/Kf_StockOutRequestBillList", |
| | | component: () => |
| | | import("@/views/warehouse/shipment/Kf_StockOutRequestBillList.vue"), |
| | | name: "Kf_StockOutRequestBillList", |
| | | meta: { |
| | | title: "出库申请单维护", |
| | | activeMenu: "warehouse/shipment", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 出库申请单 |
| | | { |
| | | path: "/warehouse/shipment/Kf_StockOutRequestBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/warehouse/shipment/Kf_StockOutRequestBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/warehouse/shipment/Kf_StockOutRequestBill", |
| | | component: () => |
| | | import("@/views/warehouse/shipment/Kf_StockOutRequestBill.vue"), |
| | | name: "Kf_StockOutRequestBill", |
| | | meta: { |
| | | title: "出库申请单", |
| | | activeMenu: "warehouse/shipment", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 其他出库单列表 |
| | | { |
| | | path: "/purchase", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/OtherOutBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/OtherOutBill/OtherOutBillList", |
| | | component: () => |
| | | import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue"), |
| | | name: "OtherOutBillList", |
| | | meta: { |
| | | title: "其他出库单列表", |
| | | activeMenu: "/views/KCGL/OtherOutBill", |
| | | }, |
| | | }, |
| | | { |
| | | path: "/purchase/OtherOutBill/OtherOutBillEdit", |
| | | component: () => |
| | | import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue"), |
| | | name: "OtherOutBillEdit", |
| | | meta: { title: "其他出库单", activeMenu: "/views/KCGL/OtherOutBill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 采购管理 |
| | | //#region 采购订单 |
| | | { |
| | | path: "/purchase/poOrder/cgPoOrderBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/poOrder", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/poOrder/cgPoOrderBill", |
| | | component: () => import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"), |
| | | name: "CgPoOrderBill", |
| | | meta: { title: "采购订单列表", activeMenu: "/purchase/PoOrder" }, |
| | | }, |
| | | { |
| | | path: "/purchase/poOrder/cgPoOrderBillEdit", |
| | | |
| | | component: () => |
| | | import("@/views/purchase/cgPoOrderBill/cgPoOrderBillEdit"), |
| | | name: "CgPoOrderBillEdit", |
| | | meta: { title: "采购订单", activeMenu: "/purchase/PoOrder" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 收料通知单 |
| | | { |
| | | path: "/purchase/PoInStock/cgPoInStockBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/PoInStock", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/PoInStock/cgPoInStockBillList", |
| | | component: () => |
| | | import("@/views/purchase/cgPoInStockBill/cgPoInStockBill"), |
| | | name: "CgPoInStockBillList", |
| | | meta: { title: "收料通知单列表", activeMenu: "/purchase/PoInStock" }, |
| | | }, |
| | | { |
| | | path: "/purchase/PoInStock/cgPoInStockBillEdit", |
| | | component: () => |
| | | import("@/views/purchase/cgPoInStockBill/cgPoInStockBillEdit"), |
| | | name: "CgPoInStockBillEdit", |
| | | meta: { title: "收料通知单", activeMenu: "/purchase/PoInStock" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 采购入库单 |
| | | { |
| | | path: "/purchase/POStockInBill/POStockInBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/POStockInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/POStockInBill/POStockInBillList", |
| | | component: () => |
| | | import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"), |
| | | name: "POStockInBillList", |
| | | meta: { title: "采购入库单", activeMenu: "purchase/POStockInBill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 采购入库单编辑页面 |
| | | { |
| | | path: "/purchase/POStockInBill/POStockInBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/POStockInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/POStockInBill/POStockInBillEdit", |
| | | component: () => |
| | | import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue"), |
| | | name: "POStockInBillEdit", |
| | | meta: { |
| | | title: "采购入库单编辑", |
| | | activeMenu: "/purchase/POStockInBill", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 采购退料单列表(未入库) |
| | | { |
| | | path: "/purchase/postockInBack/Kf_POStockInBackBillList0", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/postockInBack/Kf_POStockInBackBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/postockInBack/Kf_POStockInBackBillList0", |
| | | component: () => |
| | | import("@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue"), |
| | | name: "Kf_POStockInBackBillList", |
| | | meta: { |
| | | title: "采购退料单列表(未入库)", |
| | | activeMenu: "purchase/postockInBack", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 采购退料单列表(已入库) |
| | | { |
| | | path: "/purchase/postockInBack/Kf_POStockInBackBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/purchase/postockInBack/Kf_POStockInBackBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/purchase/postockInBack/Kf_POStockInBackBillList", |
| | | component: () => |
| | | import("@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue"), |
| | | name: "Kf_POStockInBackBillList", |
| | | meta: { |
| | | title: "采购退料单列表(已入库)", |
| | | activeMenu: "purchase/postockInBack", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 生产管理 |
| | | //#region 生产订单 |
| | | { |
| | | path: "/icmo", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/icmo/scIcmoBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/icmo/scIcmoBill/scIcmoBillList", |
| | | component: () => import("@/views/ICMO/ScICMOBillList.vue"), |
| | | name: "ScICMOBillList", |
| | | meta: { title: "生产订单维护", activeMenu: "/icmo/scIcmoBill" }, |
| | | }, |
| | | { |
| | | path: "/icmo/scIcmoBill/scIcmoBillEdit", |
| | | component: () => import("@/views/ICMO/ScICMOBillEdit.vue"), |
| | | name: "ScICMOBillEdit", |
| | | meta: { title: "生产订单", activeMenu: "/icmo/scIcmoBill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 生产汇报单维护 |
| | | { |
| | | path: "/icmo/scICMOReportBill/scICMOReportBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/icmo/scICMOReportBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/icmo/scICMOReportBill/scICMOReportBillList", |
| | | component: () => |
| | | import("@/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue"), |
| | | name: "ScICMOBillList", |
| | | meta: { title: "生产汇报单维护", activeMenu: "/icmo/scICMOReportBill" }, |
| | | }, |
| | | // { |
| | | // path: "/icmo/scIcmoBill/scIcmoBillEdit", |
| | | // component: () => import("@/views/ICMO/ScICMOBillEdit.vue"), |
| | | // name: "ScICMOBillEdit", |
| | | // meta: { title: "生产订单", activeMenu: "/icmo/scIcmoBill" }, |
| | | // }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 生产入库单 |
| | | { |
| | | path: "/icmo", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/icmo/productInBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/icmo/productInBill/productInBillList", |
| | | component: () => |
| | | import("@/views/ProductInBill/Kf_ProductInBillList.vue"), |
| | | name: "ProductInBillList", |
| | | meta: { title: "生产入库单列表", activeMenu: "icmo/productInBill" }, |
| | | }, |
| | | { |
| | | path: "/icmo/productInBill/productInBillEdit", |
| | | component: () => |
| | | import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"), |
| | | name: "ProductInBillEdit", |
| | | meta: { title: "生产入库单", activeMenu: "icmo/productInBill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 销售管理 |
| | | //#region 销售订单 |
| | | { |
| | | path: "/sell/seOrder/xsSeOrderBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/seOrder", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/seOrder/xsSeOrderBill", |
| | | component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBill"), |
| | | name: "XsSeOrderBill", |
| | | meta: { title: "销售订单维护", activeMenu: "sell/seOrder" }, |
| | | }, |
| | | { |
| | | path: "/sell/seOrder/xsSeOrderBillEdit", |
| | | component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBillEdit"), |
| | | name: "XsSeOrderBillEdit", |
| | | meta: { title: "销售订单编辑", activeMenu: "sell/seOrder" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 发货通知单 |
| | | { |
| | | path: "/sell/seOutStock/xsSeOutStockBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/seOutStock", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/seOutStock/xsSeOutStockBill", |
| | | component: () => import("@/views/sell/XsSeOutStockBill.vue"), |
| | | name: "XsSeOutStockBill", |
| | | meta: { title: "发货通知单列表", activeMenu: "/sell/seOutStock" }, |
| | | }, |
| | | { |
| | | path: "/sell/seOutStock/xsSeOutStockBillEdit", |
| | | component: () => import("@/views/sell/XsSeOutStockBillEdit.vue"), |
| | | name: "XsSeOutStockBillEdit", |
| | | meta: { title: "发货通知单编辑", activeMenu: "/sell/seOutStock" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 销售出库单列表 |
| | | { |
| | | path: "/sell/sellOut/sellOutBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/sellOut", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/sellOut/sellOutBill", |
| | | component: () => import("@/views/sell/sellOut/sellOutBill.vue"), |
| | | name: "SellOutBill", |
| | | meta: { title: "销售出库单", activeMenu: "sell/sellOut" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 销售出库单编辑页面 |
| | | { |
| | | path: "/sell/sellOut/sellOutBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/sellOut", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/sellOut/sellOutBillEdit", |
| | | component: () => import("@/views/sell/sellOut/sellOutBillEdit.vue"), |
| | | name: "SellOutBillEdit", |
| | | meta: { title: "销售出库单编辑", activeMenu: "sell/sellOut" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 退货通知单 |
| | | { |
| | | path: "/sell/seOutStockBack/xsSeOutStockBackBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/seOutStockBack", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/seOutStockBack/xsSeOutStockBackBillList", |
| | | component: () => import("@/views/sell/XsSeOutStockBackBillList"), |
| | | name: "XsSeOutStockBackBillList", |
| | | meta: { title: "退货通知单维护", activeMenu: "/sell/seOutStockBack" }, |
| | | }, |
| | | { |
| | | path: "/sell/seOutStockBack/xsSeOutStockBackBillEdit", |
| | | component: () => import("@/views/sell/XsSeOutStockBackBillEdit"), |
| | | name: "XsSeOutStockBackBillEdit", |
| | | meta: { title: "退货通知单", activeMenu: "/sell/seOutStockBack" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 销售退货单列表 |
| | | { |
| | | path: "/sell/StockBillMainList/KfICStockBillMainList", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/StockBillMainList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/StockBillMainList/KfICStockBillMainList", |
| | | component: () => |
| | | import( |
| | | "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue" |
| | | ), |
| | | name: "KfICStockBillMainList", |
| | | meta: { title: "销售退货单", activeMenu: "sell/StockBillMainList" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 销售退货单编辑页面 |
| | | { |
| | | path: "/sell/StockBillMainList/KfICStockBillMainListEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/sell/StockBillMainList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/sell/StockBillMainList/KfICStockBillMainListEdit", |
| | | component: () => |
| | | import( |
| | | "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue" |
| | | ), |
| | | name: "KfICStockBillMainListEdit", |
| | | meta: { title: "销售退货单编辑", activeMenu: "sell/StockBillMainList" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 容器管理 |
| | | //#region 容器基础资料 |
| | | //#region 容器主档维护 |
| | | { |
| | | path: "/scMould/basicModeling/Gy_MouldFileList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/basicModeling/Gy_MouldFileList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/basicModeling/Gy_MouldFileList", |
| | | component: () => |
| | | import("@/views/scMould/basicModeling/Gy_MouldFileList.vue"), |
| | | name: "Gy_MouldFileList", |
| | | meta: { title: "容器主档维护", activeMenu: "scMould/basicModeling" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器主档 |
| | | { |
| | | path: "/scMould/basicModeling/Gy_MouldFile", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/basicModeling/Gy_MouldFile", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/basicModeling/Gy_MouldFile", |
| | | component: () => |
| | | import("@/views/scMould/basicModeling/Gy_MouldFile.vue"), |
| | | name: "Gy_MouldFile", |
| | | meta: { title: "容器主档", activeMenu: "scMould/basicModeling" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 产品包装容器关联信息维护 |
| | | { |
| | | path: "/scMould/basicModeling/Gy_MaterialPackingRelationList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/basicModeling/Gy_MaterialPackingRelationList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/basicModeling/Gy_MaterialPackingRelationList", |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue" |
| | | ), |
| | | name: "Gy_MaterialPackingRelationList", |
| | | meta: { |
| | | title: "产品包装容器关联信息维护", |
| | | activeMenu: "scMould/basicModeling", |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 容器仓存管理 |
| | | //#region 容器领用申请单列表 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldOutRequestBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldOutRequestBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldOutRequestBillList", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldOutRequestBillList"), |
| | | name: "Sc_MouldOutRequestBillList", |
| | | meta: { title: "容器领用申请单维护", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器领用申请单 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldOutRequestBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldOutRequestBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldOutRequestBillEdit", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldOutRequestBillEdit"), |
| | | name: "Sc_MouldOutRequestBillEdit", |
| | | meta: { title: "容器领用申请单编辑", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器领用出库单列表 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdOutBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldProdOutBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdOutBillList", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldProdOutBillList"), |
| | | name: "Sc_MouldProdOutBillList", |
| | | meta: { title: "容器领用出库单维护", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器领用出库单 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdOutBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldProdOutBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdOutBillEdit", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldProdOutBillEdit"), |
| | | name: "Sc_MouldProdOutBillEdit", |
| | | meta: { title: "容器领用出库单编辑", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器入库申请单列表 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldInRequestBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldInRequestBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldInRequestBillList", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldInRequestBillList"), |
| | | name: "Sc_MouldInRequestBillList", |
| | | meta: { title: "容器入库申请单维护", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器入库申请单 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldInRequestBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldInRequestBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldInRequestBillEdit", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldInRequestBillEdit"), |
| | | name: "Sc_MouldInRequestBillEdit", |
| | | meta: { title: "容器入库申请单编辑", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器入库单列表 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdBackBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldProdBackBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdBackBillList", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldProdBackBillList"), |
| | | name: "Sc_MouldProdBackBillList", |
| | | meta: { title: "容器入库单维护", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器入库单 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdBackBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldProdBackBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdBackBillEdit", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldProdBackBillEdit"), |
| | | name: "Sc_MouldProdBackBillEdit", |
| | | meta: { title: "容器入库单编辑", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器调拨申请单列表 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldMoveStockRequestBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillList", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList"), |
| | | name: "Sc_MouldMoveStockRequestBillList", |
| | | meta: { title: "容器调拨申请单维护", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器调拨申请单 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit"), |
| | | name: "Sc_MouldMoveStockRequestBillEdit", |
| | | meta: { title: "容器调拨申请单编辑", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器直接调拨单列表 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdMoveBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | // permissions: ["system:goods:add"], |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldProdMoveBillList", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdMoveBillList", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldProdMoveBillList"), |
| | | name: "Sc_MouldProdMoveBillList", |
| | | meta: { title: "容器直接调拨单维护", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 容器直接调拨单 |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdMoveBillEdit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/scMould/warehouse/Sc_MouldProdMoveBillEdit", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/scMould/warehouse/Sc_MouldProdMoveBillEdit", |
| | | component: () => |
| | | import("@/views/scMould/warehouse/Sc_MouldProdMoveBillEdit"), |
| | | name: "Sc_MouldProdMoveBillEdit", |
| | | meta: { title: "容器直接调拨单编辑", activeMenu: "scMould/warehouse" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 基础资料 |
| | | //#region 用户基础资料 |
| | | //#region 用户列表 |
| | | { |
| | | path: "/system/user/xtUserList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/system/user", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/system/user/xtUserList", |
| | | component: () => import("@/views/system/user/xtUserList.vue"), |
| | | name: "XtUserList", |
| | | meta: { title: "用户列表", activeMenu: "system/user" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 角色列表 |
| | | { |
| | | path: "/system/user/Xt_UserGroupList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/system/user", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/system/user/Xt_UserGroupList", |
| | | component: () => import("@/views/system/user/Xt_UserGroupList.vue"), |
| | | name: "Xt_UserGroupList", |
| | | meta: { title: "角色列表", activeMenu: "system/user" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 权限查询 |
| | | { |
| | | path: "/system/user/xtUserRightQuery", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/system/user/xtUserRightQuery", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/system/user/xtUserRightQuery", |
| | | component: () => import("@/views/system/user/xtUserRightQuery.vue"), |
| | | name: "XtUserRightQuery", |
| | | meta: { title: "权限查询", activeMenu: "system/user" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region OA基础资料 |
| | | //#region 部门列表 |
| | | { |
| | | path: "/basic/gy/gyDepartment", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyDepartment", |
| | | component: () => import("@/views/basic/gy/gyDepartment.vue"), |
| | | name: "GyDepartment", |
| | | meta: { title: "部门列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 职员列表 |
| | | { |
| | | path: "/basic/gy/gyEmployee", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyEmployee", |
| | | component: () => import("@/views/basic/gyEmployee/gyEmployee.vue"), |
| | | name: "GyEmployee", |
| | | meta: { title: "职员列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 库存基础资料 |
| | | //#region 物料列表 |
| | | { |
| | | path: "/gyMaterial", |
| | | component: () => import("@/views/gyMaterial/GyMaterial"), |
| | | hidden: false, |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 物料列表_弹窗 |
| | | { |
| | | 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" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 仓库列表 |
| | | { |
| | | path: "/basic/gy/gyWarehouse", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyWarehouse", |
| | | component: () => import("@/views/basic/gyWarehouse/gyWarehouse"), |
| | | name: "GyWarehouse", |
| | | meta: { title: "仓库列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 仓位 |
| | | { |
| | | path: "/basic/gy/gyStockPlace", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyStockPlace", |
| | | component: () => import("@/views/basic/gyStockPlace/gyStockPlace.vue"), |
| | | name: "GyStockPlace", |
| | | meta: { title: "仓位列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 采购基础资料 |
| | | //#region 供应商列表 |
| | | { |
| | | path: "/basic/gy/gySupplier", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gySupplier", |
| | | component: () => import("@/views/basic/gy/gySupplier.vue"), |
| | | name: "GySupplier", |
| | | meta: { title: "供应商列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | //#region 物流基础资料 |
| | | //#region 承运合同单据 |
| | | { |
| | | path: "/basic/transport/cgContractTransportBillList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示。 |
| | | activeMenu: "/basic/transport", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/transport/cgContractTransportBillList", |
| | | component: () => import("@/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue"), |
| | | name: "CgContractTransportBillList", |
| | | meta: { title: "承运合同", activeMenu: "basic/transport" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | //#region 生产基础资料 |
| | | //#region 生产资源 |
| | | { |
| | | path: "/basic/production/gySource", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示。 |
| | | activeMenu: "/basic/production", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/production/gySource", |
| | | component: () => import("@/views/basic/production/gySource.vue"), |
| | | name: "GySource", |
| | | meta: { title: "生产资源列表", activeMenu: "basic/production" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | //#region 销售基础资料 |
| | | //#region 客户列表 |
| | | { |
| | | path: "/GyCustomer", |
| | | component: () => import("@/views/GyCustomer/index"), |
| | | hidden: false, |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 客户列表_弹窗 |
| | | { |
| | | 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" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 物流基础资料 |
| | | //#region 驾驶员列表 |
| | | { |
| | | path: "/system/user/GyDriver", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/system/user", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/system/user/GyDriver", |
| | | component: () => import("@/views/system/user/GyDriver.vue"), |
| | | name: "gyDriver", |
| | | meta: { title: "驾驶员列表", activeMenu: "system/user" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 车型列表 |
| | | { |
| | | path: "/basic/gy/gyCartypelist", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyCartypelist", |
| | | component: () => |
| | | import("@/views/basic/gyCartypelist/gyCartypelist.vue"), |
| | | name: "GyCartype", |
| | | meta: { title: "车型列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 车辆列表 |
| | | { |
| | | path: "/basic", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyCarList", |
| | | component: () => import("@/views/basic/gyCar/gyCarList.vue"), |
| | | name: "GyCarList", |
| | | meta: { title: "车辆列表", activeMenu: "/basic/gy" }, |
| | | }, |
| | | { |
| | | path: "/basic/gy/gyCarEdit", |
| | | component: () => import("@/views/basic/gyCar/gyCarEdit.vue"), |
| | | name: "GyCarEdit", |
| | | meta: { title: "车辆编辑", activeMenu: "/basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | //#region 费用基础资料 |
| | | //#region 费用项目列表 |
| | | { |
| | | //src\views\basic\gyItemMoney\gyItemMoney.vue |
| | | path: "/basic/gy/gyItemMoney", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyItemMoney", |
| | | component: () => import("@/views/basic/gyItemMoney/gyItemMoney.vue"), |
| | | name: "GyItemMoney", |
| | | meta: { title: "费用项目列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 财务结算基础资料 |
| | | //#region 货币列表 |
| | | { |
| | | //src\views\basic\gyItemMoney\gyItemMoney.vue |
| | | path: "/basic/gy/gyCurrency", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyCurrency", |
| | | component: () => import("@/views/basic/gyCurrency/gyCurrency.vue"), |
| | | name: "GyCurrency", |
| | | meta: { title: "货币列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 单位基础资料 |
| | | //#region 计量单位列表 |
| | | { |
| | | //src\views\basic\gyUnit\gyUnit.vue |
| | | path: "/basic/gy/gyUnit", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyUnit", |
| | | component: () => import("@/views/basic/gyUnit/gyUnit.vue"), |
| | | name: "GyCurrency", |
| | | meta: { title: "计量单位列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 辅助属性基础资料 |
| | | { |
| | | //src\views\basic\gyItemMoney\gyItemMoney.vue |
| | | path: "/basic", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyProperty", |
| | | component: () => import("@/views/basic/gyProperty/gyPropertyList.vue"), |
| | | name: "GyProperty", |
| | | meta: { title: "辅助属性列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 通用页面 |
| | | //#region 打印 |
| | | //#region 打印模块列表页面 |
| | | { |
| | | path: "/printList", |
| | | component: () => import("@/views/component/printList/index"), |
| | | hidden: true, |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 打印列表 |
| | | { |
| | | path: "/hBarPlanPrint", |
| | | component: () => import("@/views/component/printList/hBarPlanPrint"), |
| | | hidden: true, |
| | | }, |
| | | //#region 打印列表(网页) |
| | | { |
| | | path: "/hBarPlanPrintWeb", |
| | | component: () => import("@/views/component/printList/barcode.vue"), |
| | | hidden: true, |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region 节点页面 |
| | | { |
| | | path: "/iframe", |
| | | component: () => import("@/layout/emptyLayout"), // 使用空布局 |
| | | hidden: true, // 在侧边栏不显示 |
| | | children: [ |
| | | { |
| | | path: "CgPoOrderBillEdit", |
| | | component: () => |
| | | import("@/views/purchase/cgPoOrderBill/cgPoOrderBillEdit"), // 采购订单 |
| | | name: "IframeCgPoOrderBillEdit", |
| | | meta: { title: "采购订单", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "CgPoInStockBillEdit", |
| | | component: () => |
| | | import("@/views/purchase/cgPoInStockBill/cgPoInStockBillEdit"), // 收料通知单 |
| | | name: "IframeCgPoInStockBillEdit", |
| | | meta: { title: "收料通知单", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "ScICMOBillEdit", |
| | | component: () => import("@/views/ICMO/ScICMOBillEdit"), // 生产订单 |
| | | name: "IframeScICMOBillEdit", |
| | | meta: { title: "生产订单", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "XsSeOrderBillEdit", |
| | | component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBillEdit"), // 销售订单 |
| | | name: "IframeXsSeOrderBillEdit", |
| | | meta: { title: "销售订单", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "XsSeOutStockBillEdit", |
| | | component: () => import("@/views/sell/XsSeOutStockBillEdit"), // 发货通知单 |
| | | name: "IframeXsSeOutStockBillEdit", |
| | | meta: { title: "发货通知单", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "XsSeOutStockBackBillEdit", |
| | | component: () => import("@/views/sell/XsSeOutStockBackBillEdit"), // 退货通知单 |
| | | name: "IFrameXsSeOutStockBackBillEdit", |
| | | meta: { title: "退货通知单", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyMaterial", |
| | | component: () => import("@/views/gyMaterial/GyMaterial"), // 物料 |
| | | name: "IframeGyMaterial", |
| | | meta: { title: "物料列表", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyWarehouse", |
| | | component: () => import("@/views/basic/gyWarehouse/gyWarehouse"), // 仓库 |
| | | name: "IframeGyWarehouse", |
| | | meta: { title: "仓库列表", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyCurrency", |
| | | component: () => import("@/views/basic/gyCurrency/gyCurrency"), // 货币列表 |
| | | name: "IframeGyCurrency", |
| | | meta: { title: "货币列表", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyCurrencyEdit", |
| | | component: () => import("@/views/basic/gyCurrency/gyCurrencyEdit"), // 货币编辑 |
| | | name: "IframeGyCurrencyEdit", |
| | | meta: { title: "货币列表", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyUnit", |
| | | component: () => import("@/views/basic/gyUnit/gyUnit"), |
| | | |
| | | name: "IframeGyUnit", |
| | | meta: { title: "计量单位列表", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyUnitEdit", |
| | | component: () => import("@/views/basic/gyUnit/gyUnitEdit"), // 计量单位编辑 |
| | | name: "IframeGyUnitEdit", |
| | | meta: { title: "计量单位编辑", noCache: true, noLoading: true }, |
| | | |
| | | }, |
| | | { |
| | | path: "GyUnitGroup", |
| | | component: () => import("@/views/basic/gyUnit/gyUnitGroup"), // 计量单位组列表 |
| | | name: "IframeGyUnitGroup", |
| | | meta: { title: "计量单位组列表", noCache: true, noLoading: true }, |
| | | |
| | | }, |
| | | { |
| | | path: "GySupplier", |
| | | component: () => import("@/views/basic/gy/gySupplier"), // 供应商 |
| | | name: "IframeGySupplier", |
| | | meta: { title: "供应商", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyCarType", |
| | | component: () => import("@/views/basic/gyCartypelist/gyCartypelist"), // 车型 |
| | | name: "IframeGyCarType", |
| | | meta: { title: "车型", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyCar", |
| | | component: () => import("@/views/basic/gyCar/gyCarList"), // 车辆 |
| | | name: "IframeGyCar", |
| | | meta: { title: "车辆", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "GyCarEdit", |
| | | component: () => import("@/views/basic/gyCar/gyCarEdit"), // 车辆 |
| | | name: "IframeGyCarEdit", |
| | | meta: { title: "车辆编辑", noCache: true, noLoading: true }, |
| | | }, |
| | | |
| | | { |
| | | path: "GyProperty", |
| | | component: () => import("@/views/basic/gyProperty/gyPropertyList"), // 辅助属性 |
| | | name: "IframeGyProperty", |
| | | meta: { title: "辅助属性", noCache: true, noLoading: true }, |
| | | }, |
| | | { |
| | | path: "BarCode_JinLong", |
| | | component: () => import("@/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong"), // 条码生成_锦隆 |
| | | name: "IframeBarCode_JinLong", |
| | | meta: { title: "条码生成_锦隆", noCache: true, noLoading: true }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 物流管理 |
| | | //#region 运输定位 |
| | | //#region 运单费用结算单列表 |
| | | { |
| | | path: "/logistics/WayBillPaymentBill/YFPayMentOtherBillTranList", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/logistics/WayBillPaymentBill", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/logistics/WayBillPaymentBill/payWayBillPaymentBillList", |
| | | component: () => import("@/views/logistics/WayBillPaymentBill/Pay_WayBillPaymentBillList.vue"), |
| | | name: "payWayBillPaymentBillList", |
| | | meta: { title: "运单费用结算单", activeMenu: "/logistics/WayBillPaymentBill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#region 运单列表 |
| | | { |
| | | path: "logistics/transportGPS/WL_YayBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/logistics/transportGPS", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/logistics/transportGPS/WL_YayBill", |
| | | component: () => import("@/views/logistics/transportGPS/WL_YayBill.vue"), |
| | | name: "WL_YayBill", |
| | | meta: { title: "出运单", activeMenu: "logistics/transportGPS" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | //#region 运单编辑 |
| | | { |
| | | path: "logistics/transportGPS/Add_Edit_WL_YayBill", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/logistics/transportGPS", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/logistics/transportGPS/Add_Edit_WL_YayBill", |
| | | component: () => import("@/views/logistics/transportGPS/Add_Edit_WL_YayBill.vue"), |
| | | name: "Add_Edit_WL_YayBill", |
| | | meta: { title: "运单编辑", activeMenu: "logistics/transportGPS" }, |
| | | }, |
| | | ], |
| | | }, |
| | | //#endregion |
| | | ]; |
| | | |
| | | // 动态路由,基于用户权限动态去加载 |
| | | export const dynamicRoutes = [ |
| | | // { |
| | | // path: "/system/user-auth", |
| | | // component: Layout, |
| | | // hidden: true, |
| | | // permissions: ["system:user:edit"], |
| | | // children: [ |
| | | // { |
| | | // path: "role/:userId(\\d+)", |
| | | // component: () => import("@/views/system/user/authRole"), |
| | | // name: "AuthRole", |
| | | // meta: { title: "分配角色", activeMenu: "/system/user" }, |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // path: "/system/role-auth", |
| | | // component: Layout, |
| | | // hidden: true, |
| | | // permissions: ["system:role:edit"], |
| | | // children: [ |
| | | // { |
| | | // path: "user/:roleId(\\d+)", |
| | | // component: () => import("@/views/system/role/authUser"), |
| | | // name: "AuthUser", |
| | | // meta: { title: "分配用户", activeMenu: "/system/role" }, |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // path: "/system/dict-data", |
| | | // component: Layout, |
| | | // hidden: true, |
| | | // permissions: ["system:dict:list"], |
| | | // children: [ |
| | | // { |
| | | // path: "index/:dictId(\\d+)", |
| | | // component: () => import("@/views/system/dict/data"), |
| | | // name: "Data", |
| | | // meta: { title: "字典数据", activeMenu: "/system/dict" }, |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // path: "/monitor/job-log", |
| | | // component: Layout, |
| | | // hidden: true, |
| | | // permissions: ["monitor:job:list"], |
| | | // children: [ |
| | | // { |
| | | // path: "index/:jobId(\\d+)", |
| | | // component: () => import("@/views/monitor/job/log"), |
| | | // name: "JobLog", |
| | | // meta: { title: "调度日志", activeMenu: "/monitor/job" }, |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // path: "/tool/gen-edit", |
| | | // component: Layout, |
| | | // hidden: true, |
| | | // permissions: ["tool:gen:edit"], |
| | | // children: [ |
| | | // { |
| | | // path: "index/:tableId(\\d+)", |
| | | // component: () => import("@/views/tool/gen/editTable"), |
| | | // name: "GenEdit", |
| | | // meta: { title: "修改生成配置", activeMenu: "/tool/gen" }, |
| | | // }, |
| | | // ], |
| | | // }, |
| | | { |
| | | path: "/system/user-auth", |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ["system:user:edit"], |
| | | children: [ |
| | | { |
| | | path: "role/:userId(\\d+)", |
| | | component: () => import("@/views/system/user/authRole"), |
| | | name: "AuthRole", |
| | | meta: { title: "分配角色", activeMenu: "/system/user" }, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: "/system/role-auth", |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ["system:role:edit"], |
| | | children: [ |
| | | { |
| | | path: "user/:roleId(\\d+)", |
| | | component: () => import("@/views/system/role/authUser"), |
| | | name: "AuthUser", |
| | | meta: { title: "分配用户", activeMenu: "/system/role" }, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: "/system/dict-data", |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ["system:dict:list"], |
| | | children: [ |
| | | { |
| | | path: "index/:dictId(\\d+)", |
| | | component: () => import("@/views/system/dict/data"), |
| | | name: "Data", |
| | | meta: { title: "字典数据", activeMenu: "/system/dict" }, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: "/monitor/job-log", |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ["monitor:job:list"], |
| | | children: [ |
| | | { |
| | | path: "index/:jobId(\\d+)", |
| | | component: () => import("@/views/monitor/job/log"), |
| | | name: "JobLog", |
| | | meta: { title: "调度日志", activeMenu: "/monitor/job" }, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: "/tool/gen-edit", |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ["tool:gen:edit"], |
| | | children: [ |
| | | { |
| | | path: "index/:tableId(\\d+)", |
| | | component: () => import("@/views/tool/gen/editTable"), |
| | | name: "GenEdit", |
| | | meta: { title: "修改生成配置", activeMenu: "/tool/gen" }, |
| | | }, |
| | | ], |
| | | }, |
| | | ]; |
| | | |
| | | // 防止连续点击多次路由报错 |
| | |
| | | import ParentView from "@/components/ParentView"; |
| | | import InnerLink from "@/layout/components/InnerLink"; |
| | | import { getLoginPageSource } from "@/utils/loginSource"; // 导入登录来源判断工具 |
| | | import axios from "axios"; |
| | | |
| | | |
| | | |
| | | const permission = { |
| | | state: { |
| | | routes: [], |
| | |
| | | GenerateRoutes({ commit }) { |
| | | // 示例:根据登录来源执行不同的逻辑 |
| | | const loginSource = getLoginPageSource(); |
| | | let HIsHide = false; |
| | | if (loginSource == "loginTMS") { |
| | | console.log(`用户从 ${loginSource} 页面登录`); |
| | | |
| | | var HIsHide = false; |
| | | if(loginSource=="loginTMS"){ |
| | | HIsHide = true; |
| | | } |
| | | |
| | | // console.log(`用户从 ${loginSource} 页面登录`); |
| | | |
| | | function convertMenu(menu, level = 0) { |
| | | |
| | | const hasChildren = menu.childMenus && menu.childMenus.length > 0; |
| | | const route = { |
| | | name: menu.HNumber, |
| | | path: level === 0 ? `/${menu.HNumber}` : menu.HNumber, |
| | | meta: { |
| | | title: menu.HName, |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | }, |
| | | // hidden: hiddenMenuNames.includes(menu.HNumber) ? HIsHide : false, |
| | | hidden: HIsHide , |
| | | component: hasChildren ? level === 0 ? "Layout" : "ParentView" : menu.Hurl, |
| | | }; |
| | | if (hasChildren) { |
| | | route.redirect = "noRedirect"; |
| | | route.children = menu.childMenus.map((child) => |
| | | convertMenu(child, level + 1) |
| | | ); |
| | | } |
| | | return route; |
| | | } |
| | | return new Promise((resolve) => { |
| | | let req = { HMakeName: sessionStorage["HUserName"], HType: "vue" }; |
| | | // 向后端请求路由数据 |
| | | axios.get("http://localhost:8082/LuBaoAPI/Web/MenuList_1", { params: req }).then(res=>{ |
| | | if (res.data.code === "1") { |
| | | let menuData = JSON.parse(res.data.data); |
| | | const data = menuData.map((item) => convertMenu(item, 0)); |
| | | data.forEach((route) => { |
| | | route.alwaysShow = true; |
| | | }); |
| | | console.log("路由数据",data) |
| | | console.log("路由数据",typeof(data)) |
| | | const jsondata=JSON.stringify(data) |
| | | axios.post("http://localhost:8082/LuBaoAPI/Web/buildRouteObj", { |
| | | content: jsondata |
| | | }) |
| | | .then(res => { |
| | | if (res.data.code === "1") { |
| | | console.log(res.data.Message); |
| | | } |
| | | }); |
| | | const sdata = JSON.parse(JSON.stringify(data)); |
| | | const rdata = JSON.parse(JSON.stringify(data)); |
| | | const sidebarRoutes = filterAsyncRouter(sdata); |
| | | const rewriteRoutes = filterAsyncRouter(rdata, false, true); |
| | | rewriteRoutes.push({ path: "*", redirect: "/404", hidden: true }); |
| | | router.addRoutes(rewriteRoutes); |
| | | commit("SET_ROUTES", rewriteRoutes); |
| | | commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes)); |
| | | commit("SET_DEFAULT_ROUTES", sidebarRoutes); |
| | | commit("SET_TOPBAR_ROUTES", sidebarRoutes); |
| | | resolve(rewriteRoutes); |
| | | }else if(res.data.code === "2") |
| | | let data = [ |
| | | { |
| | | const fileContent = res.data.data; // 字符串 |
| | | const data = JSON.parse(fileContent); // 解析为对象数组 |
| | | const sdata = JSON.parse(JSON.stringify(data)); |
| | | const rdata = JSON.parse(JSON.stringify(data)); |
| | | const sidebarRoutes = filterAsyncRouter(sdata); |
| | | const rewriteRoutes = filterAsyncRouter(rdata, false, true); |
| | | rewriteRoutes.push({ path: "*", redirect: "/404", hidden: true }); |
| | | router.addRoutes(rewriteRoutes); |
| | | commit("SET_ROUTES", rewriteRoutes); |
| | | commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes)); |
| | | commit("SET_DEFAULT_ROUTES", sidebarRoutes); |
| | | commit("SET_TOPBAR_ROUTES", sidebarRoutes); |
| | | resolve(rewriteRoutes); |
| | | } |
| | | else { |
| | | this.$modal.msgError(response.data.code + response.data.Message); |
| | | } |
| | | }); |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "物流管理", |
| | | }, |
| | | hidden: false, |
| | | name: "Logistics", |
| | | path: "/logistics", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "运输定位", |
| | | }, |
| | | hidden: false, |
| | | name: "TransportGPS", |
| | | path: "transportGPS", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "出运单", |
| | | }, |
| | | component: () => |
| | | import("@/views/logistics/transportGPS/WL_YayBill.vue"), |
| | | hidden: false, |
| | | name: "WL_YayBill", |
| | | path: "WL_YayBill", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "运输定位", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "WayBillPaymentBill", |
| | | path: "WayBillPaymentBill", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "运单费用结算单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/logistics/WayBillPaymentBill/Pay_WayBillPaymentBillList.vue" |
| | | ), |
| | | hidden: HIsHide, |
| | | name: "payWayBillPaymentBillList", |
| | | path: "PayWayBillPaymentBillList", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售管理", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "Sell", |
| | | path: "/sell", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售出库单", |
| | | }, |
| | | hidden: false, |
| | | name: "SellOut", |
| | | path: "sellOut", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售出库单维护", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/sellOut/sellOutBill.vue"), |
| | | hidden: false, |
| | | name: "SellOutBill", |
| | | path: "sellOutBill", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售出库单", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/sellOut/sellOutBillEdit.vue"), |
| | | hidden: false, |
| | | name: "SellOutBillEdit", |
| | | path: "sellOutBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售订单", |
| | | }, |
| | | hidden: false, |
| | | name: "SeOrder", |
| | | path: "seOrder", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售订单维护", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/xsSeOrderBill/xsSeOrderBill.vue"), |
| | | hidden: false, |
| | | name: "XsSeOrderBill", |
| | | path: "xsSeOrderBill", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售订单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "XsSeOrderBillEdit", |
| | | path: "xsSeOrderBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "发货通知单", |
| | | }, |
| | | hidden: false, |
| | | name: "SeOutStock", |
| | | path: "seOutStock", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "发货通知单维护", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/XsSeOutStockBill.vue"), |
| | | hidden: false, |
| | | name: "XsSeOutStockBill", |
| | | path: "xsSeOutStockBill", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "发货通知单", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/XsSeOutStockBillEdit.vue"), |
| | | hidden: false, |
| | | name: "XsSeOutStockBillEdit", |
| | | path: "xsSeOutStockBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "退货通知单", |
| | | }, |
| | | hidden: false, |
| | | name: "SeOutStockBack", |
| | | path: "seOutStockBack", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "退货通知单维护", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/XsSeOutStockBackBillList.vue"), |
| | | hidden: false, |
| | | name: "XsSeOutStockBackBillList", |
| | | path: "xsSeOutStockBackBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "退货通知单", |
| | | }, |
| | | component: () => |
| | | import("@/views/sell/XsSeOutStockBackBillEdit.vue"), |
| | | hidden: false, |
| | | name: "XsSeOutStockBackBillEdit", |
| | | path: "xsSeOutStockBackBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售退货单", |
| | | }, |
| | | hidden: false, |
| | | name: "StockBillMainList", |
| | | path: "StockBillMainList", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售退货单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "KfICStockBillMainList", |
| | | path: "KfICStockBillMainList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "销售退货单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "KfICStockBillMainListEdit", |
| | | path: "KfICStockBillMainListEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "仓库管理", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "Warehouse", |
| | | path: "/warehouse", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "领料发货", |
| | | }, |
| | | hidden: false, |
| | | name: "Shipment", |
| | | path: "shipment", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "出库申请单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/shipment/Kf_StockOutRequestBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_StockOutRequestBillList", |
| | | path: "Kf_StockOutRequestBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "出库申请单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/shipment/Kf_StockOutRequestBill.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_StockOutRequestBill", |
| | | path: "Kf_StockOutRequestBill", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "调拨盘点", |
| | | }, |
| | | hidden: false, |
| | | name: "Transfer", |
| | | path: "transfer", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "调拨申请单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_MoveStockRequestBillList", |
| | | path: "Kf_MoveStockRequestBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "调拨申请单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_MoveStockRequestBillEdit", |
| | | path: "Kf_MoveStockRequestBillEdit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "直接调拨单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_MoveStockBillList", |
| | | path: "Kf_MoveStockBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "直接调拨单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_MoveStockBillEdit", |
| | | path: "Kf_MoveStockBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "报表统计", |
| | | }, |
| | | hidden: false, |
| | | name: "barCodeReport", |
| | | path: "BarCodeReport", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "条码出入库报表", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/BarCodeReport/Kf_BarCodeOutInReport.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_BarCodeOutInReport", |
| | | path: "Kf_BarCodeOutInReport", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "条码库存报表", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/BarCodeReport/Kf_ICInventory_BarCode.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_ICInventory_BarCode", |
| | | path: "Kf_ICInventory_BarCode", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "条码主档", |
| | | }, |
| | | hidden: false, |
| | | name: "BarcodeMaster", |
| | | path: "barcodeMaster", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "条码生成", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Gy_BarCodeBill", |
| | | path: "Gy_BarCodeBill", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "条码生成_锦隆", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Gy_BarCodeBill_JinLong", |
| | | path: "Gy_BarCodeBill_JinLong", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "条码主档", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Gy_BarCodeBillList", |
| | | path: "Gy_BarCodeBillList", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "基础建模", |
| | | }, |
| | | hidden: false, |
| | | name: "Basic", |
| | | path: "/basic", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产资料", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "Production", |
| | | path: "production", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产资料列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/production/gySource.vue"), |
| | | hidden: false, |
| | | name: "GySource", |
| | | path: "gySource", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "物流基础资料", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "Transport", |
| | | path: "transport", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "承运合同单据", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "CgContractTransportBillList", |
| | | path: "cgContractTransportBillList", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "公用资料", |
| | | }, |
| | | hidden: false, |
| | | name: "Gy", |
| | | path: "gy", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "仓库列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyWarehouse/gyWarehouse.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyWarehouse", |
| | | path: "gyWarehouse", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "仓位列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyStockPlace/gyStockPlace.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyStockPlace", |
| | | path: "gyStockPlace", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "车型列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyCartypelist/gyCartypelist.vue"), |
| | | hidden: false, |
| | | name: "GyCartypelist", |
| | | path: "gyCartypelist", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "费用项目列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyItemMoney/gyItemMoney.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyItemMoney", |
| | | path: "gyItemMoney", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "车辆列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyCar/gyCarList.vue"), |
| | | hidden: false, |
| | | name: "GyCarList", |
| | | path: "gyCarList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "职员列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyEmployee/gyEmployee.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyEmployee", |
| | | path: "gyEmployee", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "部门列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gy/gyDepartment.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyDepartment", |
| | | path: "gyDepartment", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "货币列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyCurrency/gyCurrency.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyCurrency", |
| | | path: "gyCurrency", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: HIsHide, |
| | | title: "计量单位列表", |
| | | }, |
| | | component: () => import("@/views/basic/gyUnit/gyUnit.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyUnit", |
| | | path: "gyUnit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "供应商列表", |
| | | }, |
| | | component: () => import("@/views/basic/gy/gySupplier.vue"), |
| | | hidden: HIsHide, |
| | | name: "GySupplier", |
| | | path: "gySupplier", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "物料列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/gyMaterial/GyMaterial.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyMaterial", |
| | | path: "GyMaterial", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "客户列表", |
| | | }, |
| | | component: () => import("@/views/GyCustomer/index.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyCustomer", |
| | | path: "GyCustomer", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "辅助属性列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/basic/gyProperty/gyPropertyList.vue"), |
| | | hidden: HIsHide, |
| | | name: "GyProperty", |
| | | path: "gyProperty", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购管理", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "Purchase", |
| | | path: "/purchase", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购订单", |
| | | }, |
| | | hidden: false, |
| | | name: "PoOrder", |
| | | path: "poOrder", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购订单列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"), |
| | | hidden: false, |
| | | name: "CgPoOrderBill", |
| | | path: "cgPoOrderBill", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购订单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/purchase/cgPoOrderBill/cgPoOrderBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "CgPoOrderBillEdit", |
| | | path: "cgPoOrderBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "收料通知单", |
| | | }, |
| | | hidden: false, |
| | | name: "PoInStock", |
| | | path: "PoInStock", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "收料通知单列表", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/purchase/cgPoInStockBill/cgPoInStockBill.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "CgPoInStockBillList", |
| | | path: "cgPoInStockBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "收料通知单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/purchase/cgPoInStockBill/cgPoInStockBillEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "CgPoInStockBillEdit", |
| | | path: "cgPoInStockBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购入库单", |
| | | }, |
| | | hidden: false, |
| | | name: "POStockInBill", |
| | | path: "POStockInBill", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购入库单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "POStockInBillList", |
| | | path: "POStockInBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购入库单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | 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", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购退料单", |
| | | }, |
| | | hidden: false, |
| | | name: "PostockInBack", |
| | | path: "postockInBack", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购退料单列表(已入库)", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_POStockInBackBillList", |
| | | path: "Kf_POStockInBackBillList", |
| | | query: '{"type":1}', |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "采购退料单列表(未入库)", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Kf_POStockInBackBillList", |
| | | path: "Kf_POStockInBackBillList0", |
| | | query: '{"type":0}', |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "其他出库单维护", |
| | | }, |
| | | hidden: false, |
| | | name: "OtherOutBill", |
| | | path: "OtherOutBill", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "其他出库单列表", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "OtherOutBillList", |
| | | path: "OtherOutBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "其他出库单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "OtherOutBillEdit", |
| | | path: "OtherOutBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产管理", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "ICMO", |
| | | path: "/icmo", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产订单", |
| | | }, |
| | | hidden: false, |
| | | name: "ScIcmoBill", |
| | | path: "scIcmoBill", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产订单列表", |
| | | }, |
| | | component: () => import("@/views/ICMO/ScICMOBillList.vue"), |
| | | hidden: false, |
| | | name: "ScICMOBillList", |
| | | path: "scICMOBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产订单", |
| | | }, |
| | | component: () => import("@/views/ICMO/ScICMOBillEdit.vue"), |
| | | hidden: false, |
| | | name: "ScICMOBillEdit", |
| | | path: "scICMOBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产入库维护", |
| | | }, |
| | | hidden: false, |
| | | name: "ProductInBill", |
| | | path: "productInBill", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产入库列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/ProductInBill/Kf_ProductInBillList.vue"), |
| | | hidden: false, |
| | | name: "ProductInBillList", |
| | | path: "productInBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产入库单", |
| | | }, |
| | | component: () => |
| | | import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"), |
| | | hidden: false, |
| | | name: "ProductInBillEdit", |
| | | path: "productInBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产汇报", |
| | | }, |
| | | hidden: false, |
| | | name: "ScICMOReportBill", |
| | | path: "scICMOReportBill", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "生产汇报列表", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "ScICMOReportBillList", |
| | | path: "scICMOReportBillList", |
| | | }, |
| | | // { |
| | | // meta: { |
| | | // icon: "build", |
| | | // link: null, |
| | | // noCache: false, |
| | | // title: "生产入库单", |
| | | // }, |
| | | // component: () => import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"), |
| | | // hidden: false, |
| | | // name: "ProductInBillEdit", |
| | | // path: "ProductInBillEdit", |
| | | // }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器管理", |
| | | }, |
| | | hidden: HIsHide, |
| | | name: "ScMould", |
| | | path: "/scMould", |
| | | redirect: "noRedirect", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "仓储管理", |
| | | }, |
| | | hidden: false, |
| | | name: "Warehouse", |
| | | path: "warehouse", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器领用出库单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldProdOutBillList" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldProdOutBillList", |
| | | path: "Sc_MouldProdOutBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器领用出库单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldProdOutBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldProdOutBillEdit", |
| | | path: "Sc_MouldProdOutBillEdit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器入库单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldProdBackBillList" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldProdBackBillList", |
| | | path: "Sc_MouldProdBackBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器入库单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldProdBackBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldProdBackBillEdit", |
| | | path: "Sc_MouldProdBackBillEdit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器直接调拨单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldProdMoveBillList" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldProdMoveBillList", |
| | | path: "Sc_MouldProdMoveBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器直接调拨单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldProdMoveBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldProdMoveBillEdit", |
| | | path: "Sc_MouldProdMoveBillEdit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器入库申请单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldInRequestBillList" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldInRequestBillList", |
| | | path: "Sc_MouldInRequestBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器入库申请单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldInRequestBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldInRequestBillEdit", |
| | | path: "Sc_MouldInRequestBillEdit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器领用申请单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldOutRequestBillList" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldOutRequestBillList", |
| | | path: "Sc_MouldOutRequestBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器领用申请单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldOutRequestBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldOutRequestBillEdit", |
| | | path: "Sc_MouldOutRequestBillEdit", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器调拨申请单维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldMoveStockRequestBillList", |
| | | path: "Sc_MouldMoveStockRequestBillList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器调拨申请单", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit" |
| | | ), |
| | | hidden: false, |
| | | name: "Sc_MouldMoveStockRequestBillEdit", |
| | | path: "Sc_MouldMoveStockRequestBillEdit", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "基础建模", |
| | | }, |
| | | hidden: false, |
| | | name: "BasicModeling", |
| | | path: "basicModeling", |
| | | redirect: "noRedirect", |
| | | component: "Layout", |
| | | children: [ |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器主档", |
| | | }, |
| | | component: () => |
| | | import("@/views/scMould/basicModeling/Gy_MouldFile.vue"), |
| | | hidden: false, |
| | | name: "Gy_MouldFile", |
| | | path: "Gy_MouldFile", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "容器主档维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/basicModeling/Gy_MouldFileList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Gy_MouldFileList", |
| | | path: "Gy_MouldFileList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "产品包装容器关联信息维护", |
| | | }, |
| | | component: () => |
| | | import( |
| | | "@/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue" |
| | | ), |
| | | hidden: false, |
| | | name: "Gy_MaterialPackingRelationList", |
| | | path: "Gy_MaterialPackingRelationList", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | alwaysShow: true, |
| | | component: "Layout", |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "系统管理", |
| | | }, |
| | | hidden: HIsHide, |
| | | 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", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "角色列表", |
| | | }, |
| | | component: () => |
| | | import("@/views/system/user/Xt_UserGroupList.vue"), |
| | | hidden: false, |
| | | name: "Xt_UserGroupList", |
| | | path: "Xt_UserGroupList", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "驾驶员列表", |
| | | }, |
| | | component: () => import("@/views/system/user/GyDriver.vue"), |
| | | hidden: false, |
| | | name: "gyDriver", |
| | | path: "GyDriver", |
| | | }, |
| | | { |
| | | meta: { |
| | | icon: "build", |
| | | link: null, |
| | | noCache: false, |
| | | title: "权限查询", |
| | | }, |
| | | component: () => |
| | | import("@/views/system/user/xtUserRightQuery.vue"), |
| | | hidden: true, |
| | | name: "XtUserRightQuery", |
| | | path: "xtUserRightQuery", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | ]; |
| | | const sdata = JSON.parse(JSON.stringify(data)); |
| | | const rdata = JSON.parse(JSON.stringify(data)); |
| | | const sidebarRoutes = filterAsyncRouter(sdata); |
| | | const rewriteRoutes = filterAsyncRouter(rdata, false, true); |
| | | const asyncRoutes = filterDynamicRoutes(dynamicRoutes); |
| | | rewriteRoutes.push({ path: "*", redirect: "/404", hidden: true }); |
| | | router.addRoutes(asyncRoutes); |
| | | commit("SET_ROUTES", rewriteRoutes); |
| | | commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes)); |
| | | commit("SET_DEFAULT_ROUTES", sidebarRoutes); |
| | | commit("SET_TOPBAR_ROUTES", sidebarRoutes); |
| | | resolve(rewriteRoutes); |
| | | }); |
| | | }, |
| | | }, |
| | |
| | | |
| | | // 动态路由遍历,验证是否具备权限 |
| | | export function filterDynamicRoutes(routes) { |
| | | console.log(routes); |
| | | const res = []; |
| | | routes.forEach((route) => { |
| | | if (route.permissions) { |