12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902 |
- // eslint-disable-next-line
- import {
- UserLayout,
- BasicLayout,
- BlankLayout,
- BigScreen,
- 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: '/newProduct/list/:onlineFalg',
- name: 'oldProductList',
- 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/salesQueryNew',
- component: PageView,
- meta: {
- title: '销售管理',
- icon: 'account-book',
- permission: 'M_salesManagement'
- },
- children: [
- {
- path: '/salesManagement/salesQueryNew',
- redirect: '/salesManagement/salesQueryNew/list',
- name: 'salesQueryNew',
- component: BlankLayout,
- meta: {
- title: '销售单查询',
- icon: 'monitor',
- permission: 'M_salesQueryList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesQueryNewList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/list.vue'),
- meta: {
- title: '销售单列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_salesQueryList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'salesNewDetail',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
- meta: {
- title: '销售单详情',
- icon: 'monitor',
- hidden: true,
- replaceTab: true,
- permission: 'B_salesDetail'
- }
- },
- {
- path: 'detail/:sn',
- name: 'salesNewDetailAudit',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
- meta: {
- title: '销售单审核',
- icon: 'monitor',
- hidden: true,
- replaceTab: true,
- permission: 'B_salesAudit'
- }
- },
- {
- path: 'add/:sn',
- name: 'salesNewAdd',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
- meta: {
- title: '新增销售单',
- icon: 'monitor',
- hidden: true,
- permission: 'B_salesEdit'
- }
- },
- {
- path: 'edit/:sn',
- name: 'salesNewEdit',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
- meta: {
- title: '编辑销售单',
- icon: 'monitor',
- hidden: true,
- permission: 'B_salesEdit'
- }
- },
- {
- path: 'waitDispatch/:salesBillSn',
- name: 'waitDispatchNew',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatchNew/edit.vue'),
- meta: {
- title: '下推销售单',
- icon: 'monitor',
- replaceTab: true,
- hidden: true,
- permission: 'B_salesDispatch'
- }
- },
- {
- path: 'waitCostOrder',
- name: 'waitCostOrder',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitCostOrder/list.vue'),
- meta: {
- title: '待转费用报销单',
- icon: 'monitor',
- hidden: true,
- permission: 'B_salesDispatch'
- }
- }
- ]
- },
- {
- path: '/salesManagement/salesOrderWarehouse',
- redirect: '/salesManagement/salesOrderWarehouse/list',
- name: 'salesOrderWarehouse',
- component: BlankLayout,
- meta: {
- title: '仓库销售单',
- icon: 'vertical-align-bottom',
- permission: 'M_salesOrderWarehouseList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesOrderWarehouseList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/list.vue'),
- meta: {
- title: '仓库销售单列表',
- icon: 'vertical-align-bottom',
- hidden: true,
- permission: 'M_salesOrderWarehouseList'
- }
- },
- {
- path: 'detail/:sn/:wsn',
- name: 'saleOrderDetail',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/detail.vue'),
- meta: {
- title: '仓库销售单列表详情',
- icon: 'vertical-align-bottom',
- replaceTab: true,
- hidden: true,
- permission: 'B_salesOrderWarehouseDetail'
- }
- }
- ]
- },
- {
- 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: 'B_dispatchDetail'
- }
- }
- ]
- },
- {
- 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: '/salesManagement/salesList',
- redirect: '/salesManagement/salesList/list',
- name: 'salesList',
- component: BlankLayout,
- meta: {
- title: '销售一览表',
- icon: 'file-protect',
- permission: 'M_salesList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'salesMainList',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesList/list.vue'),
- meta: {
- title: '销售一览表',
- icon: 'file-protect',
- hidden: true,
- permission: 'M_salesList'
- }
- }
- ]
- }
- ]
- },
- // 销售退货
- {
- 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,
- permission: 'B_salesReturnDetail'
- }
- },
- {
- path: 'salesReturnEdit/:sn/:buyerSn',
- name: 'salesReturnEdit',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/salesReturnEdit.vue'),
- meta: {
- title: '编辑销售退货',
- icon: 'fund',
- hidden: true,
- permission: 'B_salesReturnEdit'
- }
- },
- {
- path: 'custConfirm/:sn/:buyerSn',
- name: 'custConfirm',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/custConfirm/list.vue'),
- meta: {
- title: '客服确认',
- icon: 'fund',
- replaceTab: true,
- hidden: true,
- permission: 'B_salesReturnConfirm'
- }
- }
- ]
- },
- {
- 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,
- permission: 'M_detailPickUp'
- }
- },
- {
- path: 'add',
- name: 'billOfLadingAdd',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
- meta: {
- title: '新增提货单',
- icon: 'fund',
- hidden: true,
- permission: 'B_editPickUp'
- }
- },
- {
- path: 'edit/:sn/:wSn',
- name: 'billOfLadingEdit',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
- meta: {
- title: '编辑提货单',
- icon: 'fund',
- hidden: true,
- permission: 'B_editPickUp'
- }
- }
- ]
- },
- {
- 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,
- permission: 'B_salesReturnReceiving'
- }
- },
- {
- path: 'checking/:sn/:buyerSn',
- name: 'salesReturnCheck',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/checking.vue'),
- meta: {
- title: '品检',
- icon: 'fund',
- hidden: true,
- replaceTab: true,
- permission: 'B_salesReturnCheck'
- }
- }
- ]
- },
- {
- path: '/salesReturnManagement/returnConfirmation',
- redirect: '/salesReturnManagement/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: "salesReturnManagement" */ '@/views/salesReturnManagement/returnConfirmation/list.vue'),
- meta: {
- title: '销售退货确认列表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_returnConfirmationList'
- }
- }
- ]
- },
- {
- path: '/salesReturnManagement/returnSchedule',
- redirect: '/salesReturnManagement/returnSchedule/list',
- name: 'returnSchedule',
- component: BlankLayout,
- meta: {
- title: '退货一览表',
- icon: 'vertical-align-top',
- permission: 'M_returnScheduleList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'returnScheduleList',
- component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnSchedule/list.vue'),
- meta: {
- title: '退货一览表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_returnScheduleList'
- }
- }
- ]
- }
- ]
- },
- // 采购管理
- {
- 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,
- permission: 'B_sparePartsEdit'
- }
- },
- {
- path: 'edit/:id/:sn',
- name: 'bulkWarehousingOrderEdit',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
- meta: {
- title: '编辑散件入库单',
- icon: 'gold',
- hidden: true,
- permission: 'B_sparePartsEdit'
- }
- }
- ]
- },
- {
- path: '/purchasingManagement/purchaseReturn',
- redirect: '/purchasingManagement/purchaseReturn/list',
- name: 'purchaseReturn',
- component: BlankLayout,
- meta: {
- title: '采购退货',
- icon: 'gold',
- permission: 'M_purchaseReturn'
- },
- 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,
- permission: 'B_purchaseReturnEdit'
- }
- },
- {
- path: 'edit',
- name: 'purchaseReturnEdit',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
- meta: {
- title: '编辑采购退货(不抓单)',
- icon: 'gold',
- hidden: true,
- permission: 'B_purchaseReturnEdit'
- }
- },
- {
- path: 'editGrab',
- name: 'purchaseReturnEditGrab',
- component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
- meta: {
- title: '编辑采购退货(抓单)',
- icon: 'gold',
- hidden: true,
- permission: 'B_purchaseReturnEdit'
- }
- }
- ]
- }
- ]
- },
- // 财务管理
- {
- path: '/financialManagement',
- redirect: '/financialManagement/warehousingConfirmation',
- 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/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,
- permission: 'B_fc_detail'
- }
- },
- {
- path: 'edit/:sn',
- name: 'financialCollectionEdit',
- component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
- meta: {
- title: '编辑财务收款',
- icon: 'monitor',
- hidden: true,
- permission: 'B_fc_edit'
- }
- }
- ]
- },
- {
- 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,
- permission: 'B_eRdetail'
- }
- },
- {
- path: 'edit/:sn',
- name: 'expenseReimbursementEdit',
- component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
- meta: {
- title: '编辑费用报销单',
- icon: 'monitor',
- hidden: true,
- permission: 'B_ERtEdit'
- }
- }
- ]
- },
- {
- 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/:warehouseSn',
- name: 'inventoryQueryWarehouseDetail',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
- meta: {
- title: '出入库明细',
- icon: 'monitor',
- replaceTab: true,
- hidden: true,
- permission: 'B_inventoryQuery_rkDetail'
- }
- }
- ]
- },
- {
- 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/inventoryConfirmation',
- redirect: '/inventoryManagement/inventoryConfirmation/list',
- name: 'inventoryConfirmation',
- component: BlankLayout,
- meta: {
- title: '盘点确认',
- icon: 'monitor',
- permission: 'M_inventoryConfirmationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'inventoryConfirmationList',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/list.vue'),
- meta: {
- title: '盘点确认列表',
- icon: 'monitor',
- hidden: true,
- permission: 'M_inventoryConfirmationList'
- }
- },
- {
- path: 'detail/:sn',
- name: 'inventoryConfirmationDetail',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/detail.vue'),
- meta: {
- title: '盘点确认详情',
- icon: 'monitor',
- hidden: true,
- permission: 'B_inventoryConfirmationDetail'
- }
- }
- ]
- },
- {
- 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',
- hidden: true,
- 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,
- permission: 'B_intelligentReplenishment_edit'
- }
- },
- {
- path: 'edit/:sn',
- name: 'intelligentReplenishmentEdit',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
- meta: {
- title: '编辑智能补货',
- icon: 'monitor',
- hidden: true,
- permission: 'B_intelligentReplenishment_edit'
- }
- },
- {
- path: 'set',
- name: 'intelligentReplenishmentSet',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
- meta: {
- title: '基础信息设置',
- icon: 'monitor',
- permission: 'B_intelligentReplenishment_set',
- replaceTab: true,
- hidden: true
- }
- },
- {
- path: 'import',
- name: 'intelligentReplenishmentImport',
- component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
- meta: {
- title: '确认导入',
- icon: 'monitor',
- replaceTab: true,
- 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: 'M_transferOut_edit'
- }
- },
- {
- path: 'edit/:sn/:dealerLevel',
- name: 'transferOutEdit',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
- meta: {
- title: '编辑调拨单',
- icon: 'pull-request',
- hidden: true,
- permission: 'M_transferOut_edit'
- }
- },
- {
- path: 'detail/:sn',
- name: 'transferOutDetail',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
- meta: {
- title: '调拨单详情',
- icon: 'pull-request',
- hidden: true,
- replaceTab: true,
- permission: 'M_transferOut_detail'
- }
- }
- ]
- },
- {
- 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,
- permission: 'B_transferReturnEdit'
- }
- },
- {
- path: 'edit/:sn/:targetType/:dealerLevel',
- name: 'transferReturnEdit',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
- meta: {
- title: '编辑调拨退货单(不抓单)',
- icon: 'pull-request',
- hidden: true,
- permission: 'B_transferReturnEdit'
- }
- },
- {
- path: 'detail/:sn',
- name: 'transferReturnDetail',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
- meta: {
- title: '调拨退货单详情',
- icon: 'pull-request',
- replaceTab: true,
- hidden: true,
- permission: 'M_transferReturnDetail'
- }
- },
- {
- path: 'check/:sn/:grabFlag',
- name: 'transferReturnCheck',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
- meta: {
- title: '调拨退货品检',
- icon: 'fund',
- replaceTab: true,
- hidden: true,
- permission: 'M_transferReturnCheck'
- }
- }
- ]
- },
- {
- path: '/allocationManagement/allocateReturnConfirmation',
- redirect: '/allocationManagement/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: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
- meta: {
- title: '调拨退货确认列表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_allocateReturnConfirmationList'
- }
- }
- ]
- },
- {
- path: '/allocationManagement/allocationList',
- redirect: '/allocationManagement/allocationList/list',
- name: 'allocationList',
- component: BlankLayout,
- meta: {
- title: '调拨一览表',
- icon: 'vertical-align-top',
- permission: 'M_allocationList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'allocationMainList',
- component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
- meta: {
- title: '调拨一览表',
- icon: 'vertical-align-top',
- hidden: true,
- permission: 'M_allocationList'
- }
- }
- ]
- }
- ]
- },
- // 报表
- {
- 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/promotionSalesRealTimeReport',
- redirect: '/reportData/promotionSalesRealTimeReport/index',
- name: 'promotionSalesRealTimeReport',
- component: BlankLayout,
- meta: {
- title: '促销销售单报表',
- icon: 'profile',
- permission: 'M_promotionSalesRealTimeReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'index',
- name: 'promotionSalesRealTimeReportIndex',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
- meta: {
- title: '促销销售单报表',
- icon: 'profile',
- hidden: true,
- permission: 'M_promotionSalesRealTimeReportList'
- }
- }
- ]
- },
- {
- path: '/reportData/tireSalesReport',
- redirect: '/reportData/tireSalesReport/list',
- name: 'tireSalesReport',
- component: BlankLayout,
- meta: {
- title: '轮胎统计报表',
- icon: 'profile',
- permission: 'M_tireSalesReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'tireSalesReportIndex',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/tireSalesReport/list.vue'),
- meta: {
- title: '轮胎统计报表',
- icon: 'profile',
- hidden: true,
- permission: 'M_tireSalesReportList'
- }
- }
- ]
- },
- {
- 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_urchaseReturn'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'urchaseReturnList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
- meta: {
- title: '采购退货单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_urchaseReturnList'
- }
- }
- ]
- },
- {
- path: '/reportData/urchaseDetailReturn',
- redirect: '/reportData/urchaseDetailReturn/detailList',
- name: 'urchaseDetailReturnList',
- component: BlankLayout,
- meta: {
- title: '采购退货单明细报表',
- icon: 'profile',
- permission: 'M_urchaseDetailReturn'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'detailList',
- name: 'urchaseDetailReturnList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
- meta: {
- title: '采购退货单明细报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_urchaseDetailReturnList'
- }
- }
- ]
- },
- {
- 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/billingBackReport',
- redirect: '/reportData/billingBackReport/list',
- name: 'billingBackReport',
- component: BlankLayout,
- meta: {
- title: '开单采退报表',
- icon: 'profile',
- permission: 'M_billingBackReport'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'billingBackReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
- meta: {
- title: '开单采退报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_billingBackReportList'
- }
- }]
- },
- {
- path: '/reportData/billingOrderReport',
- redirect: '/reportData/billingOrderReport/list',
- name: 'billingOrderReport',
- component: BlankLayout,
- meta: {
- title: '开单采退单报表',
- icon: 'profile',
- permission: 'M_billingOrderReport'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'list',
- name: 'billingOrderReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
- meta: {
- title: '开单采退单报表列表',
- icon: 'profile',
- hidden: true,
- permission: 'M_billingOrderReportList'
- }
- }]
- },
- {
- 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/receivedSendStorageReport',
- redirect: '/reportData/receivedSendStorageReport/index',
- name: 'receivedSendStorageReport',
- component: BlankLayout,
- meta: {
- title: '收发存报表',
- icon: 'profile',
- permission: 'M_receivedSendStorageReport'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'index',
- name: 'receivedSendStorageReportIndex',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
- meta: {
- title: '收发存报表',
- icon: 'profile',
- hidden: true,
- permission: 'M_receivedSendStorageReportList'
- }
- }
- ]
- },
- {
- path: '/productRebateReport/index',
- redirect: '/productRebateReport/index/list',
- name: 'productRebateReportList',
- component: BlankLayout,
- meta: {
- title: '产品返利明细表',
- icon: 'profile',
- permission: 'M_productRebateReportList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productRebateReportList',
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
- meta: {
- title: '产品返利明细表',
- icon: 'profile',
- hidden: true,
- permission: 'M_productRebateReportList'
- }
- }
- ]
- }
- // {
- // 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/exportSales',
- component: PageView,
- meta: {
- title: '数据导出',
- icon: 'database',
- 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/newProduct',
- redirect: '/productManagement/newProduct/list/onlineInfo/1',
- name: 'productLaunchInfo',
- component: BlankLayout,
- meta: {
- title: '产品上线信息',
- icon: 'rise',
- permission: 'M_productLaunchInfoList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list/:type/:onlineFalg',
- name: 'productLaunchInfoList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list.vue'),
- meta: {
- title: '产品上线信息列表',
- icon: 'rise',
- hidden: true,
- permission: 'M_productLaunchInfoList'
- }
- }
- ]
- },
- {
- 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/productNotOnline',
- redirect: '/productManagement/productNotOnline/list',
- name: 'productNotOnline',
- component: BlankLayout,
- meta: {
- title: '产品状态信息',
- icon: 'fall',
- permission: 'M_productNotOnlineList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productNotOnlineList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
- meta: {
- title: '产品状态信息列表',
- icon: 'fall',
- hidden: true,
- permission: 'M_productNotOnlineList'
- }
- }
- ]
- },
- {
- 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: '/productManagement/productSourcePath',
- redirect: '/productManagement/productSourcePath/list',
- name: 'productSourcePath',
- component: BlankLayout,
- meta: {
- title: '唯一码追溯列表',
- icon: 'radar-chart',
- permission: 'M_productSourcePathList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'productSourcePathList',
- component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productSourcePath/list.vue'),
- meta: {
- title: '唯一码追溯列表',
- icon: 'radar-chart',
- hidden: true,
- permission: 'M_productSourcePathList'
- }
- }
- ]
- }
- ]
- },
- // 经销商管理
- {
- 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/provincialWarehouseManagement',
- redirect: '/dealerManagement/provincialWarehouseManagement/list',
- name: 'provincialWarehouse',
- component: BlankLayout,
- meta: {
- title: '省仓管理',
- icon: 'share-alt',
- permission: 'M_provincialWarehouse'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'provincialWarehouseList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/list.vue'),
- meta: {
- title: '省仓管理列表',
- icon: 'share-alt',
- hidden: true,
- permission: 'M_provincialWarehouseList'
- }
- },
- {
- path: 'relatedDealers/:sn/:name',
- name: 'relatedDealersList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/relatedDealersList.vue'),
- meta: {
- title: '省仓关联经销商',
- icon: 'share-alt',
- hidden: true,
- replaceTab: true,
- permission: 'M_relatedDealersList'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/marketingDivisionSetNew',
- redirect: '/dealerManagement/marketingDivisionSetNew/list',
- name: 'marketingDivisionSetNew',
- component: BlankLayout,
- meta: {
- title: '营销分区设置',
- icon: 'setting',
- permission: 'M_marketingDivisionSetList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'marketingDivisionSetNewList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
- meta: {
- title: '营销分区列表',
- icon: 'setting',
- hidden: true,
- permission: 'M_marketingDivisionSetList'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/businessOwnerSettings',
- redirect: '/dealerManagement/businessOwnerSettings/list',
- name: 'businessOwnerSettings',
- component: BlankLayout,
- meta: {
- title: '数据权限配置',
- icon: 'stock',
- permission: 'M_businessOwnerSettings'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'businessOwnerSettingsList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
- meta: {
- title: '数据权限配置列表',
- icon: 'stock',
- hidden: true,
- permission: 'M_businessOwnerSettingsList'
- }
- },
- {
- path: 'settingsIndex',
- name: 'categorySet',
- component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
- meta: {
- title: '管辖品类权限设置',
- icon: 'user',
- hidden: true,
- replaceTab: true,
- permission: 'M_settingsIndex'
- }
- }
- ]
- },
- {
- path: '/dealerManagement/dealerZoneSearch',
- redirect: '/dealerManagement/dealerZoneSearch/list',
- name: 'dealerZoneSearch',
- component: BlankLayout,
- meta: {
- title: '经销商所属分区查询',
- icon: 'setting',
- permission: 'M_dealerZoneSearch'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'dealerZoneSearchList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
- meta: {
- title: '经销商所属分区查询',
- icon: 'setting',
- hidden: true,
- permission: 'M_dealerZoneSearchList'
- }
- }
- ]
- }
- ]
- },
- // 供应商管理
- {
- 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/promotionManagement',
- redirect: '/promotionRulesManagement/promotionManagement/list',
- name: 'promotionManagement',
- component: BlankLayout,
- meta: {
- title: '修理厂促销',
- icon: 'file-ppt',
- permission: 'M_promotionManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'promotionManagementList',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
- meta: {
- title: '修理厂促销列表',
- icon: 'file-ppt',
- hidden: true,
- permission: 'M_promotionManagementList'
- }
- }
- ]
- },
- {
- path: '/promotionRulesManagement/dealerPromotions',
- redirect: '/promotionRulesManagement/dealerPromotions/list',
- name: 'dealerPromotionManagement',
- component: BlankLayout,
- meta: {
- title: '经销商促销',
- icon: 'setting',
- permission: 'M_dealerPromotionManagementList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'dealerPromotionManagementList',
- component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
- meta: {
- title: '经销商促销',
- icon: 'setting',
- hidden: true,
- permission: 'M_dealerPromotionManagementList'
- }
- },
- {
- path: 'detail',
- name: 'dealerPromotionManagementDetail',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
- meta: {
- title: '促销活动详情',
- icon: 'thunderbolt',
- hidden: true
- }
- },
- {
- path: 'ruleSet',
- name: 'dealerPromotionManagementRule',
- component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
- meta: {
- title: '促销规则设置',
- icon: 'thunderbolt',
- replaceTab: true,
- hidden: true
- }
- }
- ]
- }
- ]
- },
- // 大屏数据
- {
- path: '/bigStatistics',
- redirect: '/bigStatistics/realTimeSalesReport',
- component: PageView,
- meta: {
- title: '数据统计',
- icon: 'desktop',
- permission: 'M_bigScreenStatistics'
- },
- children: [
- {
- path: '/bigStatistics/realTimeSalesReport',
- redirect: '/bigStatistics/realTimeSalesReport/index',
- name: 'bigRealTimeSalesReport',
- component: BigScreen,
- meta: {
- title: '实时销售看板',
- icon: 'deployment-unit',
- permission: 'M_realTimeSalesReportIndex'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'index',
- name: 'realTimeSalesReportIndex',
- component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
- meta: {
- title: '实时销售看板'
- }
- }
- ]
- },
- {
- path: '/bigStatistics/fPanalysisReport',
- redirect: '/bigStatistics/fPanalysisReport/index',
- name: 'bigfPanalysisReport',
- component: BigScreen,
- meta: {
- title: '加盟商/产品分析',
- icon: 'interaction',
- permission: 'M_fPanalysisReportIndex'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'index',
- name: 'fPanalysisReportIndex',
- component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
- meta: {
- title: '加盟商/产品分析'
- }
- }
- ]
- }
- ]
- },
- // 基础设置
- {
- 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: '/setting/bigScreenSet',
- redirect: '/setting/bigScreenSet/index',
- name: 'bigScreenSet',
- component: BlankLayout,
- meta: {
- title: '大屏参数设置',
- icon: 'sketch',
- permission: 'M_bigScreenSetIndex'
- },
- hideChildrenInMenu: true,
- children: [{
- path: 'index',
- name: 'bigScreenSetIndex',
- component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
- meta: {
- title: '大屏参数设置',
- icon: 'sketch',
- hidden: true,
- permission: 'M_bigScreenSetIndex'
- }
- }]
- },
- {
- path: '/setting/erpMessageManagement',
- redirect: '/setting/erpMessageManagement/list',
- name: 'erpMessageManagement',
- component: BlankLayout,
- meta: {
- title: 'ERP数据同步记录',
- icon: 'sketch',
- permission: 'M_erpMessageList'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'M_erpMessageList',
- component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
- meta: {
- title: 'ERP数据同步列表',
- icon: 'sketch',
- hidden: true,
- permission: 'M_erpMessageList'
- }
- }
- ]
- },
- {
- path: '/setting/checkDingTask',
- redirect: '/setting/checkDingTask/list',
- name: 'checkDingTask',
- component: BlankLayout,
- meta: {
- title: '钉钉审批',
- icon: 'sketch',
- permission: 'M_dingAuditUpdate'
- },
- hideChildrenInMenu: true,
- children: [
- {
- path: 'list',
- name: 'M_dingAuditUpdate',
- component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
- meta: {
- title: '钉钉审批',
- icon: 'sketch',
- hidden: true,
- permission: 'M_dingAuditUpdate'
- }
- }
- ]
- }
- ]
- }
- ]
- },
- {
- 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: '/bigScreen',
- component: BigScreen,
- redirect: '/bigScreen/realTimeSalesReport',
- hidden: true,
- children: [
- {
- path: 'realTimeSalesReport',
- name: 'realTimeSalesReport',
- component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
- meta: {
- title: '实时销售看板'
- }
- },
- {
- path: 'fPanalysisReport',
- name: 'fPanalysisReport',
- component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
- meta: {
- title: '加盟商/产品分析'
- }
- }
- ]
- },
- {
- path: '/404',
- component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
- }
- ]
|