const HelloWorld = () => import(/* webpackChunkName: "component-1" */ '../components/HelloWorld.vue'); const WmsSetting = () => import(/* webpackChunkName: "component-2" */ '../components/WmsSetting.vue'); const GradeDefinition = () => import(/* webpackChunkName: "component-3" */ '../components/GradeDefinition.vue'); const GeneratePosition = () => import(/* webpackChunkName: "component-4" */ '../components/GeneratePosition.vue'); const InventoryPrint = () => import(/* webpackChunkName: "component-5" */ '../components/InventoryPrint.vue'); const InventoryPrintScan = () => import(/* webpackChunkName: "component-6" */ '../components/InventoryPrintScan.vue'); const StockOutPrepareLine = () => import(/* webpackChunkName: "component-7" */ '../pick/StockOutPrepareLine.vue'); const StockOutPrepareLine1 = () => import(/* webpackChunkName: "component-7" */ '../pick/StockOutPrepareLine1.vue'); const PickingCar = () => import(/* webpackChunkName: "component-8" */ '../pick/PickingCar.vue'); const StockOutPrepareApproved = () => import(/* webpackChunkName: "component-9" */ '../pick/StockOutPrepareApproved.vue'); const StockOutPrepateTemplate = () => import(/* webpackChunkName: "component-10" */ '../pick/StockOutPrepateTemplate.vue'); const StockOutPrepateTemplateRecording = () => import(/* webpackChunkName: "component-11" */ '../pick/StockOutPrepateTemplateRecording.vue'); const StockOutPrepareTemplateApproved = () => import(/* webpackChunkName: "component-12" */ '../pick/StockOutPrepareTemplateApproved.vue'); const StockOutPrepareLineAddProject = () => import(/* webpackChunkName: "component-13" */ '../pick/StockOutPrepareLineAddProject.vue'); const StockOutPrepareLineProjectReceivingAddress = () => import(/* webpackChunkName: "component-14" */ '../pick/StockOutPrepareLineProjectReceivingAddress.vue'); const StockOutPrepareLineProjectShippingAddress = () => import(/* webpackChunkName: "component-15" */ '../pick/StockOutPrepareLineProjectShippingAddress.vue'); const PurchaseOrderLinePrint = () => import(/* webpackChunkName: "component-16" */ '../print/PurchaseOrderLinePrint.vue'); const PositionPrint = () => import(/* webpackChunkName: "component-17" */ '../print/PositionPrint.vue'); const PurchaseOrderPrint = () => import(/* webpackChunkName: "component-18" */ '../print/PurchaseOrderPrint.vue'); const QueryPurchaseOrderLine = () => import(/* webpackChunkName: "component-19" */ '../print/QueryPurchaseOrderLine.vue'); const PackInventoryInstance = () => import(/* webpackChunkName: "component-20" */ '../print/PackInventoryInstance.vue'); const NeedPrint = () => import(/* webpackChunkName: "component-21" */ '../print/NeedPrint.vue'); const Printed = () => import(/* webpackChunkName: "component-22" */ '../print/PrintedPurchaseOrder.vue'); const PrintInventoryInstance = () => import(/* webpackChunkName: "component-23" */ '../print/PrintInventoryInstance.vue'); const CheckProfit = () => import(/* webpackChunkName: "component-24" */ '../inout/CheckProfit.vue'); const CheckLoss = () => import(/* webpackChunkName: "component-25" */ '../inout/CheckLoss.vue'); const StockInLineInstance = () => import(/* webpackChunkName: "component-26" */ '../inout/StockInLineInstance.vue'); const StockOutLineInstance = () => import(/* webpackChunkName: "component-27" */ '../inout/StockOutLineInstance.vue'); const PurchaseOrderLineTraceEdit = () => import(/* webpackChunkName: "component-28" */ '../inout/PurchaseOrderLineTraceEdit.vue'); const CurrentStock = () => import(/* webpackChunkName: "component-29" */ '../stock/CurrentStock.vue'); const StockLedger = () => import(/* webpackChunkName: "component-30" */ '../stock/StockLedger.vue'); const GenerateToolRequest = () => import(/* webpackChunkName: "component-31" */ '../stock/GenerateToolRequest.vue'); const AutoGenerateInventorySafeStock = () => import(/* webpackChunkName: "component-32" */ '../stock/AutoGenerateInventorySafeStock.vue'); const AutoGenerateInventoryClassSafeStock = () => import(/* webpackChunkName: "component-33" */ '../stock/AutoGenerateInventoryClassSafeStock.vue'); const ProjectItemAdjust = () => import(/* webpackChunkName: "component-34" */ '../customer/ProjectItemAdjust.vue'); const InvoiceGenerate = () => import(/* webpackChunkName: "component-35" */ '../customer/InvoiceGenerate.vue'); const BalanceInventory = () => import(/* webpackChunkName: "component-36" */ '../customer/BalanceInventory.vue'); const VouchCheck = () => import(/* webpackChunkName: "component-37" */ '../customer/VouchCheck.vue'); const ExpressInquiry = () => import(/* webpackChunkName: "component-38" */ '../customer/ExpressInquiry.vue'); const RepertoryCheck = () => import(/* webpackChunkName: "component-39" */ '../customer/RepertoryCheck.vue'); const InventorySearchDetail = () => import(/* webpackChunkName: "component-40" */ '../customer/InventorySearchDetail.vue'); const GenerateDocumentTool = () => import(/* webpackChunkName: "component-41" */ '../components/GenerateDocumentTool.vue'); const InventoryCheckLoss = () => import(/* webpackChunkName: "component-42" */ '../customer/InventoryCheckLoss.vue'); const AdjustPositions = () => import(/* webpackChunkName: "component-43" */ '../stock/AdjustPositions.vue'); const CurrentStockProjectItemManger = () => import(/* webpackChunkName: "component-44" */ '../stock/CurrentStockProjectItemManger.vue'); const UploadTrainingVideo = () => import(/* webpackChunkName: "component-62" */ '../pad/UploadTrainingVideo.vue'); const SynchronousMaintenanceForm = () => import(/* webpackChunkName: "component-62" */ '../pad/SynchronousMaintenanceForm.vue'); const QueryMaintenancePlan = () => import(/* webpackChunkName: "component-62" */ '../pad/QueryMaintenancePlan.vue'); const LightSetting = () => import('../light/LightSetting.vue'); const LightStockInOrOut = () => import('../light/LightStockInOrOut.vue'); const ShelfBoard = () => import('../shelf/ShelfBoard.vue'); const TransferTask = () => import('../customer/TransferTask.vue'); const routes = [ { path: '/wms/hello-world', component: HelloWorld }, // 仓库设置 { path: '/wms/wmsSetting', component: WmsSetting, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095118', 'itemNo': '1', }, ], }, }, // 编码定义 { path: '/wms/gradeDefinition', component: GradeDefinition, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095118', 'itemNo': '1', }, ], }, }, // 生成货位 { path: '/wms/generatePosition/:uuid', component: GeneratePosition }, // 采购入库打印 { path: '/wms/inventoryPrint', component: InventoryPrint, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095118', 'itemNo': '1', }, ], }, }, // 扫描入库打印 { path: '/wms/inventoryPrintScan', component: InventoryPrintScan, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095118', 'itemNo': '1', }, ], }, }, // 领用界面 { path: '/wms/stockOutPrepareLine', component: StockOutPrepareLine, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 领用界面 { path: '/wms/stockOutPrepareLine1', component: StockOutPrepareLine1, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 领料车界面 { path: '/wms/pickingCar', component: PickingCar, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 领用记录,审批意见完成 { path: '/wms/stockOutPrepareApproved', component: StockOutPrepareApproved, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 需求模板领料 { path: '/wms/stockOutPrepateTemplate', component: StockOutPrepateTemplate, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 需求模板领料待提交记录 { path: '/wms/stockOutPrepateTemplateRecording', component: StockOutPrepateTemplateRecording, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 需求模板领料已提交记录 { path: '/wms/stockOutPrepareTemplateApproved', component: StockOutPrepareTemplateApproved, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 领料跳转添加项目 { path: '/wms/stockOutPrepareLineAddProject', component: StockOutPrepareLineAddProject, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 项目事件收货信息 // eslint-disable-next-line { path: '/wms/stockOutPrepareLineProjectReceivingAddress', component: StockOutPrepareLineProjectReceivingAddress, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 项目事件发货信息 // eslint-disable-next-line { path: '/wms/stockOutPrepareLineProjectShippingAddress', component: StockOutPrepareLineProjectShippingAddress, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '5', }, ], }, }, // 采购订单明细打印 { path: '/wms/purchaseOrderLinePrint', component: PurchaseOrderLinePrint }, // 货位打印 { path: '/wms/positionPrint/:uuid', component: PositionPrint }, // 采购订单打印改 { path: '/wms/purchaseOrderPrint', component: PurchaseOrderPrint }, //采购订单打印 { path: '/wms/queryPurchaseOrderLine', component: QueryPurchaseOrderLine }, { path: '/wms/packInventoryInstance', component: PackInventoryInstance }, { path: '/wms/needPrint', component: NeedPrint }, { path: '/wms/printed', component: Printed }, { path: '/wms/printInventoryInstance', component: PrintInventoryInstance, children: [ { path: '/', redirect: 'needPrint', }, { path: 'needPrint', component: NeedPrint, }, { path: 'printed', component: Printed, }], }, // 盘点单盘盈数据处理 { path: '/wms/checkProfit/:uuid', component: CheckProfit, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '4', }, ], }, }, // 盘点单盘亏数据处理 { path: '/wms/checkLoss/:uuid', component: CheckLoss, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '4', }, ], }, }, // 入库单指定存货实例 { path: '/wms/stockInLineInstance/:uuid', component: StockInLineInstance }, // 出库单指定存货实例 { path: '/wms/stockOutLineInstance/:uuid', component: StockOutLineInstance }, { path: '/wms/purchaseOrderLine-trace-edit', component: PurchaseOrderLineTraceEdit }, // 西门字库存查询 { path: '/wms/currentStock', component: CurrentStock, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '7', }, ], }, }, // 仓库库存台账 { path: '/wms/stockLedger', component: StockLedger, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '7', }, ], }, }, // 根据工具安全库存生成通用工具月度需求 // eslint-disable-next-line { path: '/wms/generateToolRequest/:uuid', component: GenerateToolRequest }, // 自动生成存货安全库存 // eslint-disable-next-line { path: '/wms/autoGenerateInventorySafeStock/:uuid', component: AutoGenerateInventorySafeStock }, // 自动生成存货分类安全库存 // eslint-disable-next-line { path: '/wms/autoGenerateInventoryClassSafeStock/:uuid', component: AutoGenerateInventoryClassSafeStock }, // 调拨单 { path: '/wms/projectItemAdjust', component: ProjectItemAdjust }, // 发货单 { path: '/wms/invoiceGenerate', component: InvoiceGenerate, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '6', }, ], }, }, // 结存 { path: '/wms/balanceInventory', component: BalanceInventory, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '7', }, ], }, }, // 生成明细 { path: '/wms/vouchCheck/:uuid', component: VouchCheck, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '4', }, ], }, }, // 快递物流信息查询 { path: '/wms/expressInquiry/:uuid', component: ExpressInquiry }, // 生成明细 { path: '/wms/repertoryCheck/:uuid', component: RepertoryCheck, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '4', }, ], }, }, // 物料查询存货详情 // eslint-disable-next-line { path: '/wms/inventorySearchDetail', component: InventorySearchDetail }, // 生单组件 // eslint-disable-next-line { path: '/wms/generate-document/:type/:infoWindowNo/:uuid', component: GenerateDocumentTool }, { path: '/wms/asset-inventory-check-lose/:uuid', component: InventoryCheckLoss }, { path: '/wms/adjustPositions', component: AdjustPositions, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220328_095537', 'itemNo': '7', }, ], }, }, // 我管理项目的库存查询 { path: '/wms/currentStockProjectItemManger', component: CurrentStockProjectItemManger, meta: { 'loginRequired': true, 'functionAccessArray': [ { 'functionNo': '20220518_142645', 'itemNo': '3', }, ], }, }, { path: '/wms/uploadTrainingVideo', component: UploadTrainingVideo }, { path: '/wms/synchronousMaintenanceForm', component: SynchronousMaintenanceForm }, { path: '/wms/queryMaintenancePlan', component: QueryMaintenancePlan }, //扫码亮灯出入库 { path: '/wms/lightStockInOrOut', component: LightStockInOrOut }, //标签服务器配置 { path: '/wms/lightSetting', component: LightSetting }, //货架信息看板 { path: '/wms/shelfBoard', component: ShelfBoard }, // 调拨任务 { path: '/wms/transferTask', component: TransferTask }, ]; export default routes;