| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- import {
- HelloWorld,
- WmsSetting,
- GradeDefinition,
- GeneratePosition,
- InventoryPrint,
- InventoryPrintScan,
- StockOutPrepareLine,
- PickingCar,
- StockOutPrepareApproved,
- StockOutPrepateTemplate,
- StockOutPrepateTemplateRecording,
- StockOutPrepareTemplateApproved,
- StockOutPrepareLineAddProject,
- StockOutPrepareLineProjectReceivingAddress,
- StockOutPrepareLineProjectShippingAddress,
- PurchaseOrderLinePrint,
- PositionPrint,
- PurchaseOrderPrint,
- QueryPurchaseOrderLine,
- PackInventoryInstance,
- NeedPrint,
- Printed,
- PrintInventoryInstance,
- CheckProfit,
- CheckLoss,
- StockInLineInstance,
- StockOutLineInstance,
- PurchaseOrderLineTraceEdit,
- CurrentStock,
- StockLedger,
- GenerateToolRequest,
- AutoGenerateInventorySafeStock,
- AutoGenerateInventoryClassSafeStock,
- ProjectItemAdjust,
- InvoiceGenerate,
- BalanceInventory,
- VouchCheck,
- ExpressInquiry,
- RepertoryCheck,
- InventorySearchDetail,
- GenerateDocumentTool,
- InventoryCheckLoss,
- AdjustPositions,
- CurrentStockProjectItemManger,
- UploadTrainingVideo,
- SynchronousMaintenanceForm,
- QueryMaintenancePlan,
- LightSetting,
- LightStockInOrOut,
- ShelfBoard,
- } from 'client-wms-v3/dist/client-wms-v3.js';
- 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/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/lightSetting', component: LightSetting },
- { path: '/wms/lightStockInOrOut', component: LightStockInOrOut },
- { path: '/wms/shelfBoard', component: ShelfBoard },
- ];
- export default routes;
|