123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397 |
- const routes = [{
- path: '/',
- component: () => import('layouts/MainLayout.vue'),
- children: [
- {
- path: '',
- name: 'web_index',
- component: () => import('pages/Index.vue')
- },
- {
- path: 'stock',
- name: 'stock',
- component: () => import('pages/stock/stock.vue'),
- children: [{
- path: 'management',
- name: 'management',
- component: () => import('pages/stock/management.vue')
-
- },
- {
- path: 'stocklist',
- name: 'stocklist',
- component: () => import('pages/stock/stocklist.vue')
- },
- {
- path: 'stockbinlist',
- name: 'stockbinlist',
- component: () => import('pages/stock/stockbinlist.vue')
- },
- {
- path: 'emptybin',
- name: 'emptybin',
- component: () => import('pages/stock/emptybin.vue')
- },
- {
- path: 'occupiedbin',
- name: 'occupiedbin',
- component: () => import('pages/stock/occupiedbin.vue')
- },
- {
- path: 'binset',
- name: 'binset',
- component: () => import('pages/stock/binset.vue')
- },
-
- // {
- // path: 'cyclecount',
- // name: 'cyclecount',
- // component: () => import('pages/stock/cyclecount.vue')
- // },
- // {
- // path: 'cyclecountrecorder',
- // name: 'cyclecountrecorder',
- // component: () => import('pages/stock/cyclecountrecorder.vue')
- // },
- {
- path: 'handcount',
- name: 'handcount',
- component: () => import('pages/stock/handcount.vue')
- },
- // {
- // path: 'handcountrecorder',
- // name: 'handcountrecorder',
- // component: () => import('pages/stock/handcountrecorder.vue')
- // },
- // {
- // path: 'binset',
- // name: 'binset',
- // component: () => import('pages/stock/binset.vue')
- // },
- // {
- // path: 'binsize',
- // name: 'binsize',
- // component: () => import('pages/stock/binsize.vue')
- // },
- // {
- // path: 'property',
- // name: 'property',
- // component: () => import('pages/stock/property.vue')
- // }
- ]
- },
- {
- path: 'dashboard',
- name: 'dashboard',
- component: () => import('pages/dashboard/dashboard.vue'),
- children: [
- {
- path: 'inboundAndOutbound',
- name: 'inboundAndOutbound',
- component: () => import('pages/dashboard/inboundAndOutbound.vue')
- },
- {
- path:'flows_statements',
- name:'flows_statements',
- component: () => import('pages/dashboard/flows_statements.vue')
- }
-
- ]
- },
- {
- path: 'inbound',
- name: 'inbound',
- component: () => import('pages/inbound/inbound.vue'),
- children: [{
- path: 'asn',
- name: 'asn',
- component: () => import('pages/inbound/asn.vue')
- },
- {
- path: 'predeliverystock',
- name: 'predeliverystock',
- component: () => import('pages/inbound/predeliverystock.vue')
- },
- {
- path: 'preloadstock',
- name: 'preloadstock',
- component: () => import('pages/inbound/preloadstock.vue')
- },
- {
- path: 'presortstock',
- name: 'presortstock',
- component: () => import('pages/inbound/presortstock.vue')
- },
- {
- path: 'sortstock',
- name: 'sortstock',
- component: () => import('pages/inbound/sortstock.vue')
- },
- {
- path: 'shortage',
- name: 'shortage',
- component: () => import('pages/inbound/shortage.vue')
- },
- {
- path: 'more',
- name: 'more',
- component: () => import('pages/inbound/more.vue')
- },
- {
- path: 'asnfinish',
- name: 'asnfinish',
- component: () => import('pages/inbound/asnfinish.vue')
- }
- ]
- },
- {
- path: 'container',
- name: 'container',
- component: () => import('pages/container/container.vue'),
- children: [{
- path: 'containerlist',
- name: 'containerlist',
- component: () => import('pages/container/containerlist.vue')
- },
- {
- path: 'containerdetail',
- name: 'containerdetail',
- component: () => import('pages/container/containerdetail.vue')
- },
- { path:'containeroperate',
- name:'containeroperate',
- component: () => import('pages/container/containeroperate.vue')
- }
- ]
- },
- {
- path: 'outbound',
- name: 'outbound',
- component: () => import('pages/outbound/outbound.vue'),
- children: [{
- path: 'dn',
- name: 'dn',
- component: () => import('pages/outbound/dn.vue')
- },
- {
- path: 'freshorder',
- name: 'freshorder',
- component: () => import('pages/outbound/freshorder.vue')
- },
- {
- path: 'neworder',
- name: 'neworder',
- component: () => import('pages/outbound/neworder.vue')
- },
- {
- path: 'pickstock',
- name: 'pickstock',
- component: () => import('pages/outbound/pickstock.vue')
- },
- {
- path: 'pickedstock',
- name: 'pickedstock',
- component: () => import('pages/outbound/pickedstock.vue')
- },
- {
- path: 'pickinglist',
- name: 'pickinglist',
- component: () => import('pages/outbound/pickinglist.vue')
- },
- {
- path: 'shippedstock',
- name: 'shippedstock',
- component: () => import('pages/outbound/shippedstock.vue')
- },
- {
- path: 'backorder',
- name: 'backorder',
- component: () => import('pages/outbound/backorder.vue')
- },
- {
- path: 'pod',
- name: 'pod',
- component: () => import('pages/outbound/pod.vue')
- }
- ]
- },
- {
- path: 'goods',
- name: 'goods',
- component: () => import('pages/goods/goods.vue'),
- children: [{
- path: 'goodslist',
- name: 'goodslist',
- component: () => import('pages/goods/goodslist.vue')
- },
- {
- path: 'goodsunit',
- name: 'goodsunit',
- component: () => import('pages/goods/goodsunit.vue')
- },
- {
- path: 'goodsclass',
- name: 'goodsclass',
- component: () => import('pages/goods/goodsclass.vue')
- },
- {
- path: 'goodsbrand',
- name: 'goodsbrand',
- component: () => import('pages/goods/goodsbrand.vue')
- },
- {
- path: 'goodscolor',
- name: 'goodscolor',
- component: () => import('pages/goods/goodscolor.vue')
- },
- {
- path: 'goodsspecs',
- name: 'goodsspecs',
- component: () => import('pages/goods/goodsspecs.vue')
- },
- {
- path: 'goodsshape',
- name: 'goodsshape',
- component: () => import('pages/goods/goodsshape.vue')
- },
- {
- path: 'goodsorigin',
- name: 'goodsorigin',
- component: () => import('pages/goods/goodsorigin.vue')
- }
- ]
- },
- {
- path: 'taskpage',
- name: 'taskpage',
- component: () => import('pages/task/taskpage.vue'),
- children: [{
- path: 'task',
- name: 'task',
- component: () => import('pages/task/task.vue')
- }
- ]
- },
- {
- path: 'warehouse',
- name: 'warehouse',
- component: () => import('pages/warehouse/warehouse.vue'),
- children: [{
- path: 'warehouseset',
- name: 'warehouseset',
- component: () => import('pages/warehouse/warehouseset.vue')
- },
- {
- path: 'department',
- name: 'department',
- component: () => import('pages/warehouse/department.vue')
-
- },
- {
- path: 'boundcodetype',
- name: 'boundcodetype',
- component: () => import('pages/warehouse/boundcodetype.vue')
- },
- {
- path: 'boundtype',
- name: 'boundtype',
- component: () => import('pages/warehouse/boundtype.vue')
- },
- {
- path: 'boundbusiness',
- name: 'boundbusiness',
- component: () => import('pages/warehouse/boundbusiness.vue')
- },
- {
- path: 'status',
- name: 'status',
- component: () => import('pages/warehouse/boundstatus.vue')
- },
- {
- path:'product',
- name:'product',
- component: () => import('pages/warehouse/product.vue')
- }
-
- ]
- },
- {
- path: 'staff',
- name: 'staff',
- component: () => import('pages/staff/staff.vue'),
- children: [{
- path: 'stafflist',
- name: 'stafflist',
- component: () => import('pages/staff/stafflist.vue')
- },
- {
- path: 'stafflist_check_code',
- name: 'stafflist_check_code',
- component: () => import('pages/staff/stafflist_check_code.vue')
- },
- {
- path: 'stafftype',
- name: 'stafftype',
- component: () => import('pages/staff/stafftype.vue')
- }
- ]
- },
- {
- path: 'uploadcenter',
- name: 'uploadcenter',
- component: () => import('pages/uploadcenter/upload.vue'),
- children: [{
- path: 'initializeupload',
- name: 'initializeupload',
- component: () => import('pages/uploadcenter/initializeupload.vue')
- },
- {
- path: 'addupload',
- name: 'addupload',
- component: () => import('pages/uploadcenter/addupload.vue')
- }
- ]
- },
- {
- path: 'downloadcenter',
- name: 'downloadcenter',
- component: () => import('pages/downloadcenter/download.vue'),
- children: [{
- path: 'downloadinbound',
- name: 'downloadinbound',
- component: () => import('pages/downloadcenter/downloadinbound.vue')
- }, {
- path: 'downloadoutbound',
- name: 'downloadoutbound',
- component: () => import('pages/downloadcenter/downloadoutbound.vue')
- }, {
- path: 'downloadstocklist',
- name: 'downloadstocklist',
- component: () => import('pages/downloadcenter/downloadstocklist.vue')
- }, {
- path: 'downloadgoodslist',
- name: 'downloadgoodslist',
- component: () => import('pages/downloadcenter/downloadgoodslist.vue')
- }, {
- path: 'downloadbinlist',
- name: 'downloadbinlist',
- component: () => import('pages/downloadcenter/downloadbinlist.vue')
- }]
- }
- ]
- }]
- // Always leave this as last one
- if (process.env.MODE !== 'ssr') {
- routes.push({
- path: '*',
- component: () => import('pages/Error404.vue')
- })
- }
- export default routes
|