import Layout from '@/page/index/index.vue'; // import Store from '@/store/'; export default [ { path: '/wel', component: Layout, redirect: '/wel/index', children: [ { path: 'index', name: '首页', meta: { i18n: 'dashboard', keepAlive: true, }, component: () => import(/* webpackChunkName: "views" */ '@/views/wel/index.vue'), }, { path: 'dashboard', name: '控制台', meta: { i18n: 'dashboard', menu: false, }, component: () => import(/* webpackChunkName: "views" */ '@/views/wel/dashboard.vue'), }, ], }, { path: '/distribution', name: '统计页面', meta: { i18n: 'dashboard', menu: false, }, redirect: '/distribution/distributionStockArticleFrom', component: Layout, children: [ { path: 'distributionStockArticleFrom', component: () => import('@/views/distribution/inventory/distributionStockArticleFrom.vue'), }, ], }, { path: '/basicdata', redirect: '/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails', component: Layout, children: [ { path: 'warehouse/goodsAllocation/BasicdataGoodsAllocationDetails', name: '详情', meta: { i18n: 'dict', }, query: {}, props: route => ({ name: route.query.name, info: route.query.info, }), component: () => import('@/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue'), }, ], }, { path: '/basicdata', component: Layout, redirect: '/basicdata/vehicle/basicdataVehicleAddForm', children: [ { path: 'vehicle/basicdataVehicleAddForm', name: '车辆添加', meta: { i18n: 'dict', }, component: () => import('@/views/basicdata/vehicle/basicdataVehicleAddForm.vue'), }, ], }, { path: '/test', component: Layout, redirect: '/test/index', children: [ { path: 'index', name: '测试页', meta: { i18n: 'test', }, component: () => import(/* webpackChunkName: "views" */ '@/views/util/test.vue'), }, ], }, { path: '/dict-horizontal', component: Layout, redirect: '/dict-horizontal/index', children: [ { path: 'index', name: '字典管理', meta: { i18n: 'dict', }, component: () => import(/* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal.vue'), }, ], }, { path: '/dict-vertical', component: Layout, redirect: '/dict-vertical/index', children: [ { path: 'index', name: '字典管理', meta: { i18n: 'dict', }, component: () => import(/* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical.vue'), }, ], }, { path: '/info', component: Layout, redirect: '/info/index', children: [ { path: 'index', name: '个人信息', meta: { i18n: 'info', }, component: () => import(/* webpackChunkName: "views" */ '@/views/system/userinfo.vue'), }, ], }, { path: '/work/process/leave', component: Layout, redirect: '/work/process/leave/form', children: [ { path: 'form/:processDefinitionId', name: '请假流程', meta: { i18n: 'work', }, component: () => import(/* webpackChunkName: "views" */ '@/views/work/process/leave/form.vue'), }, { path: 'handle/:taskId/:processInstanceId/:businessId', name: '处理请假流程', meta: { i18n: 'work', }, component: () => import(/* webpackChunkName: "views" */ '@/views/work/process/leave/handle.vue'), }, { path: 'detail/:processInstanceId/:businessId', name: '请假流程详情', meta: { i18n: 'work', }, component: () => import(/* webpackChunkName: "views" */ '@/views/work/process/leave/detail.vue'), }, ], }, { path: '/distribution/artery', component: Layout, redirect: '/distribution/artery/zeroAdditionalRecording', children: [ { path: '/distribution/artery/zeroAdditionalRecording', name: '零担补录', meta: { i18n: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/zeroAdditionalRecording.vue' ), }, { path: 'AddVehicleStowage', name: '新增配载', meta: { i18n: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/AddVehicleStowage.vue' ), }, { path: 'VehicleNodeImgs', name: '配载节点图片', meta: { i18n: 'data', keepAlive: true, }, component: () => import(/* webpackChunkName: "views" */ '@/views/distribution/artery/VehicleNodeImgs.vue'), }, { path: 'truckLoadingDetails', name: '装车明细', meta: { i18n: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/truckLoadingDetails.vue' ), }, { path: 'VehicleStowageZeroLoading', name: '零担装车', meta: { i18n: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/VehicleStowageZeroLoading.vue' ), }, { path: 'addTripartiteTransfer', name: '新增中转', meta: { i18n: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/addTripartiteTransfer.vue' ), }, { path: 'TripartiteTransferDetails', name: '中转详情', meta: { i18n: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/TripartiteTransferDetails.vue' ), }, { path: 'VehicleStowageDetails', name: '配载详情', meta: { i18n: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/VehicleStowageDetails.vue' ), }, { path: 'directGoMarket', name: '配置直发商家', meta: { i18n: 'data', }, component: () => import(/* webpackChunkName: "views" */ '@/views/distribution/artery/directGoMarket.vue'), }, { path: 'directGoMarketDetails', name: '签收详情', meta: { i18n: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/directGoMarketDetails.vue' ), }, { path: 'handleLoadingDestination', name: '配置装车目的地', meta: { i18n: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/artery/handleLoadingDestination.vue' ), }, ], }, { path: '/finance', component: Layout, children: [ { path: 'TransactionInformation', name: '异动信息', meta: { i18n: 'data', }, component: () => import(/* webpackChunkName: "views" */ '@/views/finance/TransactionInformation.vue'), }, { path: 'SettlementInformation', name: '结算信息', meta: { i18n: 'data', }, component: () => import(/* webpackChunkName: "views" */ '@/views/finance/SettlementInformation.vue'), }, { path: 'SettlementTransactionInformation', name: '结算异常信息', meta: { i18n: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/finance/SettlementTransactionInformation.vue' ), }, ], }, // { // path: '/basic/pdarecords/basicPdarecords', // name:'pda维修记录', // meta:{ // i18n:'work' // }, // component: () => import(/* webpackChunkName: "views" */ '@/views/basic/pdarecords/basicPdarecords.vue'), // }, { path: '/basic/pdarecords/basicPdarecords', component: Layout, key: 'fullPath', redirect: '/basic/pdarecords', children: [ { path: '/basic/pdarecords/basicPdarecords', name: 'pad编辑', meta: { data: 'data', }, component: () => import(/* webpackChunkName: "views" */ '@/views/basic/pdarecords/basicPdarecords.vue'), }, ], }, { path: '/distribution/inventory', component: Layout, // key: 'fullPath', redirect: '/distribution/inventory/arteryDistrilbutionBillLadingList', children: [ { path: '/distribution/inventory/addArteryDistrilbutionBillLadingList', name: '新增干线提货', meta: { data: 'data', keepAlive: true, }, component: () => import('@/views/distribution/inventory/addArteryDistrilbutionBillLadingList.vue'), }, { path: '/distribution/inventory/arteryDistrilbutionBillLadingListDetails', name: '干线提货管理详情', meta: { data: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/inventory/arteryDistrilbutionBillLadingListDetails.vue' ), }, { path: '/distribution/inventory/BookingNote', name: '货物托运单', meta: { data: 'data', }, component: () => import(/* webpackChunkName: "views" */ '@/views/distribution/inventory/BookingNote.vue'), }, { path: 'CreateOrder', name: '创建订单', meta: { data: 'data', keepAlive: true, }, component: () => import(/* webpackChunkName: "views" */ '@/views/distribution/inventory/CreateOrder.vue'), }, { path: '/distribution/inventory/delivery/OrderInTransitDetails', name: '在途订单查询', meta: { data: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/inventory/delivery/OrderInTransitDetails.vue' ), }, { path: 'delivery/orderLogs', name: '订单日志', meta: { data: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/distribution/inventory/delivery/orderLogs.vue' ), }, // { // path: '/basicdata/driverArtery/bas', // name: '司机信息1', // meta: { // data: 'data', // }, // component: () => // import(/* webpackChunkName: "views" */ '@/views/basicdata/driverArtery/basicdataDriverArtery.vue'), // }, { path: '/basicdata/driverArtery/basicdataDriverArteryAdd', name: '司机信息新增', meta: { data: 'data', keepAlive: true, }, component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/driverArtery/basicdataDriverArteryAdd.vue' ), }, { path: '/basicdata/driverArtery/basicdataDriverArteryView', name: '司机信息查看', meta: { data: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/driverArtery/basicdataDriverArteryView.vue' ), }, ], }, { path: '/waybill', component: Layout, key: 'fullPath', redirect: '/waybill/orderPackageListDetails', children: [ // 包明细 { path: 'orderPackageListDetails', name: '包明细', meta: { data: 'data', keepAlive: true, }, component: () => import('@/views/waybill/orderPackageListDetails.vue'), }, // 包明细 -- 商家 { path: 'orderPackageListDetailsByMarket', name: '商家包明细', meta: { data: 'data', keepAlive: true, }, component: () => import('@/views/waybill/orderPackageListDetailsByMarket.vue'), }, { path: 'EditCustomerInfo/:ids/:info', name: '客户信息修改', meta: { i18n: 'dict', keepAlive: true, }, component: () => import('@/views/waybill/EditCustomerInfo.vue'), }, { path: 'ComparativeStatement', name: '对比报表', meta: { data: 'data', }, component: () => import('@/views/waybill/ComparativeStatement.vue'), }, { path: 'orderDetails', name: '查看订单', meta: { data: 'data', }, component: () => import('@/views/waybill/orderDetails.vue'), }, ], }, { path: '/basic/pdarecords/basicPdarecordslist', component: Layout, key: 'fullPath', redirect: '/basic/pdarecords', children: [ { path: '/basic/pdarecords/basicPdarecordslist', name: '维修总记录', meta: { data: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/basic/pdarecords/basicPdarecordslist.vue' ), }, ], }, { path: '/basic/delinenode/basicDelineNode', component: Layout, redirect: '/basic/delinenode', children: [ { path: '/basic/delinenode/basicDelineNode', name: '提货线路节点', meta: { data: 'data', }, component: () => import('@/views/basic/delinenode/basicDelineNode.vue'), }, ], }, { path: '/factory/snm/staorderPackages', component: Layout, redirect: '/factory/snm', children: [ { path: '/factory/snm/staorderPackages', name: '运单包件信息', meta: { data: 'data', }, component: () => import('@/views/factory/snm/staorderPackages.vue'), }, ], }, { path: '/basicdata/brand/basicHistoricalContract', component: Layout, redirect: '/brand/basicHistoricalContract', children: [ { path: '/basicdata/brand/basicHistoricalContract', name: '历史记录', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id }), component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/brand/basicHistoricalContract.vue' ), }, ], }, { path: '/basicdata/brand/basicStorageServices', component: Layout, redirect: '/brand/basicStorageServices', children: [ { path: '/basicdata/brand/basicStorageServices', name: '服务仓', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, type: route.query.type }), component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/brand/basicStorageServices.vue' ), }, ], }, { path: '/basicdata/brand/basicdataStoreBrand', component: Layout, redirect: '/brand/basicdataStoreBrand', children: [ { path: '/basicdata/brand/basicdataStoreBrand', name: '品牌', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id }), component: () => import(/* webpackChunkName: "views" */ '@/views/basicdata/brand/basicdataStoreBrand.vue'), }, ], }, { path: '/basicdata/brand/basicZonePriceFrom', component: Layout, redirect: '/brand/basicZonePriceFrom', children: [ { path: '/basicdata/brand/basicZonePriceFrom', name: '区域价格新增', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, type: route.query.type, }), component: () => import(/* webpackChunkName: "views" */ '@/views/basicdata/brand/basicZonePriceFrom.vue'), }, ], }, { path: '/basicdata/brand/basicdataFreightFrom', component: Layout, redirect: '/brand/basicdataFreightFrom', children: [ { path: '/basicdata/brand/basicdataFreightFrom', name: '基础价格新增', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, type: route.query.type, }), component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/brand/basicdataFreightFrom.vue' ), }, ], }, { path: '/basicdata/brand/basicStoreContact', component: Layout, redirect: '/brand/basicStoreContact', children: [ { path: '/basicdata/brand/basicStoreContact', name: '联系人', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, type: route.query.type, }), component: () => import(/* webpackChunkName: "views" */ '@/views/basicdata/brand/basicStoreContact.vue'), }, ], }, { path: '/basicdata/brand/basicdataCustomerBase', component: Layout, redirect: '/brand/basicdataCustomerBase', children: [ { path: '/basicdata/brand/basicdataCustomerBase', name: '基地', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/brand/basicdataCustomerBase.vue' ), }, ], }, { path: '/basicdata/brand/basicdataCustomerStore', component: Layout, redirect: '/brand/basicdataCustomerStore', children: [ { path: '/basicdata/brand/basicdataCustomerStore', name: '商场', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import( /* webpackChunkName: "views" */ '@/views/basicdata/brand/basicdataCustomerStore.vue' ), }, ], }, { path: '/basic/printTemplate/basicPrintTemplateFrom', component: Layout, redirect: '/basic/printTemplate', children: [ { path: '/basic/printTemplate/basicPrintTemplateFrom', name: 'name', meta: { data: 'data', }, component: () => import('@/views/basic/printTemplate/basicPrintTemplateFrom.vue'), }, ], }, { path: '/basic/pda/basicPdaform', component: Layout, redirect: '/basic/pda', children: [ { path: '/basic/pda/basicPdaform', name: 'pad信息', meta: {}, component: () => import('@/views/basic/pda/basicPdaform.vue'), }, ], }, // 测试页面 { path: '/basic/pda/basicPdatt', component: Layout, redirect: '/basic/pda', children: [ { path: '/basic/pda/basicPdatt', name: 'pad信息', meta: {}, component: () => import('@/views/basic/pda/basicPdatt.vue'), }, ], }, { path: '/basic/property/basicPropertyform', component: Layout, redirect: '/basic/property', children: [ { path: '/basic/property/basicPropertyform', name: '编辑字段', meta: { data: 'data', }, component: () => import('@/views/basic/property/basicPropertyform.vue'), }, ], }, { path: '/distribution/reservation/reservationSubmitFrom', component: Layout, redirect: '/distribution/reservation/reservationSubmitFrom', children: [ { path: '/distribution/reservation/reservationSubmitFrom', name: '转预约单', component: () => import('@/views/distribution/reservation/reservationSubmitFrom.vue'), }, ], }, { path: '/distribution/reservation', component: Layout, redirect: '/distribution/reservation/reservationAddFrom', meta: { keepAlive: true, }, children: [ { path: '/distribution/reservation/reservationAddFrom', name: '新增预约单', component: () => import('@/views/distribution/reservation/reservationAddFrom.vue'), meta: { keepAlive: true, }, }, ], }, { path: '/distribution/reservation/atlas', component: Layout, redirect: '/distribution/reservation/atlas', children: [ { path: '/distribution/reservation/atlas', name: '市配地图展示', id: 'id', component: () => import('@/views/distribution/reservation/atlas.vue'), }, ], }, { path: '/distribution/reservation/atlas1', component: Layout, redirect: '/distribution/reservation/atlas1', children: [ { path: '/distribution/reservation/atlas1', name: '配送地图展示', id: 'id', component: () => import('@/views/distribution/reservation/atlas1.vue'), }, ], }, { path: '/distribution/reservation/reservationDetails', component: Layout, redirect: '/distribution/reservation/reservationDetails', children: [ { path: '/distribution/reservation/reservationDetails', name: '预约单详情', id: 'id', component: () => import('@/views/distribution/reservation/reservationDetails.vue'), }, ], }, // { // path: '/distribution/deliverylist/distributionDeliveryList', // component: Layout, // redirect: '/distribution/deliverylist/distributionDeliveryList', // children: [ // { // path: '/distribution/deliverylist/distributionDeliveryList', // id:'id', // name:'name', // component: () => import('@/views/distribution/deliverylist/distributionDeliveryList.vue'), // }, // ], // }, { path: '/distribution/turndelivery/deliveryMarket', component: Layout, redirect: '/distribution/turndelivery/deliveryMarket', children: [ { path: '/distribution/turndelivery/deliveryMarket', name: 'name', id: 'id', component: () => import('@/views/distribution/turndelivery/deliveryMarket.vue'), }, ], }, // { // path: '/distribution/turndelivery/deliveryMarket', // component: Layout, // redirect: '/distribution/turndelivery/deliveryMarket', // children: [ // { // path: '/distribution/turndelivery/deliveryMarket', // name: 'name', // deliveryId:'id', // component: () => import('@/views/distribution/turndelivery/deliveryMarket.vue'), // }, // ], // }, { path: '/distribution/turndelivery', component: Layout, redirect: '/distribution/turndelivery/deliveryDiscuss', children: [ { path: '/distribution/turndelivery/deliveryDiscuss', name: '商配计划', meta: { keepAlive: true, }, component: () => import('@/views/distribution/turndelivery/deliveryDiscuss.vue'), }, ], }, // { // path: '/distribution/turndelivery/deliveryDiscusscopy', // component: Layout, // redirect: '/distribution/turndelivery/deliveryDiscusscopy', // children: [ // { // path: '/distribution/turndelivery/deliveryDiscusscopy', // name: '商配计划测试', // component: () => import('@/views/distribution/turndelivery/deliveryDiscuss.vue'), // }, // ], // }, { path: '/warehouse/warehouseRetentionRecord/warehouseRetentionDetails', component: Layout, redirect: '/warehouse/warehouseRetentionRecord/warehouseRetentionDetails', children: [ { path: '/warehouse/warehouseRetentionRecord/warehouseRetentionDetails', name: '滞留明细' + 'name', component: () => import('@/views/warehouse/warehouseRetentionRecord/warehouseRetentionDetails.vue'), }, ], }, { path: '/basic/property/basicrecordslist', component: Layout, key: 'fullPath', redirect: '/basic/property', children: [ { path: '/basic/property/basicrecordslist', name: '维修总记录', meta: { data: 'data', }, component: () => import(/* webpackChunkName: "views" */ '@/views/basic/property/basicrecordslist.vue'), }, ], }, { path: '/basic/material/basicTripartiteMaterial', component: Layout, redirect: '/basic/material', children: [ { path: '/basic/material/basicTripartiteMaterial', name: '三方物料', meta: { data: 'data', }, component: () => import( /* webpackChunkName: "views" */ '@/views/basic/material/basicTripartiteMaterial.vue' ), }, ], }, { path: '/distribution/inventory', component: Layout, redirect: '/distribution/inventory', children: [ { path: '/distribution/inventory/distrilbutionBillLading', name: '创建提货单', meta: { i18n: 'dict', keepAlive: true, }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/inventory/distrilbutionBillLading.vue'), }, ], }, { path: '/basicdata/brand/basicShopFrom', component: Layout, redirect: '/basicdata/brand/basicShopFrom', children: [ { path: '/basicdata/brand/basicShopFrom', name: '创建门店', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/brand/basicShopFrom.vue'), }, ], }, { path: '/distribution/deliverylist/distributionDeliveryListedt', component: Layout, redirect: '/deliverylist/distributionDeliveryListedt', children: [ { path: '/distribution/deliverylist/distributionDeliveryListedt', name: '配送查看', meta: { i18n: 'dict', keepAlive: true, }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/deliverylist/distributionDeliveryListedt.vue'), }, ], }, // { // path: '/distribution/turndelivery/deliveryDiscuss', // component: Layout, // redirect: '/distribution/turndelivery/deliveryDiscuss', // children: [ // { // path: '/distribution/turndelivery/deliveryDiscuss', // name: '配送编辑', // meta: { // i18n: 'dict', // }, // props: route => ({ // name: route.query.name, // id: route.query.id // }), // component: () => import('@/views/turndelivery/deliverylist/deliveryDiscuss.vue'), // }, // ], // }, { path: '/basicdata/brand/basicdataTripartiteMall', component: Layout, redirect: '/brand/basicdataTripartiteMall', children: [ { path: '/basicdata/brand/basicdataTripartiteMall', name: '三方商城', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/brand/basicdataTripartiteMall.vue'), }, ], }, { path: '/basicdata/brand/basicClientFrom', component: Layout, redirect: '/brand/basicClientFrom', children: [ { path: '/basicdata/brand/basicClientFrom', name: '新增', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/brand/basicClientFrom.vue'), }, ], }, { path: '/basicdata', component: Layout, redirect: '/basicdata/TripartiteMaterial/list', children: [ { path: '/basicdata/TripartiteMaterial/list', name: '三方物料配置', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/TripartiteMaterial/list.vue'), }, { path: '/basicdata/ConfigureBillingAndWarehousing/list', name: '配置开单及入库', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/ConfigureBillingAndWarehousing/list.vue'), }, ], }, { path: '/basicdata/brand/basicClientDetail', component: Layout, redirect: '/brand/basicClientDetail', children: [ { path: '/basicdata/brand/basicClientDetail', name: '查看详情', meta: { i18n: 'dict', }, component: () => import('@/views/basicdata/brand/basicClientDetail.vue'), }, ], }, { path: '/distribution/inventory/distributionStockArticleFrom', component: Layout, redirect: '/inventory/distributionStockArticleFrom', children: [ { path: '/distribution/inventory/distributionStockArticleFrom', name: '转库存品', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/inventory/distributionStockArticleFrom.vue'), }, ], }, { path: '/distribution/inventory/distributionStockArticleDetails', component: Layout, redirect: '/inventory/distributionStockArticleDetails', children: [ { path: '/distribution/inventory/distributionStockArticleDetails', name: '查询订单详情', meta: { i18n: 'dict', keepAlive: true, }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/inventory/distributionStockArticleDetails.vue'), }, ], }, { path: '/distribution/inventory/delivery/Unstoreddetails', component: Layout, redirect: '/distribution/inventory/delivery/Unstoreddetails', children: [ { path: '/distribution/inventory/delivery/Unstoreddetails', name: '未入订单库详情', meta: { i18n: 'dict', keepAlive: true, }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/inventory/delivery/Unstoreddetails.vue'), }, ], }, { path: '/distribution/inventory/distributionStockListDetails', component: Layout, redirect: '/inventory/distributionStockListDetails', children: [ { path: '/distribution/inventory/distributionStockListDetails', name: '查询库存品详情', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/inventory/distributionStockListDetails.vue'), }, ], }, { path: '/distribution/signfor/distributionSignforedt', component: Layout, redirect: '/distribution/distributionSignforedt', children: [ { path: '/distribution/signfor/distributionSignforedt', name: '签收查看', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/signfor/distributionSignforedt.vue'), }, ], }, { path: '/distribution/signdetail/distributionSigndetaledt', component: Layout, redirect: '/distribution/signdetail', children: [ { path: '/distribution/signdetail/distributionSigndetaledt', name: '订单查看', meta: { i18n: 'dict', }, component: () => import('@/views/distribution/signdetail/distributionSigndetaledt.vue'), }, ], }, { path: '/distribution/stockup/distributionStockupDetails', component: Layout, redirect: '/stockup/distributionStockupDetails', children: [ { path: '/distribution/stockup/distributionStockupDetails', name: '备货明细', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/stockup/distributionStockupDetails.vue'), }, ], }, { path: '/distribution/stockup/distributionStockupDetailsSelf', component: Layout, redirect: '/stockup/distributionStockupDetailsSelf', children: [ { path: '/distribution/stockup/distributionStockupDetailsSelf', name: '自提明细', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/stockup/distributionStockupDetailsSelf.vue'), }, ], }, { path: '/distribution/inventory/distrilbutionBillLadingView', component: Layout, redirect: '/inventory/distrilbutionBillLadingView', children: [ { path: '/distribution/inventory/distrilbutionBillLadingView', name: '查看提货详情', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/distribution/inventory/distrilbutionBillLadingView.vue'), }, ], }, { path: '/basicdata/warehouse/tray/basicdataTrayedt', component: Layout, redirect: '/warehouse/tray/basicdataTrayedt', children: [ { path: '/basicdata/warehouse/tray/basicdataTrayedt', name: '在托货物', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/warehouse/tray/basicdataTrayedt.vue'), }, ], }, { path: '/basicdata/warehouse/tray/basicdataTrayhistory', component: Layout, redirect: '/warehouse/tray/basicdataTrayhistory', children: [ { path: '/basicdata/warehouse/tray/basicdataTrayhistory', name: '托盘历史记录', meta: { i18n: 'dict', }, props: route => ({ name: route.query.name, id: route.query.id, }), component: () => import('@/views/basicdata/warehouse/tray/basicdataTrayhistory.vue'), }, ], }, { path: '/basicdata/brand/basicClientDetail', component: Layout, redirect: '/basicdata/brand/basicClientDetail', children: [ { path: '/basicdata/brand/basicClientDetail', name: '客户查看详情', meta: { i18n: 'dict', }, props: route => ({ id: route.query.id, }), component: () => import('@/views/basicdata/brand/basicClientDetail.vue'), }, ], }, { path: '/basicdata/team/basicdataTeamStaff', component: Layout, redirect: '/team/basicdataTeamStaffl', children: [ { path: '/basicdata/team/basicdataTeamStaff', name: '班组列表', meta: { i18n: 'dict', }, props: route => ({ id: route.query.id, }), component: () => import('@/views/basicdata/team/basicdataTeamStaff.vue'), }, ], }, { path: '/basicdata/brand/basicClientAccount', component: Layout, redirect: '/basicdata/brand/basicClient', children: [ { path: '/basicdata/brand/basicClientAccount', name: '客户账号列表', meta: { i18n: 'dict', }, props: route => ({ id: route.query.id, }), component: () => import('@/views/basicdata/brand/basicClientAccount.vue'), }, ], }, { path: '/basicdata/warehouse/warehouse/basicdataWarehouse1', component: Layout, redirect: '/basicdata/warehouse/warehouse', children: [ { path: '/basicdata/warehouse/warehouse/basicdataWarehouse1', name: '仓库资料管理', component: () => import('@/views/basicdata/warehouse/warehouse/basicdataWarehouse1.vue'), }, ], }, { path: '/distribution/checkInventoryTask/createTaskfrom', component: Layout, redirect: '/distribution/checkInventoryTask/createTaskfrom', children: [ { path: '/distribution/checkInventoryTask/createTaskfrom', name: '盘点任务明细', component: () => import('@/views/distribution/checkInventoryTask/createTaskfrom.vue'), }, ], }, // 下面的代码为 商场客户端的页面 { path: '/mail/order/add', component: Layout, redirect: '/mail/order/add', children: [ { path: '/mail/order/add', name: '新建商场预约单', component: () => import('@/views/mail/order/add.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrderAdd', component: Layout, redirect: '/aftersales/aftersalesWorkOrderAdd', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/aftersales/aftersalesWorkOrderAdd', name: '工单新增', component: () => import('@/views/aftersales/aftersalesWorkOrderAdd.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrderTemp', component: Layout, redirect: '/aftersales/aftersalesWorkOrderTemp', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/aftersales/aftersalesWorkOrderTemp', name: '工单模板', component: () => import('@/views/aftersales/aftersalesWorkOrderTemp.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrderInfo', component: Layout, redirect: '/aftersales/aftersalesWorkOrderInfo', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/aftersales/aftersalesWorkOrderInfo', name: '工单详情查看', component: () => import('@/views/aftersales/aftersalesWorkOrderInfo.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrdermodifyTemp', component: Layout, redirect: '/aftersales/aftersalesWorkOrdermodifyTemp', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/aftersales/aftersalesWorkOrdermodifyTemp', name: '修改旧页面', component: () => import('@/views/aftersales/aftersalesWorkOrdermodifyTemp.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrdermodify', component: Layout, redirect: '/aftersales/aftersalesWorkOrdermodify', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/aftersales/aftersalesWorkOrdermodify', name: '工单修改', component: () => import('@/views/aftersales/aftersalesWorkOrdermodify.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrderInfoEnxt', component: Layout, redirect: '/aftersales/aftersalesWorkOrderInfoEnxt', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/aftersales/aftersalesWorkOrderInfoEnxt', name: '编辑重构', component: () => import('@/views/aftersales/aftersalesWorkOrderInfoEnxt.vue'), }, ], }, { path: '/aftersales/aftersalesWorkOrderend', component: Layout, redirect: '/aftersales/aftersalesWorkOrderend', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/aftersales/aftersalesWorkOrderend', name: '工单完结', component: () => import('@/views/aftersales/aftersalesWorkOrderend.vue'), }, ], }, { path: '/aftersales/WorkorderTimeout', component: Layout, redirect: '/aftersales/WorkorderTimeout', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/aftersales/WorkorderTimeout', name: '工单超时罚款', component: () => import('@/views/aftersales/WorkorderTimeout.vue'), }, ], }, { path: '/aftersales/customerService', component: Layout, redirect: '/aftersales/customerService', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/aftersales/customerService', name: '客服回复', component: () => import('@/views/aftersales/customerService.vue'), }, ], }, { path: '/aftersales/DataSynchronization', component: Layout, redirect: '/aftersales/DataSynchronization', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/aftersales/DataSynchronization', name: '数据同步', component: () => import('@/views/aftersales/DataSynchronization.vue'), }, ], }, { path: '/basicdata/warehouse/warehouse/basicdataWarehouseTemp', component: Layout, redirect: '/basicdata/warehouse/warehouse/basicdataWarehouseTemp', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/basicdata/warehouse/warehouse/basicdataWarehouseTemp', name: '仓库信息重构', component: () => import('@/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue'), }, ], }, { path: '/financialsector/Financialse/FinancialWarehousing', component: Layout, redirect: '/financialsector/Financialse/FinancialWarehousing', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/financialsector/Financialse/FinancialWarehousing', name: '仓储模板', component: () => import('@/views/financialsector/Financialse/FinancialWarehousing.vue'), }, { meta: { i18n: 'dict', keepAlive: false, }, path: '/financialsector/Financialse/FinancialBill', name: '新增模板', component: () => import('@/views/financialsector/Financialse/FinancialBill.vue'), }, ], }, { path: '/financialsector/Financialse/FinancialDelivery', component: Layout, redirect: '/financialsector/Financialse/FinancialDelivery', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/financialsector/Financialse/FinancialDelivery', name: '配送模板', component: () => import('@/views/financialsector/Financialse/FinancialDelivery.vue'), }, ], }, { path: '/financialsector/FinanceHome', component: Layout, redirect: '/financialsector/FinanceHome', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/financialsector/FinanceHome', name: '价格体系模板配置', component: () => import('@/views/financialsector/FinanceHome.vue'), }, ], }, { path: '/financialsector/CustomerBaseprice', component: Layout, redirect: '/financialsector/CustomerBaseprice', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/financialsector/CustomerBaseprice', name: '客户基础价格配置', component: () => import('@/views/financialsector/CustomerBaseprice.vue'), }, ], }, { path: '/Pricesystem/PricesyHome', component: Layout, redirect: '/Pricesystem/PricesyHome', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/Pricesystem/PricesyHome', name: '价格体系配置', component: () => import('@/views/Pricesystem/PricesyHome.vue'), }, ], }, // 工单新增拷贝页面 { path: '/aftersales/aftersalesWorkOrderAddCopy', component: Layout, redirect: '/aftersales/aftersalesWorkOrderAddCopy', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/aftersales/aftersalesWorkOrderAddCopy', name: '工单新增拷贝页面', component: () => import('@/views/aftersales/aftersalesWorkOrderAddCopy.vue'), }, ], }, { path: '/warehouse', component: Layout, children: [ // 预入库包件 { meta: { i18n: 'dict', keepAlive: true, }, path: '/warehouse/prewarehousing/PreStoragePackage', name: '预入库包件', component: () => import('@/views/warehouse/prewarehousing/PreStoragePackage.vue'), }, ], }, { path: '/warehouse/warehousesignedorder/SignedDetails', component: Layout, children: [ // 已签订单详情 { meta: { i18n: 'dict', keepAlive: true, }, path: '/warehouse/warehousesignedorder/SignedDetails', name: '已签订单详情', component: () => import('@/views/warehouse/warehousesignedorder/SignedDetails.vue'), }, ], }, // 拆单详情 { path: '/distribution/inventory/delivery/SeparateTheListInfo', component: Layout, children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/distribution/inventory/delivery/SeparateTheListInfo', name: '拆单详情', component: () => import('@/views/distribution/inventory/delivery/SeparateTheListInfo.vue'), }, ], }, { path: '/distribution/signfor/asurcharge', component: Layout, redirect: '/distribution/signfor/asurcharge', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/distribution/signfor/asurcharge', name: '附加费编辑', component: () => import('@/views/distribution/signfor/asurcharge.vue'), }, ], }, // 盘点重构 { path: '/distribution/checkInventoryTask/createTaskTemp', component: Layout, redirect: '/distribution/checkInventoryTask/createTaskTemp', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/distribution/checkInventoryTask/createTaskTemp', name: '盘点旧版', component: () => import('@/views/distribution/checkInventoryTask/createTaskTemp.vue'), }, ], }, { path: '/cost/Deliverycostmanagement/WarehouseTemplateHome', component: Layout, redirect: '/cost/Deliverycostmanagement/WarehouseTemplateHome', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/cost/Deliverycostmanagement/WarehouseTemplateHome', name: '新增配送成本计价模板', component: () => import('@/views/cost/Deliverycostmanagement/WarehouseTemplateHome.vue'), }, ], }, { path: '/basicdata/brand/basicdataCategoryTemp', component: Layout, redirect: '/basicdata/brand/basicdataCategoryTemp', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/basicdata/brand/basicdataCategoryTemp', name: '产品管理重构', component: () => import('@/views/basicdata/brand/basicdataCategoryTemp.vue'), }, ], }, // 数据修复(进入页面自动执行) { path: '/HidePage/DataRecovery', component: Layout, redirect: '/HidePage/DataRecovery', children: [ { meta: { i18n: 'dict', keepAlive: false, }, path: '/HidePage/DataRecovery', name: '数据修复', component: () => import('@/views/HidePage/DataRecovery.vue'), }, ], }, { path: '/reportforms/DeliveryDetailsReport', component: Layout, redirect: '/reportforms/DeliveryDetailsReport', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/reportforms/DeliveryDetailsReport', name: '配送明细详情报表', component: () => import('@/views/reportforms/DeliveryDetailsReport.vue'), }, ], }, { path: '/cost/storagecost/Transferwarehouseorders', component: Layout, redirect: '/cost/storagecost/Transferwarehouseorders', children: [ { meta: { i18n: 'dict', keepAlive: true, }, path: '/cost/storagecost/Transferwarehouseorders', name: '中转仓月度订单明细', component: () => import('@/views/cost/storagecost/Transferwarehouseorders.vue'), }, ], }, ];