1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301 |
- // eslint-disable-next-line
- import {
- UserLayout,
- BasicLayout,
- RouteView,
- BlankLayout,
- PageView
- } from '@/layouts'
- export const asyncRouterMap = [
- {
- path: '/',
- name: 'index',
- component: BasicLayout,
- meta: {
- title: '首页'
- },
- redirect: '/home',
- children: [
- {
- path: '/home',
- name: 'home',
- redirect: '/home',
- component: PageView,
- meta: {
- title: '首页',
- icon: 'home'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: '/home',
- name: 'home',
- redirect: '/home',
- component: BlankLayout,
- meta: {
- title: '首页',
- icon: 'home',
- hidden: true
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: '/home',
- name: 'home',
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
- meta: {
- title: '首页',
- icon: 'home',
- hidden: true
- }
- },
- {
- path: '/changePwd',
- name: 'changePwd',
- component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
- meta: {
- title: '修改密码',
- icon: 'home'
- },
- hidden: true
- },
- {
- path: '/notice',
- name: 'notice',
- component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
- meta: {
- title: '公告',
- icon: 'bell'
- },
- hidden: true
- },
- {
- path: '/dowloadFile',
- name: 'dowloadFile',
- component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
- meta: {
- title: '下载中心',
- icon: 'bell'
- },
- hidden: true
- },
- // 新品列表
- {
- path: '/newProduct/list/:onlineFalg',
- name: 'newProductList',
- component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
- meta: {
- title: '新品信息',
- icon: 'home'
- },
- hidden: true
- },
- // 产品详情
- {
- path: '/viewProduct/:sn',
- name: 'viewProduct',
- component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
- meta: {
- title: '产品详情',
- icon: 'home'
- },
- hidden: true
- }
- ]
- }
- ]
- },
- // 销售管理
- {
- path: '/salesManagement',
- redirect: '/salesManagement/salesQuery',
- component: PageView,
- meta: {
- title: '销售管理',
- icon: 'account-book',
- permission: 'M_salesManagement'
- },
- children: [
- {
- path: '/salesManagement/salesQuery',
- redirect: '/salesManagement/salesQuery/list',
- name: 'salesQuery',
- component: BlankLayout,
- meta: {
- title: '销售单查询',
- icon: 'monitor',
- permission: 'M_salesQueryList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesQueryList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
- meta: {
- title: '销售单列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_salesQueryList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'salesDetail',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
- meta: {
- title: '销售单详情',
- icon: 'monitor',
- hidden: true,
- replaceTab: true
- // permission: 'M_salesDetail'
- }
- },
- {
- path: 'add/:sn',
- name: 'salesAdd',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
- meta: {
- title: '新增销售单',
- icon: 'monitor',
- hidden: true
- // permission: 'M_salesNew'
- }
- },
- {
- path: 'edit/:sn',
- name: 'salesEdit',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
- meta: {
- title: '编辑销售单',
- icon: 'monitor',
- hidden: true
- // permission: 'M_salesNew'
- }
- },
- {
- path: 'waitDispatch/:salesBillSn/:dispatchBillSn',
- name: 'waitDispatch',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatch/edit.vue'),
- meta: {
- title: '下推销售单',
- icon: 'monitor',
- replaceTab: true,
- hidden: true
- // permission: 'M_salesNew'
- }
- }
- ]
- },
- {
- path: '/salesManagement/pushOrderManagement',
- redirect: '/salesManagement/pushOrderManagement/list',
- name: 'pushOrderManagement',
- component: BlankLayout,
- meta: {
- title: '下推订单列表',
- icon: 'vertical-align-bottom',
- permission: 'M_pushOrderManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'pushOrderManagementList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
- meta: {
- title: '下推订单列表',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_pushOrderManagementList'
- }
- },
- {
- path: 'detail/:sn/:type',
- name: 'pushOrderDetail',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
- meta: {
- title: '下推订单详情',
- icon: 'vertical-align-bottom',
- replaceTab: true,
- hidden: true
- // permission: 'M_outboundList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/salesCollection',
- redirect: '/salesManagement/salesCollection/list',
- name: 'salesCollection',
- component: BlankLayout,
- meta: {
- title: '销售收款',
- icon: 'vertical-align-bottom',
- permission: 'M_salesCollectionList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesCollectionList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesCollection/list.vue'),
- meta: {
- title: '销售收款',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_salesCollectionList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/stockPrint',
- redirect: '/salesManagement/stockPrint/list',
- name: 'stockPrint',
- component: BlankLayout,
- meta: {
- title: '备货打印',
- icon: 'vertical-align-bottom',
- permission: 'M_stockPrintList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'stockPrintList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/stockPrint/list.vue'),
- meta: {
- title: '备货打印',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_stockPrintList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/receiptPrint',
- redirect: '/salesManagement/receiptPrint/list',
- name: 'receiptPrint',
- component: BlankLayout,
- meta: {
- title: '收款打印',
- icon: 'vertical-align-bottom',
- permission: 'M_receiptPrintList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'receiptPrintList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/receiptPrint/list.vue'),
- meta: {
- title: '收款打印',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_receiptPrintList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/matchSendOutOrder',
- redirect: '/salesManagement/matchSendOutOrder/list',
- name: 'matchSendOutOrder',
- component: BlankLayout,
- meta: {
- title: '发货对单',
- icon: 'vertical-align-bottom',
- permission: 'M_matchSendOutOrderList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'matchSendOutOrderList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/matchSendOutOrder/list.vue'),
- meta: {
- title: '发货对单',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_matchSendOutOrderList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/examineVerify',
- redirect: '/salesManagement/examineVerify/list',
- name: 'examineVerify',
- component: BlankLayout,
- meta: {
- title: '备货审核',
- icon: 'audit',
- permission: 'M_examineVerifyList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'examineVerifyList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
- meta: {
- title: '备货审核列表',
- icon: 'audit',
- hidden: true,
- permission: 'M_examineVerifyList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/outboundOrder',
- redirect: '/salesManagement/outboundOrder/list',
- name: 'outboundOrder',
- component: BlankLayout,
- meta: {
- title: '出库',
- icon: 'export',
- permission: 'M_outboundOrderList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'outboundOrderList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
- meta: {
- title: '出库列表',
- icon: 'export',
- hidden: true,
- permission: 'M_outboundOrderList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/sendOutOrder',
- redirect: '/salesManagement/sendOutOrder/list',
- name: 'sendOutOrder',
- component: BlankLayout,
- meta: {
- title: '发货单列表',
- icon: 'export',
- permission: 'M_sendOutOrderList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'sendOutOrderList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/sendOutOrder/list.vue'),
- meta: {
- title: '发货单列表',
- icon: 'export',
- hidden: true,
- permission: 'M_sendOutOrderList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/backorder',
- redirect: '/salesManagement/backorder/list',
- name: 'backorder',
- component: BlankLayout,
- meta: {
- title: '销售缺货列表',
- icon: 'exception',
- permission: 'M_backorderList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'backorderList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
- meta: {
- title: '销售缺货列表',
- icon: 'exception',
- hidden: true,
- permission: 'M_backorderList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/shortageStatisticsC',
- redirect: '/salesManagement/shortageStatisticsC/list',
- name: 'shortageStatisticsC',
- component: BlankLayout,
- meta: {
- title: '缺货统计(按客户)',
- icon: 'file-done',
- permission: 'M_shortageStatisticsCList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'shortageStatisticsCList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
- meta: {
- title: '缺货统计(按客户)',
- icon: 'file-done',
- hidden: true,
- permission: 'M_shortageStatisticsCList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/shortageStatisticsP',
- redirect: '/salesManagement/shortageStatisticsP/list',
- name: 'shortageStatisticsP',
- component: BlankLayout,
- meta: {
- title: '缺货统计(按产品)',
- icon: 'file-protect',
- permission: 'M_shortageStatisticsPList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'shortageStatisticsPList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
- meta: {
- title: '缺货统计(按产品)',
- icon: 'file-protect',
- hidden: true,
- permission: 'M_shortageStatisticsPList'
- }
- }
- ]
- },
- {
- path: '/salesManagement/priceInquiry',
- redirect: '/salesManagement/priceInquiry/list',
- name: 'priceInquiry',
- component: BlankLayout,
- meta: {
- title: '价格查询',
- icon: 'file-protect',
- permission: 'M_priceInquiryList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'priceInquiryList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
- meta: {
- title: '价格查询列表',
- icon: 'file-protect',
- hidden: true,
- permission: 'M_priceInquiryList'
- }
- }
- ]
- }
- ]
- },
- // 销售退货
- {
- path: '/salesReturnManagement',
- redirect: '/salesReturnManagement/salesReturn',
- component: PageView,
- meta: {
- title: '销售退货',
- icon: 'export',
- permission: 'M_salesReturnManagement'
- },
- children: [
- {
- path: '/salesReturnManagement/salesReturn',
- redirect: '/salesReturnManagement/salesReturn/list',
- name: 'salesReturn',
- component: BlankLayout,
- meta: {
- title: '销售退货列表',
- icon: 'fund',
- permission: 'M_salesReturnList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesReturnList',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/list.vue'),
- meta: {
- title: '销售退货列表',
- icon: 'fund',
- hidden: true,
- permission: 'M_salesReturnList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'salesReturnDetail',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/detail.vue'),
- meta: {
- title: '销售退货详情',
- icon: 'fund',
- hidden: true
- }
- },
- {
- path: 'salesReturnEdit/:sn/:buyerSn',
- name: 'salesReturnEdit',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/salesReturnEdit.vue'),
- meta: {
- title: '编辑销售退货',
- icon: 'fund',
- hidden: true
- }
- },
- {
- path: 'custConfirm/:sn/:buyerSn',
- name: 'custConfirm',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/custConfirm/list.vue'),
- meta: {
- title: '客服确认',
- icon: 'fund',
- replaceTab: true,
- hidden: true
- }
- }
- ]
- },
- {
- path: '/salesReturnManagement/billOfLading',
- redirect: '/salesReturnManagement/billOfLading/list',
- name: 'billOfLading',
- component: BlankLayout,
- meta: {
- title: '提货单列表',
- icon: 'fund',
- permission: 'M_billOfLadingList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'billOfLadingList',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/list.vue'),
- meta: {
- title: '提货单列表',
- icon: 'fund',
- hidden: true,
- permission: 'M_billOfLadingList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'billOfLadingDetail',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/detail.vue'),
- meta: {
- title: '提货单详情',
- icon: 'fund',
- hidden: true
- }
- },
- {
- path: 'add',
- name: 'billOfLadingAdd',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
- meta: {
- title: '新增提货单',
- icon: 'fund',
- hidden: true
- }
- },
- {
- path: 'edit/:sn',
- name: 'billOfLadingEdit',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
- meta: {
- title: '编辑提货单',
- icon: 'fund',
- hidden: true
- }
- }
- ]
- },
- {
- path: '/salesReturnManagement/pickUp',
- redirect: '/salesReturnManagement/pickUp/list',
- name: 'pickUp',
- component: BlankLayout,
- meta: {
- title: '仓库提货',
- icon: 'fund',
- permission: 'M_pickUpList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'pickUpList',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/pickUp/list.vue'),
- meta: {
- title: '仓库提货列表',
- icon: 'fund',
- hidden: true,
- permission: 'M_pickUpList'
- }
- }
- ]
- },
- {
- path: '/salesReturnManagement/receiveCheck',
- redirect: '/salesReturnManagement/receiveCheck/list',
- name: 'receiveCheck',
- component: BlankLayout,
- meta: {
- title: '收货品检',
- icon: 'fund',
- permission: 'M_receiveCheckList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'receiveCheckList',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/list.vue'),
- meta: {
- title: '收货品检列表',
- icon: 'fund',
- hidden: true,
- permission: 'M_receiveCheckList'
- }
- },
- {
- path: 'receiving/:sn/:buyerSn',
- name: 'salesReturnReceiving',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/receiving.vue'),
- meta: {
- title: '收货',
- icon: 'fund',
- hidden: true,
- replaceTab: true
- }
- },
- {
- path: 'checking/:sn/:buyerSn',
- name: 'salesReturnCheck',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/checking.vue'),
- meta: {
- title: '品检',
- icon: 'fund',
- hidden: true,
- replaceTab: true
- }
- }
- ]
- }
- ]
- },
- // 采购管理
- {
- path: '/purchasingManagement',
- redirect: '/purchasingManagement/purchaseOrder',
- component: PageView,
- meta: {
- title: '采购管理',
- icon: 'money-collect',
- permission: 'M_purchasingManagement'
- },
- children: [
- {
- path: '/purchasingManagement/bulkWarehousingOrder',
- redirect: '/purchasingManagement/bulkWarehousingOrder/list',
- name: 'bulkWarehousingOrder',
- component: BlankLayout,
- meta: {
- title: '散件入库',
- icon: 'gold',
- permission: 'M_bulkWarehousingOrderList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'bulkWarehousingOrderList',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
- meta: {
- title: '散件入库单列表',
- icon: 'gold',
- hidden: true,
- permission: 'M_bulkWarehousingOrderList'
- }
- },
- {
- path: 'add/:id/:sn',
- name: 'bulkWarehousingOrderAdd',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
- meta: {
- title: '新增散件入库单',
- icon: 'gold',
- hidden: true
- }
- },
- {
- path: 'edit/:id/:sn',
- name: 'bulkWarehousingOrderEdit',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
- meta: {
- title: '编辑散件入库单',
- icon: 'gold',
- hidden: true
- }
- }
- ]
- },
- {
- path: '/purchasingManagement/purchaseReturn',
- redirect: '/purchasingManagement/purchaseReturn/list',
- name: 'purchaseReturn',
- component: BlankLayout,
- meta: {
- title: '采购退货',
- icon: 'gold'
- // permission: 'M_purchaseReturnList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'purchaseReturnList',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
- meta: {
- title: '采购退货',
- icon: 'gold',
- hidden: true
- // permission: 'M_purchaseReturnList'
- }
- },
- {
- path: 'add',
- name: 'purchaseReturnAdd',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
- meta: {
- title: '采购退货新增',
- icon: 'gold',
- hidden: true
- }
- },
- {
- path: 'edit',
- name: 'purchaseReturnEdit',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
- meta: {
- title: '采购退货编辑',
- icon: 'gold',
- hidden: true
- }
- }
- ]
- }
- ]
- },
- // 财务管理
- {
- path: '/financialManagement',
- redirect: '/financialManagement/returnConfirmation',
- component: PageView,
- meta: {
- title: '财务管理',
- icon: 'property-safety',
- permission: 'M_financialManagement'
- },
- children: [
- {
- path: '/financialManagement/warehousingConfirmation',
- redirect: '/financialManagement/warehousingConfirmation/list',
- name: 'warehousingConfirmation',
- component: BlankLayout,
- meta: {
- title: '入库确认',
- icon: 'vertical-align-bottom',
- permission: 'M_warehousingConfirmationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'warehousingConfirmationList',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
- meta: {
- title: '入库确认列表',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_warehousingConfirmationList'
- }
- }
- ]
- },
- {
- path: '/financialManagement/returnConfirmation',
- redirect: '/financialManagement/returnConfirmation/list',
- name: 'returnConfirmation',
- component: BlankLayout,
- meta: {
- title: '销售退货确认',
- icon: 'vertical-align-top',
- permission: 'M_returnConfirmationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'returnConfirmationList',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/returnConfirmation/list.vue'),
- meta: {
- title: '销售退货确认列表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_returnConfirmationList'
- }
- }
- ]
- },
- {
- path: '/financialManagement/allocateReturnConfirmation',
- redirect: '/financialManagement/allocateReturnConfirmation/list',
- name: 'allocateReturnConfirmation',
- component: BlankLayout,
- meta: {
- title: '调拨退货确认',
- icon: 'vertical-align-top',
- permission: 'M_allocateReturnConfirmationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'allocateReturnConfirmationList',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/allocateReturnConfirmation/list.vue'),
- meta: {
- title: '调拨退货确认列表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_allocateReturnConfirmationList'
- }
- }
- ]
- },
- {
- path: '/financialManagement/inventoryConfirmation',
- redirect: '/financialManagement/inventoryConfirmation/list',
- name: 'inventoryConfirmation',
- component: BlankLayout,
- meta: {
- title: '盘点确认',
- icon: 'monitor',
- permission: 'M_inventoryConfirmationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'inventoryConfirmationList',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/list.vue'),
- meta: {
- title: '盘点确认列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_inventoryConfirmationList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'inventoryConfirmationDetail',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/detail.vue'),
- meta: {
- title: '盘点确认详情',
- icon: 'monitor',
- hidden: true,
- permission: 'B_inventoryConfirmationDetail'
- }
- }
- ]
- },
- {
- path: '/financialManagement/financialCollection',
- redirect: '/financialManagement/financialCollection/list',
- name: 'financialCollection',
- component: BlankLayout,
- meta: {
- title: '财务收款',
- icon: 'pay-circle',
- permission: 'M_financialCollectionList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'financialCollectionList',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
- meta: {
- title: '财务收款列表',
- icon: 'pay-circle',
- hidden: true,
- permission: 'M_financialCollectionList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'financialCollectionDetail',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
- meta: {
- title: '财务收款详情',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'edit/:sn',
- name: 'financialCollectionEdit',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
- meta: {
- title: '编辑财务收款',
- icon: 'monitor',
- hidden: true
- }
- }
- ]
- },
- {
- path: '/financialManagement/collectionDetailStatic',
- redirect: '/financialManagement/collectionDetailStatic/list',
- name: 'collectionDetailStatic',
- component: BlankLayout,
- meta: {
- title: '财务收款明细统计',
- icon: 'vertical-align-top',
- permission: 'M_FC_Details_list'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'collectionDetailStaticList',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
- meta: {
- title: '财务收款明细统计列表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_FC_Details_list'
- }
- }
- ]
- }
- ]
- },
- // 费用报销
- {
- path: '/expenseManagement',
- redirect: '/expenseManagement/expenseReimbursement',
- component: PageView,
- meta: {
- title: '费用报销',
- icon: 'account-book',
- permission: 'M_expenseManagement'
- },
- children: [
- {
- path: '/expenseManagement/expenseReimbursement',
- redirect: '/expenseManagement/expenseReimbursement/list',
- name: 'expenseReimbursement',
- component: BlankLayout,
- meta: {
- title: '费用报销单',
- icon: 'monitor',
- permission: 'M_expenseReimbursementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'expenseReimbursementList',
- component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
- meta: {
- title: '费用报销单列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_expenseReimbursementList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'expenseReimbursementListDetail',
- component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
- meta: {
- title: '费用报销单详情',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'add',
- name: 'expenseReimbursementAdd',
- component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
- meta: {
- title: '新增费用报销单',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'edit/:sn',
- name: 'expenseReimbursementEdit',
- component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
- meta: {
- title: '编辑费用报销单',
- icon: 'monitor',
- hidden: true
- }
- }
- ]
- },
- {
- path: '/expenseManagement/expenseReimbursementDetail',
- redirect: '/expenseManagement/expenseReimbursementDetail/list',
- name: 'expenseReimbursementDetail',
- component: BlankLayout,
- meta: {
- title: '费用报销明细统计',
- icon: 'audit',
- permission: 'M_expenseReimbursementDetailList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'expenseReimbursementDetailList',
- component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
- meta: {
- title: '费用报销明细统计列表',
- icon: 'audit',
- hidden: true,
- permission: 'M_expenseReimbursementDetailList'
- }
- }
- ]
- }
- ]
- },
- // 库存管理
- {
- path: '/inventoryManagement',
- redirect: '/inventoryManagement/inventoryQuery',
- component: PageView,
- meta: {
- title: '库存管理',
- icon: 'shop',
- permission: 'M_inventoryManagement'
- },
- children: [
- {
- path: '/inventoryManagement/inventoryQuery',
- redirect: '/inventoryManagement/inventoryQuery/list',
- name: 'inventoryQuery',
- component: BlankLayout,
- meta: {
- title: '库存查询',
- icon: 'monitor',
- permission: 'M_inventoryQueryList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'inventoryQueryList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
- meta: {
- title: '库存列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_inventoryQueryList'
- }
- },
- {
- path: 'warehouseDetail/:sn',
- name: 'inventoryQueryWarehouseDetail',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
- meta: {
- title: '出入库明细',
- icon: 'monitor',
- replaceTab: true,
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/inventoryManagement/inventoryCheck',
- redirect: '/inventoryManagement/inventoryCheck/list/0',
- name: 'inventoryCheck',
- component: BlankLayout,
- meta: {
- title: '库存盘点',
- icon: 'monitor',
- permission: 'M_inventoryCheckList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list/:type',
- name: 'inventoryCheckList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
- meta: {
- title: '库存盘点列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_inventoryCheckList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'inventoryCheckDetail',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
- meta: {
- title: '库存盘点详情',
- icon: 'monitor',
- hidden: true,
- replaceTab: true,
- permission: 'B_inventoryCheckDetail'
- }
- }
- ]
- },
- {
- path: '/inventoryManagement/makeInventory',
- redirect: '/inventoryManagement/makeInventory/list',
- name: 'makeInventory',
- component: BlankLayout,
- meta: {
- title: '盘点人盘点',
- icon: 'monitor',
- permission: 'M_inventoryMakeInventoryList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'makeInventoryList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
- meta: {
- title: '盘点人盘点列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_inventoryMakeInventoryList'
- }
- },
- {
- path: 'check/:sn',
- name: 'makeInventoryCheck',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
- meta: {
- title: '盘点人盘点',
- icon: 'monitor',
- hidden: true,
- replaceTab: true,
- permission: 'B_inventoryMakeInventoryCheck'
- }
- }
- ]
- },
- {
- path: '/inventoryManagement/supervisionDisk',
- redirect: '/inventoryManagement/supervisionDisk/list',
- name: 'supervisionDisk',
- component: BlankLayout,
- meta: {
- title: '监盘人盘点',
- icon: 'monitor',
- permission: 'M_supervisionDiskList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'supervisionDiskList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
- meta: {
- title: '监盘人盘点列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_supervisionDiskList'
- }
- },
- {
- path: 'check/:sn',
- name: 'supervisionDiskCheck',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
- meta: {
- title: '监盘人监盘',
- icon: 'monitor',
- replaceTab: true,
- hidden: true,
- permission: 'B_supervisionDiskCheck'
- }
- }
- ]
- },
- {
- path: '/inventoryManagement/inventoryWarning',
- redirect: '/inventoryManagement/inventoryWarning/list',
- name: 'inventoryWarning',
- component: BlankLayout,
- meta: {
- title: '库存预警',
- icon: 'monitor',
- permission: 'M_inventoryWarningList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'inventoryWarningList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
- meta: {
- title: '库存预警列表',
- icon: 'alert',
- permission: 'M_inventoryWarningList'
- }
- }
- ]
- },
- {
- path: '/inventoryManagement/intelligentReplenishment',
- redirect: '/inventoryManagement/intelligentReplenishment/list',
- name: 'intelligentReplenishment',
- component: BlankLayout,
- meta: {
- title: '智能补货',
- icon: 'monitor',
- permission: 'M_intelligentReplenishmentList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'intelligentReplenishmentList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
- meta: {
- title: '智能补货列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_intelligentReplenishmentList'
- }
- },
- {
- path: 'add/:sn',
- name: 'intelligentReplenishmentAdd',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
- meta: {
- title: '新增智能补货',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'edit/:sn',
- name: 'intelligentReplenishmentEdit',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
- meta: {
- title: '编辑智能补货',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'set',
- name: 'intelligentReplenishmentSet',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
- meta: {
- title: '基础信息设置',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'import',
- name: 'intelligentReplenishmentImport',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
- meta: {
- title: '确认导入',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'explainXsbz',
- name: 'intelligentReplenishmentExplainXsbz',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainXsbz.vue'),
- meta: {
- title: '销售保障法-说明',
- icon: 'monitor',
- hidden: true
- }
- },
- {
- path: 'explainQspj',
- name: 'intelligentReplenishmentExplainQspj',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainQspj.vue'),
- meta: {
- title: '趋势平均法-说明',
- icon: 'monitor',
- hidden: true
- }
- }
- ]
- }
- ]
- },
- // 调拨管理
- {
- path: '/allocationManagement',
- redirect: '/allocationManagement/transferOut',
- component: PageView,
- meta: {
- title: '调拨管理',
- icon: 'cluster',
- permission: 'M_allocationManagement'
- },
- children: [
- {
- path: '/allocationManagement/transferOut',
- redirect: '/allocationManagement/transferOut/list',
- name: 'transferOut',
- component: BlankLayout,
- meta: {
- title: '调拨列表',
- icon: 'pull-request',
- permission: 'M_transferOutList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'transferOutList',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
- meta: {
- title: '调拨列表',
- icon: 'pull-request',
- hidden: true,
- permission: 'M_transferOutList'
- }
- },
- {
- path: 'add/:sn/:dealerLevel',
- name: 'transferOutAdd',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
- meta: {
- title: '新增调拨单',
- icon: 'pull-request',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'edit/:sn/:dealerLevel',
- name: 'transferOutEdit',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
- meta: {
- title: '编辑调拨单',
- icon: 'pull-request',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'detail/:sn',
- name: 'transferOutDetail',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
- meta: {
- title: '调拨单详情',
- icon: 'pull-request',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/allocationManagement/transfersPrint',
- redirect: '/allocationManagement/transfersPrint/list',
- name: 'transfersPrint',
- component: BlankLayout,
- meta: {
- title: '调拨打印',
- icon: 'pull-request',
- permission: 'M_transfersPrintList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'transfersPrintList',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
- meta: {
- title: '调拨打印',
- icon: 'pull-request',
- hidden: true,
- permission: 'M_transfersPrintList'
- }
- }
- ]
- },
- {
- path: '/allocationManagement/matchSendOutOrder',
- redirect: '/allocationManagement/matchSendOutOrder/list',
- name: 'matchSendOutOrderAllocation',
- component: BlankLayout,
- meta: {
- title: '调拨发货对单',
- icon: 'vertical-align-bottom',
- permission: 'M_matchSendOutOrderAllocationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'matchSendOutOrderAllocationList',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
- meta: {
- title: '调拨发货对单',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_matchSendOutOrderAllocationList'
- }
- }
- ]
- },
- {
- path: '/allocationManagement/transferReturn',
- redirect: '/allocationManagement/transferReturn/list',
- name: 'transferReturn',
- component: BlankLayout,
- meta: {
- title: '调拨退货列表',
- icon: 'pull-request',
- permission: 'M_transferReturnList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'transferReturnList',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
- meta: {
- title: '调拨退货列表',
- icon: 'pull-request',
- hidden: true,
- permission: 'M_transferReturnList'
- }
- },
- {
- path: 'editGrap/:sn/:targetType',
- name: 'transferReturnGrpEdit',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
- meta: {
- title: '编辑调拨退货单(抓单)',
- icon: 'pull-request',
- hidden: true
- }
- },
- {
- path: 'edit/:sn/:targetType/:dealerLevel',
- name: 'transferReturnEdit',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
- meta: {
- title: '编辑调拨退货单(不抓单)',
- icon: 'pull-request',
- hidden: true
- }
- },
- {
- path: 'detail/:sn',
- name: 'transferReturnDetail',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
- meta: {
- title: '调拨退货单详情',
- icon: 'pull-request',
- replaceTab: true,
- hidden: true
- }
- },
- {
- path: 'check/:sn/:grabFlag',
- name: 'transferReturnCheck',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
- meta: {
- title: '调拨退货品检',
- icon: 'fund',
- replaceTab: true,
- hidden: true
- }
- }
- ]
- }
- ]
- },
- // 报表
- {
- path: '/reportData',
- redirect: '/reportData/salesOrderTotal',
- component: PageView,
- meta: {
- title: '报表',
- icon: 'project',
- permission: 'M_reportData'
- },
- children: [
- {
- path: '/reportData/salesOrderTotal',
- redirect: '/reportData/salesOrderTotal/list',
- name: 'salesOrderTotal',
- component: BlankLayout,
- meta: {
- title: '销售(开单统计)',
- icon: 'profile',
- permission: 'M_salesOrderTotalList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesOrderTotalList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
- meta: {
- title: '销售(开单统计)列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesOrderTotalList'
- }
- }
- ]
- },
- {
- path: '/reportData/salesDetails',
- redirect: '/reportData/salesDetails/list',
- name: 'salesDetails',
- component: BlankLayout,
- meta: {
- title: '销售明细(开单统计)',
- icon: 'profile',
- permission: 'M_salesDetailsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesDetailsList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
- meta: {
- title: '销售明细列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesDetailsList'
- }
- }
- ]
- },
- {
- path: '/reportData/actualSalesReport',
- redirect: '/reportData/actualSalesReport/list',
- name: 'actualSalesReport',
- component: BlankLayout,
- meta: {
- title: '实售销售报表',
- icon: 'profile',
- permission: 'M_actualSalesReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'actualSalesReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
- meta: {
- title: '实售销售列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_actualSalesReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/salesAmountReport',
- redirect: '/reportData/salesAmountReport/list',
- name: 'salesAmountReport',
- component: BlankLayout,
- meta: {
- title: '开单销售报表',
- icon: 'profile',
- permission: 'M_salesAmountReportList'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'salesAmountReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
- meta: {
- title: '开单销售报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesAmountReportList'
- }
- }]
- },
- {
- path: '/reportData/salesSlipReport',
- redirect: '/reportData/salesSlipReport/list',
- name: 'salesSlipReport',
- component: BlankLayout,
- meta: {
- title: '开单销售单报表',
- icon: 'profile',
- permission: 'M_salesSlipReportList'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'salesSlipReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
- meta: {
- title: '开单销售单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesSlipReportList'
- }
- }]
- },
- {
- path: '/reportData/allocationOrderTotal',
- redirect: '/reportData/allocationOrderTotal/list',
- name: 'allocationOrderTotal',
- component: BlankLayout,
- meta: {
- title: '调拨开单统计',
- icon: 'profile',
- permission: 'M_allocationOrderTotalList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'allocationOrderTotalList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
- meta: {
- title: '调拨开单列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_allocationOrderTotalList'
- }
- }
- ]
- },
- {
- path: '/reportData/allocationDetails',
- redirect: '/reportData/allocationDetails/list',
- name: 'allocationDetails',
- component: BlankLayout,
- meta: {
- title: '调拨明细',
- icon: 'profile',
- permission: 'M_allocationDetailsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'allocationDetailsList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
- meta: {
- title: '调拨明细列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_allocationDetailsList'
- }
- }
- ]
- },
- {
- path: '/reportData/urchaseReturn',
- redirect: '/reportData/urchaseReturn/list',
- name: 'urchaseReturnList',
- component: BlankLayout,
- meta: {
- title: '采购退货单报表',
- icon: 'profile'
- // permission: 'M_allocationDetailsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'urchaseReturnList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
- meta: {
- title: '采购退货单报表列表',
- icon: 'profile',
- hidden: true
- // permission: 'M_allocationDetailsList'
- }
- }
- ]
- },
- {
- path: '/reportData/urchaseDetailReturn',
- redirect: '/reportData/urchaseDetailReturn/detailList',
- name: 'urchaseDetailReturnList',
- component: BlankLayout,
- meta: {
- title: '采购退货单明细报表',
- icon: 'profile'
- // permission: 'M_allocationDetailsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'detailList',
- name: 'urchaseDetailReturnList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
- meta: {
- title: '采购退货单明细报表列表',
- icon: 'profile',
- hidden: true
- // permission: 'M_allocationDetailsList'
- }
- }
- ]
- },
- {
- path: '/reportData/salesReturnsReport',
- redirect: '/reportData/salesReturnsReport/list',
- name: 'salesReturnsReport',
- component: BlankLayout,
- meta: {
- title: '销售退货单报表',
- icon: 'profile',
- permission: 'M_salesReturnsReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesReturnsReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
- meta: {
- title: '销售退货单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesReturnsReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/salesReturnDetailReport',
- redirect: '/reportData/salesReturnDetailReport/list',
- name: 'salesReturnDetailReport',
- component: BlankLayout,
- meta: {
- title: '销售退货明细报表',
- icon: 'profile',
- permission: 'M_salesReturnDetailReportList'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'salesReturnDetailReportList',
- component: () => import(/* webpackChunkName: "reportData" */
- '@/views/reportData/salesReturnDetailReport/list.vue'),
- meta: {
- title: '销售退货明细报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesReturnDetailReportList'
- }
- }]
- },
- {
- path: '/reportData/transferReturnReport',
- redirect: '/reportData/transferReturnReport/list',
- name: 'transferReturnReport',
- component: BlankLayout,
- meta: {
- title: '调拨退货单报表',
- icon: 'profile',
- permission: 'M_transferReturnReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'transferReturnReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
- meta: {
- title: '调拨退货单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_transferReturnReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/transferReturnDetailReport',
- redirect: '/reportData/transferReturnDetailReport/list',
- name: 'transferReturnDetailReport',
- component: BlankLayout,
- meta: {
- title: '调拨退货单明细报表',
- icon: 'profile',
- permission: 'M_transferReturnDetailReportList'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'transferReturnDetailReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
- meta: {
- title: '调拨退货单明细报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_transferReturnDetailReportList'
- }
- }]
- },
- {
- path: '/reportData/salesReturnReport',
- redirect: '/reportData/salesReturnReport/list',
- name: 'salesReturnReport',
- component: BlankLayout,
- meta: {
- title: '实售退货报表',
- icon: 'profile',
- permission: 'M_salesReturnReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesReturnReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
- meta: {
- title: '实售退货列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesReturnReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/billingReturnReport',
- redirect: '/reportData/billingReturnReport/list',
- name: 'billingReturnReport',
- component: BlankLayout,
- meta: {
- title: '开单退货报表',
- icon: 'profile',
- permission: 'M_billingReturnReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'billingReturnReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
- meta: {
- title: '开单退货列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_billingReturnReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/returnSlipReport',
- redirect: '/reportData/returnSlipReport/list',
- name: 'returnSlipReport',
- component: BlankLayout,
- meta: {
- title: '开单退货单报表',
- icon: 'profile',
- permission: 'M_returnSlipReportList'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'returnSlipReportList',
- component: () => import(/* webpackChunkName: "reportData" */
- '@/views/reportData/returnSlipReport/list.vue'),
- meta: {
- title: '开单退货单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_returnSlipReportList'
- }
- }]
- },
- {
- path: '/reportData/hPriceDifferenceDetailReport',
- redirect: '/reportData/hPriceDifferenceDetailReport/list',
- name: 'hPriceDifferenceDetailReport',
- component: BlankLayout,
- meta: {
- title: '总部差价明细报表',
- icon: 'profile',
- permission: 'M_hPriceDifferenceDetailReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'hPriceDifferenceDetailReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
- meta: {
- title: '总部差价明细列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_hPriceDifferenceDetailReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/priceDifferenceDetailReport',
- redirect: '/reportData/priceDifferenceDetailReport/list',
- name: 'priceDifferenceDetailReport',
- component: BlankLayout,
- meta: {
- title: '差价明细报表',
- icon: 'profile',
- permission: 'M_priceDifferenceDetailReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'priceDifferenceDetailReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
- meta: {
- title: '差价明细列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_priceDifferenceDetailReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/regionTypeSalesReport',
- redirect: '/reportData/regionTypeSalesReport/list',
- name: 'regionTypeSalesReport',
- component: BlankLayout,
- meta: {
- title: '各省品类实售明细',
- icon: 'profile',
- permission: 'M_regionTypeSalesReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'regionTypeSalesReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
- meta: {
- title: '各省品类实售明细',
- icon: 'profile',
- hidden: true,
- permission: 'M_regionTypeSalesReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/warehousingOrder',
- redirect: '/reportData/warehousingOrder/list',
- name: 'warehousingOrder',
- component: BlankLayout,
- meta: {
- title: '入库单报表',
- icon: 'profile',
- permission: 'M_warehousingOrderList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'warehousingOrderList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
- meta: {
- title: '入库单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_warehousingOrderList'
- }
- }
- ]
- },
- {
- path: '/reportData/warehousingOrderDetail',
- redirect: '/reportData/warehousingOrderDetail/list',
- name: 'warehousingOrderDetail',
- component: BlankLayout,
- meta: {
- title: '入库单明细报表',
- icon: 'profile',
- permission: 'M_warehousingOrderDetailList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'warehousingOrderDetailList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
- meta: {
- title: '入库单明细报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_warehousingOrderDetailList'
- }
- }
- ]
- },
- {
- path: '/reportData/salesPresentation',
- redirect: '/reportData/salesPresentation/list',
- name: 'salesPresentation',
- component: BlankLayout,
- meta: {
- title: '销售交单报表',
- icon: 'profile',
- permission: 'M_salesPresentationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesPresentationList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
- meta: {
- title: '销售交单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_salesPresentationList'
- }
- }
- ]
- },
- {
- path: '/reportData/allocationPresentation',
- redirect: '/reportData/allocationPresentation/list',
- name: 'allocationPresentation',
- component: BlankLayout,
- meta: {
- title: '调拨交单报表',
- icon: 'profile',
- permission: 'M_allocationPresentationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'allocationPresentationList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
- meta: {
- title: '调拨交单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_allocationPresentationList'
- }
- }
- ]
- },
- {
- path: '/reportData/returnGoodsPresentation',
- redirect: '/reportData/returnGoodsPresentation/list',
- name: 'returnGoodsPresentation',
- component: BlankLayout,
- meta: {
- title: '退货交单报表',
- icon: 'profile',
- permission: 'M_returnGoodsPresentationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'returnGoodsPresentationList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
- meta: {
- title: '退货交单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_returnGoodsPresentationList'
- }
- }
- ]
- },
- {
- path: '/reportData/expenseAccountBearerReport',
- redirect: '/reportData/expenseAccountBearerReport/list',
- name: 'expenseAccountBearerReport',
- component: BlankLayout,
- meta: {
- title: '费用汇总报表(按承担方)',
- icon: 'profile',
- permission: 'M_expenseAccountBearerReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'expenseAccountBearerReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
- meta: {
- title: '费用汇总报表(按承担方)',
- icon: 'profile',
- hidden: true,
- permission: 'M_expenseAccountBearerReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/expenseAccountCategoryReport',
- redirect: '/reportData/expenseAccountCategoryReport/list',
- name: 'expenseAccountCategoryReport',
- component: BlankLayout,
- meta: {
- title: '费用汇总报表(按品类)',
- icon: 'profile',
- permission: 'M_expenseAccountCategoryReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'expenseAccountCategoryReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
- meta: {
- title: '费用汇总报表(按品类)',
- icon: 'profile',
- hidden: true,
- permission: 'M_expenseAccountCategoryReportList'
- }
- }
- ]
- }
- // {
- // path: '/reportData/allCountryCostReport',
- // redirect: '/reportData/allCountryCostReport/list',
- // name: 'allCountryCostReport',
- // component: BlankLayout,
- // meta: {
- // title: '全国费用统计报表',
- // icon: 'profile'
- // // permission: 'M_nationalCustomerCostStatisticsList'
- // },
- // hideChildrenInMenu: true,
- // children: [
- // {
- // path: 'list',
- // name: 'allCountryCostReportList',
- // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
- // meta: {
- // title: '全国费用统计报表',
- // icon: 'profile',
- // hidden: true
- // // permission: 'M_nationalCustomerCostStatisticsList'
- // }
- // }
- // ]
- // }
- ]
- },
- // 数据导出
- {
- path: '/dataExport',
- redirect: '/dataExport/exportCheck',
- component: PageView,
- meta: {
- title: '数据导出',
- icon: 'money-collect',
- permission: 'M_dataExport'
- },
- children: [
- {
- path: '/dataExport/exportSales',
- redirect: '/dataExport/exportSales/list',
- name: 'exportSales',
- component: BlankLayout,
- meta: {
- title: '导出销售',
- icon: 'gold',
- permission: 'M_exportSales'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'exportSalesList',
- component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
- meta: {
- title: '导出销售',
- icon: 'gold',
- hidden: true,
- permission: 'M_exportSales'
- }
- }
- ]
- },
- {
- path: '/dataExport/exportCheck',
- redirect: '/dataExport/exportCheck/list',
- name: 'exportCheck',
- component: BlankLayout,
- meta: {
- title: '导出盘点',
- icon: 'gold',
- permission: 'M_exportCheck'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'exportCheckList',
- component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
- meta: {
- title: '导出盘点',
- icon: 'gold',
- hidden: true,
- permission: 'M_exportCheck'
- }
- }
- ]
- }
- ]
- },
- // 产品管理
- {
- path: '/productManagement',
- redirect: '/productManagement/productInfo',
- component: PageView,
- meta: {
- title: '产品管理',
- icon: 'shopping',
- permission: 'M_productManagement'
- },
- children: [
- {
- path: '/productManagement/productInfo',
- redirect: '/productManagement/productInfo/list',
- name: 'productInfo',
- component: BlankLayout,
- meta: {
- title: '产品列表',
- icon: 'gold',
- permission: 'M_productInfoList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productInfoList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
- meta: {
- title: '产品列表',
- icon: 'gold',
- hidden: true,
- permission: 'M_productInfoList'
- }
- },
- {
- path: 'add',
- name: 'productInfoAdd',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
- meta: {
- title: '新增产品',
- icon: 'gold',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'edit/:id/:sn',
- name: 'productInfoEdit',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
- meta: {
- title: '编辑产品',
- icon: 'gold',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/productManagement/productPricing',
- redirect: '/productManagement/productPricing/list',
- name: 'productPricing',
- component: BlankLayout,
- meta: {
- title: '产品定价',
- icon: 'transaction',
- permission: 'M_productPricingList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productPricingList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
- meta: {
- title: '产品定价列表',
- icon: 'transaction',
- hidden: true,
- permission: 'M_productPricingList'
- }
- }
- ]
- },
- {
- path: '/productManagement/productLaunchAudit',
- redirect: '/productManagement/productLaunchAudit/list',
- name: 'productLaunchAudit',
- component: BlankLayout,
- meta: {
- title: '产品上线审核',
- icon: 'rise',
- permission: 'M_productLaunchAuditList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productLaunchAuditList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
- meta: {
- title: '产品上线审核列表',
- icon: 'rise',
- hidden: true,
- permission: 'M_productLaunchAuditList'
- }
- }
- ]
- },
- {
- path: '/productManagement/productOfflineAudit',
- redirect: '/productManagement/productOfflineAudit/list',
- name: 'productOfflineAudit',
- component: BlankLayout,
- meta: {
- title: '产品下线审核',
- icon: 'fall',
- permission: 'M_productOfflineAuditList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productOfflineAuditList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
- meta: {
- title: '产品下线审核列表',
- icon: 'fall',
- hidden: true,
- permission: 'M_productOfflineAuditList'
- }
- }
- ]
- },
- {
- path: '/productManagement/priceChangeRecord',
- redirect: '/productManagement/priceChangeRecord/list',
- name: 'priceChangeRecord',
- component: BlankLayout,
- meta: {
- title: '价格变更记录',
- icon: 'profile',
- permission: 'M_priceChangeRecordList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'priceChangeRecordList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
- meta: {
- title: '价格变更记录列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_priceChangeRecordList'
- }
- }
- ]
- },
- {
- path: '/productManagement/productUniversal',
- redirect: '/productManagement/productUniversal/list',
- name: 'productUniversal',
- component: BlankLayout,
- meta: {
- title: '通用产品管理',
- icon: 'deployment-unit',
- permission: 'M_productUniversalList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productUniversalList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
- meta: {
- title: '通用产品列表',
- icon: 'deployment-unit',
- hidden: true,
- permission: 'M_productUniversalList'
- }
- }
- ]
- },
- {
- path: '/productManagement/productLevel',
- redirect: '/productManagement/productLevel/list',
- name: 'productLevel',
- component: BlankLayout,
- meta: {
- title: '产品级别管理',
- icon: 'fund',
- permission: 'M_productLevelList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productLevelList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
- meta: {
- title: '产品级别列表',
- icon: 'fund',
- hidden: true,
- permission: 'M_productLevelList'
- }
- }
- ]
- },
- {
- path: '/productManagement/productBrand',
- redirect: '/productManagement/productBrand/list',
- name: 'productBrand',
- component: BlankLayout,
- meta: {
- title: '产品品牌管理',
- icon: 'file-ppt',
- permission: 'M_productBrandList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productBrandList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
- meta: {
- title: '产品品牌列表',
- icon: 'file-ppt',
- hidden: true,
- permission: 'M_productBrandList'
- }
- }
- ]
- },
- {
- path: '/productManagement/productCategory',
- redirect: '/productManagement/productCategory/list',
- name: 'productCategory',
- component: BlankLayout,
- meta: {
- title: '产品分类管理',
- icon: 'radar-chart',
- permission: 'M_productCategoryList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productCategoryList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
- meta: {
- title: '产品分类列表',
- icon: 'radar-chart',
- hidden: true,
- permission: 'M_productCategoryList'
- }
- }
- ]
- },
- {
- path: '/productManagement/shelfNoManage',
- redirect: '/productManagement/shelfNoManage/list',
- name: 'shelfNoManage',
- component: BlankLayout,
- meta: {
- title: '货位编号管理',
- icon: 'radar-chart',
- permission: 'M_shelfNoManageList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'shelfNoManageList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
- meta: {
- title: '货位编号管理',
- icon: 'radar-chart',
- hidden: true,
- permission: 'M_shelfNoManageList'
- }
- }
- ]
- }
- ]
- },
- // 经销商管理
- {
- path: '/dealerManagement',
- redirect: '/dealerManagement/marketingDivisionSet',
- component: PageView,
- meta: {
- title: '经销商管理',
- icon: 'idcard',
- permission: 'M_dealerManagement'
- },
- children: [
- {
- path: '/dealerManagement/merchantInfoManagement',
- redirect: '/dealerManagement/merchantInfoManagement/list',
- name: 'merchantInfoManagement',
- component: BlankLayout,
- meta: {
- title: '经销商资料管理',
- icon: 'file-text',
- permission: 'M_merchantInfoManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'merchantInfoManagementList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
- meta: {
- title: '经销商资料列表',
- icon: 'file-text',
- hidden: true,
- permission: 'M_merchantInfoManagementList'
- }
- },
- {
- path: 'add',
- name: 'merchantInfoManagementAdd',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
- meta: {
- title: '新增经销商',
- icon: 'file-text',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'edit/:id',
- name: 'merchantInfoManagementEdit',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
- meta: {
- title: '编辑经销商',
- icon: 'file-text',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'permissionSetting/:sn',
- name: 'merchantInfoManagementSet',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
- meta: {
- title: '经销权设置',
- icon: 'file-text',
- replaceTab: true,
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/dealerAccountManagement',
- redirect: '/dealerManagement/dealerAccountManagement/list',
- name: 'dealerAccountManagement',
- component: BlankLayout,
- meta: {
- title: '经销商账号管理',
- icon: 'team',
- permission: 'M_dealerAccountManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'dealerAccountManagementList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
- meta: {
- title: '经销商账号列表',
- icon: 'team',
- hidden: true,
- permission: 'M_dealerAccountManagementList'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/dealerRelationshipBinding',
- redirect: '/dealerManagement/dealerRelationshipBinding/list',
- name: 'dealerRelationshipBinding',
- component: BlankLayout,
- meta: {
- title: '经销商关系绑定',
- icon: 'share-alt',
- permission: 'M_dealerRelationshipBindingList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'dealerRelationshipBindingList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
- meta: {
- title: '经销商关系绑定列表',
- icon: 'share-alt',
- hidden: true,
- permission: 'M_dealerRelationshipBindingList'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/rebateSettings',
- redirect: '/dealerManagement/rebateSettings/list',
- name: 'rebateSettings',
- component: BlankLayout,
- meta: {
- title: '差价归属设置',
- icon: 'stock',
- permission: 'M_rebateSettingsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'rebateSettingsList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
- meta: {
- title: '差价归属设置列表',
- icon: 'stock',
- hidden: true,
- permission: 'M_rebateSettingsList'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/marketingDivisionSet',
- redirect: '/dealerManagement/marketingDivisionSet/list',
- name: 'marketingDivisionSet',
- component: BlankLayout,
- meta: {
- title: '营销分区设置',
- icon: 'setting',
- permission: 'M_marketingDivisionSetList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'marketingDivisionSetList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSet/list.vue'),
- meta: {
- title: '营销分区列表',
- icon: 'setting',
- hidden: true,
- permission: 'M_marketingDivisionSetList'
- }
- }
- ]
- }
- ]
- },
- // 供应商管理
- {
- path: '/supplierManagement',
- redirect: '/supplierManagement/supplierInfo',
- component: PageView,
- meta: {
- title: '供应商管理',
- icon: 'team',
- permission: 'M_supplierManagement'
- },
- children: [
- {
- path: '/supplierManagement/supplierInfo',
- redirect: '/supplierManagement/supplierInfo/list',
- name: 'supplierInfo',
- component: BlankLayout,
- meta: {
- title: '供应商列表',
- icon: 'team',
- permission: 'M_supplierInfoList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'supplierInfoList',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
- meta: {
- title: '供应商列表',
- icon: 'team',
- hidden: true,
- permission: 'M_supplierInfoList'
- }
- },
- {
- path: 'add',
- name: 'supplierInfoAdd',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
- meta: {
- title: '新增供应商',
- icon: 'team',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'edit/:id',
- name: 'supplierInfoEdit',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
- meta: {
- title: '编辑供应商',
- icon: 'team',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'associatedProduct/:sn/:name',
- name: 'associatedProduct',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
- meta: {
- title: '关联产品',
- icon: 'team',
- replaceTab: true,
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/supplierManagement/costSetting',
- redirect: '/supplierManagement/costSetting/list',
- name: 'costSetting',
- component: BlankLayout,
- meta: {
- title: '成本设置',
- icon: 'build',
- permission: 'M_costSettingList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'costSettingList',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
- meta: {
- title: '成本设置列表',
- icon: 'build',
- hidden: true
- }
- }
- ]
- },
- {
- path: '/supplierManagement/costSetRecord',
- redirect: '/supplierManagement/costSetRecord/list',
- name: 'costSetRecord',
- component: BlankLayout,
- meta: {
- title: '成本变更记录',
- icon: 'build',
- permission: 'M_costSetRecordList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'costSetRecordList',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
- meta: {
- title: '成本变更记录列表',
- icon: 'build',
- hidden: true
- }
- }
- ]
- },
- {
- path: '/supplierManagement/associatedProductDetails',
- redirect: '/supplierManagement/associatedProductDetails/list',
- name: 'associatedProductDetails',
- component: BlankLayout,
- meta: {
- title: '关联产品明细表',
- icon: 'build',
- permission: 'M_associatedProductDetailsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'associatedProductDetailsList',
- component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
- meta: {
- title: '关联产品明细列表',
- icon: 'build',
- hidden: true,
- permission: 'M_associatedProductDetailsList'
- }
- }
- ]
- }
- ]
- },
- // 促销管理
- {
- path: '/promotionRulesManagement',
- redirect: '/promotionRulesManagement/promotionRules',
- component: PageView,
- meta: {
- title: '促销管理',
- icon: 'rocket',
- permission: 'M_promotionRulesManagement'
- },
- children: [
- {
- path: '/promotionRulesManagement/promotionRules',
- redirect: '/promotionRulesManagement/promotionRules/list',
- name: 'promotionRules',
- component: BlankLayout,
- meta: {
- title: '促销规则管理',
- icon: 'thunderbolt',
- permission: 'M_promotionRulesList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'promotionRulesManagementList',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/list.vue'),
- meta: {
- title: '促销规则列表',
- icon: 'thunderbolt',
- hidden: true,
- permission: 'M_promotionRulesList'
- }
- },
- {
- path: 'detail/:id/:sn',
- name: 'promotionRulesManagementDetail',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/detail.vue'),
- meta: {
- title: '促销规则详情',
- icon: 'thunderbolt',
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- },
- {
- path: 'rule/:id/:sn',
- name: 'promotionRulesManagementRule',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/rule.vue'),
- meta: {
- title: '促销规则设置',
- icon: 'thunderbolt',
- replaceTab: true,
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/promotionRulesManagement/orderStatistics',
- redirect: '/promotionRulesManagement/orderStatistics/list',
- name: 'orderStatistics',
- component: BlankLayout,
- meta: {
- title: '促销订单统计',
- icon: 'contacts',
- permission: 'M_orderStatisticsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'orderStatisticsList',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/orderStatistics/list.vue'),
- meta: {
- title: '订单统计列表',
- icon: 'contacts',
- hidden: true,
- permission: 'M_orderStatisticsList'
- }
- }
- ]
- },
- {
- path: '/promotionRulesManagement/productStatistics',
- redirect: '/promotionRulesManagement/productStatistics/list',
- name: 'productStatistics',
- component: BlankLayout,
- meta: {
- title: '促销产品统计',
- icon: 'file-ppt',
- permission: 'M_productStatisticsList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productStatisticsList',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/productStatistics/list.vue'),
- meta: {
- title: '产品统计列表',
- icon: 'file-ppt',
- hidden: true,
- permission: 'M_productStatisticsList'
- }
- }
- ]
- }
- ]
- },
- // 基础设置
- {
- path: '/basicData',
- redirect: '/basicData/warehouse',
- component: PageView,
- meta: {
- title: '基础设置',
- icon: 'pushpin',
- permission: 'M_basicData'
- },
- children: [
- {
- path: '/basicData/warehouse',
- redirect: '/basicData/warehouse/list',
- name: 'warehouse',
- component: BlankLayout,
- meta: {
- title: '仓库管理',
- icon: 'deployment-unit',
- permission: 'M_warehouseList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'warehouseList',
- component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
- meta: {
- title: '仓库列表',
- icon: 'deployment-unit',
- hidden: true,
- permission: 'M_warehouseList'
- }
- },
- {
- path: '/basicData/storingLocation/:sn',
- name: 'storingLocationList',
- component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
- meta: {
- title: '仓位列表',
- icon: 'deployment-unit',
- replaceTab: true,
- hidden: true
- // permission: 'B_goodsManage_edit'
- }
- }
- ]
- },
- {
- path: '/basicData/transferTypeManagement',
- redirect: '/basicData/transferTypeManagement/list',
- name: 'transferTypeManagement',
- component: BlankLayout,
- meta: {
- title: '调拨类型管理',
- icon: 'interaction',
- permission: 'M_transferTypeManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'transferTypeManagementList',
- component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
- meta: {
- title: '调拨类型列表',
- icon: 'interaction',
- hidden: true,
- permission: 'M_transferTypeManagementList'
- }
- }
- ]
- }
- ]
- },
- // 权限管理
- {
- path: '/auth',
- redirect: '/auth/user',
- component: PageView,
- meta: {
- title: '权限管理',
- icon: 'lock',
- permission: 'M_auth_0'
- },
- children: [
- {
- path: '/auth/user',
- redirect: '/auth/user/list',
- name: 'powerUser',
- component: BlankLayout,
- meta: {
- title: '用户管理',
- icon: 'user',
- permission: 'M_userList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'powerUserList',
- component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
- meta: {
- title: '用户管理',
- icon: 'user',
- hidden: true,
- permission: 'M_userList'
- }
- }
- ]
- },
- {
- path: '/auth/role',
- redirect: '/auth/role/list',
- name: 'powerRole',
- component: BlankLayout,
- meta: {
- title: '角色管理',
- icon: 'solution',
- permission: 'M_roleList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'powerRoleList',
- component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
- meta: {
- title: '角色管理',
- icon: 'solution',
- hidden: true,
- permission: 'M_roleList'
- }
- }
- ]
- },
- {
- path: '/auth/adminMenus',
- redirect: '/auth/adminMenus/list',
- name: 'adminMenus',
- component: BlankLayout,
- meta: {
- title: '菜单管理',
- icon: 'appstore',
- permission: 'M_menuList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'adminMenusList',
- component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
- meta: {
- title: '菜单管理',
- icon: 'appstore',
- hidden: true,
- permission: 'M_menuList'
- }
- }
- ]
- }
- ]
- },
- // 系统设置
- {
- path: '/setting',
- redirect: '/setting/dataDictionary',
- component: PageView,
- meta: {
- title: '系统设置',
- icon: 'setting',
- permission: 'M_systemSet'
- },
- children: [
- {
- path: '/setting/dataDictionary',
- redirect: '/setting/dataDictionary/list',
- name: 'dataDictionary',
- component: BlankLayout,
- meta: {
- title: '数据字典管理',
- icon: 'database',
- permission: 'M_dataD_lookup'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'powerDD',
- component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
- meta: {
- title: '数据字典管理',
- icon: 'database',
- hidden: true,
- permission: 'M_dataD_lookup'
- }
- }
- ]
- },
- {
- path: '/setting/OperateJournal',
- redirect: '/setting/OperateJournal/list',
- name: 'OperateJournal',
- component: BlankLayout,
- meta: {
- title: '操作日志',
- icon: 'read',
- permission: 'M_OperateJournalList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'powerOperateJournal',
- component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
- meta: {
- title: '操作日志',
- icon: 'read',
- permission: 'M_OperateJournalList'
- }
- }
- ]
- },
- {
- path: '/setting/noticeManagement',
- redirect: '/setting/noticeManagement/list',
- name: 'noticeManagement',
- component: BlankLayout,
- meta: {
- title: '公告管理',
- icon: 'sketch',
- permission: 'M_noticeManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'noticeManagementList',
- component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
- meta: {
- title: '公告列表',
- icon: 'sketch',
- hidden: true,
- permission: 'M_noticeManagementList'
- }
- }
- ]
- }
- ]
- }
- ]
- },
- {
- path: '*',
- redirect: '/404',
- hidden: true
- }
- ]
- /**
- * 基础路由
- * @type { *[] }
- */
- export const constantRouterMap = [
- {
- path: '/user',
- component: UserLayout,
- redirect: '/user/login',
- hidden: true,
- children: [
- {
- path: 'login',
- name: 'login',
- component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
- },
- {
- path: 'register',
- name: 'register',
- component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
- },
- {
- path: 'register-result',
- name: 'registerResult',
- component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
- },
- {
- path: 'recover',
- name: 'recover',
- component: undefined
- }
- ]
- },
- {
- path: '/404',
- component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
- }
- ]
|