| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539 |
- /**
- * @description router全局配置,如有必要可分文件抽离,其中asyncRoutes只有在intelligence模式下才会用到,pro版只支持remixIcon图标
- * hidden:true 是否显示在菜单中显示路由(默认值:false)
- * alwaysShow:true 当只有一级子路由时是否显示父路由是否显示在菜单中显示路由(默认值:false)
- * name:"Demo" 首字母大写,一定要与vue文件的name对应起来,用于noKeepAlive缓存控制(该项特别重要)
- * meta:{
- title:"title" 菜单、面包屑、多标签页显示的名称
- roles:["admin","..."] 当config/settings.js中rolesControl配置开启时,用于控制角色
- roles: {
- access: ["admin"], access: ["admin"]
- ability: ["READ","WRITE"], ability: ["READ","WRITE"],
- mode: "allOf" allOf: 数组内所有角色都拥有,返回True
- oneOf: 数组内拥有任一角色,返回True(等价第1种数据)
- except: 不拥有数组内任一角色,返回True(取反)
- }
- remixIcon:"" remix图标
- isCustomSvgIcon:false, 是否是自定义svg图标(默认值:false,如果设置true,那么需要把你的svg拷贝到icon/remixIcon下,然后remixIcon字段配置上你的图标名)
- noKeepAlive:true 当前路由是否不缓存(默认值:false)
- affix:true 当前路由是否固定多标签页
- badge:"New" badge小标签(只支持子级)
- tagHidden:true 当前路由是否不显示多标签页
- }
- */
- import Vue from "vue";
- import VueRouter from "vue-router";
- import Layout from "@/layouts";
- import {
- publicPath,
- routerMode
- } from "@/config/settings";
- import * as nodes from "@/access/node";
- Vue.use(VueRouter);
- export const constantRoutes = [{
- path: "/ExpireTip",
- component: () => import("@/views/ExpireTip"),
- hidden: true,
- },
- {
- path: "/login",
- component: () => import("@/views/login"),
- hidden: true,
- },
- //收银台登录
- {
- path: "/CashierLogin",
- name: "CashierLogin",
- hidden: true,
- noKeepAlive: true,
- component: () => import("@/views/CashierShop/CashierLogin"),
- },
- // 多商户登录
- {
- path: "/MerchantsLogin",
- name: "MerchantsLogin",
- hidden: true,
- noKeepAlive: true,
- component: () => import("@/views/login/MerchantsLogin"),
- },
- {
- path: "/401",
- name: "401",
- component: () => import("@/views/401"),
- hidden: true,
- noKeepAlive: true,
- },
- {
- path: "/404",
- name: "404",
- component: () => import("@/views/404"),
- hidden: true,
- noKeepAlive: true,
- },
- {
- path: "/AuthorizePage",
- name: "AuthorizePage",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "授权",
- },
- component: () => import("@/views/common/AuthorizePage"),
- },
- {
- path: "/MenuList",
- name: "MenuList",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "菜单管理",
- },
- component: () => import("@/views/common/MenuList"),
- },
- // 打印
- {
- path: "/OrderPrinting/:userCenterId/:id",
- name: "OrderPrinting",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印订单",
- },
- component: () => import("@/views/order/manageO/OrderPrinting"),
- },
- {
- path: "/OrderPrintingBetch",
- name: "OrderPrintingBetch",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "批量打印订单",
- },
- component: () => import("@/views/order/manageO/OrderPrintingBetch"),
- },
- {
- path: "/OutgoingPrinting/:id",
- name: "OutgoingPrinting",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印出库单",
- },
- component: () => import("@/views/stock/OutIn/OutgoingPrinting"),
- },
- {
- path: "/StoragePrinting/:id",
- name: "StoragePrinting",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印入库单",
- },
- component: () => import("@/views/stock/OutIn/StoragePrinting"),
- },
- {
- path: "/ReturnOrderPrinting/:id",
- name: "ReturnOrderPrinting",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印退货单",
- },
- component: () => import("@/views/order/manageO/ReturnOrderPrinting"),
- },
- {
- path: "/ReconciliationPrint",
- name: "ReconciliationPrint",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印库存日报",
- },
- component: () => import("@/views/MoneyGoodsBill/order/Reconciliation"),
- },
- {
- path: "/ReconciliationSale",
- name: "ReconciliationSale",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印销售日报",
- },
- component: () => import("@/views/MoneyGoodsBill/order/ReconciliationSale"),
- },
- {
- path: "/ReconciliationFinance",
- name: "ReconciliationFinance",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印财务日报",
- },
- component: () =>
- import("@/views/MoneyGoodsBill/order/ReconciliationFinance"),
- },
- {
- path: "/PrintMerchants/:id",
- name: "PrintMerchants",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印商户入库",
- },
- component: () => import("@/views/stock/OutIn/PrintMerchants"),
- },
- {
- path: "/PrintPurchase/:id",
- name: "PrintPurchase",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印采购单",
- },
- component: () => import("@/views/Purchase/ManageP/PrintPurchase"),
- },
- {
- path: "/MerchantsProcurement/:id",
- name: "MerchantsProcurement",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印商户采购单",
- },
- component: () => import("@/views/Purchase/ManageP/MerchantsProcurement"),
- },
- {
- path: "/AllocatingOutbound/:id",
- name: "AllocatingOutbound",
- hidden: true,
- noKeepAlive: true,
- meta: {
- title: "打印调拨出库单",
- },
- component: () => import("@/views/Purchase/ManageP/AllocatingOutbound"),
- },
- // 打印end
- {
- path: "/Enterprise",
- name: "Enterprise",
- noKeepAlive: true,
- component: () => import("@/views/Enterprise/index"),
- hidden: true,
- },
- {
- path: "/CreateStore",
- name: "CreateStore",
- noKeepAlive: true,
- meta: {
- title: "创建企业",
- },
- component: () => import("@/views/Enterprise/CreateStore"),
- hidden: true,
- },
- {
- path: "/EditStore/:id",
- name: "/EditStore",
- noKeepAlive: true,
- meta: {
- title: "编辑企业",
- },
- component: () => import("@/views/Enterprise/CreateStore"),
- hidden: true,
- },
- {
- path: "/SelectStore",
- name: "/SelectStore",
- noKeepAlive: true,
- meta: {
- title: "门店选择",
- },
- component: () => import("@/views/Enterprise/SelectStore"),
- hidden: true,
- },
- {
- path: "/MultiMerchant",
- name: "/MultiMerchant",
- noKeepAlive: true,
- meta: {
- title: "商户选择",
- },
- component: () => import("@/views/Enterprise/MultiMerchant"),
- hidden: true,
- },
- ];
- export const asyncRoutes = [{
- path: "/Edit",
- name: "Edit",
- hidden: true,
- component: Layout,
- children: [{
- path: "EditPwd/:id",
- name: "EditPwd",
- noKeepAlive: true,
- meta: {
- title: "账号设置",
- },
- component: () => import("@/views/login/EditPwd.vue"),
- },
- {
- path: "EditStore/:id",
- name: "EditStore",
- noKeepAlive: true,
- meta: {
- title: "修改企业",
- },
- component: () => import("@/views/Enterprise/CreateStore"),
- hidden: true,
- },
- ],
- },
- {
- path: "/",
- component: Layout,
- redirect: "/index",
- meta: {
- title: "概况",
- remixIcon: "mac-line",
- affix: true,
- },
- children: [{
- path: "index",
- name: "Index",
- component: () => import("@/views/index"),
- noKeepAlive: true,
- meta: {
- title: "经营概况",
- remixIcon: "mac-line",
- affix: true,
- },
- },
- {
- path: "MerchIndex",
- name: "MerchIndex",
- component: () => import("@/viewsMerch/index"),
- noKeepAlive: true,
- meta: {
- title: "经营概况",
- remixIcon: "mac-line",
- },
- },
- {
- path: "test",
- name: "test",
- component: () => import("@/views/index/test"),
- noKeepAlive: true,
- meta: {
- title: "测试vxe-table",
- remixIcon: "mac-line",
- },
- },
- // {
- // path: "tagPrint",
- // name: "tagPrint",
- // component: () => import("@/views/index/tagPrint"),
- // noKeepAlive: true,
- // meta: {
- // title: "标签打印",
- // remixIcon: "mac-line",
- // },
- // },
- ],
- },
- {
- path: "/goods",
- component: Layout,
- redirect: "/goods/manageG/BaseDataList",
- alwaysShow: true,
- meta: {
- title: "商品",
- remixIcon: "shopping-bag-line",
- },
- children: [{
- path: "manageG/GoodsImport",
- name: "GoodsImport",
- component: () => import("@/views/goods/manageG/GoodsImport.vue"),
- meta: {
- title: "导入商品",
- remixIcon: "apps-line",
- // access: nodes.BaseDataList,
- },
- },
- {
- path: "manageG/SingleGoodsImport",
- name: "SingleGoodsImport",
- component: () => import("@/views/goods/manageG/SingleGoodsImport.vue"),
- meta: {
- title: "单店铺导入商品",
- remixIcon: "apps-line",
- // access: nodes.BaseDataList,
- },
- },
- {
- path: "manageG/BaseDataList",
- name: "BaseDataList",
- component: () => import("@/views/goods/manageG/BaseDataList.vue"),
- meta: {
- title: "商品资料",
- remixIcon: "apps-line",
- access: nodes.BaseDataList,
- },
- },
- {
- path: "manageG/EditBaseData/:id",
- name: "EditBaseData",
- hidden: true,
- meta: {
- title: "编辑商品资料",
- remixIcon: "apps-line",
- access: nodes.EditBaseData,
- },
- component: () => import("@/views/goods/manageG/AddBaseData"),
- },
- {
- path: "manageG/AddBaseData",
- name: "AddBaseData",
- hidden: true,
- meta: {
- title: "新建商品资料",
- remixIcon: "apps-line",
- access: nodes.AddBaseData,
- },
- component: () => import("@/views/goods/manageG/AddBaseData"),
- },
- {
- path: "manageG/BaseDataDetail/:id",
- name: "BaseDataDetail",
- hidden: true,
- meta: {
- title: "商品详情",
- remixIcon: "apps-line",
- access: nodes.BaseDataListDetail,
- },
- component: () => import("@/views/goods/manageG/AddBaseData"),
- },
- {
- path: "manageG/GoodsClassify",
- name: "GoodsClassify",
- meta: {
- title: "商品分类",
- remixIcon: "apps-line",
- access: nodes.GoodsClassify,
- },
- component: () => import("@/views/goods/manageG/GoodsClassify"),
- },
- {
- path: "manageG/GoodsGrouping",
- name: "GoodsGrouping",
- meta: {
- title: "商品分组",
- remixIcon: "apps-line",
- access: nodes.GoodsGrouping,
- },
- component: () => import("@/views/goods/manageG/GoodsGrouping"),
- },
- {
- path: "manageG/BrandManage",
- name: "BrandManage",
- meta: {
- title: "商品品牌",
- remixIcon: "apps-line",
- access: nodes.BrandManage,
- },
- component: () => import("@/views/goods/manageG/BrandManage"),
- },
- /* {
- path: 'manageG/AddBrand',
- name: 'AddBrand',
- meta: {
- title: '新增品牌',
- },
- component: () => import('@/views/goods/manageG/AddBrand')
- },
- {
- path: 'manageG/UpdateBrand/:id',
- name: 'UpdateBrand',
- meta: {
- title: '编辑品牌',
- },
- component: () => import('@/views/goods/manageG/AddBrand')
- }, */
- {
- path: "manageG/UnitMeasurement",
- name: "UnitMeasurement",
- meta: {
- title: "单位管理",
- remixIcon: "apps-line",
- access: nodes.UnitSet,
- },
- component: () => import("@/views/goods/manageG/UnitMeasurement"),
- },
- {
- path: "manageG/SpecManage",
- name: "SpecManage",
- meta: {
- title: "属性管理",
- remixIcon: "apps-line",
- access: nodes.specManage,
- },
- component: () => import("@/views/goods/manageG/SpecManage"),
- },
- {
- path: "sale/PublishGoods",
- name: "PublishGoods",
- component: () => import("@/views/goods/sale/PublishGoods.vue"),
- meta: {
- title: "商品列表",
- access: nodes.PublishGoods,
- remixIcon: "apps-line",
- },
- },
- //多商户商品列表
- {
- path: "sale/MerchantsGoods",
- name: "MerchantsGoods",
- component: () => import("@/viewsMerch/goods/GoodsList.vue"),
- meta: {
- title: "商品列表",
- remixIcon: "apps-line",
- },
- },
- {
- path: "sale/AddGoods",
- name: "AddGoods",
- hidden: true,
- meta: {
- title: "发布商品",
- access: nodes.PublishGoodsAddGoods,
- remixIcon: "apps-line",
- },
- component: () => import("@/views/goods/sale/AddGoods"),
- },
- {
- path: "sale/EditGoods/:id",
- name: "EditGoods",
- hidden: true,
- meta: {
- title: "修改商品",
- access: nodes.PublishGoodsEditGoods,
- remixIcon: "apps-line",
- },
- component: () => import("@/views/goods/sale/AddGoods"),
- },
- {
- path: "sale/AddGoodsOneStore",
- name: "AddGoodsOneStore",
- hidden: true,
- meta: {
- title: "新建商品",
- remixIcon: "apps-line",
- access: nodes.PublishGoodsAddBasicAndPublishGoods,
- },
- component: () => import("@/views/goods/sale/AddGoodsOneStore"),
- },
- {
- path: "sale/EditGoodsOneStore/:id",
- name: "EditGoodsOneStore",
- hidden: true,
- meta: {
- title: "修改商品",
- remixIcon: "apps-line",
- access: nodes.PublishGoodsEditQuickGoods,
- },
- component: () => import("@/views/goods/sale/AddGoodsOneStore"),
- },
- {
- path: "sale/GoodsDetail/:id",
- name: "GoodsDetail",
- hidden: true,
- meta: {
- title: "商品详请",
- remixIcon: "apps-line",
- access: nodes.PublishGoodsGetGoodsInfo,
- },
- component: () => import("@/views/goods/sale/GoodsDetail"),
- },
- {
- path: "sale/UpdateGoods/:id",
- name: "UpdateGoods",
- hidden: true,
- meta: {
- title: "编辑商品",
- remixIcon: "apps-line",
- access: nodes.PublishGoodsEditGoods,
- },
- component: () => import("@/views/goods/sale/AddGoods"),
- },
- // 商品服务
- {
- path: "goodsemprego/GoodsEmprego",
- name: "GoodsEmprego",
- hidden: true,
- meta: {
- title: "商品服务",
- remixIcon: "apps-line",
- access: nodes.GoodsEmprego,
- },
- component: () => import("@/views/goods/goodsemprego/GoodsEmprego"),
- },
- {
- path: "sale/priceTable",
- name: "priceTable",
- meta: {
- title: "价格管理",
- remixIcon: "bookmark-3-line",
- },
- component: () => import("@/views/goods/sale/PriceTable"),
- },
- {
- path: "sale/CostumeAdjustPrice",
- name: "CostumeAdjustPrice",
- meta: {
- title: "客户调价单",
- remixIcon: "bookmark-3-line",
- access: nodes.CostumeAdjustPrice,
- },
- component: () => import("@/views/goods/sale/CostumeAdjustPrice"),
- },
- {
- path: "sale/CostumeAdjustPriceAdd",
- name: "CostumeAdjustPriceAdd",
- hidden: true,
- meta: {
- title: "新建客户调价单",
- remixIcon: "bookmark-3-line",
- access: nodes.CostumeAdjustPriceAdd,
- },
- component: () => import("@/views/goods/sale/CostumeAdjustPriceAdd"),
- },
- {
- path: "sale/CustomerTypeAdjustPrice",
- name: "CustomerTypeAdjustPrice",
- meta: {
- title: "客户类型调价单",
- remixIcon: "bookmark-3-line",
- access: nodes.CustomerTypeAdj,
- },
- component: () => import("@/views/goods/sale/CustomerTypeAdjustPrice"),
- },
- {
- path: "sale/CostumeTypeAdjustPriceAdd",
- name: "CostumeTypeAdjustPriceAdd",
- hidden: true,
- meta: {
- title: "新建客户类型调价单",
- remixIcon: "bookmark-3-line",
- access: nodes.CustomerTypeAdjAdd,
- },
- component: () => import("@/views/goods/sale/CostumeTypeAdjustPriceAdd"),
- },
- {
- path: "sale/AdjustPrice",
- name: "AdjustPrice",
- meta: {
- title: "商品调价单",
- remixIcon: "bookmark-3-line",
- access: nodes.AdjustPrice,
- },
- component: () => import("@/views/goods/sale/AdjustPrice"),
- },
- {
- path: "sale/AdjustPriceGoods",
- name: "AdjustPriceGoods",
- meta: {
- title: "调价单",
- remixIcon: "bookmark-3-line",
- },
- component: () => import("@/views/goods/sale/AdjustPriceGoods"),
- },
- {
- path: "sale/AddGoodsAdjustPrice",
- name: "AddGoodsAdjustPrice",
- hidden: true,
- meta: {
- title: "新建商品调价单",
- remixIcon: "bookmark-3-line",
- access: nodes.AdjustPriceAdd,
- },
- component: () => import("@/views/goods/sale/AddGoodsAdjustPrice"),
- },
- // 预约订单
- {
- path: "item/OrderItem",
- name: "OrderItem",
- meta: {
- title: "服务项目",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/goods/item/OrderItem"),
- },
- {
- path: "item/AddItem",
- name: "AddItem",
- meta: {
- title: "新增服务项目",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/goods/item/components/addItem"),
- },
- {
- path: "item/editItem",
- name: "EditItem",
- meta: {
- title: "编辑服务项目",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/goods/item/components/addItem"),
- },
- ],
- },
- {
- path: "/order",
- name: "Order",
- component: Layout,
- redirect: "/order/manageO/orderQuery",
- alwaysShow: true,
- meta: {
- title: "订单",
- remixIcon: "file-list-2-line",
- },
- children: [
- /* {
- path: "manageO/newOrderList",
- name: "NewOrderList",
- meta: {
- title: "新订单列表",
- access: nodes.newOrderList,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/NewOrderList"),
- },*/
- {
- path: "manageO/orderQuery",
- name: "OrderQuery",
- meta: {
- title: "订货单",
- access: nodes.orderQuery,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/NewOrderList"),
- },
- {
- path: "manageO/OrderDetails/:userCenterId/:id",
- name: "OrderDetails",
- meta: {
- title: "订单详情",
- // access: nodes.OrderDetails,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/OrderDetails"),
- },
- {
- path: "manageO/selfOrder",
- name: "SelfOrder",
- meta: {
- title: "自提单",
- access: nodes.selfOrder,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/NewOrderList"),
- },
- /*{
- path: "manageO/CancelOrder",
- name: "CancelOrder",
- meta: {
- title: "已取消",
- access: nodes.CancelOrder,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/CancelOrder"),
- },*/
- {
- path: "manageO/OrderAdd",
- name: "OrderAdd",
- meta: {
- title: "代客下单",
- access: nodes.OrderAdd,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/OrderAdd"),
- },
- {
- path: "manageO/OrderEdit/:userCenterId/:id",
- name: "OrderEdit",
- hidden: true,
- meta: {
- title: "编辑订单",
- access: nodes.newOrderListEdit,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/OrderAdd"),
- },
- {
- path: "manageO/ReturnWarehousingOrder",
- name: "ReturnWarehousingOrder",
- meta: {
- title: "退货单",
- access: nodes.ReturnWarehousingOrder,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/ReturnWarehousingOrder"),
- },
- {
- path: "manageO/AddWareOrder",
- name: "AddWareOrder",
- hidden: true,
- meta: {
- title: "新增退货单",
- access: nodes.ReturnWarehousingOrderAddOrderReturn,
- },
- component: () => import("@/views/order/manageO/AddWareOrder"),
- },
- {
- path: "manageO/EditWareOrder/:id",
- name: "EditWareOrder",
- hidden: true,
- meta: {
- title: "编辑退货单",
- access: nodes.ReturnWarehousingOrderUpdateOrderReturn,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/AddWareOrder"),
- },
- {
- path: "manageO/LookWareOrder/:id",
- name: "LookWareOrder",
- hidden: true,
- meta: {
- title: "查看退货单",
- access: nodes.ReturnWarehousingOrderGetOrderReturn,
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/order/manageO/LookWareOrder"),
- },
- /* {
- path: "saleO/AddSaleOrder",
- name: "AddSaleOrder",
- meta: {
- title: "创建销售单",
- access: nodes.addSaleOrder,
- remixIcon: "bill-line",
- },
- component: () => import("@/views/order/saleO/AddSaleOrder"),
- },
- {
- path: "saleO/SaleOrderList",
- name: "SaleOrderList",
- meta: {
- title: "销售单列表",
- access: nodes.saleOrderList,
- remixIcon: "bill-line",
- },
- component: () => import("@/views/order/saleO/SaleOrderList"),
- },*/
- {
- path: "SaleTotalForm/GoodsForm",
- name: "GoodsForm",
- meta: {
- title: "商品汇总表",
- access: nodes.OrderStatistics,
- remixIcon: "file-text-line",
- },
- component: () => import("@/views/order/SaleTotalForm/TotalForm"),
- },
- {
- path: "SaleTotalForm/CustomerForm",
- name: "CustomerForm",
- meta: {
- title: "客户汇总表",
- access: nodes.OrderStatistics,
- remixIcon: "file-text-line",
- },
- component: () => import("@/views/order/SaleTotalForm/TotalForm"),
- },
- {
- path: "SaleTotalForm/StaffForm",
- name: "StaffForm",
- meta: {
- title: "人员汇总表",
- access: nodes.OrderStatistics,
- remixIcon: "file-text-line",
- },
- component: () => import("@/views/order/SaleTotalForm/TotalForm"),
- },
- {
- path: "SaleTotalForm/SaleSummary",
- name: "SaleSummary",
- hidden: true,
- meta: {
- title: "销售毛利明细表(不含税价)",
- remixIcon: "file-text-line",
- },
- component: () => import("@/views/order/SaleTotalForm/SaleSummary"),
- },
- ],
- },
- {
- path: "/Customer",
- name: "Customer",
- component: Layout,
- redirect: "/Customer/CustomerAdmin/CustomerList",
- alwaysShow: true,
- meta: {
- title: "客户",
- remixIcon: "contacts-line",
- },
- children: [{
- path: "CustomerAdmin/CustomerImport",
- name: "CustomerImport",
- meta: {
- title: "导入客户",
- remixIcon: "bookmark-3-line",
- // access: nodes.CostumeAdjustPrice,
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerImport.vue"),
- },
- {
- path: "CustomerAdmin/CustomerList",
- name: "CustomerList",
- meta: {
- title: "客户列表",
- access: nodes.CustomerList,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerList.vue"),
- },
- {
- path: "CustomerAdmin/SaldoDetail",
- name: "SaldoDetail",
- meta: {
- title: "余额明细",
- remixIcon: "user-3-line",
- access: nodes.CustomerListSaldoDetail,
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/SaldoDetail.vue"),
- },
- // 积分明细
- {
- path: "CustomerAdmin/IntegralDetail/:id",
- name: "IntegralDetail",
- hidden: true,
- meta: {
- title: "股权明细",
- remixIcon: "user-3-line",
- access: nodes.CustomerListIntegralDetail,
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/IntegralDetail.vue"),
- },
- {
- path: "CustomerAdmin/AddCustomer",
- name: "AddCustomer",
- hidden: true,
- meta: {
- title: "新增客户",
- access: nodes.CustomerListAddCustomer,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/AddCustomer.vue"),
- },
- {
- path: "CustomerAdmin/EditCustomer/:id",
- name: "EditCustomer",
- hidden: true,
- meta: {
- title: "编辑客户",
- access: nodes.CustomerListEditCustomer,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/AddCustomer.vue"),
- },
- {
- path: "CustomerAdmin/CustomerDetail/:id",
- name: "CustomerDetail",
- hidden: true,
- meta: {
- title: "客户详情",
- access: nodes.CustomerListGetCustomerInfo,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerDetail.vue"),
- },
- {
- path: "CustomerAdmin/CustomerType",
- name: "CustomerType",
- meta: {
- title: "客户类型",
- access: nodes.CustomerType,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerType.vue"),
- },
- {
- path: "CustomerAdmin/LabelManagement",
- name: "LabelManagement",
- meta: {
- title: "标签管理",
- remixIcon: "user-3-line",
- access: nodes.LabelManagement,
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/LabelManagement.vue"),
- },
- {
- path: "CustomerAdmin/CustomerQuery",
- name: "CustomerQuery",
- meta: {
- title: "客户查询",
- access: nodes.CustomerQuery,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerQuery.vue"),
- },
- {
- path: "CustomerAdmin/CustomerClustering",
- name: "CustomerClustering",
- hidden: true,
- meta: {
- title: "客户分群",
- access: nodes.CustomerClustering,
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerClustering.vue"),
- },
- {
- path: "CustomerAdmin/AddClustering",
- name: "AddClustering",
- hidden: true,
- meta: {
- title: "新建人群",
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/AddClustering.vue"),
- },
- {
- path: "CustomerAdmin/EditClustering/:id",
- name: "EditClustering",
- hidden: true,
- meta: {
- title: "编辑人群",
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/AddClustering.vue"),
- },
- {
- path: "CustomerAdmin/ClusteringAnalyze/:id",
- name: "ClusteringAnalyze",
- hidden: true,
- meta: {
- title: "人群分析",
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/ClusteringAnalyze.vue"),
- },
- {
- path: "CustomerCheck/NotCheck",
- name: "NotCheck",
- meta: {
- title: "未审核",
- access: nodes.NotCheck,
- remixIcon: "user-star-line",
- },
- component: () =>
- import("@/views/Customer/CustomerCheck/CustomerCheck.vue"),
- },
- {
- path: "CustomerCheck/noPerfectData",
- name: "NoPerfectData",
- meta: {
- title: "待完善资料",
- access: nodes.getAuditAllCustomer,
- remixIcon: "user-star-line",
- },
- component: () =>
- import("@/views/Customer/CustomerCheck/CustomerCheck.vue"),
- },
- {
- path: "CustomerBehavior/BrowsingHistory",
- name: "BrowsingHistory",
- meta: {
- title: "浏览记录",
- remixIcon: "user-star-line",
- access: nodes.CustomerBehaviorBrowsingHistory,
- },
- component: () =>
- import("@/views/Customer/CustomerBehavior/BrowsingHistory.vue"),
- },
- {
- path: "CustomerBehavior/PurchaseHistory",
- name: "PurchaseHistory",
- meta: {
- title: "购买记录",
- remixIcon: "user-star-line",
- access: nodes.CustomerBehaviorPurchaseHistory,
- },
- component: () =>
- import("@/views/Customer/CustomerBehavior/PurchaseHistory.vue"),
- },
- {
- path: "CustomerBehavior/DemandReporting",
- name: "DemandReporting",
- meta: {
- title: "需求提报",
- remixIcon: "user-star-line",
- access: nodes.CustomerBehaviorDemandReporting,
- },
- component: () =>
- import("@/views/Customer/CustomerBehavior/DemandReporting.vue"),
- },
- {
- path: "CustomerStatements/AnomalyAnalysisTable",
- name: "AnomalyAnalysisTable",
- meta: {
- title: "异常客户分析表",
- access: nodes.CustomerStatementsAnomalyAnalysisTable,
- remixIcon: "user-star-line",
- },
- component: () =>
- import(
- "@/views/Customer/CustomerStatements/AnomalyAnalysisTable.vue"
- ),
- },
- {
- path: "CustomerStatements/PullNewStatistics",
- name: "PullNewStatistics",
- meta: {
- title: "拉新统计",
- remixIcon: "user-star-line",
- access: nodes.CustomerStatementsPullNewStatistics,
- },
- component: () =>
- import("@/views/Customer/CustomerStatements/PullNewStatistics.vue"),
- },
- {
- path: "CustomerStatements/VisitRepor",
- name: "VisitRepor",
- meta: {
- title: "拜访报表",
- remixIcon: "user-star-line",
- access: nodes.CustomerStatementsVisitRepor,
- },
- component: () =>
- import("@/views/Customer/CustomerStatements/VisitRepor.vue"),
- },
- {
- path: "CustomerStatements/CustomerMap",
- name: "CustomerMap",
- meta: {
- title: "客户分布图",
- remixIcon: "user-star-line",
- access: nodes.CustomerStatementsCustomerDistribution,
- },
- component: () =>
- import("@/views/Customer/CustomerStatements/CustomerMap.vue"),
- },
- // {
- // path: "CustomerStatements/StaffPullNewStatistics",
- // name: "StaffPullNewStatistics",
- // meta: {
- // title: "员工拉新统计",
- // remixIcon: "user-star-line",
- // },
- // component: () =>
- // import(
- // "@/views/Customer/CustomerStatements/StaffPullNewStatistics.vue"
- // ),
- // },
- ],
- },
- {
- path: "/Purchase",
- component: Layout,
- redirect: "/Purchase/ManageP/PurchaseOrder",
- alwaysShow: true,
- meta: {
- title: "采购",
- remixIcon: "shopping-cart-line",
- },
- children: [{
- path: "ManageP/Supplier",
- name: "Supplier",
- meta: {
- title: "供应商管理",
- access: nodes.Supplier,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/Supplier"),
- },
- {
- path: "ManageP/Stockout",
- name: "Stockout",
- meta: {
- title: "缺货单",
- access: nodes.Stockout,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/Stockout"),
- },
- {
- path: "ManageP/SupplierAdd",
- name: "SupplierAdd",
- hidden: true,
- meta: {
- title: "新增供应商",
- access: nodes.SupplierAddSupplier,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/SupplierAdd"),
- },
- {
- path: "ManageP/SupplierImport",
- name: "SupplierImport",
- hidden: true,
- meta: {
- title: "导入供应商",
- // access: nodes.SupplierAddSupplier,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/SupplierImport"),
- },
- {
- path: "ManageP/NewMerchant",
- name: "NewMerchant",
- hidden: true,
- meta: {
- title: "新增商户",
- // access: nodes.SupplierAddSupplier,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/NewMerchant"),
- },
- {
- path: "ManageP/SupplierEdit/:id",
- name: "SupplierEdit",
- hidden: true,
- meta: {
- title: "编辑供应商",
- access: nodes.SupplierEditSupplier,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/SupplierAdd"),
- },
- {
- path: "ManageP/SupplierLook/:id",
- name: "SupplierLook",
- hidden: true,
- meta: {
- title: "查看供应商",
- access: nodes.SupplierGetSupplierInfoById,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/SupplierAdd"),
- },
- {
- path: "ManageP/PurchaseOrder",
- name: "PurchaseOrder",
- meta: {
- title: "采购单",
- access: nodes.PurchaseOrder,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseOrder"),
- },
- {
- path: "ManageP/PurchaseOrderAdd/",
- name: "PurchaseOrderAdd",
- noKeepAlive: true,
- hidden: true,
- meta: {
- title: "新增采购单",
- access: nodes.PurchaseOrderAddPurchase,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseOrderAdd"),
- },
- {
- path: "ManageP/PurchaseOrderEdit/:id",
- name: "PurchaseOrderEdit",
- hidden: true,
- meta: {
- title: "编辑采购单",
- access: nodes.PurchaseOrderEditPurchase,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseOrderAdd"),
- },
- {
- path: "ManageP/PurchaseOrderLook/:id",
- name: "PurchaseOrderLook",
- hidden: true,
- meta: {
- title: "查看采购单",
- access: nodes.PurchaseOrderAddPurchase,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseOrderLook"),
- },
- {
- path: "ManageP/PurchaseReturnOrder",
- name: "PurchaseReturnOrder",
- meta: {
- title: "采购退货单",
- access: nodes.PurchaseReturnOrder,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseReturnOrder"),
- },
- {
- path: "ManageP/Merchant",
- name: "Merchant",
- meta: {
- title: "商户采购单",
- access: nodes.Merchant,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/Merchant"),
- },
- {
- path: "ManageP/AddMerchantPurchase",
- name: "AddMerchant",
- meta: {
- title: "新增商户采购单",
- access: nodes.MerchantAddMerchant,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/AddMerchantPurchase"),
- },
- {
- path: "ManageP/EditMerchantPurchase/:id",
- name: "EditMerchantPurchase",
- meta: {
- title: "编辑商户采购单",
- access: nodes.MerchantPurchaseOrderEdit,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/AddMerchantPurchase"),
- },
- {
- path: "ManageP/MerchantPurchaseDetail/:id",
- name: "MerchantPurchaseDetail",
- meta: {
- title: "商户采购单详情",
- access: nodes.MerchantPurchaseOrderEdit,
- remixIcon: "shopping-cart-line",
- },
- component: () =>
- import("@/views/Purchase/ManageP/MerchantPurchaseDetail"),
- },
- {
- path: "ManageP/PurchaseReturnOrderAdd/:type",
- name: "PurchaseReturnOrderAdd",
- hidden: true,
- meta: {
- title: "新增采购退货单",
- access: nodes.PurchaseReturnOrderAddPurchaseOut,
- remixIcon: "shopping-cart-line",
- },
- component: () =>
- import("@/views/Purchase/ManageP/PurchaseReturnOrderAdd"),
- },
- {
- path: "ManageP/PurchaseReturnOrderEdit/:id/:type",
- name: "PurchaseReturnOrderEdit",
- hidden: true,
- meta: {
- title: "编辑采购退货单",
- access: nodes.PurchaseReturnOrderEditPurchase,
- remixIcon: "shopping-cart-line",
- },
- component: () =>
- import("@/views/Purchase/ManageP/PurchaseReturnOrderAdd"),
- },
- {
- path: "ManageP/PurchaseReturnOrderLook/:id",
- name: "PurchaseReturnOrderLook",
- hidden: true,
- meta: {
- title: "查看采购退货单",
- access: nodes.PurchaseReturnOrderGetPurchaseOutInfoById,
- remixIcon: "shopping-cart-line",
- },
- component: () =>
- import("@/views/Purchase/ManageP/PurchaseReturnOrderLook"),
- },
- {
- path: "ManageP/PurchaseDetail",
- name: "PurchaseDetail",
- meta: {
- title: "采购明细",
- access: nodes.PurchaseDetail,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseDetail"),
- },
- {
- path: "PurchaseTotalForm/GoodsForm",
- name: "PurchaseGoodsForm",
- meta: {
- title: "采购商品汇总表",
- access: nodes.PurchaseStatisticsGetAllPurchaseByFields,
- remixIcon: "file-text-line",
- },
- component: () => import("@/views/Purchase/PurchaseTotalForm/TotalForm"),
- },
- {
- path: "PurchaseTotalForm/SupplierForm",
- name: "PurchaseSupplierForm",
- meta: {
- title: "采购供应商汇总表",
- remixIcon: "file-text-line",
- access: nodes.GetSupplierAllPurchaseByFields,
- },
- component: () => import("@/views/Purchase/PurchaseTotalForm/TotalForm"),
- },
- {
- path: "PurchaseTotalForm/StaffForm",
- name: "PurchaseStaffForm",
- meta: {
- title: "采购人员汇总表",
- access: nodes.GetStaffAllPurchaseByFields,
- remixIcon: "file-text-line",
- },
- component: () => import("@/views/Purchase/PurchaseTotalForm/TotalForm"),
- },
- ],
- },
- {
- path: "/stock",
- component: Layout,
- redirect: "/stock/OutIn/outgoing",
- alwaysShow: true,
- meta: {
- title: "库存",
- remixIcon: "home-8-line",
- },
- children: [{
- path: "OutIn/outgoing",
- name: "Outgoing",
- meta: {
- title: "出库管理",
- access: nodes.InventoryOut,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/outgoing"),
- },
- {
- path: "OutIn/outgoingInfo/:id",
- name: "OutgoingInfo",
- hidden: true,
- meta: {
- title: "出库单详情",
- access: nodes.InventoryOutGetInventoryOutInfo,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/outgoingInfo"),
- },
- {
- path: "OutIn/storage",
- name: "Storage",
- meta: {
- title: "入库管理",
- access: nodes.InventoryIn,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/storage"),
- },
- {
- path: "OutIn/AddStorage",
- name: "AddStorage",
- meta: {
- title: "新增入库单",
- // access: nodes.InventoryIn,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/AddStorage"),
- },
- {
- path: "OutIn/storageInfo/:id",
- name: "StorageInfo",
- hidden: true,
- meta: {
- title: "入库单详情",
- access: nodes.InventoryInGetInventoryInInfo,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/storageInfo"),
- },
- {
- path: "WarehouseAdmin/query",
- name: "Query",
- meta: {
- title: "库存查询",
- access: nodes.query,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/query"),
- },
- {
- path: "WarehouseAdmin/warehouseInventory",
- name: "warehouseInventory",
- meta: {
- title: "仓库库存",
- access: nodes.warehouseInventory,
- remixIcon: "home-gear-line",
- },
- component: () =>
- import("@/views/stock/WarehouseAdmin/warehouseInventory"),
- },
- {
- path: "WarehouseAdmin/flowing",
- name: "Flowing",
- meta: {
- title: "库存流水",
- access: nodes.flowing,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/flowing"),
- },
- {
- path: "WarehouseAdmin/Batch",
- name: "Batch",
- meta: {
- title: "批次流水",
- access: nodes.Batch,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/Batch"),
- },
- {
- path: "WarehouseAdmin/ShelfLife",
- name: "ShelfLife",
- meta: {
- title: "保质期查询",
- access: nodes.GetBatch,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/ShelfLife"),
- },
- {
- path: "WarehouseManagement/Management",
- name: "Management",
- meta: {
- title: "仓库管理",
- access: nodes.management,
- remixIcon: "home-6-line",
- },
- component: () => import("@/views/stock/WarehouseManagement/Management"),
- },
- {
- path: "WarehouseManagement/WarehouseArea",
- name: "WarehouseArea",
- meta: {
- title: "库区管理",
- access: nodes.WarehouseArea,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/WarehouseArea"),
- },
- {
- path: "WarehouseManagement/LocationManagement",
- name: "LocationManagement",
- meta: {
- title: "库位管理",
- access: nodes.LocationManagement,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/LocationManagement"),
- },
- {
- path: "WarehouseManagement/newWarehouse",
- name: "NewWarehouse",
- hidden: true,
- meta: {
- title: "新建仓库",
- access: nodes.managementAddWarehouse,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/newWarehouse"),
- },
- {
- path: "WarehouseManagement/eitWarehouse/:id",
- name: "EitWarehouse",
- hidden: true,
- meta: {
- title: "编辑仓库",
- access: nodes.managementUpdateWarehouse,
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/newWarehouse"),
- },
- {
- path: "WarehouseManagement/start",
- name: "Start",
- hidden: true,
- meta: {
- title: "期初库存",
- remixIcon: "home-6-line",
- },
- component: () => import("@/views/stock/WarehouseManagement/start"),
- },
- {
- path: "WarehouseManagement/startInfo",
- name: "StartInfo",
- hidden: true,
- meta: {
- title: "期初库存单详情",
- remixIcon: "home-6-line",
- },
- component: () => import("@/views/stock/WarehouseManagement/startInfo"),
- },
- {
- path: "WarehouseManagement/newStart",
- name: "NewStart",
- hidden: true,
- meta: {
- title: "新建期初库存",
- access: nodes.managementAddWarehouseBeginning,
- remixIcon: "home-6-line",
- },
- component: () => import("@/views/stock/WarehouseManagement/newStart"),
- },
- {
- path: "WarehouseManagement/inventoryInfo",
- name: "InventoryInfo",
- meta: {
- title: "盘点单",
- access: nodes.inventoryInfo,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/inventoryInfo"),
- },
- {
- path: "WarehouseManagement/AddInventoryInfo",
- name: "AddInventoryInfo",
- hidden: true,
- meta: {
- title: "新建盘点单",
- access: nodes.inventoryInfoAddStocktaking,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AddInventoryInfo.vue"),
- },
- {
- path: "WarehouseManagement/EditInventoryInfo/:id",
- name: "EditInventoryInfo",
- hidden: true,
- meta: {
- title: "编辑盘点单",
- access: nodes.inventoryInfoUpdateStocktaking,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AddInventoryInfo.vue"),
- },
- {
- path: "WarehouseManagement/InventoryDetail/:id",
- name: "InventoryDetail",
- hidden: true,
- meta: {
- title: "盘点单详情",
- access: nodes.inventoryInfoGetStocktakingInfo,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/InventoryDetail.vue"),
- },
- {
- path: "WarehouseManagement/AllocationForm",
- name: "AllocationForm",
- meta: {
- title: "调拨单",
- access: nodes.AllocationForm,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AllocationForm.vue"),
- },
- {
- path: "WarehouseManagement/AddAllocationForm",
- name: "AddAllocationForm",
- hidden: true,
- meta: {
- title: "新增调拨单",
- access: nodes.AllocationFormAddAllocate,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AddAllocationForm.vue"),
- },
- {
- path: "WarehouseManagement/EditAllocationForm/:id",
- name: "EditAllocationForm",
- hidden: true,
- meta: {
- title: "修改调拨单",
- access: nodes.AllocationFormUpdateAllocate,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AddAllocationForm.vue"),
- },
- {
- path: "WarehouseManagement/DetailAllocationForm/:id",
- name: "DetailAllocationForm",
- hidden: true,
- meta: {
- title: "调拨单详情",
- access: nodes.AllocationFormGetAllocateInfo,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/DetailAllocationForm.vue"),
- },
- {
- path: "WarehouseManagement/LossReport",
- name: "LossReport",
- meta: {
- title: "报损单",
- remixIcon: "home-6-line",
- access: nodes.LossReport,
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/LossReport.vue"),
- },
- {
- path: "WarehouseManagement/AddLossReport",
- name: "AddLossReport",
- meta: {
- title: "新增报损单",
- remixIcon: "home-6-line",
- access: nodes.LossReportAddLossReport,
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AddLossReport.vue"),
- },
- {
- path: "WarehouseManagement/EditLossReport",
- name: "EditLossReport",
- meta: {
- title: "修改报损单",
- remixIcon: "home-6-line",
- access: nodes.LossReportEditLossReport,
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AddLossReport.vue"),
- },
- {
- path: "WarehouseManagement/LossReportInfo/:id",
- name: "LossReportInfo",
- meta: {
- title: "报损单详情",
- remixIcon: "home-6-line",
- access: nodes.LossReportDetailLossReport,
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/LossReportInfo.vue"),
- },
- {
- path: "summary/GoodsReceiptIssueSummary",
- name: "GoodsReceiptIssueSummary",
- hidden: true,
- meta: {
- title: "商品收发汇总",
- access: nodes.PublishGoodsEditGoods,
- remixIcon: "file-text-line",
- },
- component: () =>
- import("@/views/stock/summary/GoodsReceiptIssueSummary"),
- },
- {
- path: "summary/WarehouseStockSummary",
- name: "WarehouseStockSummary",
- meta: {
- title: "库存汇总",
- access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/summary/WarehouseStockSummary.vue"),
- },
- {
- path: "OrdersForShipment/PickingCenter",
- name: "PickingCenter",
- meta: {
- title: "拣货中心",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/PickingCenter.vue"),
- },
- {
- path: "OrdersForShipment/PickingDetail",
- name: "PickingDetail",
- meta: {
- title: "待拣货订单明细",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/PickingDetail.vue"),
- },
- {
- path: "OrdersForShipment/pickingList/:id",
- name: "pickingList",
- meta: {
- title: "拣货单",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/pickingList.vue"),
- },
- {
- path: "OrdersForShipment/DistributionCenter",
- name: "DistributionCenter",
- meta: {
- title: "配送中心",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/DistributionCenter.vue"),
- },
- {
- path: "OrdersForShipment/DeliveryDetailsOfGoods",
- name: "DeliveryDetailsOfGoods",
- meta: {
- title: "配送商品明细",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/DeliveryDetailsOfGoods.vue"),
- },
- {
- path: "OrdersForShipment/SalesOutbound/:id",
- name: "SalesOutbound",
- meta: {
- title: "销售出库单",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/SalesOutbound.vue"),
- },
- {
- path: "OrdersForShipment/DeliveryReceivedDetails/:id",
- name: "DeliveryReceivedDetails",
- meta: {
- title: "配送待收货明细",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import("@/views/stock/OrdersForShipment/DeliveryReceivedDetails.vue"),
- },
- {
- path: "OrdersForShipment/DeliveryToBeReceivedDetails",
- name: "DeliveryToBeReceivedDetails",
- meta: {
- title: "配送待收货明细",
- // access: nodes.inventoryStatistics,
- },
- component: () =>
- import(
- "@/views/stock/OrdersForShipment/DeliveryToBeReceivedDetails.vue"
- ),
- },
- // {
- // path: "OutIn/inventoryWarning",
- // name: "inventoryWarning",
- // meta: {
- // title: "库存预警",
- // remixIcon: "home-gear-line",
- // },
- // component: () => import("@/views/stock/OutIn/inventoryWarning"),
- // },
- ],
- },
- {
- path: "/Finance",
- component: Layout,
- redirect: "/Finance/Receivable/ReceivableList",
- alwaysShow: true,
- meta: {
- title: "财务",
- remixIcon: "money-cny-circle-line",
- },
- children: [{
- path: "Receivable/ReceivableList",
- name: "ReceivableList",
- meta: {
- title: "应收单列表",
- access: nodes.ReceivableList,
- remixIcon: "align-bottom",
- },
- component: () => import("@/views/Finance/Receivable/ReceivableList"),
- },
- {
- path: "Receivable/AddReceivable",
- name: "AddReceivable",
- hidden: true,
- meta: {
- title: "新增应收单",
- remixIcon: "align-bottom",
- },
- component: () => import("@/views/Finance/Receivable/AddReceivable.vue"),
- },
- {
- path: "Receivable/ReceiptList",
- name: "ReceiptList",
- meta: {
- title: "收款单列表",
- access: nodes.ReceiptListGetAllReceived,
- remixIcon: "align-bottom",
- },
- component: () => import("@/views/Finance/Receivable/ReceiptList.vue"),
- },
- {
- path: "Receivable/AddReceipt",
- name: "AddReceipt",
- hidden: true,
- meta: {
- title: "新增收款单",
- access: nodes.ReceiptListAddReceived,
- remixIcon: "align-bottom",
- },
- component: () => import("@/views/Finance/Receivable/AddReceipt.vue"),
- },
- {
- path: "Receivable/LookReceipt/:id/:createTime",
- name: "LookReceipt",
- hidden: true,
- meta: {
- title: "收款单详情",
- access: nodes.ReceiptListGetReceivedInfo,
- remixIcon: "align-bottom",
- },
- component: () => import("@/views/Finance/Receivable/LookReceipt.vue"),
- },
- {
- path: "Receivable/editReceipt/:id/:createTime",
- name: "EditReceipt",
- hidden: true,
- meta: {
- title: "编辑收款单",
- access: nodes.ReceiptListGetReceivedInfo,
- remixIcon: "align-bottom",
- },
- component: () => import("@/views/Finance/Receivable/AddReceipt.vue"),
- },
- {
- path: "Receivable/ApplyReceipt",
- name: "ApplyReceipt",
- hidden: true,
- meta: {
- title: "收款申请单",
- remixIcon: "align-bottom",
- access: nodes.ApplyReceipt,
- },
- component: () => import("@/views/Finance/Receivable/ApplyReceipt.vue"),
- },
- {
- path: "Receivable/AddApplyReceipt",
- name: "AddApplyReceipt",
- hidden: true,
- meta: {
- title: "新增收款申请单",
- remixIcon: "align-bottom",
- access: nodes.addApplyReceipt,
- },
- component: () =>
- import("@/views/Finance/Receivable/AddApplyReceipt.vue"),
- },
- {
- path: "Receivable/editApplyReceipt/:id",
- name: "editApplyReceipt",
- hidden: true,
- meta: {
- title: "编辑收款申请单",
- remixIcon: "align-bottom",
- access: nodes.editApplyReceipt,
- },
- component: () =>
- import("@/views/Finance/Receivable/AddApplyReceipt.vue"),
- },
- {
- path: "Receivable/ApplyReceiptInfo/:id",
- name: "ApplyReceiptInfo",
- hidden: true,
- meta: {
- title: "收款申请单详情",
- remixIcon: "align-bottom",
- access: nodes.auditApplyReceipt,
- },
- component: () =>
- import("@/views/Finance/Receivable/ApplyReceiptInfo.vue"),
- },
- {
- path: "Receivable/CustomerBalance",
- name: "CustomerBalance",
- meta: {
- title: "客户往来汇总表",
- access: nodes.CustomerBalanceGetAllCustomerBalance,
- remixIcon: "align-bottom",
- },
- component: () =>
- import("@/views/Finance/Receivable/CustomerBalance.vue"),
- },
- {
- path: "Receivable/CustomerBalanceDetail",
- name: "CustomerBalanceDetail",
- meta: {
- title: "客户往来明细表",
- access: nodes.CustomerBalanceDetailGetAllCustomerBalanceDetail,
- remixIcon: "align-bottom",
- },
- component: () =>
- import("@/views/Finance/Receivable/CustomerBalanceDetail.vue"),
- },
- {
- path: "Handle/HandleList",
- name: "HandleList",
- meta: {
- title: "应付单列表",
- access: nodes.HandleList,
- remixIcon: "align-top",
- },
- component: () => import("@/views/Finance/Handle/HandleList.vue"),
- },
- {
- path: "Handle/PaymentList",
- name: "PaymentList",
- meta: {
- title: "付款单列表",
- access: nodes.PaymentListGetAllPaid,
- remixIcon: "align-top",
- },
- component: () => import("@/views/Finance/Handle/PaymentList.vue"),
- },
- {
- path: "Handle/editPayment/:id/:createTime",
- name: "EditPayment",
- hidden: true,
- meta: {
- title: "编辑付款单",
- access: nodes.ReceiptListGetReceivedInfo,
- remixIcon: "align-top",
- },
- component: () => import("@/views/Finance/Handle/AddPayment.vue"),
- },
- {
- path: "Handle/AddPayment",
- name: "AddPayment",
- hidden: true,
- meta: {
- title: "新增付款单",
- access: nodes.PaymentListAddPaid,
- remixIcon: "align-top",
- },
- component: () => import("@/views/Finance/Handle/AddPayment.vue"),
- },
- {
- path: "Handle/LookPayment/:id/:createTime",
- name: "LookPayment",
- hidden: true,
- meta: {
- title: "付款单详情",
- access: nodes.PaymentListGetPaidInfo,
- remixIcon: "align-top",
- },
- component: () => import("@/views/Finance/Handle/LookPayment.vue"),
- },
- {
- path: "Handle/SupplierBalance",
- name: "SupplierBalance",
- meta: {
- title: "供应商往来汇总表",
- access: nodes.CustomerBalanceGetAllSupplierBalance,
- remixIcon: "align-top",
- },
- component: () => import("@/views/Finance/Handle/SupplierBalance.vue"),
- },
- {
- path: "Handle/SupplierBalanceDetails",
- name: "SupplierBalanceDetails",
- meta: {
- title: "供应商余额明细表",
- access: nodes.SupplierBalanceDetailsGetAllSupplierBalanceDetail,
- remixIcon: "align-top",
- },
- component: () =>
- import("@/views/Finance/Handle/SupplierBalanceDetails.vue"),
- },
- {
- path: "Cashier/FunTransfer",
- name: "FunTransfer",
- meta: {
- title: "资金转账单",
- access: nodes.FunTransfer,
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/FunTransfer.vue"),
- },
- {
- path: "Cashier/AddFunTransfer",
- name: "AddFunTransfer",
- hidden: true,
- meta: {
- title: "新增资金转账单",
- access: nodes.FunTransferAddAccountTransfer,
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/AddFunTransfer.vue"),
- },
- {
- path: "Cashier/EditFunTransfer/:id",
- name: "EditFunTransfer",
- hidden: true,
- meta: {
- title: "修改资金转账单",
- access: nodes.AccountListEditAccountTransfer,
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/AddFunTransfer.vue"),
- },
- {
- path: "Cashier/SellRefundForm/:type",
- name: "RefundForm",
- meta: {
- title: "销售退款单",
- access: nodes.RefundForm,
- },
- component: () => import("@/views/Finance/Cashier/RefundForm.vue"),
- },
- // {
- // path: "Cashier/PurchaseRefundForm/:type",
- // name: "RefundForm",
- // meta: {
- // title: "采购退款单",
- // access: nodes.RefundForm,
- // },
- // component: () => import("@/views/Finance/Cashier/RefundForm.vue"),
- // },
- {
- path: "Cashier/AddRefundForm/:type",
- name: "AddRefundForm",
- meta: {
- title: "新增退款单",
- access: nodes.RefundForm_AddRefundForm,
- },
- component: () => import("@/views/Finance/Cashier/AddRefundForm.vue"),
- },
- {
- path: "Cashier/EditRefundForm/:id/:createTime",
- name: "EditRefundForm",
- meta: {
- title: "编辑退款单",
- access: nodes.RefundFormEditRefundForm,
- },
- component: () => import("@/views/Finance/Cashier/AddRefundForm.vue"),
- },
- {
- path: "Cashier/RefundDetail/:id/:createTime",
- name: "RefundDetail",
- meta: {
- title: "退款单详情",
- // access: nodes.AccountList,
- },
- component: () => import("@/views/Finance/Cashier/RefundDetail.vue"),
- },
- {
- path: "Cashier/AccountList",
- name: "AccountList",
- meta: {
- title: "资金账户管理",
- access: nodes.AccountList,
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/AccountList.vue"),
- },
- {
- path: "Cashier/AccountDetails",
- name: "AccountDetails",
- meta: {
- title: "账户明细查询",
- access: nodes.AccountDetailsGetAllAccountDetail,
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/AccountDetails.vue"),
- },
- {
- path: "Cashier/CostSheet",
- name: "CostSheet",
- meta: {
- title: "费用单",
- remixIcon: "bank-card-line",
- access: nodes.CostSheet,
- },
- component: () => import("@/views/Finance/Cashier/CostSheet.vue"),
- },
- {
- path: "Cashier/AddCostSheet",
- name: "AddCostSheet",
- meta: {
- title: "新增费用单",
- remixIcon: "bank-card-line",
- access: nodes.CostSheetaddCostSheet,
- },
- component: () => import("@/views/Finance/Cashier/AddCostSheet.vue"),
- },
- {
- path: "Cashier/EditCostSheet/:id",
- name: "EditCostSheet",
- meta: {
- title: "编辑费用单",
- access: nodes.CostSheeteditCostSheet,
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/AddCostSheet.vue"),
- },
- {
- path: "Cashier/CostSheetParticulars/:id",
- name: "CostSheetParticulars",
- meta: {
- title: "费用单详情",
- // access: nodes.CostSheeteditCostSheet,
- remixIcon: "bank-card-line",
- },
- component: () =>
- import("@/views/Finance/Cashier/CostSheetParticulars.vue"),
- },
- {
- path: "Cashier/CostTypes",
- name: "CostTypes",
- meta: {
- title: "费用类型",
- remixIcon: "bank-card-line",
- },
- component: () => import("@/views/Finance/Cashier/CostTypes.vue"),
- },
- {
- path: "ManageF/FinanceType",
- name: "FinanceType",
- meta: {
- title: "财务类型",
- access: nodes.FinanceTypeGetAllFinanceType,
- remixIcon: "bookmark-line",
- },
- component: () => import("@/views/Finance/ManageF/FinanceType.vue"),
- },
- {
- path: "ManageF/WithdrawAsh",
- name: "WithdrawAsh",
- meta: {
- title: "余额提现",
- remixIcon: "bookmark-line",
- access: nodes.WithdrawAsh,
- },
- component: () => import("@/views/Finance/ManageF/WithdrawAsh.vue"),
- },
- // 多门店报表
- {
- path: "MultipleStore/InAndOutLogs",
- name: "InAndOutLogs",
- meta: {
- title: "收支记录",
- remixIcon: "money-cny-box-line",
- // access: nodes.WithdrawAsh,
- },
- component: () =>
- import("@/views/Finance/MultipleStore/InAndOutLogs.vue"),
- },
- {
- path: "MultipleStore/WithdrawLogs",
- name: "WithdrawLogs",
- meta: {
- title: "提现记录",
- remixIcon: "money-cny-box-line",
- // access: nodes.WithdrawAsh,
- },
- component: () =>
- import("@/views/Finance/MultipleStore/WithdrawLogs.vue"),
- },
- ],
- },
- {
- path: "/Settlement",
- component: Layout,
- redirect: "/Settlement/MerchandiseSalesStatement",
- alwaysShow: true,
- meta: {
- title: "结算",
- remixIcon: "price-tag-2-line",
- },
- children: [{
- path: "SettlementLogs",
- name: "SettlementLogs",
- meta: {
- title: "结算记录",
- // access: nodes.WithdrawAsh,
- },
- component: () =>
- import("@/views/Finance/MultipleStore/SettlementLogs.vue"),
- }, ],
- },
- {
- path: "/Reconciliation",
- component: Layout,
- redirect: "/Reconciliation/SettlementStatement",
- alwaysShow: true,
- meta: {
- title: "对账",
- remixIcon: "money-cny-circle-line",
- },
- children: [{
- path: "SettlementStatement",
- name: "SettlementStatement",
- meta: {
- title: "结算对账单",
- // access: nodes.WithdrawAsh,
- },
- component: () =>
- import("@/views/Finance/MultipleStore/SettlementStatement.vue"),
- }, ],
- },
- {
- path: "/statement",
- component: Layout,
- redirect: "/statement/statementList/MerchandiseSalesStatement",
- alwaysShow: true,
- meta: {
- title: "报表管理",
- remixIcon: "money-cny-circle-line",
- },
- children: [{
- path: "statementList/MerchandiseSalesStatement",
- name: "MerchandiseSalesStatement",
- meta: {
- title: "商品销售报表",
- remixIcon: "align-bottom",
- access: nodes.goodsFormMerchandiseSalesStatement,
- },
- component: () =>
- import("@/views/statement/statementList/MerchandiseSalesStatement"),
- },
- {
- path: "statementList/CustomerMerchandiseReport",
- name: "CustomerMerchandiseReport",
- meta: {
- title: "客户商品报表",
- remixIcon: "align-bottom",
- access: nodes.goodsFormCustomerMerchandiseReport,
- },
- component: () =>
- import("@/views/statement/statementList/CustomerMerchandiseReport"),
- },
- {
- path: "statementList/CustomerOrderReport",
- name: "CustomerOrderReport",
- meta: {
- title: "客户订单报表",
- remixIcon: "align-bottom",
- access: nodes.orderFormCustomerOrderReport,
- },
- component: () =>
- import("@/views/statement/statementList/CustomerOrderReport"),
- },
- {
- path: "statementList/OrderDataReport",
- name: "OrderDataReport",
- meta: {
- title: "订单数据报表",
- remixIcon: "align-bottom",
- access: nodes.orderFormOrderDataReport,
- },
- component: () =>
- import("@/views/statement/statementList/OrderDataReport"),
- },
- {
- path: "statementList/RegionalOrderReport",
- name: "RegionalOrderReport",
- meta: {
- title: "地区订单报表",
- remixIcon: "align-bottom",
- access: nodes.orderFormRegionalOrderReport,
- },
- component: () =>
- import("@/views/statement/statementList/RegionalOrderReport"),
- },
- {
- path: "statementList/SaleRanking",
- name: "SaleRanking",
- meta: {
- title: "业务员订单表",
- remixIcon: "align-bottom",
- access: nodes.orderFormSalesOrderReport,
- },
- component: () => import("@/views/statement/statementList/SaleRanking"),
- },
- ],
- },
- {
- path: "/SystemSettings",
- component: Layout,
- redirect: "/SystemSettings/liansuoguanli/ShopList",
- alwaysShow: true,
- meta: {
- title: "设置",
- remixIcon: "settings-4-line",
- },
- children: [{
- path: "BaseSet",
- name: "BaseSet",
- meta: {
- title: "系统设置",
- access: nodes.mallManage,
- remixIcon: "settings-4-line",
- },
- component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
- },
- // {
- // path: "TradeSet",
- // name: "TradeSet",
- // meta: {
- // title: "交易设置",
- // access: nodes.mallManagepaySetting,
- // remixIcon: "settings-4-line",
- // },
- // component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
- // },
- // {
- // path: "GoodsSet",
- // name: "GoodsSet",
- // meta: {
- // title: "商品设置",
- // access: nodes.mallManageGoodsSet,
- // remixIcon: "settings-4-line",
- // },
- // component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
- // },
- // {
- // path: "CustomerSet",
- // name: "CustomerSet",
- // meta: {
- // title: "客户设置",
- // access: nodes.mallManageCustomerSet,
- // remixIcon: "settings-4-line",
- // },
- // component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
- // },
- {
- path: "PrinterSet",
- name: "PrinterSet",
- meta: {
- title: "打印机设置",
- access: nodes.mallManagePrinterSet,
- remixIcon: "settings-4-line",
- },
- component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
- },
- {
- path: "StepSet",
- name: "StepSet",
- meta: {
- title: "流程设置",
- access: nodes.StepSet,
- remixIcon: "equalizer-line",
- },
- component: () => import("@/views/ShoppingMall/mendianset/StepSet.vue"),
- },
- {
- path: "liansuoguanli/ShopList",
- name: "ShopList",
- meta: {
- title: "商铺列表",
- access: nodes.ShopList,
- remixIcon: "list-settings-line",
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/ShopList.vue"),
- },
- {
- path: "liansuoguanli/AddShop",
- name: "AddShop",
- hidden: true,
- meta: {
- title: "新建商铺",
- access: nodes.ShopListAddShop,
- remixIcon: "list-settings-line",
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
- },
- {
- path: "liansuoguanli/EditShop/:id",
- name: "EditShop",
- hidden: true,
- meta: {
- title: "编辑商铺",
- access: nodes.ShopListEditShop,
- remixIcon: "list-settings-line",
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
- },
- {
- path: "liansuoguanli/Partnership",
- name: "Partnership",
- hidden: true,
- meta: {
- title: "合作管理",
- // access: nodes.Partnership,
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/Partnership.vue"),
- },
- {
- path: "liansuoguanli/AddPartnership",
- name: "AddPartnership",
- hidden: true,
- meta: {
- title: "新增合作",
- // access: nodes.PartnershipAddShopPartner,
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/AddPartnership.vue"),
- },
- {
- path: "liansuoguanli/EditPartnership/:id",
- name: "EditPartnership",
- hidden: true,
- meta: {
- title: "编辑合作",
- // access: nodes.PartnershipUpdateShopPartner,
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/AddPartnership.vue"),
- },
- {
- path: "jiaoyiset/PayList",
- name: "PayList",
- meta: {
- title: "支付列表",
- access: nodes.PayList,
- remixIcon: "wallet-line",
- },
- component: () => import("@/views/SystemSettings/jiaoyiset/PayList.vue"),
- },
- {
- path: "jiaoyiset/Driver",
- name: "Driver",
- meta: {
- title: "司机列表",
- access: nodes.Driver,
- remixIcon: "wallet-line",
- },
- component: () => import("@/views/SystemSettings/jiaoyiset/Driver.vue"),
- },
- {
- path: "jiaoyiset/Line",
- name: "Line",
- meta: {
- title: "线路列表",
- access: nodes.line,
- remixIcon: "wallet-line",
- },
- component: () => import("@/views/SystemSettings/jiaoyiset/Line.vue"),
- },
- {
- path: "jiaoyiset/Delivery",
- name: "Delivery",
- meta: {
- title: "配送方式",
- access: nodes.DeliverySet,
- remixIcon: "truck-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/DeliverySet.vue"),
- },
- {
- path: "jiaoyiset/DeliveryTemplate/:deiId",
- name: "DeliveryTemplate",
- hidden: true,
- meta: {
- title: "运费模版",
- access: nodes.DeliverygetInfo,
- remixIcon: "truck-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/DeliveryTemplate.vue"),
- },
- {
- path: "jiaoyiset/AddDeliveryTem",
- name: "AddDeliveryTem",
- hidden: true,
- meta: {
- title: "新建运费模版",
- access: nodes.DeliverysetData,
- remixIcon: "truck-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/AddDeliveryTem.vue"),
- },
- {
- path: "jiaoyiset/EditDeliveryTem",
- name: "EditDeliveryTem",
- hidden: true,
- meta: {
- title: "编辑运费模版",
- access: nodes.DeliverysetData,
- remixIcon: "truck-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/AddDeliveryTem.vue"),
- },
- {
- path: "jiaoyiset/SelffetchList/:deiId",
- name: "SelffetchList",
- hidden: true,
- meta: {
- title: "门店自提",
- remixIcon: "truck-line",
- access: nodes.DeliverygetInfo,
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/SelffetchList.vue"),
- },
- {
- path: "jiaoyiset/AddSelffetch/:deiId",
- name: "AddSelffetch",
- hidden: true,
- meta: {
- title: "新建自提点",
- remixIcon: "truck-line",
- access: nodes.DeliverySetsetSelfData,
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/AddSelffetch.vue"),
- },
- {
- path: "jiaoyiset/EditSelffetch/:id/:deiId",
- name: "EditSelffetch",
- hidden: true,
- meta: {
- title: "编辑自提点",
- access: nodes.DeliverySeteditSelfData,
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/AddSelffetch.vue"),
- },
- {
- path: "jiaoyiset/Dispatch",
- name: "Dispatch",
- hidden: true,
- meta: {
- title: "同城配送",
- remixIcon: "truck-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/Dispatch.vue"),
- },
- {
- path: "jiaoyiset/ShopAddress",
- name: "ShopAddress",
- hidden: true,
- meta: {
- title: "编辑商家地址",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/ShopAddress.vue"),
- },
- {
- path: "jiaoyiset/Logistics",
- name: "Logistics",
- meta: {
- title: "物流接口",
- remixIcon: "truck-line",
- access: nodes.Logistics,
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/Logistics.vue"),
- },
- {
- path: "jiaoyiset/voiceSet",
- name: "VoiceSet",
- meta: {
- title: "语音设置",
- access: nodes.voiceSet,
- remixIcon: "notification-3-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/voiceSet.vue"),
- },
- {
- path: "jiaoyiset/PushNotification",
- name: "PushNotification",
- meta: {
- title: "消息推送",
- remixIcon: "notification-3-line",
- access: nodes.PushNotification,
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/PushNotification.vue"),
- },
- {
- path: "jiaoyiset/PushNotificationSet/:id",
- name: "PushNotificationSet",
- meta: {
- title: "消息推送设置",
- remixIcon: "notification-3-line",
- access: nodes.PushNotification_setMsg,
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/PushNotificationSet.vue"),
- },
- {
- path: "jiaoyiset/SMSConfiguration",
- name: "SMSConfiguration",
- meta: {
- title: "短信配置",
- remixIcon: "notification-3-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/SMSConfiguration.vue"),
- },
- {
- path: "jiaoyiset/SMSConfigurationSet",
- name: "SMSConfigurationSet",
- meta: {
- title: "配置",
- remixIcon: "notification-3-line",
- },
- component: () =>
- import("@/views/SystemSettings/jiaoyiset/SMSConfigurationSet.vue"),
- },
- {
- path: "accountAdmin/Department",
- name: "Department",
- meta: {
- title: "部门管理",
- access: nodes.Department,
- remixIcon: "user-settings-line",
- },
- component: () =>
- import("@/views/SystemSettings/accountAdmin/Department.vue"),
- },
- {
- path: "accountAdmin/Role",
- name: "Role",
- meta: {
- title: "角色管理",
- access: nodes.Role,
- remixIcon: "user-settings-line",
- },
- component: () => import("@/views/SystemSettings/accountAdmin/Role.vue"),
- },
- {
- path: "accountAdmin/Staff",
- name: "Staff",
- meta: {
- title: "员工管理",
- access: nodes.Staff,
- remixIcon: "user-settings-line",
- },
- component: () =>
- import("@/views/SystemSettings/accountAdmin/Staff.vue"),
- },
- {
- path: "accountAdmin/LoginRecord",
- name: "LoginRecord",
- meta: {
- title: "登录日志",
- access: nodes.LoginRecord,
- },
- component: () =>
- import("@/views/SystemSettings/accountAdmin/LoginRecord.vue"),
- },
- ],
- },
- {
- path: "ShoppingMall",
- component: Layout,
- redirect: "/ShoppingMall/mendianset/BaseSet",
- alwaysShow: true,
- meta: {
- title: "商城",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "mendianset/NoticeLsit",
- name: "NoticeLsit",
- meta: {
- title: "公告设置",
- access: nodes.Announcement,
- remixIcon: "notification-3-line",
- },
- component: () =>
- import("@/views/ShoppingMall/mendianset/NoticeLsit.vue"),
- },
- {
- path: "mendianset/NewsTemplate",
- name: "NewsTemplate",
- meta: {
- title: "小程序订阅消息",
- access: nodes.Announcement,
- remixIcon: "notification-3-line",
- },
- component: () =>
- import("@/views/ShoppingMall/mendianset/NewsTemplate.vue"),
- },
- {
- path: "WxCode/WxCodeSet",
- name: "WxCodeSet",
- meta: {
- title: "小程序设置",
- access: nodes.WxCodeSet,
- remixIcon: "mini-program-line",
- },
- component: () => import("@/views/ShoppingMall/WxCode/WxCodeSet.vue"),
- },
- {
- path: "WxCode/TemplateSet",
- name: "TemplateSet",
- meta: {
- title: "小程序发布",
- access: nodes.wxPush,
- remixIcon: "mini-program-line",
- },
- component: () => import("@/views/ShoppingMall/WxCode/TemplateSet.vue"),
- },
- {
- path: "WxCode/TouTiaoBaseSet",
- name: "TouTiaoBaseSet",
- hidden: true,
- meta: {
- title: "抖音/头条小程序基础配置",
- access: nodes.TemplateSet,
- remixIcon: "mini-program-line",
- },
- component: () =>
- import(
- "@/views/ShoppingMall/WxCode/ToutiaoCodeSet/TouTiaoBaseSet.vue"
- ),
- },
- {
- path: "WxCode/CodeRelease",
- name: "CodeRelease",
- hidden: true,
- meta: {
- title: "抖音/头条小程序发布",
- access: nodes.TemplateSet,
- remixIcon: "mini-program-line",
- },
- component: () =>
- import("@/views/ShoppingMall/WxCode/ToutiaoCodeSet/CodeRelease.vue"),
- },
- {
- path: "AppDesign/PageDesign",
- name: "PageDesign",
- hidden: true,
- meta: {
- title: "新建页面",
- remixIcon: "brush-3-line",
- access: nodes.PageSetSave,
- },
- component: () =>
- import("@/views/ShoppingMall/AppDesign/PageDesign.vue"),
- },
- {
- path: "AppDesign/PageDesignEdit/:id",
- name: "PageDesignEdit",
- hidden: true,
- meta: {
- title: "修改页面",
- remixIcon: "brush-3-line",
- access: nodes.PageSetSave,
- },
- component: () =>
- import("@/views/ShoppingMall/AppDesign/PageDesign.vue"),
- },
- {
- path: "AppDesign/PageDesignList",
- name: "PageDesignList",
- meta: {
- title: "页面设计",
- access: nodes.PageSet,
- remixIcon: "brush-3-line",
- },
- component: () =>
- import("@/views/ShoppingMall/AppDesign/PageDesignList.vue"),
- },
- {
- path: "AppDesign/StartUpPage",
- name: "StartUpPage",
- meta: {
- title: "启动页",
- access: nodes.StartPage,
- remixIcon: "brush-3-line",
- },
- component: () =>
- import("@/views/ShoppingMall/AppDesign/StartUpPage.vue"),
- },
- {
- path: "AppDesign/AppStyle",
- name: "AppStyle",
- meta: {
- title: "风格设置",
- remixIcon: "brush-3-line",
- access: nodes.StyleSet,
- },
- component: () => import("@/views/ShoppingMall/AppDesign/AppStyle.vue"),
- },
- {
- path: "AppDesign/CateSet",
- name: "CateSet",
- meta: {
- title: "分类模版",
- access: nodes.CategorySet,
- remixIcon: "brush-3-line",
- },
- component: () => import("@/views/ShoppingMall/AppDesign/CateSet.vue"),
- },
- ],
- },
- {
- path: "Application",
- component: Layout,
- redirect: "/Application/Application",
- alwaysShow: true,
- meta: {
- title: "应用",
- remixIcon: "app-store-line",
- },
- children: [{
- path: "Application",
- name: "Application",
- component: () => import("@/views/Application/Application"),
- meta: {
- title: "应用",
- remixIcon: "app-store-line",
- },
- }]
- },
- {
- path: "MoneyGoodsBill",
- component: Layout,
- redirect: "/MoneyGoodsBill/index",
- alwaysShow: true,
- meta: {
- title: "钱货日清对账",
- remixIcon: "app-store-line",
- },
- children: [{
- path: "index",
- name: "InventoryStatistics",
- component: () => import("@/views/MoneyGoodsBill/index"),
- meta: {
- title: "库存日对账",
- remixIcon: "hotel-line",
- access: nodes.getTodayStatistics_statisticsInventoryStatistics,
- },
- },
- {
- path: "saleBill",
- name: "saleBill",
- component: () => import("@/views/MoneyGoodsBill/saleBill"),
- meta: {
- title: "销售日对账",
- remixIcon: "numbers-line",
- access: nodes.getTodayStatistics_statisticsGetAllOrderData,
- },
- },
- {
- path: "FinanceBill",
- name: "FinanceBill",
- component: () => import("@/views/MoneyGoodsBill/FinanceBill"),
- meta: {
- title: "财务日对账",
- remixIcon: "stack-line",
- access: nodes.getTodayStatistics_statisticsGetTodayStatistics,
- },
- },
- {
- path: "Profit",
- name: "Profit",
- component: () => import("@/views/MoneyGoodsBill/Profit"),
- meta: {
- title: "利润表",
- remixIcon: "stack-line",
- },
- },
- ],
- },
- {
- path: "Marketing",
- component: Layout,
- redirect: "/Marketing/MarketingList",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "营销",
- remixIcon: "coupon-3-line",
- },
- children: [{
- path: "MarketingList/Coupon",
- name: "Coupon",
- meta: {
- title: "优惠券列表",
- remixIcon: "coupon-3-line",
- access: nodes.CouponList,
- },
- component: () => import("@/views/Marketing/MarketingList/Coupon"),
- },
- {
- path: "MarketingList/ReleaseRecord",
- name: "ReleaseRecord",
- meta: {
- title: "发放记录",
- access: nodes.GrantLog,
- },
- component: () =>
- import("@/views/Marketing/MarketingList/ReleaseRecord"),
- },
- {
- path: "MarketingList/AddCoupon",
- name: "AddCoupon",
- hidden: true,
- meta: {
- title: "新增优惠券",
- access: nodes.CouponListAdd,
- },
- component: () => import("@/views/Marketing/MarketingList/AddCoupon"),
- },
- {
- path: "MarketingList/EditCoupon/:id",
- name: "EditCoupon",
- hidden: true,
- meta: {
- title: "编辑优惠券",
- access: nodes.CouponListEdit,
- },
- component: () => import("@/views/Marketing/MarketingList/AddCoupon"),
- },
- {
- path: "Promotion/PromotionList",
- name: "PromotionList",
- meta: {
- title: "商品促销",
- remixIcon: "bookmark-3-line",
- access: nodes.ActivityGoods,
- },
- component: () =>
- import("@/views/Marketing/Promotion/PromotionList.vue"),
- },
- {
- path: "Promotion/AddPromotion",
- name: "AddPromotion",
- hidden: true,
- meta: {
- title: "新增促销",
- access: nodes.ActivityGoodsAdd,
- },
- component: () => import("@/views/Marketing/Promotion/AddPromotion.vue"),
- },
- {
- path: "Promotion/editPromotion/:id",
- name: "EditPromotion",
- hidden: true,
- meta: {
- title: "修改促销",
- access: nodes.ActivityGoodsEdit,
- },
- component: () => import("@/views/Marketing/Promotion/AddPromotion.vue"),
- },
- {
- path: "vip/membershipCard",
- name: "MembershipCard",
- meta: {
- title: "会员卡管理",
- remixIcon: "vip-crown-2-line",
- access: nodes.MembershipCard,
- },
- component: () => import("@/views/Marketing/vip/membershipCard.vue"),
- },
- {
- path: "vip/AddCard",
- name: "AddCard",
- hidden: true,
- meta: {
- title: "创建会员卡",
- access: nodes.MembershipCardAddVipCard,
- },
- component: () => import("@/views/Marketing/vip/AddCard.vue"),
- },
- {
- path: "vip/EditCard/:id",
- name: "EditCard",
- hidden: true,
- meta: {
- title: "编辑会员卡",
- access: nodes.MembershipCardEditVipCard,
- },
- component: () => import("@/views/Marketing/vip/AddCard.vue"),
- },
- {
- path: "vip/CollectionRecords",
- name: "CollectionRecords",
- meta: {
- title: "领取记录",
- access: nodes.CollectionRecords,
- },
- component: () => import("@/views/Marketing/vip/CollectionRecords.vue"),
- },
- {
- path: "vip/DelRecords",
- name: "DelRecords",
- hidden: true,
- meta: {
- title: "删除记录",
- },
- component: () => import("@/views/Marketing/vip/DelRecords.vue"),
- },
- {
- path: "card/cardList",
- name: "cardList",
- meta: {
- title: "服务优惠卡管理",
- remixIcon: "vip-crown-2-line",
- access: nodes.DiscountCard,
- },
- component: () => import("@/views/Marketing/card/cardList.vue"),
- },
- {
- path: "card/addCard",
- name: "addCard",
- meta: {
- title: "优惠卡新增修改",
- remixIcon: "vip-crown-2-line",
- access: nodes.DiscountCard,
- },
- component: () => import("@/views/Marketing/card/addCard.vue"),
- },
- {
- path: "SetMeal/index",
- name: "SetMeal",
- hidden: true,
- meta: {
- title: "组合套餐",
- access: nodes.Application_SetMeal,
- remixIcon: "git-repository-private-line",
- },
- component: () => import("@/views/Marketing/SetMeal/index"),
- },
- {
- path: "SetMeal/addSetMeal",
- name: "AddSetMeal",
- hidden: true,
- meta: {
- title: "新增活动",
- access: nodes.SetMeal_addGroupGoods,
- },
- component: () => import("@/views/Marketing/SetMeal/addSetMeal"),
- },
- {
- path: "SetMeal/editSetMeal/:id",
- name: "EditSetMeal",
- hidden: true,
- meta: {
- title: "编辑活动",
- access: nodes.SetMeal_editGroupGoods,
- },
- component: () => import("@/views/Marketing/SetMeal/addSetMeal"),
- },
- ],
- },
- {
- path: "saleCommission",
- component: Layout,
- redirect: "/saleCommission/CommissionRule",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "销售提成",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "CommissionRule",
- name: "CommissionRule",
- component: () => import("@/views/saleCommission/CommissionRule"),
- meta: {
- title: "提成规则",
- access: nodes.CommissionRule,
- },
- },
- {
- path: "CommissionStatistic",
- name: "CommissionStatistic",
- component: () => import("@/views/saleCommission/CommissionStatistic"),
- meta: {
- title: "提成统计",
- access: nodes.CommissionStatistic,
- },
- },
- {
- path: "RuleCommission",
- name: "RuleCommission",
- component: () => import("@/views/saleCommission/RuleCommission"),
- meta: {
- title: "设置提成规则",
- access: nodes.CommissionRuleAddCommissionRule,
- },
- },
- {
- path: "RuleCommissionEdit",
- name: "RuleCommissionEdit",
- component: () => import("@/views/saleCommission/RuleCommission"),
- meta: {
- title: "修改提成规则",
- access: nodes.CommissionRuleEditCommissionRule,
- },
- },
- // {
- // path: "CommissionList",
- // name: "CommissionList",
- // component: () => import("@/views/saleCommission/CommissionList"),
- // meta: {
- // title: "提成记录",
- // },
- // },
- {
- path: "CommissionList",
- name: "CommissionList",
- component: () => import("@/views/saleCommission/CommissionList"),
- meta: {
- title: "提成记录",
- },
- },
- ],
- },
- // 文章页面
- {
- path: "info",
- component: Layout,
- redirect: "/info/infoArticleList",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "文章管理",
- remixIcon: "store-2-line",
- },
- children: [
- {
- path: "infoArticleList",
- name: "InfoArticleList",
- component: () => import("@/views/AppBase/info/infoArticleList"),
- meta: {
- title: "文章列表",
- // access: nodes.RewardList,
- },
- },
- {
- path: "infoHomeList",
- name: "InfoHomeList",
- component: () => import("@/views/AppBase/info/infoHomeList"),
- meta: {
- title: "自定义项",
- // access: nodes.infoHomeList,
- },
- },
- ],
- },
- // 股东分红
- {
- path: "Shareholders",
- component: Layout,
- redirect: "/Shareholders/RewardList",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "股东分红",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "RewardList",
- name: "RewardList",
- component: () => import("@/views/AppBase/Shareholders/RewardList"),
- meta: {
- title: "股东列表",
- // access: nodes.RewardList,
- },
- },
- {
- path: "aBonus",
- name: "ABonus",
- component: () => import("@/views/AppBase/Shareholders/aBonus"),
- meta: {
- title: "分红记录",
- // access: nodes.RewardABonusList,
- },
- },
- {
- path: "addReward",
- name: "AddReward",
- component: () => import("@/views/AppBase/Shareholders/addReward"),
- meta: {
- title: "添加股东",
- // access: nodes.RewardAddUser,
- },
- },
- {
- path: "editReward",
- name: "EditReward",
- component: () => import("@/views/AppBase/Shareholders/addReward"),
- meta: {
- title: "修改股东",
- // access: nodes.RewardEditUser,
- },
- },
- {
- path: "sharesList",
- name: "SharesList",
- component: () => import("@/views/AppBase/Shareholders/sharesList"),
- meta: {
- title: "股份记录",
- // access: nodes.RewardSharesList,
- },
- },
- ],
- },
- // 阶梯奖励
- {
- path: "ladder",
- component: Layout,
- redirect: "/ladder/ladderList",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "阶梯奖励",
- remixIcon: "store-2-line",
- },
- children: [
- {
- path: "ladderList",
- name: "LadderList",
- component: () => import("@/views/AppBase/ladder/ladderList"),
- meta: {
- title: "员工阶梯奖励",
- // access: nodes.LadderRewardList,
- },
- },
- {
- path: "staffStockList",
- name: "StaffStockList",
- component: () => import("@/views/AppBase/ladder/staffStockList"),
- meta: {
- title: "股权发放记录",
- // access: nodes.LadderStaffStockList,
- },
- },
- ],
- },
- {
- path: "PointsMall",
- component: Layout,
- redirect: "/PointsMall/GoodsManage",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "股权商城",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "GoodsManage",
- name: "GoodsManage",
- component: () => import("@/views/PointsMall/GoodsManage"),
- meta: {
- title: "股权商品管理",
- access: nodes.PointsGoodsManage,
- },
- },
- {
- path: "PointGoodsAdd",
- name: "PointGoodsAdd",
- component: () => import("@/views/PointsMall/PointGoodsAdd"),
- meta: {
- title: "新增股权商品",
- access: nodes.PointsGoodsManageAddPointsGoods,
- },
- },
- {
- path: "PointGoodsEdit",
- name: "PointGoodsEdit",
- component: () => import("@/views/PointsMall/PointGoodsAdd"),
- meta: {
- title: "修改积分商品",
- access: nodes.PointsGoodsManageEditPointsGoods,
- },
- },
- {
- path: "ExchangeRecord",
- name: "ExchangeRecord",
- component: () => import("@/views/PointsMall/ExchangeRecord"),
- meta: {
- title: "兑换记录",
- access: nodes.ExchangeRecord,
- },
- },
- {
- path: "PointRule",
- name: "PointRule",
- component: () => import("@/views/PointsMall/PointRule"),
- meta: {
- title: "积分规则",
- access: nodes.PointRule,
- },
- },
- {
- path: "PointRuleAdd",
- name: "PointRuleAdd",
- component: () => import("@/views/PointsMall/PointRuleAdd"),
- meta: {
- title: "新增积分规则",
- access: nodes.PointRuleAddPointRule,
- },
- },
- {
- path: "PointRuleEdit",
- name: "PointRuleEdit",
- component: () => import("@/views/PointsMall/PointRuleAdd"),
- meta: {
- title: "修改积分规则",
- access: nodes.PointRuleEditPointRule,
- },
- },
- ],
- },
- {
- path: "Distribution",
- component: Layout,
- redirect: "/Distribution/DOverview",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "分销",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "DOverview",
- name: "DOverview",
- component: () => import("@/views/Distribution/DOverview"),
- meta: {
- title: "分销概览",
- access: nodes.DOverview,
- },
- },
- {
- path: "DGoodsList",
- name: "DGoodsList",
- component: () => import("@/views/Distribution/DGoodsList"),
- meta: {
- title: "分销商品",
- access: nodes.DGoodsList,
- },
- },
- {
- path: "SetCommission/:id",
- name: "SetCommission",
- hidden: true,
- meta: {
- title: "设置佣金",
- access: nodes.DGoodsListsetCommission,
- },
- component: () => import("@/views/Distribution/Commission"),
- },
- {
- path: "DOrderList",
- name: "DOrderList",
- component: () => import("@/views/Distribution/DOrderList"),
- meta: {
- title: "分销订单",
- access: nodes.DOrderList,
- },
- },
- {
- path: "DistributionList",
- name: "DistributionList",
- component: () => import("@/views/Distribution/DistributionList"),
- meta: {
- title: "分销商等级",
- access: nodes.DistributionList,
- },
- },
- {
- path: "AddDistributionList",
- name: "AddDistributionList",
- hidden: true,
- meta: {
- title: "新建分销商等级",
- access: nodes.DistributionListupdateGrade,
- },
- component: () => import("@/views/Distribution/AddDistributionList"),
- },
- {
- path: "EditDistributionList/:id",
- name: "EditDistributionList",
- hidden: true,
- meta: {
- title: "编辑分销商等级",
- access: nodes.DistributionListupdateGrade,
- },
- component: () => import("@/views/Distribution/AddDistributionList"),
- },
- {
- path: "Businessman/NotAudit",
- name: "NotAudit",
- meta: {
- title: "待审核",
- access: nodes.Businessman,
- },
- component: () => import("@/views/Distribution/Businessman/NotAudit"),
- },
- {
- path: "Businessman/Distributor",
- name: "Distributor",
- meta: {
- title: "分销商",
- access: nodes.Businessman,
- },
- component: () => import("@/views/Distribution/Businessman/Distributor"),
- },
- {
- path: "Businessman/DistributorNext",
- name: "DistributorNext",
- hidden: true,
- meta: {
- title: "下级分销商",
- access: nodes.BusinessmangetgetAllSub,
- },
- component: () =>
- import("@/views/Distribution/Businessman/DistributorNext"),
- },
- {
- path: "CashOut/NotAuditCashOut",
- name: "NotAuditCashOut",
- meta: {
- title: "待审核",
- access: nodes.CashOutgetAll,
- },
- component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
- },
- {
- path: "CashOut/NotCashOut",
- name: "NotCashOut",
- meta: {
- title: "待打款",
- access: nodes.CashOutgetAll,
- },
- component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
- },
- {
- path: "CashOut/CashOut",
- name: "CashOut",
- meta: {
- title: "已打款",
- access: nodes.CashOutgetAll,
- },
- component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
- },
- {
- path: "CashOut/Invalid",
- name: "Invalid",
- meta: {
- title: "无效",
- access: nodes.CashOutgetAll,
- },
- component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
- },
- {
- path: "DistributionSet/BaseDSet",
- name: "BaseDSet",
- meta: {
- title: "基础设置",
- access: nodes.SettlementSet,
- },
- component: () =>
- import("@/views/Distribution/DistributionSet/BaseDSet.vue"),
- },
- {
- path: "DistributionSet/SettlementSet",
- name: "SettlementSet",
- meta: {
- title: "结算设置",
- access: nodes.SettlementSet,
- },
- component: () =>
- import("@/views/Distribution/DistributionSet/SettlementSet.vue"),
- },
- {
- path: "DistributionSet/TextSet",
- name: "TextSet",
- meta: {
- title: "文字设置",
- access: nodes.TextSet,
- },
- component: () =>
- import("@/views/Distribution/DistributionSet/TextSet.vue"),
- },
- ],
- },
- {
- path: "BillTemplate",
- component: Layout,
- redirect: "/BillTemplate/TemplateList",
- alwaysShow: true,
- hidden: true,
- meta: {
- title: "单据模版",
- remixIcon: "apps-line",
- },
- children: [{
- path: "TemplateList",
- name: "TemplateList",
- meta: {
- title: "单据模板列表",
- access: nodes.TemplateListgetAll,
- },
- component: () => import("@/views/BillTemplate/TemplateList"),
- },
- {
- path: "EditTemplate/:id",
- name: "EditTemplate",
- hidden: true,
- meta: {
- title: "编辑模板",
- access: nodes.TemplateListgetInfo,
- },
- component: () => import("@/views/BillTemplate/EditTemplate"),
- },
- ],
- },
- {
- path: "CashierShop",
- name: "CashierShop",
- noKeepAlive: true,
- hidden: true,
- meta: {
- title: "收银台",
- access: nodes.CashierShop,
- remixIcon: "airplay-fill",
- },
- component: () => import("@/views/CashierShop/CashierShop"),
- },
- {
- path: "CashierShift",
- name: "CashierShift",
- noKeepAlive: true,
- hidden: true,
- meta: {
- title: "收银交班",
- access: nodes.ShiftOvergetRecordInfo,
- },
- component: () => import("@/views/CashierShop/CashierShift"),
- },
- {
- path: "CashierRecord",
- name: "CashierRecord",
- noKeepAlive: true,
- hidden: true,
- meta: {
- title: "交班记录",
- remixIcon: "exchange-box-line",
- access: nodes.ShiftOver,
- },
- component: () => import("@/views/CashierShop/CashierRecord"),
- },
- {
- path: "Cashier",
- component: Layout,
- redirect: "/Cashier/CashierList",
- hidden: true,
- meta: {
- title: "收银台",
- remixIcon: "airplay-fill",
- },
- children: [{
- path: "CashierList",
- name: "CashierList",
- meta: {
- title: "收银台设置",
- remixIcon: "settings-5-line",
- access: nodes.cashierSet,
- },
- component: () => import("@/views/Cashier/CashierList"),
- },
- {
- path: "Cashier",
- name: "Cashier",
- meta: {
- title: "收银员",
- remixIcon: "user-2-line",
- access: nodes.Cashiers,
- },
- component: () => import("@/views/Cashier/Cashier"),
- },
- {
- path: "ShoppingGuide",
- name: "ShoppingGuide",
- meta: {
- title: "导购员",
- remixIcon: "user-heart-line",
- access: nodes.ShoppingGuide,
- },
- component: () => import("@/views/Cashier/ShoppingGuide"),
- },
- {
- path: "/order/saleO/CashierOrder",
- name: "CashierOrder",
- meta: {
- title: "收银台订单",
- access: nodes.saleOrderList,
- remixIcon: "bill-line",
- },
- component: () => import("@/views/order/saleO/SaleOrderList"),
- },
- {
- path: "Withdrawal",
- name: "Withdrawal",
- meta: {
- title: "提成明细",
- remixIcon: "file-list-3-line",
- access: nodes.Withdrawal,
- },
- component: () => import("@/views/Cashier/Withdrawal"),
- },
- {
- path: "Commission",
- name: "Commission",
- meta: {
- title: "提成统计",
- remixIcon: "exchange-funds-line",
- access: nodes.Commission,
- },
- component: () => import("@/views/Cashier/Commission"),
- },
- {
- path: "ShiftOver",
- name: "ShiftOver",
- meta: {
- title: "交班记录",
- remixIcon: "exchange-box-line",
- access: nodes.ShiftOver,
- },
- component: () => import("@/views/Cashier/ShiftOver"),
- },
- {
- path: "ShiftOverGetAll/:id",
- name: "ShiftOverGetAll",
- hidden: true,
- meta: {
- title: "交班详情",
- access: nodes.ShiftOvergetRecordInfo,
- },
- component: () => import("@/views/Cashier/ShiftOverGetAll"),
- },
- {
- path: "EditCashier/:id",
- name: "EditCashier",
- hidden: true,
- meta: {
- title: "编辑收银员",
- access: nodes.CashiersupdateStaff,
- },
- component: () => import("@/views/Cashier/EditCashier"),
- },
- ],
- },
- {
- path: "/Merchants",
- redirect: "/Merchants/MerchartsList",
- component: Layout,
- hidden: true,
- meta: {
- title: "多商户",
- remixIcon: "airplay-fill",
- },
- children: [{
- path: "MerchartsList",
- name: "MerchartsList",
- meta: {
- title: "商户管理",
- remixIcon: "store-2-line",
- access: nodes.MerchartsList,
- },
- component: () => import("@/views/Merchants/MerchartsList"),
- },
- {
- path: "Merchants",
- name: "Merchants",
- meta: {
- title: "入驻申请",
- remixIcon: "store-2-line",
- },
- component: () => import("@/views/Merchants/Merchants"),
- },
- {
- path: "ApplyMerchantsInfo/:id",
- name: "ApplyMerchantsInfo",
- meta: {
- title: "入驻详情",
- remixIcon: "store-2-line",
- },
- component: () => import("@/views/Merchants/ApplyMerchantsInfo"),
- },
- {
- path: "MerchantsGroup",
- name: "MerchantsGroup",
- meta: {
- title: "商户分组",
- remixIcon: "money-cny-circle-line",
- },
- component: () => import("@/views/Merchants/MerchantsGroup"),
- },
- {
- path: "MerchantsBin",
- name: "MerchantsBin",
- meta: {
- title: "回收站",
- remixIcon: "store-2-line",
- },
- component: () => import("@/views/Merchants/MerchantsBin"),
- },
- {
- path: "AddMerchants",
- name: "AddMerchants",
- meta: {
- title: "添加商户",
- remixIcon: "money-cny-circle-line",
- },
- component: () => import("@/views/Merchants/AddMerchants"),
- },
- {
- path: "EditMerchants",
- name: "EditMerchants",
- meta: {
- title: "编辑商户",
- remixIcon: "money-cny-circle-line",
- },
- component: () => import("@/views/Merchants/AddMerchants"),
- },
- {
- path: "AddMerchantsInfo/:length",
- name: "AddMerchantsInfo",
- meta: {
- title: "增购详情",
- remixIcon: "money-cny-circle-line",
- },
- component: () => import("@/views/Merchants/AddMerchantsInfo"),
- },
- {
- path: "MerchantsInfo/:id",
- name: "MerchantsInfo",
- meta: {
- title: "商户详情",
- remixIcon: "store-2-line",
- },
- component: () => import("@/views/Merchants/MerchantsInfo"),
- },
- {
- path: "MerchartsShop",
- name: "MerchartsShop",
- meta: {
- title: "商户商品",
- remixIcon: "shopping-bag-line",
- access: nodes.MerchartsGoods,
- },
- component: () => import("@/views/Merchants/MerchartsShop"),
- },
- {
- path: "MerchantsExamine",
- name: "MerchantsExamine",
- meta: {
- title: "待审核商品",
- remixIcon: "shopping-bag-line",
- },
- component: () => import("@/views/Merchants/MerchantsExamine"),
- },
- {
- path: "MerchantsOverview",
- name: "MerchantsOverview",
- meta: {
- title: "商户概览",
- remixIcon: "funds-box-line",
- },
- component: () => import("@/views/Merchants/MerchantsOverview"),
- },
- {
- path: "MerchantsOrder",
- name: "MerchantsOrder",
- meta: {
- title: "商户订单",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/Merchants/MerchantsOrder"),
- },
- {
- path: "SafeguardingOrder",
- name: "SafeguardingOrder",
- meta: {
- title: "维权订单",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/Merchants/SafeguardingOrder"),
- },
- {
- path: "MerchantsSettlement",
- name: "MerchantsSettlement",
- meta: {
- title: "结算管理",
- remixIcon: "secure-payment-line",
- access: nodes.MerchantsSettlement,
- },
- component: () => import("@/views/Merchants/Settlement"),
- },
- {
- path: "MerchantsBasicsSet",
- name: "MerchantsBasicsSet",
- meta: {
- title: "基础设置",
- remixIcon: "settings-4-line",
- access: nodes.MerchantsSettlementMerchantsBasicsSet,
- },
- component: () => import("@/views/Merchants/MerchantsBasicsSet"),
- },
- {
- path: "MerchantsInSet",
- name: "MerchantsInSet",
- meta: {
- title: "入驻设置",
- remixIcon: "settings-4-line",
- },
- component: () => import("@/views/Merchants/MerchantsInSet"),
- },
- {
- path: "MerchantsListSet",
- name: "MerchantsListSet",
- meta: {
- title: "商户列表",
- remixIcon: "settings-4-line",
- },
- component: () => import("@/views/Merchants/MerchantsListSet"),
- },
- ],
- },
- {
- path: "/Multistore",
- redirect: "/Multistore/StoreList",
- component: Layout,
- hidden: true,
- meta: {
- title: "多门店",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "StoreList",
- name: "StoreList",
- meta: {
- title: "门店管理",
- access: nodes.Multistore_MultistoreList,
- remixIcon: "store-3-line",
- },
- component: () => import("@/views/Multistore/store/StoreList"),
- },
- {
- path: "AddStore",
- name: "AddStore",
- meta: {
- title: "创建店铺",
- access: nodes.MultistoreList_AddStore,
- remixIcon: "store-3-line",
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
- },
- {
- path: "shopAdministration",
- name: "shopAdministration",
- meta: {
- title: "商品管理",
- access: nodes.MultistoreList_shopGoodsManage,
- },
- component: () => import("@/views/Multistore/store/shopAdministration"),
- },
- {
- path: "StoreShopowner",
- name: "StoreShopowner",
- meta: {
- title: "门店店长",
- access: nodes.MultistoreList_shopManager,
- },
- component: () => import("@/views/Multistore/store/StoreShopowner"),
- },
- // {
- // path: "lookGoods",
- // name: "lookGoods",
- // meta: {
- // title: "查看商品",
- // },
- // component: () => import("@/views/Multistore/store/lookGoods"),
- // },
- {
- path: "GoodsList",
- name: "GoodsList",
- meta: {
- title: "商品管理",
- remixIcon: "shopping-bag-line",
- },
- component: () => import("@/views/Multistore/goods/GoodsList"),
- },
- {
- path: "StoreData",
- name: "StoreData",
- meta: {
- title: "门店数据",
- remixIcon: "computer-line",
- },
- component: () => import("@/views/Multistore/statistics/StoreData"),
- },
- {
- path: "EditStoreData",
- name: "EditStoreData",
- meta: {
- title: "数据详情",
- },
- component: () => import("@/views/Multistore/statistics/EditStoreData"),
- },
- {
- path: "StoreSet",
- name: "StoreSet",
- meta: {
- access: nodes.Multistore_StoreSet,
- title: "功能设置",
- remixIcon: "settings-4-line",
- },
- component: () => import("@/views/Multistore/settings/StoreSet"),
- },
- ],
- },
- {
- path: "/SingleStore",
- redirect: "/SingleStore/goods",
- component: Layout,
- hidden: true,
- meta: {
- title: "单门店",
- remixIcon: "store-2-line",
- },
- children: [{
- path: "goods/GoodsAdministration",
- name: "GoodsAdministration",
- meta: {
- title: "商品管理",
- remixIcon: "apps-line",
- },
- component: () =>
- import("@/views/SingleStore/Goods/GoodsAdministration"),
- },
- {
- path: "goods/GoodsData",
- name: "GoodsData",
- meta: {
- title: "商品资料",
- remixIcon: "apps-line",
- },
- component: () => import("@/views/goods/manageG/BaseDataList"),
- },
- // 价格管理
- {
- path: "sale/priceTable",
- name: "StorePriceTable",
- meta: {
- title: "价格管理",
- remixIcon: "bookmark-3-line",
- },
- component: () => import("@/views/goods/sale/PriceTable"),
- },
- {
- path: "goods/priceAdjust",
- name: "priceAdjust",
- meta: {
- title: "商品调价单",
- remixIcon: "bookmark-3-line",
- },
- component: () => import("@/views/goods/sale/AdjustPrice"),
- },
- {
- path: "goods/priceAdjustCustomer",
- name: "priceAdjustCustomer",
- meta: {
- title: "客户调价",
- remixIcon: "bookmark-3-line",
- },
- component: () => import("@/views/goods/sale/CostumeAdjustPrice"),
- },
- {
- path: "goods/priceAdjustCustomerType",
- name: "priceAdjustCustomerType",
- meta: {
- title: "客户类型调价",
- remixIcon: "bookmark-3-line",
- },
- component: () => import("@/views/goods/sale/CustomerTypeAdjustPrice"),
- },
- // 订单
- {
- path: "order/OrderList/all",
- name: "OrderListAll",
- meta: {
- title: "全部订单",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/order/OrderList"),
- },
- {
- path: "order/OrderList/waitAudit",
- name: "OrderListWaitAudit",
- meta: {
- title: "待审核",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/order/OrderList"),
- },
- {
- path: "order/OrderList/waitOutStock",
- name: "OrderListWaitOutStock",
- meta: {
- title: "待发货",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/order/OrderList"),
- },
- {
- path: "order/OrderList/hasOutStock",
- name: "OrderListHasOutStock",
- meta: {
- title: "待收货",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/order/OrderList"),
- },
- {
- path: "order/OrderList/finish",
- name: "OrderListFinish",
- meta: {
- title: "已完成",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/order/OrderList"),
- },
- {
- path: "order/OrderList/close",
- name: "OrderListClose",
- meta: {
- title: "已关闭",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/order/OrderList"),
- },
- {
- path: "order/StoreOrderAdd",
- name: "StoreOrderAdd",
- meta: {
- title: "代客下单",
- remixIcon: "edit-circle-line",
- },
- component: () => import("@/views/order/manageO/OrderAdd"),
- },
- {
- path: "order/ReturnOrder",
- name: "ReturnOrder",
- meta: {
- title: "退货单",
- remixIcon: "logout-circle-line",
- },
- component: () => import("@/views/SingleStore/order/ReturnOrder"),
- },
- {
- path: "order/OrderSubscribe",
- name: "OrderSubscribe",
- meta: {
- title: "服务预约",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/subscribe/OrderSubscribe"),
- },
- {
- path: "order/AddOrderSubscribe",
- name: "AddOrderSubscribe",
- meta: {
- title: "新增/编辑服务预约",
- remixIcon: "list-unordered",
- },
- component: () => import("@/views/SingleStore/subscribe/addSubscribe"),
- },
- //客户
- {
- path: "Customer/StoreCustomer",
- name: "StoreCustomer",
- meta: {
- title: "客户列表",
- remixIcon: "user-3-line",
- },
- component: () =>
- import("@/views/Customer/CustomerAdmin/CustomerList.vue"),
- },
- //设置
- {
- path: "storeSet/StoreDetail",
- name: "StoreDetail",
- meta: {
- title: "门店信息",
- remixIcon: "list-settings-line",
- },
- component: () =>
- import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
- },
- // 员工管理
- {
- path: "staffSet/StaffList",
- name: "StaffList",
- meta: {
- title: "员工列表",
- remixIcon: "user-5-line",
- },
- component: () =>
- import("@/views/SystemSettings/accountAdmin/Staff.vue"),
- },
- {
- path: "staffSet/RoleList",
- name: "RoleList",
- meta: {
- title: "角色管理",
- remixIcon: "shield-user-line",
- },
- component: () => import("@/views/SystemSettings/accountAdmin/Role.vue"),
- },
- {
- path: "staffSet/Sign",
- name: "Sign",
- meta: {
- title: "考勤组",
- // access: nodes.GroupSignList,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/SystemSettings/accountAdmin/signList"),
- },
- {
- path: "staffSet/signClass",
- name: "ClassList",
- meta: {
- title: "班次列表",
- // access: nodes.GroupSignClass,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/SystemSettings/accountAdmin/signClass"),
- },
- {
- path: "staffSet/classHistry",
- name: "ClassHistry",
- meta: {
- title: "排班记录",
- // access: nodes.GroupClassHistry,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/SystemSettings/accountAdmin/classHistry"),
- },
- // 库存
- {
- path: "Inventory/InventoryOut",
- name: "InventoryOut",
- meta: {
- title: "出库管理",
- access: nodes.InventoryOut,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/outgoing"),
- },
- {
- path: "Inventory/InventoryIn",
- name: "InventoryIn",
- meta: {
- title: "入库管理",
- access: nodes.InventoryIn,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/OutIn/storage"),
- },
- {
- path: "Inventory/InventoryQuery",
- name: "InventoryQuery",
- meta: {
- title: "库存查询",
- access: nodes.query,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/query"),
- },
- {
- path: "Inventory/InventoryFlowing",
- name: "InventoryFlowing",
- meta: {
- title: "库存流水",
- access: nodes.flowing,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/flowing"),
- },
- {
- path: "Inventory/InventoryBatch",
- name: "InventoryBatch",
- meta: {
- title: "批次流水",
- access: nodes.Batch,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/Batch"),
- },
- {
- path: "Inventory/InventoryShelfLife",
- name: "InventoryShelfLife",
- meta: {
- title: "保质期查询",
- access: nodes.GetBatch,
- remixIcon: "home-gear-line",
- },
- component: () => import("@/views/stock/WarehouseAdmin/ShelfLife"),
- },
- {
- path: "Inventory/InventoryManagement",
- name: "InventoryManagement",
- meta: {
- title: "仓库管理",
- access: nodes.management,
- remixIcon: "home-6-line",
- },
- component: () => import("@/views/stock/WarehouseManagement/Management"),
- },
- {
- path: "Inventory/Consume/list",
- name: "ConsumeList",
- meta: {
- title: "消耗品列表",
- // access: nodes.StockConsumeList,
- remixIcon: "home-6-line",
- },
- component: () => import("@/views/stock/Consume/consumeList"),
- },
- {
- path: "Inventory/InventoryCheck",
- name: "InventoryCheck",
- meta: {
- title: "盘点单",
- access: nodes.inventoryInfo,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/inventoryInfo"),
- },
- {
- path: "Inventory/InventoryAllocation",
- name: "InventoryAllocation",
- meta: {
- title: "调拨单",
- access: nodes.AllocationForm,
- remixIcon: "home-6-line",
- },
- component: () =>
- import("@/views/stock/WarehouseManagement/AllocationForm.vue"),
- },
- // 采购
- {
- path: "purchase/purchaseList",
- name: "purchaseList",
- meta: {
- title: "采购单",
- access: nodes.PurchaseOrder,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseOrder"),
- },
- {
- path: "purchase/purchaseReturnList",
- name: "purchaseReturnList",
- meta: {
- title: "采购退货单",
- access: nodes.PurchaseReturnOrder,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseReturnOrder"),
- },
- {
- path: "purchase/purchaseDetailInfo",
- name: "purchaseDetailInfo",
- meta: {
- title: "采购明细",
- access: nodes.PurchaseDetail,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/PurchaseDetail"),
- },
-
- {
- path: "purchase/SupplierList",
- name: "SupplierList",
- meta: {
- title: "供应商管理",
- access: nodes.Supplier,
- remixIcon: "shopping-cart-line",
- },
- component: () => import("@/views/Purchase/ManageP/Supplier"),
- },
- ],
- },
- {
- path: "/settlement",
- redirect: "/settlement/settlementData",
- component: Layout,
- meta: {
- title: "结算",
- remixIcon: "money-cny-circle-line",
- },
- children: [{
- path: "SettlementData",
- name: "SettlementData",
- meta: {
- title: "结算概览",
- remixIcon: "mac-line",
- },
- component: () => import("@/viewsMerch/settlement/index.vue"),
- },
- {
- path: "SettlementManage",
- name: "SettlementManage",
- meta: {
- title: "结算管理",
- remixIcon: "align-bottom",
- },
- component: () => import("@/viewsMerch/settlement/SettlementManage.vue"),
- },
- {
- path: "SettlementDetail",
- name: "SettlementDetail",
- meta: {
- title: "结算详情",
- remixIcon: "align-bottom",
- },
- component: () => import("@/viewsMerch/settlement/SettlementDetail.vue"),
- },
- ],
- },
- {
- path: "/Supplier",
- redirect: "/Supplier/supplierSet",
- component: Layout,
- meta: {
- title: "供应商管理端",
- remixIcon: "award-line",
- },
- children: [{
- path: "supplierSet",
- name: "supplierSet",
- meta: {
- title: "设置",
- remixIcon: "award-line",
- access: nodes.supplierManage_supplierSet,
- },
- component: () => import("@/views/Supplier/supplierSet"),
- },
- {
- path: "offerSet",
- name: "offerSet",
- meta: {
- title: "报价单管理",
- remixIcon: "bill-line",
- access: nodes.supplierManage_offerSet,
- },
- component: () => import("@/views/Supplier/offerSet"),
- },
- {
- path: "offerSetInfo",
- name: "offerSetInfo",
- meta: {
- title: "报价单管理",
- remixIcon: "mac-line",
- access: nodes.supplierManage_offerSet,
- },
- component: () => import("@/views/Supplier/offerSetInfo"),
- },
- {
- path: "settlement",
- name: "settlement",
- meta: {
- title: "结算管理",
- access: nodes.supplierManage_SupplierSettlement,
- remixIcon: "calendar-todo-line",
- },
- component: () => import("@/views/Supplier/settlement"),
- },
- ],
- },
- ];
- const router = new VueRouter({
- base: publicPath,
- mode: routerMode,
- scrollBehavior: () => ({
- y: 0,
- }),
- routes: constantRoutes,
- });
- const originalPush = VueRouter.prototype.push;
- VueRouter.prototype.push = function push(location, onResolve, onReject) {
- if (onResolve || onReject)
- return originalPush.call(this, location, onResolve, onReject);
- return originalPush.call(this, location).catch((err) => err);
- };
- export function resetRouter() {
- router.matcher = new VueRouter({
- base: publicPath,
- mode: routerMode,
- scrollBehavior: () => ({
- y: 0,
- }),
- routes: constantRoutes,
- }).matcher;
- }
- export default router;
|