index.js 111 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539
  1. /**
  2. * @description router全局配置,如有必要可分文件抽离,其中asyncRoutes只有在intelligence模式下才会用到,pro版只支持remixIcon图标
  3. * hidden:true 是否显示在菜单中显示路由(默认值:false)
  4. * alwaysShow:true 当只有一级子路由时是否显示父路由是否显示在菜单中显示路由(默认值:false)
  5. * name:"Demo" 首字母大写,一定要与vue文件的name对应起来,用于noKeepAlive缓存控制(该项特别重要)
  6. * meta:{
  7. title:"title" 菜单、面包屑、多标签页显示的名称
  8. roles:["admin","..."] 当config/settings.js中rolesControl配置开启时,用于控制角色
  9. roles: {
  10. access: ["admin"], access: ["admin"]
  11. ability: ["READ","WRITE"], ability: ["READ","WRITE"],
  12. mode: "allOf" allOf: 数组内所有角色都拥有,返回True
  13. oneOf: 数组内拥有任一角色,返回True(等价第1种数据)
  14. except: 不拥有数组内任一角色,返回True(取反)
  15. }
  16. remixIcon:"" remix图标
  17. isCustomSvgIcon:false, 是否是自定义svg图标(默认值:false,如果设置true,那么需要把你的svg拷贝到icon/remixIcon下,然后remixIcon字段配置上你的图标名)
  18. noKeepAlive:true 当前路由是否不缓存(默认值:false)
  19. affix:true 当前路由是否固定多标签页
  20. badge:"New" badge小标签(只支持子级)
  21. tagHidden:true 当前路由是否不显示多标签页
  22. }
  23. */
  24. import Vue from "vue";
  25. import VueRouter from "vue-router";
  26. import Layout from "@/layouts";
  27. import {
  28. publicPath,
  29. routerMode
  30. } from "@/config/settings";
  31. import * as nodes from "@/access/node";
  32. Vue.use(VueRouter);
  33. export const constantRoutes = [{
  34. path: "/ExpireTip",
  35. component: () => import("@/views/ExpireTip"),
  36. hidden: true,
  37. },
  38. {
  39. path: "/login",
  40. component: () => import("@/views/login"),
  41. hidden: true,
  42. },
  43. //收银台登录
  44. {
  45. path: "/CashierLogin",
  46. name: "CashierLogin",
  47. hidden: true,
  48. noKeepAlive: true,
  49. component: () => import("@/views/CashierShop/CashierLogin"),
  50. },
  51. // 多商户登录
  52. {
  53. path: "/MerchantsLogin",
  54. name: "MerchantsLogin",
  55. hidden: true,
  56. noKeepAlive: true,
  57. component: () => import("@/views/login/MerchantsLogin"),
  58. },
  59. {
  60. path: "/401",
  61. name: "401",
  62. component: () => import("@/views/401"),
  63. hidden: true,
  64. noKeepAlive: true,
  65. },
  66. {
  67. path: "/404",
  68. name: "404",
  69. component: () => import("@/views/404"),
  70. hidden: true,
  71. noKeepAlive: true,
  72. },
  73. {
  74. path: "/AuthorizePage",
  75. name: "AuthorizePage",
  76. hidden: true,
  77. noKeepAlive: true,
  78. meta: {
  79. title: "授权",
  80. },
  81. component: () => import("@/views/common/AuthorizePage"),
  82. },
  83. {
  84. path: "/MenuList",
  85. name: "MenuList",
  86. hidden: true,
  87. noKeepAlive: true,
  88. meta: {
  89. title: "菜单管理",
  90. },
  91. component: () => import("@/views/common/MenuList"),
  92. },
  93. // 打印
  94. {
  95. path: "/OrderPrinting/:userCenterId/:id",
  96. name: "OrderPrinting",
  97. hidden: true,
  98. noKeepAlive: true,
  99. meta: {
  100. title: "打印订单",
  101. },
  102. component: () => import("@/views/order/manageO/OrderPrinting"),
  103. },
  104. {
  105. path: "/OrderPrintingBetch",
  106. name: "OrderPrintingBetch",
  107. hidden: true,
  108. noKeepAlive: true,
  109. meta: {
  110. title: "批量打印订单",
  111. },
  112. component: () => import("@/views/order/manageO/OrderPrintingBetch"),
  113. },
  114. {
  115. path: "/OutgoingPrinting/:id",
  116. name: "OutgoingPrinting",
  117. hidden: true,
  118. noKeepAlive: true,
  119. meta: {
  120. title: "打印出库单",
  121. },
  122. component: () => import("@/views/stock/OutIn/OutgoingPrinting"),
  123. },
  124. {
  125. path: "/StoragePrinting/:id",
  126. name: "StoragePrinting",
  127. hidden: true,
  128. noKeepAlive: true,
  129. meta: {
  130. title: "打印入库单",
  131. },
  132. component: () => import("@/views/stock/OutIn/StoragePrinting"),
  133. },
  134. {
  135. path: "/ReturnOrderPrinting/:id",
  136. name: "ReturnOrderPrinting",
  137. hidden: true,
  138. noKeepAlive: true,
  139. meta: {
  140. title: "打印退货单",
  141. },
  142. component: () => import("@/views/order/manageO/ReturnOrderPrinting"),
  143. },
  144. {
  145. path: "/ReconciliationPrint",
  146. name: "ReconciliationPrint",
  147. hidden: true,
  148. noKeepAlive: true,
  149. meta: {
  150. title: "打印库存日报",
  151. },
  152. component: () => import("@/views/MoneyGoodsBill/order/Reconciliation"),
  153. },
  154. {
  155. path: "/ReconciliationSale",
  156. name: "ReconciliationSale",
  157. hidden: true,
  158. noKeepAlive: true,
  159. meta: {
  160. title: "打印销售日报",
  161. },
  162. component: () => import("@/views/MoneyGoodsBill/order/ReconciliationSale"),
  163. },
  164. {
  165. path: "/ReconciliationFinance",
  166. name: "ReconciliationFinance",
  167. hidden: true,
  168. noKeepAlive: true,
  169. meta: {
  170. title: "打印财务日报",
  171. },
  172. component: () =>
  173. import("@/views/MoneyGoodsBill/order/ReconciliationFinance"),
  174. },
  175. {
  176. path: "/PrintMerchants/:id",
  177. name: "PrintMerchants",
  178. hidden: true,
  179. noKeepAlive: true,
  180. meta: {
  181. title: "打印商户入库",
  182. },
  183. component: () => import("@/views/stock/OutIn/PrintMerchants"),
  184. },
  185. {
  186. path: "/PrintPurchase/:id",
  187. name: "PrintPurchase",
  188. hidden: true,
  189. noKeepAlive: true,
  190. meta: {
  191. title: "打印采购单",
  192. },
  193. component: () => import("@/views/Purchase/ManageP/PrintPurchase"),
  194. },
  195. {
  196. path: "/MerchantsProcurement/:id",
  197. name: "MerchantsProcurement",
  198. hidden: true,
  199. noKeepAlive: true,
  200. meta: {
  201. title: "打印商户采购单",
  202. },
  203. component: () => import("@/views/Purchase/ManageP/MerchantsProcurement"),
  204. },
  205. {
  206. path: "/AllocatingOutbound/:id",
  207. name: "AllocatingOutbound",
  208. hidden: true,
  209. noKeepAlive: true,
  210. meta: {
  211. title: "打印调拨出库单",
  212. },
  213. component: () => import("@/views/Purchase/ManageP/AllocatingOutbound"),
  214. },
  215. // 打印end
  216. {
  217. path: "/Enterprise",
  218. name: "Enterprise",
  219. noKeepAlive: true,
  220. component: () => import("@/views/Enterprise/index"),
  221. hidden: true,
  222. },
  223. {
  224. path: "/CreateStore",
  225. name: "CreateStore",
  226. noKeepAlive: true,
  227. meta: {
  228. title: "创建企业",
  229. },
  230. component: () => import("@/views/Enterprise/CreateStore"),
  231. hidden: true,
  232. },
  233. {
  234. path: "/EditStore/:id",
  235. name: "/EditStore",
  236. noKeepAlive: true,
  237. meta: {
  238. title: "编辑企业",
  239. },
  240. component: () => import("@/views/Enterprise/CreateStore"),
  241. hidden: true,
  242. },
  243. {
  244. path: "/SelectStore",
  245. name: "/SelectStore",
  246. noKeepAlive: true,
  247. meta: {
  248. title: "门店选择",
  249. },
  250. component: () => import("@/views/Enterprise/SelectStore"),
  251. hidden: true,
  252. },
  253. {
  254. path: "/MultiMerchant",
  255. name: "/MultiMerchant",
  256. noKeepAlive: true,
  257. meta: {
  258. title: "商户选择",
  259. },
  260. component: () => import("@/views/Enterprise/MultiMerchant"),
  261. hidden: true,
  262. },
  263. ];
  264. export const asyncRoutes = [{
  265. path: "/Edit",
  266. name: "Edit",
  267. hidden: true,
  268. component: Layout,
  269. children: [{
  270. path: "EditPwd/:id",
  271. name: "EditPwd",
  272. noKeepAlive: true,
  273. meta: {
  274. title: "账号设置",
  275. },
  276. component: () => import("@/views/login/EditPwd.vue"),
  277. },
  278. {
  279. path: "EditStore/:id",
  280. name: "EditStore",
  281. noKeepAlive: true,
  282. meta: {
  283. title: "修改企业",
  284. },
  285. component: () => import("@/views/Enterprise/CreateStore"),
  286. hidden: true,
  287. },
  288. ],
  289. },
  290. {
  291. path: "/",
  292. component: Layout,
  293. redirect: "/index",
  294. meta: {
  295. title: "概况",
  296. remixIcon: "mac-line",
  297. affix: true,
  298. },
  299. children: [{
  300. path: "index",
  301. name: "Index",
  302. component: () => import("@/views/index"),
  303. noKeepAlive: true,
  304. meta: {
  305. title: "经营概况",
  306. remixIcon: "mac-line",
  307. affix: true,
  308. },
  309. },
  310. {
  311. path: "MerchIndex",
  312. name: "MerchIndex",
  313. component: () => import("@/viewsMerch/index"),
  314. noKeepAlive: true,
  315. meta: {
  316. title: "经营概况",
  317. remixIcon: "mac-line",
  318. },
  319. },
  320. {
  321. path: "test",
  322. name: "test",
  323. component: () => import("@/views/index/test"),
  324. noKeepAlive: true,
  325. meta: {
  326. title: "测试vxe-table",
  327. remixIcon: "mac-line",
  328. },
  329. },
  330. // {
  331. // path: "tagPrint",
  332. // name: "tagPrint",
  333. // component: () => import("@/views/index/tagPrint"),
  334. // noKeepAlive: true,
  335. // meta: {
  336. // title: "标签打印",
  337. // remixIcon: "mac-line",
  338. // },
  339. // },
  340. ],
  341. },
  342. {
  343. path: "/goods",
  344. component: Layout,
  345. redirect: "/goods/manageG/BaseDataList",
  346. alwaysShow: true,
  347. meta: {
  348. title: "商品",
  349. remixIcon: "shopping-bag-line",
  350. },
  351. children: [{
  352. path: "manageG/GoodsImport",
  353. name: "GoodsImport",
  354. component: () => import("@/views/goods/manageG/GoodsImport.vue"),
  355. meta: {
  356. title: "导入商品",
  357. remixIcon: "apps-line",
  358. // access: nodes.BaseDataList,
  359. },
  360. },
  361. {
  362. path: "manageG/SingleGoodsImport",
  363. name: "SingleGoodsImport",
  364. component: () => import("@/views/goods/manageG/SingleGoodsImport.vue"),
  365. meta: {
  366. title: "单店铺导入商品",
  367. remixIcon: "apps-line",
  368. // access: nodes.BaseDataList,
  369. },
  370. },
  371. {
  372. path: "manageG/BaseDataList",
  373. name: "BaseDataList",
  374. component: () => import("@/views/goods/manageG/BaseDataList.vue"),
  375. meta: {
  376. title: "商品资料",
  377. remixIcon: "apps-line",
  378. access: nodes.BaseDataList,
  379. },
  380. },
  381. {
  382. path: "manageG/EditBaseData/:id",
  383. name: "EditBaseData",
  384. hidden: true,
  385. meta: {
  386. title: "编辑商品资料",
  387. remixIcon: "apps-line",
  388. access: nodes.EditBaseData,
  389. },
  390. component: () => import("@/views/goods/manageG/AddBaseData"),
  391. },
  392. {
  393. path: "manageG/AddBaseData",
  394. name: "AddBaseData",
  395. hidden: true,
  396. meta: {
  397. title: "新建商品资料",
  398. remixIcon: "apps-line",
  399. access: nodes.AddBaseData,
  400. },
  401. component: () => import("@/views/goods/manageG/AddBaseData"),
  402. },
  403. {
  404. path: "manageG/BaseDataDetail/:id",
  405. name: "BaseDataDetail",
  406. hidden: true,
  407. meta: {
  408. title: "商品详情",
  409. remixIcon: "apps-line",
  410. access: nodes.BaseDataListDetail,
  411. },
  412. component: () => import("@/views/goods/manageG/AddBaseData"),
  413. },
  414. {
  415. path: "manageG/GoodsClassify",
  416. name: "GoodsClassify",
  417. meta: {
  418. title: "商品分类",
  419. remixIcon: "apps-line",
  420. access: nodes.GoodsClassify,
  421. },
  422. component: () => import("@/views/goods/manageG/GoodsClassify"),
  423. },
  424. {
  425. path: "manageG/GoodsGrouping",
  426. name: "GoodsGrouping",
  427. meta: {
  428. title: "商品分组",
  429. remixIcon: "apps-line",
  430. access: nodes.GoodsGrouping,
  431. },
  432. component: () => import("@/views/goods/manageG/GoodsGrouping"),
  433. },
  434. {
  435. path: "manageG/BrandManage",
  436. name: "BrandManage",
  437. meta: {
  438. title: "商品品牌",
  439. remixIcon: "apps-line",
  440. access: nodes.BrandManage,
  441. },
  442. component: () => import("@/views/goods/manageG/BrandManage"),
  443. },
  444. /* {
  445. path: 'manageG/AddBrand',
  446. name: 'AddBrand',
  447. meta: {
  448. title: '新增品牌',
  449. },
  450. component: () => import('@/views/goods/manageG/AddBrand')
  451. },
  452. {
  453. path: 'manageG/UpdateBrand/:id',
  454. name: 'UpdateBrand',
  455. meta: {
  456. title: '编辑品牌',
  457. },
  458. component: () => import('@/views/goods/manageG/AddBrand')
  459. }, */
  460. {
  461. path: "manageG/UnitMeasurement",
  462. name: "UnitMeasurement",
  463. meta: {
  464. title: "单位管理",
  465. remixIcon: "apps-line",
  466. access: nodes.UnitSet,
  467. },
  468. component: () => import("@/views/goods/manageG/UnitMeasurement"),
  469. },
  470. {
  471. path: "manageG/SpecManage",
  472. name: "SpecManage",
  473. meta: {
  474. title: "属性管理",
  475. remixIcon: "apps-line",
  476. access: nodes.specManage,
  477. },
  478. component: () => import("@/views/goods/manageG/SpecManage"),
  479. },
  480. {
  481. path: "sale/PublishGoods",
  482. name: "PublishGoods",
  483. component: () => import("@/views/goods/sale/PublishGoods.vue"),
  484. meta: {
  485. title: "商品列表",
  486. access: nodes.PublishGoods,
  487. remixIcon: "apps-line",
  488. },
  489. },
  490. //多商户商品列表
  491. {
  492. path: "sale/MerchantsGoods",
  493. name: "MerchantsGoods",
  494. component: () => import("@/viewsMerch/goods/GoodsList.vue"),
  495. meta: {
  496. title: "商品列表",
  497. remixIcon: "apps-line",
  498. },
  499. },
  500. {
  501. path: "sale/AddGoods",
  502. name: "AddGoods",
  503. hidden: true,
  504. meta: {
  505. title: "发布商品",
  506. access: nodes.PublishGoodsAddGoods,
  507. remixIcon: "apps-line",
  508. },
  509. component: () => import("@/views/goods/sale/AddGoods"),
  510. },
  511. {
  512. path: "sale/EditGoods/:id",
  513. name: "EditGoods",
  514. hidden: true,
  515. meta: {
  516. title: "修改商品",
  517. access: nodes.PublishGoodsEditGoods,
  518. remixIcon: "apps-line",
  519. },
  520. component: () => import("@/views/goods/sale/AddGoods"),
  521. },
  522. {
  523. path: "sale/AddGoodsOneStore",
  524. name: "AddGoodsOneStore",
  525. hidden: true,
  526. meta: {
  527. title: "新建商品",
  528. remixIcon: "apps-line",
  529. access: nodes.PublishGoodsAddBasicAndPublishGoods,
  530. },
  531. component: () => import("@/views/goods/sale/AddGoodsOneStore"),
  532. },
  533. {
  534. path: "sale/EditGoodsOneStore/:id",
  535. name: "EditGoodsOneStore",
  536. hidden: true,
  537. meta: {
  538. title: "修改商品",
  539. remixIcon: "apps-line",
  540. access: nodes.PublishGoodsEditQuickGoods,
  541. },
  542. component: () => import("@/views/goods/sale/AddGoodsOneStore"),
  543. },
  544. {
  545. path: "sale/GoodsDetail/:id",
  546. name: "GoodsDetail",
  547. hidden: true,
  548. meta: {
  549. title: "商品详请",
  550. remixIcon: "apps-line",
  551. access: nodes.PublishGoodsGetGoodsInfo,
  552. },
  553. component: () => import("@/views/goods/sale/GoodsDetail"),
  554. },
  555. {
  556. path: "sale/UpdateGoods/:id",
  557. name: "UpdateGoods",
  558. hidden: true,
  559. meta: {
  560. title: "编辑商品",
  561. remixIcon: "apps-line",
  562. access: nodes.PublishGoodsEditGoods,
  563. },
  564. component: () => import("@/views/goods/sale/AddGoods"),
  565. },
  566. // 商品服务
  567. {
  568. path: "goodsemprego/GoodsEmprego",
  569. name: "GoodsEmprego",
  570. hidden: true,
  571. meta: {
  572. title: "商品服务",
  573. remixIcon: "apps-line",
  574. access: nodes.GoodsEmprego,
  575. },
  576. component: () => import("@/views/goods/goodsemprego/GoodsEmprego"),
  577. },
  578. {
  579. path: "sale/priceTable",
  580. name: "priceTable",
  581. meta: {
  582. title: "价格管理",
  583. remixIcon: "bookmark-3-line",
  584. },
  585. component: () => import("@/views/goods/sale/PriceTable"),
  586. },
  587. {
  588. path: "sale/CostumeAdjustPrice",
  589. name: "CostumeAdjustPrice",
  590. meta: {
  591. title: "客户调价单",
  592. remixIcon: "bookmark-3-line",
  593. access: nodes.CostumeAdjustPrice,
  594. },
  595. component: () => import("@/views/goods/sale/CostumeAdjustPrice"),
  596. },
  597. {
  598. path: "sale/CostumeAdjustPriceAdd",
  599. name: "CostumeAdjustPriceAdd",
  600. hidden: true,
  601. meta: {
  602. title: "新建客户调价单",
  603. remixIcon: "bookmark-3-line",
  604. access: nodes.CostumeAdjustPriceAdd,
  605. },
  606. component: () => import("@/views/goods/sale/CostumeAdjustPriceAdd"),
  607. },
  608. {
  609. path: "sale/CustomerTypeAdjustPrice",
  610. name: "CustomerTypeAdjustPrice",
  611. meta: {
  612. title: "客户类型调价单",
  613. remixIcon: "bookmark-3-line",
  614. access: nodes.CustomerTypeAdj,
  615. },
  616. component: () => import("@/views/goods/sale/CustomerTypeAdjustPrice"),
  617. },
  618. {
  619. path: "sale/CostumeTypeAdjustPriceAdd",
  620. name: "CostumeTypeAdjustPriceAdd",
  621. hidden: true,
  622. meta: {
  623. title: "新建客户类型调价单",
  624. remixIcon: "bookmark-3-line",
  625. access: nodes.CustomerTypeAdjAdd,
  626. },
  627. component: () => import("@/views/goods/sale/CostumeTypeAdjustPriceAdd"),
  628. },
  629. {
  630. path: "sale/AdjustPrice",
  631. name: "AdjustPrice",
  632. meta: {
  633. title: "商品调价单",
  634. remixIcon: "bookmark-3-line",
  635. access: nodes.AdjustPrice,
  636. },
  637. component: () => import("@/views/goods/sale/AdjustPrice"),
  638. },
  639. {
  640. path: "sale/AdjustPriceGoods",
  641. name: "AdjustPriceGoods",
  642. meta: {
  643. title: "调价单",
  644. remixIcon: "bookmark-3-line",
  645. },
  646. component: () => import("@/views/goods/sale/AdjustPriceGoods"),
  647. },
  648. {
  649. path: "sale/AddGoodsAdjustPrice",
  650. name: "AddGoodsAdjustPrice",
  651. hidden: true,
  652. meta: {
  653. title: "新建商品调价单",
  654. remixIcon: "bookmark-3-line",
  655. access: nodes.AdjustPriceAdd,
  656. },
  657. component: () => import("@/views/goods/sale/AddGoodsAdjustPrice"),
  658. },
  659. // 预约订单
  660. {
  661. path: "item/OrderItem",
  662. name: "OrderItem",
  663. meta: {
  664. title: "服务项目",
  665. remixIcon: "list-unordered",
  666. },
  667. component: () => import("@/views/goods/item/OrderItem"),
  668. },
  669. {
  670. path: "item/AddItem",
  671. name: "AddItem",
  672. meta: {
  673. title: "新增服务项目",
  674. remixIcon: "list-unordered",
  675. },
  676. component: () => import("@/views/goods/item/components/addItem"),
  677. },
  678. {
  679. path: "item/editItem",
  680. name: "EditItem",
  681. meta: {
  682. title: "编辑服务项目",
  683. remixIcon: "list-unordered",
  684. },
  685. component: () => import("@/views/goods/item/components/addItem"),
  686. },
  687. ],
  688. },
  689. {
  690. path: "/order",
  691. name: "Order",
  692. component: Layout,
  693. redirect: "/order/manageO/orderQuery",
  694. alwaysShow: true,
  695. meta: {
  696. title: "订单",
  697. remixIcon: "file-list-2-line",
  698. },
  699. children: [
  700. /* {
  701. path: "manageO/newOrderList",
  702. name: "NewOrderList",
  703. meta: {
  704. title: "新订单列表",
  705. access: nodes.newOrderList,
  706. remixIcon: "list-unordered",
  707. },
  708. component: () => import("@/views/order/manageO/NewOrderList"),
  709. },*/
  710. {
  711. path: "manageO/orderQuery",
  712. name: "OrderQuery",
  713. meta: {
  714. title: "订货单",
  715. access: nodes.orderQuery,
  716. remixIcon: "list-unordered",
  717. },
  718. component: () => import("@/views/order/manageO/NewOrderList"),
  719. },
  720. {
  721. path: "manageO/OrderDetails/:userCenterId/:id",
  722. name: "OrderDetails",
  723. meta: {
  724. title: "订单详情",
  725. // access: nodes.OrderDetails,
  726. remixIcon: "list-unordered",
  727. },
  728. component: () => import("@/views/order/manageO/OrderDetails"),
  729. },
  730. {
  731. path: "manageO/selfOrder",
  732. name: "SelfOrder",
  733. meta: {
  734. title: "自提单",
  735. access: nodes.selfOrder,
  736. remixIcon: "list-unordered",
  737. },
  738. component: () => import("@/views/order/manageO/NewOrderList"),
  739. },
  740. /*{
  741. path: "manageO/CancelOrder",
  742. name: "CancelOrder",
  743. meta: {
  744. title: "已取消",
  745. access: nodes.CancelOrder,
  746. remixIcon: "list-unordered",
  747. },
  748. component: () => import("@/views/order/manageO/CancelOrder"),
  749. },*/
  750. {
  751. path: "manageO/OrderAdd",
  752. name: "OrderAdd",
  753. meta: {
  754. title: "代客下单",
  755. access: nodes.OrderAdd,
  756. remixIcon: "list-unordered",
  757. },
  758. component: () => import("@/views/order/manageO/OrderAdd"),
  759. },
  760. {
  761. path: "manageO/OrderEdit/:userCenterId/:id",
  762. name: "OrderEdit",
  763. hidden: true,
  764. meta: {
  765. title: "编辑订单",
  766. access: nodes.newOrderListEdit,
  767. remixIcon: "list-unordered",
  768. },
  769. component: () => import("@/views/order/manageO/OrderAdd"),
  770. },
  771. {
  772. path: "manageO/ReturnWarehousingOrder",
  773. name: "ReturnWarehousingOrder",
  774. meta: {
  775. title: "退货单",
  776. access: nodes.ReturnWarehousingOrder,
  777. remixIcon: "list-unordered",
  778. },
  779. component: () => import("@/views/order/manageO/ReturnWarehousingOrder"),
  780. },
  781. {
  782. path: "manageO/AddWareOrder",
  783. name: "AddWareOrder",
  784. hidden: true,
  785. meta: {
  786. title: "新增退货单",
  787. access: nodes.ReturnWarehousingOrderAddOrderReturn,
  788. },
  789. component: () => import("@/views/order/manageO/AddWareOrder"),
  790. },
  791. {
  792. path: "manageO/EditWareOrder/:id",
  793. name: "EditWareOrder",
  794. hidden: true,
  795. meta: {
  796. title: "编辑退货单",
  797. access: nodes.ReturnWarehousingOrderUpdateOrderReturn,
  798. remixIcon: "list-unordered",
  799. },
  800. component: () => import("@/views/order/manageO/AddWareOrder"),
  801. },
  802. {
  803. path: "manageO/LookWareOrder/:id",
  804. name: "LookWareOrder",
  805. hidden: true,
  806. meta: {
  807. title: "查看退货单",
  808. access: nodes.ReturnWarehousingOrderGetOrderReturn,
  809. remixIcon: "list-unordered",
  810. },
  811. component: () => import("@/views/order/manageO/LookWareOrder"),
  812. },
  813. /* {
  814. path: "saleO/AddSaleOrder",
  815. name: "AddSaleOrder",
  816. meta: {
  817. title: "创建销售单",
  818. access: nodes.addSaleOrder,
  819. remixIcon: "bill-line",
  820. },
  821. component: () => import("@/views/order/saleO/AddSaleOrder"),
  822. },
  823. {
  824. path: "saleO/SaleOrderList",
  825. name: "SaleOrderList",
  826. meta: {
  827. title: "销售单列表",
  828. access: nodes.saleOrderList,
  829. remixIcon: "bill-line",
  830. },
  831. component: () => import("@/views/order/saleO/SaleOrderList"),
  832. },*/
  833. {
  834. path: "SaleTotalForm/GoodsForm",
  835. name: "GoodsForm",
  836. meta: {
  837. title: "商品汇总表",
  838. access: nodes.OrderStatistics,
  839. remixIcon: "file-text-line",
  840. },
  841. component: () => import("@/views/order/SaleTotalForm/TotalForm"),
  842. },
  843. {
  844. path: "SaleTotalForm/CustomerForm",
  845. name: "CustomerForm",
  846. meta: {
  847. title: "客户汇总表",
  848. access: nodes.OrderStatistics,
  849. remixIcon: "file-text-line",
  850. },
  851. component: () => import("@/views/order/SaleTotalForm/TotalForm"),
  852. },
  853. {
  854. path: "SaleTotalForm/StaffForm",
  855. name: "StaffForm",
  856. meta: {
  857. title: "人员汇总表",
  858. access: nodes.OrderStatistics,
  859. remixIcon: "file-text-line",
  860. },
  861. component: () => import("@/views/order/SaleTotalForm/TotalForm"),
  862. },
  863. {
  864. path: "SaleTotalForm/SaleSummary",
  865. name: "SaleSummary",
  866. hidden: true,
  867. meta: {
  868. title: "销售毛利明细表(不含税价)",
  869. remixIcon: "file-text-line",
  870. },
  871. component: () => import("@/views/order/SaleTotalForm/SaleSummary"),
  872. },
  873. ],
  874. },
  875. {
  876. path: "/Customer",
  877. name: "Customer",
  878. component: Layout,
  879. redirect: "/Customer/CustomerAdmin/CustomerList",
  880. alwaysShow: true,
  881. meta: {
  882. title: "客户",
  883. remixIcon: "contacts-line",
  884. },
  885. children: [{
  886. path: "CustomerAdmin/CustomerImport",
  887. name: "CustomerImport",
  888. meta: {
  889. title: "导入客户",
  890. remixIcon: "bookmark-3-line",
  891. // access: nodes.CostumeAdjustPrice,
  892. },
  893. component: () =>
  894. import("@/views/Customer/CustomerAdmin/CustomerImport.vue"),
  895. },
  896. {
  897. path: "CustomerAdmin/CustomerList",
  898. name: "CustomerList",
  899. meta: {
  900. title: "客户列表",
  901. access: nodes.CustomerList,
  902. remixIcon: "user-3-line",
  903. },
  904. component: () =>
  905. import("@/views/Customer/CustomerAdmin/CustomerList.vue"),
  906. },
  907. {
  908. path: "CustomerAdmin/SaldoDetail",
  909. name: "SaldoDetail",
  910. meta: {
  911. title: "余额明细",
  912. remixIcon: "user-3-line",
  913. access: nodes.CustomerListSaldoDetail,
  914. },
  915. component: () =>
  916. import("@/views/Customer/CustomerAdmin/SaldoDetail.vue"),
  917. },
  918. // 积分明细
  919. {
  920. path: "CustomerAdmin/IntegralDetail/:id",
  921. name: "IntegralDetail",
  922. hidden: true,
  923. meta: {
  924. title: "股权明细",
  925. remixIcon: "user-3-line",
  926. access: nodes.CustomerListIntegralDetail,
  927. },
  928. component: () =>
  929. import("@/views/Customer/CustomerAdmin/IntegralDetail.vue"),
  930. },
  931. {
  932. path: "CustomerAdmin/AddCustomer",
  933. name: "AddCustomer",
  934. hidden: true,
  935. meta: {
  936. title: "新增客户",
  937. access: nodes.CustomerListAddCustomer,
  938. remixIcon: "user-3-line",
  939. },
  940. component: () =>
  941. import("@/views/Customer/CustomerAdmin/AddCustomer.vue"),
  942. },
  943. {
  944. path: "CustomerAdmin/EditCustomer/:id",
  945. name: "EditCustomer",
  946. hidden: true,
  947. meta: {
  948. title: "编辑客户",
  949. access: nodes.CustomerListEditCustomer,
  950. remixIcon: "user-3-line",
  951. },
  952. component: () =>
  953. import("@/views/Customer/CustomerAdmin/AddCustomer.vue"),
  954. },
  955. {
  956. path: "CustomerAdmin/CustomerDetail/:id",
  957. name: "CustomerDetail",
  958. hidden: true,
  959. meta: {
  960. title: "客户详情",
  961. access: nodes.CustomerListGetCustomerInfo,
  962. remixIcon: "user-3-line",
  963. },
  964. component: () =>
  965. import("@/views/Customer/CustomerAdmin/CustomerDetail.vue"),
  966. },
  967. {
  968. path: "CustomerAdmin/CustomerType",
  969. name: "CustomerType",
  970. meta: {
  971. title: "客户类型",
  972. access: nodes.CustomerType,
  973. remixIcon: "user-3-line",
  974. },
  975. component: () =>
  976. import("@/views/Customer/CustomerAdmin/CustomerType.vue"),
  977. },
  978. {
  979. path: "CustomerAdmin/LabelManagement",
  980. name: "LabelManagement",
  981. meta: {
  982. title: "标签管理",
  983. remixIcon: "user-3-line",
  984. access: nodes.LabelManagement,
  985. },
  986. component: () =>
  987. import("@/views/Customer/CustomerAdmin/LabelManagement.vue"),
  988. },
  989. {
  990. path: "CustomerAdmin/CustomerQuery",
  991. name: "CustomerQuery",
  992. meta: {
  993. title: "客户查询",
  994. access: nodes.CustomerQuery,
  995. remixIcon: "user-3-line",
  996. },
  997. component: () =>
  998. import("@/views/Customer/CustomerAdmin/CustomerQuery.vue"),
  999. },
  1000. {
  1001. path: "CustomerAdmin/CustomerClustering",
  1002. name: "CustomerClustering",
  1003. hidden: true,
  1004. meta: {
  1005. title: "客户分群",
  1006. access: nodes.CustomerClustering,
  1007. remixIcon: "user-3-line",
  1008. },
  1009. component: () =>
  1010. import("@/views/Customer/CustomerAdmin/CustomerClustering.vue"),
  1011. },
  1012. {
  1013. path: "CustomerAdmin/AddClustering",
  1014. name: "AddClustering",
  1015. hidden: true,
  1016. meta: {
  1017. title: "新建人群",
  1018. remixIcon: "user-3-line",
  1019. },
  1020. component: () =>
  1021. import("@/views/Customer/CustomerAdmin/AddClustering.vue"),
  1022. },
  1023. {
  1024. path: "CustomerAdmin/EditClustering/:id",
  1025. name: "EditClustering",
  1026. hidden: true,
  1027. meta: {
  1028. title: "编辑人群",
  1029. remixIcon: "user-3-line",
  1030. },
  1031. component: () =>
  1032. import("@/views/Customer/CustomerAdmin/AddClustering.vue"),
  1033. },
  1034. {
  1035. path: "CustomerAdmin/ClusteringAnalyze/:id",
  1036. name: "ClusteringAnalyze",
  1037. hidden: true,
  1038. meta: {
  1039. title: "人群分析",
  1040. remixIcon: "user-3-line",
  1041. },
  1042. component: () =>
  1043. import("@/views/Customer/CustomerAdmin/ClusteringAnalyze.vue"),
  1044. },
  1045. {
  1046. path: "CustomerCheck/NotCheck",
  1047. name: "NotCheck",
  1048. meta: {
  1049. title: "未审核",
  1050. access: nodes.NotCheck,
  1051. remixIcon: "user-star-line",
  1052. },
  1053. component: () =>
  1054. import("@/views/Customer/CustomerCheck/CustomerCheck.vue"),
  1055. },
  1056. {
  1057. path: "CustomerCheck/noPerfectData",
  1058. name: "NoPerfectData",
  1059. meta: {
  1060. title: "待完善资料",
  1061. access: nodes.getAuditAllCustomer,
  1062. remixIcon: "user-star-line",
  1063. },
  1064. component: () =>
  1065. import("@/views/Customer/CustomerCheck/CustomerCheck.vue"),
  1066. },
  1067. {
  1068. path: "CustomerBehavior/BrowsingHistory",
  1069. name: "BrowsingHistory",
  1070. meta: {
  1071. title: "浏览记录",
  1072. remixIcon: "user-star-line",
  1073. access: nodes.CustomerBehaviorBrowsingHistory,
  1074. },
  1075. component: () =>
  1076. import("@/views/Customer/CustomerBehavior/BrowsingHistory.vue"),
  1077. },
  1078. {
  1079. path: "CustomerBehavior/PurchaseHistory",
  1080. name: "PurchaseHistory",
  1081. meta: {
  1082. title: "购买记录",
  1083. remixIcon: "user-star-line",
  1084. access: nodes.CustomerBehaviorPurchaseHistory,
  1085. },
  1086. component: () =>
  1087. import("@/views/Customer/CustomerBehavior/PurchaseHistory.vue"),
  1088. },
  1089. {
  1090. path: "CustomerBehavior/DemandReporting",
  1091. name: "DemandReporting",
  1092. meta: {
  1093. title: "需求提报",
  1094. remixIcon: "user-star-line",
  1095. access: nodes.CustomerBehaviorDemandReporting,
  1096. },
  1097. component: () =>
  1098. import("@/views/Customer/CustomerBehavior/DemandReporting.vue"),
  1099. },
  1100. {
  1101. path: "CustomerStatements/AnomalyAnalysisTable",
  1102. name: "AnomalyAnalysisTable",
  1103. meta: {
  1104. title: "异常客户分析表",
  1105. access: nodes.CustomerStatementsAnomalyAnalysisTable,
  1106. remixIcon: "user-star-line",
  1107. },
  1108. component: () =>
  1109. import(
  1110. "@/views/Customer/CustomerStatements/AnomalyAnalysisTable.vue"
  1111. ),
  1112. },
  1113. {
  1114. path: "CustomerStatements/PullNewStatistics",
  1115. name: "PullNewStatistics",
  1116. meta: {
  1117. title: "拉新统计",
  1118. remixIcon: "user-star-line",
  1119. access: nodes.CustomerStatementsPullNewStatistics,
  1120. },
  1121. component: () =>
  1122. import("@/views/Customer/CustomerStatements/PullNewStatistics.vue"),
  1123. },
  1124. {
  1125. path: "CustomerStatements/VisitRepor",
  1126. name: "VisitRepor",
  1127. meta: {
  1128. title: "拜访报表",
  1129. remixIcon: "user-star-line",
  1130. access: nodes.CustomerStatementsVisitRepor,
  1131. },
  1132. component: () =>
  1133. import("@/views/Customer/CustomerStatements/VisitRepor.vue"),
  1134. },
  1135. {
  1136. path: "CustomerStatements/CustomerMap",
  1137. name: "CustomerMap",
  1138. meta: {
  1139. title: "客户分布图",
  1140. remixIcon: "user-star-line",
  1141. access: nodes.CustomerStatementsCustomerDistribution,
  1142. },
  1143. component: () =>
  1144. import("@/views/Customer/CustomerStatements/CustomerMap.vue"),
  1145. },
  1146. // {
  1147. // path: "CustomerStatements/StaffPullNewStatistics",
  1148. // name: "StaffPullNewStatistics",
  1149. // meta: {
  1150. // title: "员工拉新统计",
  1151. // remixIcon: "user-star-line",
  1152. // },
  1153. // component: () =>
  1154. // import(
  1155. // "@/views/Customer/CustomerStatements/StaffPullNewStatistics.vue"
  1156. // ),
  1157. // },
  1158. ],
  1159. },
  1160. {
  1161. path: "/Purchase",
  1162. component: Layout,
  1163. redirect: "/Purchase/ManageP/PurchaseOrder",
  1164. alwaysShow: true,
  1165. meta: {
  1166. title: "采购",
  1167. remixIcon: "shopping-cart-line",
  1168. },
  1169. children: [{
  1170. path: "ManageP/Supplier",
  1171. name: "Supplier",
  1172. meta: {
  1173. title: "供应商管理",
  1174. access: nodes.Supplier,
  1175. remixIcon: "shopping-cart-line",
  1176. },
  1177. component: () => import("@/views/Purchase/ManageP/Supplier"),
  1178. },
  1179. {
  1180. path: "ManageP/Stockout",
  1181. name: "Stockout",
  1182. meta: {
  1183. title: "缺货单",
  1184. access: nodes.Stockout,
  1185. remixIcon: "shopping-cart-line",
  1186. },
  1187. component: () => import("@/views/Purchase/ManageP/Stockout"),
  1188. },
  1189. {
  1190. path: "ManageP/SupplierAdd",
  1191. name: "SupplierAdd",
  1192. hidden: true,
  1193. meta: {
  1194. title: "新增供应商",
  1195. access: nodes.SupplierAddSupplier,
  1196. remixIcon: "shopping-cart-line",
  1197. },
  1198. component: () => import("@/views/Purchase/ManageP/SupplierAdd"),
  1199. },
  1200. {
  1201. path: "ManageP/SupplierImport",
  1202. name: "SupplierImport",
  1203. hidden: true,
  1204. meta: {
  1205. title: "导入供应商",
  1206. // access: nodes.SupplierAddSupplier,
  1207. remixIcon: "shopping-cart-line",
  1208. },
  1209. component: () => import("@/views/Purchase/ManageP/SupplierImport"),
  1210. },
  1211. {
  1212. path: "ManageP/NewMerchant",
  1213. name: "NewMerchant",
  1214. hidden: true,
  1215. meta: {
  1216. title: "新增商户",
  1217. // access: nodes.SupplierAddSupplier,
  1218. remixIcon: "shopping-cart-line",
  1219. },
  1220. component: () => import("@/views/Purchase/ManageP/NewMerchant"),
  1221. },
  1222. {
  1223. path: "ManageP/SupplierEdit/:id",
  1224. name: "SupplierEdit",
  1225. hidden: true,
  1226. meta: {
  1227. title: "编辑供应商",
  1228. access: nodes.SupplierEditSupplier,
  1229. remixIcon: "shopping-cart-line",
  1230. },
  1231. component: () => import("@/views/Purchase/ManageP/SupplierAdd"),
  1232. },
  1233. {
  1234. path: "ManageP/SupplierLook/:id",
  1235. name: "SupplierLook",
  1236. hidden: true,
  1237. meta: {
  1238. title: "查看供应商",
  1239. access: nodes.SupplierGetSupplierInfoById,
  1240. remixIcon: "shopping-cart-line",
  1241. },
  1242. component: () => import("@/views/Purchase/ManageP/SupplierAdd"),
  1243. },
  1244. {
  1245. path: "ManageP/PurchaseOrder",
  1246. name: "PurchaseOrder",
  1247. meta: {
  1248. title: "采购单",
  1249. access: nodes.PurchaseOrder,
  1250. remixIcon: "shopping-cart-line",
  1251. },
  1252. component: () => import("@/views/Purchase/ManageP/PurchaseOrder"),
  1253. },
  1254. {
  1255. path: "ManageP/PurchaseOrderAdd/",
  1256. name: "PurchaseOrderAdd",
  1257. noKeepAlive: true,
  1258. hidden: true,
  1259. meta: {
  1260. title: "新增采购单",
  1261. access: nodes.PurchaseOrderAddPurchase,
  1262. remixIcon: "shopping-cart-line",
  1263. },
  1264. component: () => import("@/views/Purchase/ManageP/PurchaseOrderAdd"),
  1265. },
  1266. {
  1267. path: "ManageP/PurchaseOrderEdit/:id",
  1268. name: "PurchaseOrderEdit",
  1269. hidden: true,
  1270. meta: {
  1271. title: "编辑采购单",
  1272. access: nodes.PurchaseOrderEditPurchase,
  1273. remixIcon: "shopping-cart-line",
  1274. },
  1275. component: () => import("@/views/Purchase/ManageP/PurchaseOrderAdd"),
  1276. },
  1277. {
  1278. path: "ManageP/PurchaseOrderLook/:id",
  1279. name: "PurchaseOrderLook",
  1280. hidden: true,
  1281. meta: {
  1282. title: "查看采购单",
  1283. access: nodes.PurchaseOrderAddPurchase,
  1284. remixIcon: "shopping-cart-line",
  1285. },
  1286. component: () => import("@/views/Purchase/ManageP/PurchaseOrderLook"),
  1287. },
  1288. {
  1289. path: "ManageP/PurchaseReturnOrder",
  1290. name: "PurchaseReturnOrder",
  1291. meta: {
  1292. title: "采购退货单",
  1293. access: nodes.PurchaseReturnOrder,
  1294. remixIcon: "shopping-cart-line",
  1295. },
  1296. component: () => import("@/views/Purchase/ManageP/PurchaseReturnOrder"),
  1297. },
  1298. {
  1299. path: "ManageP/Merchant",
  1300. name: "Merchant",
  1301. meta: {
  1302. title: "商户采购单",
  1303. access: nodes.Merchant,
  1304. remixIcon: "shopping-cart-line",
  1305. },
  1306. component: () => import("@/views/Purchase/ManageP/Merchant"),
  1307. },
  1308. {
  1309. path: "ManageP/AddMerchantPurchase",
  1310. name: "AddMerchant",
  1311. meta: {
  1312. title: "新增商户采购单",
  1313. access: nodes.MerchantAddMerchant,
  1314. remixIcon: "shopping-cart-line",
  1315. },
  1316. component: () => import("@/views/Purchase/ManageP/AddMerchantPurchase"),
  1317. },
  1318. {
  1319. path: "ManageP/EditMerchantPurchase/:id",
  1320. name: "EditMerchantPurchase",
  1321. meta: {
  1322. title: "编辑商户采购单",
  1323. access: nodes.MerchantPurchaseOrderEdit,
  1324. remixIcon: "shopping-cart-line",
  1325. },
  1326. component: () => import("@/views/Purchase/ManageP/AddMerchantPurchase"),
  1327. },
  1328. {
  1329. path: "ManageP/MerchantPurchaseDetail/:id",
  1330. name: "MerchantPurchaseDetail",
  1331. meta: {
  1332. title: "商户采购单详情",
  1333. access: nodes.MerchantPurchaseOrderEdit,
  1334. remixIcon: "shopping-cart-line",
  1335. },
  1336. component: () =>
  1337. import("@/views/Purchase/ManageP/MerchantPurchaseDetail"),
  1338. },
  1339. {
  1340. path: "ManageP/PurchaseReturnOrderAdd/:type",
  1341. name: "PurchaseReturnOrderAdd",
  1342. hidden: true,
  1343. meta: {
  1344. title: "新增采购退货单",
  1345. access: nodes.PurchaseReturnOrderAddPurchaseOut,
  1346. remixIcon: "shopping-cart-line",
  1347. },
  1348. component: () =>
  1349. import("@/views/Purchase/ManageP/PurchaseReturnOrderAdd"),
  1350. },
  1351. {
  1352. path: "ManageP/PurchaseReturnOrderEdit/:id/:type",
  1353. name: "PurchaseReturnOrderEdit",
  1354. hidden: true,
  1355. meta: {
  1356. title: "编辑采购退货单",
  1357. access: nodes.PurchaseReturnOrderEditPurchase,
  1358. remixIcon: "shopping-cart-line",
  1359. },
  1360. component: () =>
  1361. import("@/views/Purchase/ManageP/PurchaseReturnOrderAdd"),
  1362. },
  1363. {
  1364. path: "ManageP/PurchaseReturnOrderLook/:id",
  1365. name: "PurchaseReturnOrderLook",
  1366. hidden: true,
  1367. meta: {
  1368. title: "查看采购退货单",
  1369. access: nodes.PurchaseReturnOrderGetPurchaseOutInfoById,
  1370. remixIcon: "shopping-cart-line",
  1371. },
  1372. component: () =>
  1373. import("@/views/Purchase/ManageP/PurchaseReturnOrderLook"),
  1374. },
  1375. {
  1376. path: "ManageP/PurchaseDetail",
  1377. name: "PurchaseDetail",
  1378. meta: {
  1379. title: "采购明细",
  1380. access: nodes.PurchaseDetail,
  1381. remixIcon: "shopping-cart-line",
  1382. },
  1383. component: () => import("@/views/Purchase/ManageP/PurchaseDetail"),
  1384. },
  1385. {
  1386. path: "PurchaseTotalForm/GoodsForm",
  1387. name: "PurchaseGoodsForm",
  1388. meta: {
  1389. title: "采购商品汇总表",
  1390. access: nodes.PurchaseStatisticsGetAllPurchaseByFields,
  1391. remixIcon: "file-text-line",
  1392. },
  1393. component: () => import("@/views/Purchase/PurchaseTotalForm/TotalForm"),
  1394. },
  1395. {
  1396. path: "PurchaseTotalForm/SupplierForm",
  1397. name: "PurchaseSupplierForm",
  1398. meta: {
  1399. title: "采购供应商汇总表",
  1400. remixIcon: "file-text-line",
  1401. access: nodes.GetSupplierAllPurchaseByFields,
  1402. },
  1403. component: () => import("@/views/Purchase/PurchaseTotalForm/TotalForm"),
  1404. },
  1405. {
  1406. path: "PurchaseTotalForm/StaffForm",
  1407. name: "PurchaseStaffForm",
  1408. meta: {
  1409. title: "采购人员汇总表",
  1410. access: nodes.GetStaffAllPurchaseByFields,
  1411. remixIcon: "file-text-line",
  1412. },
  1413. component: () => import("@/views/Purchase/PurchaseTotalForm/TotalForm"),
  1414. },
  1415. ],
  1416. },
  1417. {
  1418. path: "/stock",
  1419. component: Layout,
  1420. redirect: "/stock/OutIn/outgoing",
  1421. alwaysShow: true,
  1422. meta: {
  1423. title: "库存",
  1424. remixIcon: "home-8-line",
  1425. },
  1426. children: [{
  1427. path: "OutIn/outgoing",
  1428. name: "Outgoing",
  1429. meta: {
  1430. title: "出库管理",
  1431. access: nodes.InventoryOut,
  1432. remixIcon: "home-gear-line",
  1433. },
  1434. component: () => import("@/views/stock/OutIn/outgoing"),
  1435. },
  1436. {
  1437. path: "OutIn/outgoingInfo/:id",
  1438. name: "OutgoingInfo",
  1439. hidden: true,
  1440. meta: {
  1441. title: "出库单详情",
  1442. access: nodes.InventoryOutGetInventoryOutInfo,
  1443. remixIcon: "home-gear-line",
  1444. },
  1445. component: () => import("@/views/stock/OutIn/outgoingInfo"),
  1446. },
  1447. {
  1448. path: "OutIn/storage",
  1449. name: "Storage",
  1450. meta: {
  1451. title: "入库管理",
  1452. access: nodes.InventoryIn,
  1453. remixIcon: "home-gear-line",
  1454. },
  1455. component: () => import("@/views/stock/OutIn/storage"),
  1456. },
  1457. {
  1458. path: "OutIn/AddStorage",
  1459. name: "AddStorage",
  1460. meta: {
  1461. title: "新增入库单",
  1462. // access: nodes.InventoryIn,
  1463. remixIcon: "home-gear-line",
  1464. },
  1465. component: () => import("@/views/stock/OutIn/AddStorage"),
  1466. },
  1467. {
  1468. path: "OutIn/storageInfo/:id",
  1469. name: "StorageInfo",
  1470. hidden: true,
  1471. meta: {
  1472. title: "入库单详情",
  1473. access: nodes.InventoryInGetInventoryInInfo,
  1474. remixIcon: "home-gear-line",
  1475. },
  1476. component: () => import("@/views/stock/OutIn/storageInfo"),
  1477. },
  1478. {
  1479. path: "WarehouseAdmin/query",
  1480. name: "Query",
  1481. meta: {
  1482. title: "库存查询",
  1483. access: nodes.query,
  1484. remixIcon: "home-gear-line",
  1485. },
  1486. component: () => import("@/views/stock/WarehouseAdmin/query"),
  1487. },
  1488. {
  1489. path: "WarehouseAdmin/warehouseInventory",
  1490. name: "warehouseInventory",
  1491. meta: {
  1492. title: "仓库库存",
  1493. access: nodes.warehouseInventory,
  1494. remixIcon: "home-gear-line",
  1495. },
  1496. component: () =>
  1497. import("@/views/stock/WarehouseAdmin/warehouseInventory"),
  1498. },
  1499. {
  1500. path: "WarehouseAdmin/flowing",
  1501. name: "Flowing",
  1502. meta: {
  1503. title: "库存流水",
  1504. access: nodes.flowing,
  1505. remixIcon: "home-gear-line",
  1506. },
  1507. component: () => import("@/views/stock/WarehouseAdmin/flowing"),
  1508. },
  1509. {
  1510. path: "WarehouseAdmin/Batch",
  1511. name: "Batch",
  1512. meta: {
  1513. title: "批次流水",
  1514. access: nodes.Batch,
  1515. remixIcon: "home-gear-line",
  1516. },
  1517. component: () => import("@/views/stock/WarehouseAdmin/Batch"),
  1518. },
  1519. {
  1520. path: "WarehouseAdmin/ShelfLife",
  1521. name: "ShelfLife",
  1522. meta: {
  1523. title: "保质期查询",
  1524. access: nodes.GetBatch,
  1525. remixIcon: "home-gear-line",
  1526. },
  1527. component: () => import("@/views/stock/WarehouseAdmin/ShelfLife"),
  1528. },
  1529. {
  1530. path: "WarehouseManagement/Management",
  1531. name: "Management",
  1532. meta: {
  1533. title: "仓库管理",
  1534. access: nodes.management,
  1535. remixIcon: "home-6-line",
  1536. },
  1537. component: () => import("@/views/stock/WarehouseManagement/Management"),
  1538. },
  1539. {
  1540. path: "WarehouseManagement/WarehouseArea",
  1541. name: "WarehouseArea",
  1542. meta: {
  1543. title: "库区管理",
  1544. access: nodes.WarehouseArea,
  1545. remixIcon: "home-6-line",
  1546. },
  1547. component: () =>
  1548. import("@/views/stock/WarehouseManagement/WarehouseArea"),
  1549. },
  1550. {
  1551. path: "WarehouseManagement/LocationManagement",
  1552. name: "LocationManagement",
  1553. meta: {
  1554. title: "库位管理",
  1555. access: nodes.LocationManagement,
  1556. remixIcon: "home-6-line",
  1557. },
  1558. component: () =>
  1559. import("@/views/stock/WarehouseManagement/LocationManagement"),
  1560. },
  1561. {
  1562. path: "WarehouseManagement/newWarehouse",
  1563. name: "NewWarehouse",
  1564. hidden: true,
  1565. meta: {
  1566. title: "新建仓库",
  1567. access: nodes.managementAddWarehouse,
  1568. remixIcon: "home-6-line",
  1569. },
  1570. component: () =>
  1571. import("@/views/stock/WarehouseManagement/newWarehouse"),
  1572. },
  1573. {
  1574. path: "WarehouseManagement/eitWarehouse/:id",
  1575. name: "EitWarehouse",
  1576. hidden: true,
  1577. meta: {
  1578. title: "编辑仓库",
  1579. access: nodes.managementUpdateWarehouse,
  1580. },
  1581. component: () =>
  1582. import("@/views/stock/WarehouseManagement/newWarehouse"),
  1583. },
  1584. {
  1585. path: "WarehouseManagement/start",
  1586. name: "Start",
  1587. hidden: true,
  1588. meta: {
  1589. title: "期初库存",
  1590. remixIcon: "home-6-line",
  1591. },
  1592. component: () => import("@/views/stock/WarehouseManagement/start"),
  1593. },
  1594. {
  1595. path: "WarehouseManagement/startInfo",
  1596. name: "StartInfo",
  1597. hidden: true,
  1598. meta: {
  1599. title: "期初库存单详情",
  1600. remixIcon: "home-6-line",
  1601. },
  1602. component: () => import("@/views/stock/WarehouseManagement/startInfo"),
  1603. },
  1604. {
  1605. path: "WarehouseManagement/newStart",
  1606. name: "NewStart",
  1607. hidden: true,
  1608. meta: {
  1609. title: "新建期初库存",
  1610. access: nodes.managementAddWarehouseBeginning,
  1611. remixIcon: "home-6-line",
  1612. },
  1613. component: () => import("@/views/stock/WarehouseManagement/newStart"),
  1614. },
  1615. {
  1616. path: "WarehouseManagement/inventoryInfo",
  1617. name: "InventoryInfo",
  1618. meta: {
  1619. title: "盘点单",
  1620. access: nodes.inventoryInfo,
  1621. remixIcon: "home-6-line",
  1622. },
  1623. component: () =>
  1624. import("@/views/stock/WarehouseManagement/inventoryInfo"),
  1625. },
  1626. {
  1627. path: "WarehouseManagement/AddInventoryInfo",
  1628. name: "AddInventoryInfo",
  1629. hidden: true,
  1630. meta: {
  1631. title: "新建盘点单",
  1632. access: nodes.inventoryInfoAddStocktaking,
  1633. remixIcon: "home-6-line",
  1634. },
  1635. component: () =>
  1636. import("@/views/stock/WarehouseManagement/AddInventoryInfo.vue"),
  1637. },
  1638. {
  1639. path: "WarehouseManagement/EditInventoryInfo/:id",
  1640. name: "EditInventoryInfo",
  1641. hidden: true,
  1642. meta: {
  1643. title: "编辑盘点单",
  1644. access: nodes.inventoryInfoUpdateStocktaking,
  1645. remixIcon: "home-6-line",
  1646. },
  1647. component: () =>
  1648. import("@/views/stock/WarehouseManagement/AddInventoryInfo.vue"),
  1649. },
  1650. {
  1651. path: "WarehouseManagement/InventoryDetail/:id",
  1652. name: "InventoryDetail",
  1653. hidden: true,
  1654. meta: {
  1655. title: "盘点单详情",
  1656. access: nodes.inventoryInfoGetStocktakingInfo,
  1657. remixIcon: "home-6-line",
  1658. },
  1659. component: () =>
  1660. import("@/views/stock/WarehouseManagement/InventoryDetail.vue"),
  1661. },
  1662. {
  1663. path: "WarehouseManagement/AllocationForm",
  1664. name: "AllocationForm",
  1665. meta: {
  1666. title: "调拨单",
  1667. access: nodes.AllocationForm,
  1668. remixIcon: "home-6-line",
  1669. },
  1670. component: () =>
  1671. import("@/views/stock/WarehouseManagement/AllocationForm.vue"),
  1672. },
  1673. {
  1674. path: "WarehouseManagement/AddAllocationForm",
  1675. name: "AddAllocationForm",
  1676. hidden: true,
  1677. meta: {
  1678. title: "新增调拨单",
  1679. access: nodes.AllocationFormAddAllocate,
  1680. remixIcon: "home-6-line",
  1681. },
  1682. component: () =>
  1683. import("@/views/stock/WarehouseManagement/AddAllocationForm.vue"),
  1684. },
  1685. {
  1686. path: "WarehouseManagement/EditAllocationForm/:id",
  1687. name: "EditAllocationForm",
  1688. hidden: true,
  1689. meta: {
  1690. title: "修改调拨单",
  1691. access: nodes.AllocationFormUpdateAllocate,
  1692. remixIcon: "home-6-line",
  1693. },
  1694. component: () =>
  1695. import("@/views/stock/WarehouseManagement/AddAllocationForm.vue"),
  1696. },
  1697. {
  1698. path: "WarehouseManagement/DetailAllocationForm/:id",
  1699. name: "DetailAllocationForm",
  1700. hidden: true,
  1701. meta: {
  1702. title: "调拨单详情",
  1703. access: nodes.AllocationFormGetAllocateInfo,
  1704. remixIcon: "home-6-line",
  1705. },
  1706. component: () =>
  1707. import("@/views/stock/WarehouseManagement/DetailAllocationForm.vue"),
  1708. },
  1709. {
  1710. path: "WarehouseManagement/LossReport",
  1711. name: "LossReport",
  1712. meta: {
  1713. title: "报损单",
  1714. remixIcon: "home-6-line",
  1715. access: nodes.LossReport,
  1716. },
  1717. component: () =>
  1718. import("@/views/stock/WarehouseManagement/LossReport.vue"),
  1719. },
  1720. {
  1721. path: "WarehouseManagement/AddLossReport",
  1722. name: "AddLossReport",
  1723. meta: {
  1724. title: "新增报损单",
  1725. remixIcon: "home-6-line",
  1726. access: nodes.LossReportAddLossReport,
  1727. },
  1728. component: () =>
  1729. import("@/views/stock/WarehouseManagement/AddLossReport.vue"),
  1730. },
  1731. {
  1732. path: "WarehouseManagement/EditLossReport",
  1733. name: "EditLossReport",
  1734. meta: {
  1735. title: "修改报损单",
  1736. remixIcon: "home-6-line",
  1737. access: nodes.LossReportEditLossReport,
  1738. },
  1739. component: () =>
  1740. import("@/views/stock/WarehouseManagement/AddLossReport.vue"),
  1741. },
  1742. {
  1743. path: "WarehouseManagement/LossReportInfo/:id",
  1744. name: "LossReportInfo",
  1745. meta: {
  1746. title: "报损单详情",
  1747. remixIcon: "home-6-line",
  1748. access: nodes.LossReportDetailLossReport,
  1749. },
  1750. component: () =>
  1751. import("@/views/stock/WarehouseManagement/LossReportInfo.vue"),
  1752. },
  1753. {
  1754. path: "summary/GoodsReceiptIssueSummary",
  1755. name: "GoodsReceiptIssueSummary",
  1756. hidden: true,
  1757. meta: {
  1758. title: "商品收发汇总",
  1759. access: nodes.PublishGoodsEditGoods,
  1760. remixIcon: "file-text-line",
  1761. },
  1762. component: () =>
  1763. import("@/views/stock/summary/GoodsReceiptIssueSummary"),
  1764. },
  1765. {
  1766. path: "summary/WarehouseStockSummary",
  1767. name: "WarehouseStockSummary",
  1768. meta: {
  1769. title: "库存汇总",
  1770. access: nodes.inventoryStatistics,
  1771. },
  1772. component: () =>
  1773. import("@/views/stock/summary/WarehouseStockSummary.vue"),
  1774. },
  1775. {
  1776. path: "OrdersForShipment/PickingCenter",
  1777. name: "PickingCenter",
  1778. meta: {
  1779. title: "拣货中心",
  1780. // access: nodes.inventoryStatistics,
  1781. },
  1782. component: () =>
  1783. import("@/views/stock/OrdersForShipment/PickingCenter.vue"),
  1784. },
  1785. {
  1786. path: "OrdersForShipment/PickingDetail",
  1787. name: "PickingDetail",
  1788. meta: {
  1789. title: "待拣货订单明细",
  1790. // access: nodes.inventoryStatistics,
  1791. },
  1792. component: () =>
  1793. import("@/views/stock/OrdersForShipment/PickingDetail.vue"),
  1794. },
  1795. {
  1796. path: "OrdersForShipment/pickingList/:id",
  1797. name: "pickingList",
  1798. meta: {
  1799. title: "拣货单",
  1800. // access: nodes.inventoryStatistics,
  1801. },
  1802. component: () =>
  1803. import("@/views/stock/OrdersForShipment/pickingList.vue"),
  1804. },
  1805. {
  1806. path: "OrdersForShipment/DistributionCenter",
  1807. name: "DistributionCenter",
  1808. meta: {
  1809. title: "配送中心",
  1810. // access: nodes.inventoryStatistics,
  1811. },
  1812. component: () =>
  1813. import("@/views/stock/OrdersForShipment/DistributionCenter.vue"),
  1814. },
  1815. {
  1816. path: "OrdersForShipment/DeliveryDetailsOfGoods",
  1817. name: "DeliveryDetailsOfGoods",
  1818. meta: {
  1819. title: "配送商品明细",
  1820. // access: nodes.inventoryStatistics,
  1821. },
  1822. component: () =>
  1823. import("@/views/stock/OrdersForShipment/DeliveryDetailsOfGoods.vue"),
  1824. },
  1825. {
  1826. path: "OrdersForShipment/SalesOutbound/:id",
  1827. name: "SalesOutbound",
  1828. meta: {
  1829. title: "销售出库单",
  1830. // access: nodes.inventoryStatistics,
  1831. },
  1832. component: () =>
  1833. import("@/views/stock/OrdersForShipment/SalesOutbound.vue"),
  1834. },
  1835. {
  1836. path: "OrdersForShipment/DeliveryReceivedDetails/:id",
  1837. name: "DeliveryReceivedDetails",
  1838. meta: {
  1839. title: "配送待收货明细",
  1840. // access: nodes.inventoryStatistics,
  1841. },
  1842. component: () =>
  1843. import("@/views/stock/OrdersForShipment/DeliveryReceivedDetails.vue"),
  1844. },
  1845. {
  1846. path: "OrdersForShipment/DeliveryToBeReceivedDetails",
  1847. name: "DeliveryToBeReceivedDetails",
  1848. meta: {
  1849. title: "配送待收货明细",
  1850. // access: nodes.inventoryStatistics,
  1851. },
  1852. component: () =>
  1853. import(
  1854. "@/views/stock/OrdersForShipment/DeliveryToBeReceivedDetails.vue"
  1855. ),
  1856. },
  1857. // {
  1858. // path: "OutIn/inventoryWarning",
  1859. // name: "inventoryWarning",
  1860. // meta: {
  1861. // title: "库存预警",
  1862. // remixIcon: "home-gear-line",
  1863. // },
  1864. // component: () => import("@/views/stock/OutIn/inventoryWarning"),
  1865. // },
  1866. ],
  1867. },
  1868. {
  1869. path: "/Finance",
  1870. component: Layout,
  1871. redirect: "/Finance/Receivable/ReceivableList",
  1872. alwaysShow: true,
  1873. meta: {
  1874. title: "财务",
  1875. remixIcon: "money-cny-circle-line",
  1876. },
  1877. children: [{
  1878. path: "Receivable/ReceivableList",
  1879. name: "ReceivableList",
  1880. meta: {
  1881. title: "应收单列表",
  1882. access: nodes.ReceivableList,
  1883. remixIcon: "align-bottom",
  1884. },
  1885. component: () => import("@/views/Finance/Receivable/ReceivableList"),
  1886. },
  1887. {
  1888. path: "Receivable/AddReceivable",
  1889. name: "AddReceivable",
  1890. hidden: true,
  1891. meta: {
  1892. title: "新增应收单",
  1893. remixIcon: "align-bottom",
  1894. },
  1895. component: () => import("@/views/Finance/Receivable/AddReceivable.vue"),
  1896. },
  1897. {
  1898. path: "Receivable/ReceiptList",
  1899. name: "ReceiptList",
  1900. meta: {
  1901. title: "收款单列表",
  1902. access: nodes.ReceiptListGetAllReceived,
  1903. remixIcon: "align-bottom",
  1904. },
  1905. component: () => import("@/views/Finance/Receivable/ReceiptList.vue"),
  1906. },
  1907. {
  1908. path: "Receivable/AddReceipt",
  1909. name: "AddReceipt",
  1910. hidden: true,
  1911. meta: {
  1912. title: "新增收款单",
  1913. access: nodes.ReceiptListAddReceived,
  1914. remixIcon: "align-bottom",
  1915. },
  1916. component: () => import("@/views/Finance/Receivable/AddReceipt.vue"),
  1917. },
  1918. {
  1919. path: "Receivable/LookReceipt/:id/:createTime",
  1920. name: "LookReceipt",
  1921. hidden: true,
  1922. meta: {
  1923. title: "收款单详情",
  1924. access: nodes.ReceiptListGetReceivedInfo,
  1925. remixIcon: "align-bottom",
  1926. },
  1927. component: () => import("@/views/Finance/Receivable/LookReceipt.vue"),
  1928. },
  1929. {
  1930. path: "Receivable/editReceipt/:id/:createTime",
  1931. name: "EditReceipt",
  1932. hidden: true,
  1933. meta: {
  1934. title: "编辑收款单",
  1935. access: nodes.ReceiptListGetReceivedInfo,
  1936. remixIcon: "align-bottom",
  1937. },
  1938. component: () => import("@/views/Finance/Receivable/AddReceipt.vue"),
  1939. },
  1940. {
  1941. path: "Receivable/ApplyReceipt",
  1942. name: "ApplyReceipt",
  1943. hidden: true,
  1944. meta: {
  1945. title: "收款申请单",
  1946. remixIcon: "align-bottom",
  1947. access: nodes.ApplyReceipt,
  1948. },
  1949. component: () => import("@/views/Finance/Receivable/ApplyReceipt.vue"),
  1950. },
  1951. {
  1952. path: "Receivable/AddApplyReceipt",
  1953. name: "AddApplyReceipt",
  1954. hidden: true,
  1955. meta: {
  1956. title: "新增收款申请单",
  1957. remixIcon: "align-bottom",
  1958. access: nodes.addApplyReceipt,
  1959. },
  1960. component: () =>
  1961. import("@/views/Finance/Receivable/AddApplyReceipt.vue"),
  1962. },
  1963. {
  1964. path: "Receivable/editApplyReceipt/:id",
  1965. name: "editApplyReceipt",
  1966. hidden: true,
  1967. meta: {
  1968. title: "编辑收款申请单",
  1969. remixIcon: "align-bottom",
  1970. access: nodes.editApplyReceipt,
  1971. },
  1972. component: () =>
  1973. import("@/views/Finance/Receivable/AddApplyReceipt.vue"),
  1974. },
  1975. {
  1976. path: "Receivable/ApplyReceiptInfo/:id",
  1977. name: "ApplyReceiptInfo",
  1978. hidden: true,
  1979. meta: {
  1980. title: "收款申请单详情",
  1981. remixIcon: "align-bottom",
  1982. access: nodes.auditApplyReceipt,
  1983. },
  1984. component: () =>
  1985. import("@/views/Finance/Receivable/ApplyReceiptInfo.vue"),
  1986. },
  1987. {
  1988. path: "Receivable/CustomerBalance",
  1989. name: "CustomerBalance",
  1990. meta: {
  1991. title: "客户往来汇总表",
  1992. access: nodes.CustomerBalanceGetAllCustomerBalance,
  1993. remixIcon: "align-bottom",
  1994. },
  1995. component: () =>
  1996. import("@/views/Finance/Receivable/CustomerBalance.vue"),
  1997. },
  1998. {
  1999. path: "Receivable/CustomerBalanceDetail",
  2000. name: "CustomerBalanceDetail",
  2001. meta: {
  2002. title: "客户往来明细表",
  2003. access: nodes.CustomerBalanceDetailGetAllCustomerBalanceDetail,
  2004. remixIcon: "align-bottom",
  2005. },
  2006. component: () =>
  2007. import("@/views/Finance/Receivable/CustomerBalanceDetail.vue"),
  2008. },
  2009. {
  2010. path: "Handle/HandleList",
  2011. name: "HandleList",
  2012. meta: {
  2013. title: "应付单列表",
  2014. access: nodes.HandleList,
  2015. remixIcon: "align-top",
  2016. },
  2017. component: () => import("@/views/Finance/Handle/HandleList.vue"),
  2018. },
  2019. {
  2020. path: "Handle/PaymentList",
  2021. name: "PaymentList",
  2022. meta: {
  2023. title: "付款单列表",
  2024. access: nodes.PaymentListGetAllPaid,
  2025. remixIcon: "align-top",
  2026. },
  2027. component: () => import("@/views/Finance/Handle/PaymentList.vue"),
  2028. },
  2029. {
  2030. path: "Handle/editPayment/:id/:createTime",
  2031. name: "EditPayment",
  2032. hidden: true,
  2033. meta: {
  2034. title: "编辑付款单",
  2035. access: nodes.ReceiptListGetReceivedInfo,
  2036. remixIcon: "align-top",
  2037. },
  2038. component: () => import("@/views/Finance/Handle/AddPayment.vue"),
  2039. },
  2040. {
  2041. path: "Handle/AddPayment",
  2042. name: "AddPayment",
  2043. hidden: true,
  2044. meta: {
  2045. title: "新增付款单",
  2046. access: nodes.PaymentListAddPaid,
  2047. remixIcon: "align-top",
  2048. },
  2049. component: () => import("@/views/Finance/Handle/AddPayment.vue"),
  2050. },
  2051. {
  2052. path: "Handle/LookPayment/:id/:createTime",
  2053. name: "LookPayment",
  2054. hidden: true,
  2055. meta: {
  2056. title: "付款单详情",
  2057. access: nodes.PaymentListGetPaidInfo,
  2058. remixIcon: "align-top",
  2059. },
  2060. component: () => import("@/views/Finance/Handle/LookPayment.vue"),
  2061. },
  2062. {
  2063. path: "Handle/SupplierBalance",
  2064. name: "SupplierBalance",
  2065. meta: {
  2066. title: "供应商往来汇总表",
  2067. access: nodes.CustomerBalanceGetAllSupplierBalance,
  2068. remixIcon: "align-top",
  2069. },
  2070. component: () => import("@/views/Finance/Handle/SupplierBalance.vue"),
  2071. },
  2072. {
  2073. path: "Handle/SupplierBalanceDetails",
  2074. name: "SupplierBalanceDetails",
  2075. meta: {
  2076. title: "供应商余额明细表",
  2077. access: nodes.SupplierBalanceDetailsGetAllSupplierBalanceDetail,
  2078. remixIcon: "align-top",
  2079. },
  2080. component: () =>
  2081. import("@/views/Finance/Handle/SupplierBalanceDetails.vue"),
  2082. },
  2083. {
  2084. path: "Cashier/FunTransfer",
  2085. name: "FunTransfer",
  2086. meta: {
  2087. title: "资金转账单",
  2088. access: nodes.FunTransfer,
  2089. remixIcon: "bank-card-line",
  2090. },
  2091. component: () => import("@/views/Finance/Cashier/FunTransfer.vue"),
  2092. },
  2093. {
  2094. path: "Cashier/AddFunTransfer",
  2095. name: "AddFunTransfer",
  2096. hidden: true,
  2097. meta: {
  2098. title: "新增资金转账单",
  2099. access: nodes.FunTransferAddAccountTransfer,
  2100. remixIcon: "bank-card-line",
  2101. },
  2102. component: () => import("@/views/Finance/Cashier/AddFunTransfer.vue"),
  2103. },
  2104. {
  2105. path: "Cashier/EditFunTransfer/:id",
  2106. name: "EditFunTransfer",
  2107. hidden: true,
  2108. meta: {
  2109. title: "修改资金转账单",
  2110. access: nodes.AccountListEditAccountTransfer,
  2111. remixIcon: "bank-card-line",
  2112. },
  2113. component: () => import("@/views/Finance/Cashier/AddFunTransfer.vue"),
  2114. },
  2115. {
  2116. path: "Cashier/SellRefundForm/:type",
  2117. name: "RefundForm",
  2118. meta: {
  2119. title: "销售退款单",
  2120. access: nodes.RefundForm,
  2121. },
  2122. component: () => import("@/views/Finance/Cashier/RefundForm.vue"),
  2123. },
  2124. // {
  2125. // path: "Cashier/PurchaseRefundForm/:type",
  2126. // name: "RefundForm",
  2127. // meta: {
  2128. // title: "采购退款单",
  2129. // access: nodes.RefundForm,
  2130. // },
  2131. // component: () => import("@/views/Finance/Cashier/RefundForm.vue"),
  2132. // },
  2133. {
  2134. path: "Cashier/AddRefundForm/:type",
  2135. name: "AddRefundForm",
  2136. meta: {
  2137. title: "新增退款单",
  2138. access: nodes.RefundForm_AddRefundForm,
  2139. },
  2140. component: () => import("@/views/Finance/Cashier/AddRefundForm.vue"),
  2141. },
  2142. {
  2143. path: "Cashier/EditRefundForm/:id/:createTime",
  2144. name: "EditRefundForm",
  2145. meta: {
  2146. title: "编辑退款单",
  2147. access: nodes.RefundFormEditRefundForm,
  2148. },
  2149. component: () => import("@/views/Finance/Cashier/AddRefundForm.vue"),
  2150. },
  2151. {
  2152. path: "Cashier/RefundDetail/:id/:createTime",
  2153. name: "RefundDetail",
  2154. meta: {
  2155. title: "退款单详情",
  2156. // access: nodes.AccountList,
  2157. },
  2158. component: () => import("@/views/Finance/Cashier/RefundDetail.vue"),
  2159. },
  2160. {
  2161. path: "Cashier/AccountList",
  2162. name: "AccountList",
  2163. meta: {
  2164. title: "资金账户管理",
  2165. access: nodes.AccountList,
  2166. remixIcon: "bank-card-line",
  2167. },
  2168. component: () => import("@/views/Finance/Cashier/AccountList.vue"),
  2169. },
  2170. {
  2171. path: "Cashier/AccountDetails",
  2172. name: "AccountDetails",
  2173. meta: {
  2174. title: "账户明细查询",
  2175. access: nodes.AccountDetailsGetAllAccountDetail,
  2176. remixIcon: "bank-card-line",
  2177. },
  2178. component: () => import("@/views/Finance/Cashier/AccountDetails.vue"),
  2179. },
  2180. {
  2181. path: "Cashier/CostSheet",
  2182. name: "CostSheet",
  2183. meta: {
  2184. title: "费用单",
  2185. remixIcon: "bank-card-line",
  2186. access: nodes.CostSheet,
  2187. },
  2188. component: () => import("@/views/Finance/Cashier/CostSheet.vue"),
  2189. },
  2190. {
  2191. path: "Cashier/AddCostSheet",
  2192. name: "AddCostSheet",
  2193. meta: {
  2194. title: "新增费用单",
  2195. remixIcon: "bank-card-line",
  2196. access: nodes.CostSheetaddCostSheet,
  2197. },
  2198. component: () => import("@/views/Finance/Cashier/AddCostSheet.vue"),
  2199. },
  2200. {
  2201. path: "Cashier/EditCostSheet/:id",
  2202. name: "EditCostSheet",
  2203. meta: {
  2204. title: "编辑费用单",
  2205. access: nodes.CostSheeteditCostSheet,
  2206. remixIcon: "bank-card-line",
  2207. },
  2208. component: () => import("@/views/Finance/Cashier/AddCostSheet.vue"),
  2209. },
  2210. {
  2211. path: "Cashier/CostSheetParticulars/:id",
  2212. name: "CostSheetParticulars",
  2213. meta: {
  2214. title: "费用单详情",
  2215. // access: nodes.CostSheeteditCostSheet,
  2216. remixIcon: "bank-card-line",
  2217. },
  2218. component: () =>
  2219. import("@/views/Finance/Cashier/CostSheetParticulars.vue"),
  2220. },
  2221. {
  2222. path: "Cashier/CostTypes",
  2223. name: "CostTypes",
  2224. meta: {
  2225. title: "费用类型",
  2226. remixIcon: "bank-card-line",
  2227. },
  2228. component: () => import("@/views/Finance/Cashier/CostTypes.vue"),
  2229. },
  2230. {
  2231. path: "ManageF/FinanceType",
  2232. name: "FinanceType",
  2233. meta: {
  2234. title: "财务类型",
  2235. access: nodes.FinanceTypeGetAllFinanceType,
  2236. remixIcon: "bookmark-line",
  2237. },
  2238. component: () => import("@/views/Finance/ManageF/FinanceType.vue"),
  2239. },
  2240. {
  2241. path: "ManageF/WithdrawAsh",
  2242. name: "WithdrawAsh",
  2243. meta: {
  2244. title: "余额提现",
  2245. remixIcon: "bookmark-line",
  2246. access: nodes.WithdrawAsh,
  2247. },
  2248. component: () => import("@/views/Finance/ManageF/WithdrawAsh.vue"),
  2249. },
  2250. // 多门店报表
  2251. {
  2252. path: "MultipleStore/InAndOutLogs",
  2253. name: "InAndOutLogs",
  2254. meta: {
  2255. title: "收支记录",
  2256. remixIcon: "money-cny-box-line",
  2257. // access: nodes.WithdrawAsh,
  2258. },
  2259. component: () =>
  2260. import("@/views/Finance/MultipleStore/InAndOutLogs.vue"),
  2261. },
  2262. {
  2263. path: "MultipleStore/WithdrawLogs",
  2264. name: "WithdrawLogs",
  2265. meta: {
  2266. title: "提现记录",
  2267. remixIcon: "money-cny-box-line",
  2268. // access: nodes.WithdrawAsh,
  2269. },
  2270. component: () =>
  2271. import("@/views/Finance/MultipleStore/WithdrawLogs.vue"),
  2272. },
  2273. ],
  2274. },
  2275. {
  2276. path: "/Settlement",
  2277. component: Layout,
  2278. redirect: "/Settlement/MerchandiseSalesStatement",
  2279. alwaysShow: true,
  2280. meta: {
  2281. title: "结算",
  2282. remixIcon: "price-tag-2-line",
  2283. },
  2284. children: [{
  2285. path: "SettlementLogs",
  2286. name: "SettlementLogs",
  2287. meta: {
  2288. title: "结算记录",
  2289. // access: nodes.WithdrawAsh,
  2290. },
  2291. component: () =>
  2292. import("@/views/Finance/MultipleStore/SettlementLogs.vue"),
  2293. }, ],
  2294. },
  2295. {
  2296. path: "/Reconciliation",
  2297. component: Layout,
  2298. redirect: "/Reconciliation/SettlementStatement",
  2299. alwaysShow: true,
  2300. meta: {
  2301. title: "对账",
  2302. remixIcon: "money-cny-circle-line",
  2303. },
  2304. children: [{
  2305. path: "SettlementStatement",
  2306. name: "SettlementStatement",
  2307. meta: {
  2308. title: "结算对账单",
  2309. // access: nodes.WithdrawAsh,
  2310. },
  2311. component: () =>
  2312. import("@/views/Finance/MultipleStore/SettlementStatement.vue"),
  2313. }, ],
  2314. },
  2315. {
  2316. path: "/statement",
  2317. component: Layout,
  2318. redirect: "/statement/statementList/MerchandiseSalesStatement",
  2319. alwaysShow: true,
  2320. meta: {
  2321. title: "报表管理",
  2322. remixIcon: "money-cny-circle-line",
  2323. },
  2324. children: [{
  2325. path: "statementList/MerchandiseSalesStatement",
  2326. name: "MerchandiseSalesStatement",
  2327. meta: {
  2328. title: "商品销售报表",
  2329. remixIcon: "align-bottom",
  2330. access: nodes.goodsFormMerchandiseSalesStatement,
  2331. },
  2332. component: () =>
  2333. import("@/views/statement/statementList/MerchandiseSalesStatement"),
  2334. },
  2335. {
  2336. path: "statementList/CustomerMerchandiseReport",
  2337. name: "CustomerMerchandiseReport",
  2338. meta: {
  2339. title: "客户商品报表",
  2340. remixIcon: "align-bottom",
  2341. access: nodes.goodsFormCustomerMerchandiseReport,
  2342. },
  2343. component: () =>
  2344. import("@/views/statement/statementList/CustomerMerchandiseReport"),
  2345. },
  2346. {
  2347. path: "statementList/CustomerOrderReport",
  2348. name: "CustomerOrderReport",
  2349. meta: {
  2350. title: "客户订单报表",
  2351. remixIcon: "align-bottom",
  2352. access: nodes.orderFormCustomerOrderReport,
  2353. },
  2354. component: () =>
  2355. import("@/views/statement/statementList/CustomerOrderReport"),
  2356. },
  2357. {
  2358. path: "statementList/OrderDataReport",
  2359. name: "OrderDataReport",
  2360. meta: {
  2361. title: "订单数据报表",
  2362. remixIcon: "align-bottom",
  2363. access: nodes.orderFormOrderDataReport,
  2364. },
  2365. component: () =>
  2366. import("@/views/statement/statementList/OrderDataReport"),
  2367. },
  2368. {
  2369. path: "statementList/RegionalOrderReport",
  2370. name: "RegionalOrderReport",
  2371. meta: {
  2372. title: "地区订单报表",
  2373. remixIcon: "align-bottom",
  2374. access: nodes.orderFormRegionalOrderReport,
  2375. },
  2376. component: () =>
  2377. import("@/views/statement/statementList/RegionalOrderReport"),
  2378. },
  2379. {
  2380. path: "statementList/SaleRanking",
  2381. name: "SaleRanking",
  2382. meta: {
  2383. title: "业务员订单表",
  2384. remixIcon: "align-bottom",
  2385. access: nodes.orderFormSalesOrderReport,
  2386. },
  2387. component: () => import("@/views/statement/statementList/SaleRanking"),
  2388. },
  2389. ],
  2390. },
  2391. {
  2392. path: "/SystemSettings",
  2393. component: Layout,
  2394. redirect: "/SystemSettings/liansuoguanli/ShopList",
  2395. alwaysShow: true,
  2396. meta: {
  2397. title: "设置",
  2398. remixIcon: "settings-4-line",
  2399. },
  2400. children: [{
  2401. path: "BaseSet",
  2402. name: "BaseSet",
  2403. meta: {
  2404. title: "系统设置",
  2405. access: nodes.mallManage,
  2406. remixIcon: "settings-4-line",
  2407. },
  2408. component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
  2409. },
  2410. // {
  2411. // path: "TradeSet",
  2412. // name: "TradeSet",
  2413. // meta: {
  2414. // title: "交易设置",
  2415. // access: nodes.mallManagepaySetting,
  2416. // remixIcon: "settings-4-line",
  2417. // },
  2418. // component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
  2419. // },
  2420. // {
  2421. // path: "GoodsSet",
  2422. // name: "GoodsSet",
  2423. // meta: {
  2424. // title: "商品设置",
  2425. // access: nodes.mallManageGoodsSet,
  2426. // remixIcon: "settings-4-line",
  2427. // },
  2428. // component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
  2429. // },
  2430. // {
  2431. // path: "CustomerSet",
  2432. // name: "CustomerSet",
  2433. // meta: {
  2434. // title: "客户设置",
  2435. // access: nodes.mallManageCustomerSet,
  2436. // remixIcon: "settings-4-line",
  2437. // },
  2438. // component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
  2439. // },
  2440. {
  2441. path: "PrinterSet",
  2442. name: "PrinterSet",
  2443. meta: {
  2444. title: "打印机设置",
  2445. access: nodes.mallManagePrinterSet,
  2446. remixIcon: "settings-4-line",
  2447. },
  2448. component: () => import("@/views/ShoppingMall/mendianset/BaseSet.vue"),
  2449. },
  2450. {
  2451. path: "StepSet",
  2452. name: "StepSet",
  2453. meta: {
  2454. title: "流程设置",
  2455. access: nodes.StepSet,
  2456. remixIcon: "equalizer-line",
  2457. },
  2458. component: () => import("@/views/ShoppingMall/mendianset/StepSet.vue"),
  2459. },
  2460. {
  2461. path: "liansuoguanli/ShopList",
  2462. name: "ShopList",
  2463. meta: {
  2464. title: "商铺列表",
  2465. access: nodes.ShopList,
  2466. remixIcon: "list-settings-line",
  2467. },
  2468. component: () =>
  2469. import("@/views/SystemSettings/liansuoguanli/ShopList.vue"),
  2470. },
  2471. {
  2472. path: "liansuoguanli/AddShop",
  2473. name: "AddShop",
  2474. hidden: true,
  2475. meta: {
  2476. title: "新建商铺",
  2477. access: nodes.ShopListAddShop,
  2478. remixIcon: "list-settings-line",
  2479. },
  2480. component: () =>
  2481. import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
  2482. },
  2483. {
  2484. path: "liansuoguanli/EditShop/:id",
  2485. name: "EditShop",
  2486. hidden: true,
  2487. meta: {
  2488. title: "编辑商铺",
  2489. access: nodes.ShopListEditShop,
  2490. remixIcon: "list-settings-line",
  2491. },
  2492. component: () =>
  2493. import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
  2494. },
  2495. {
  2496. path: "liansuoguanli/Partnership",
  2497. name: "Partnership",
  2498. hidden: true,
  2499. meta: {
  2500. title: "合作管理",
  2501. // access: nodes.Partnership,
  2502. },
  2503. component: () =>
  2504. import("@/views/SystemSettings/liansuoguanli/Partnership.vue"),
  2505. },
  2506. {
  2507. path: "liansuoguanli/AddPartnership",
  2508. name: "AddPartnership",
  2509. hidden: true,
  2510. meta: {
  2511. title: "新增合作",
  2512. // access: nodes.PartnershipAddShopPartner,
  2513. },
  2514. component: () =>
  2515. import("@/views/SystemSettings/liansuoguanli/AddPartnership.vue"),
  2516. },
  2517. {
  2518. path: "liansuoguanli/EditPartnership/:id",
  2519. name: "EditPartnership",
  2520. hidden: true,
  2521. meta: {
  2522. title: "编辑合作",
  2523. // access: nodes.PartnershipUpdateShopPartner,
  2524. },
  2525. component: () =>
  2526. import("@/views/SystemSettings/liansuoguanli/AddPartnership.vue"),
  2527. },
  2528. {
  2529. path: "jiaoyiset/PayList",
  2530. name: "PayList",
  2531. meta: {
  2532. title: "支付列表",
  2533. access: nodes.PayList,
  2534. remixIcon: "wallet-line",
  2535. },
  2536. component: () => import("@/views/SystemSettings/jiaoyiset/PayList.vue"),
  2537. },
  2538. {
  2539. path: "jiaoyiset/Driver",
  2540. name: "Driver",
  2541. meta: {
  2542. title: "司机列表",
  2543. access: nodes.Driver,
  2544. remixIcon: "wallet-line",
  2545. },
  2546. component: () => import("@/views/SystemSettings/jiaoyiset/Driver.vue"),
  2547. },
  2548. {
  2549. path: "jiaoyiset/Line",
  2550. name: "Line",
  2551. meta: {
  2552. title: "线路列表",
  2553. access: nodes.line,
  2554. remixIcon: "wallet-line",
  2555. },
  2556. component: () => import("@/views/SystemSettings/jiaoyiset/Line.vue"),
  2557. },
  2558. {
  2559. path: "jiaoyiset/Delivery",
  2560. name: "Delivery",
  2561. meta: {
  2562. title: "配送方式",
  2563. access: nodes.DeliverySet,
  2564. remixIcon: "truck-line",
  2565. },
  2566. component: () =>
  2567. import("@/views/SystemSettings/jiaoyiset/DeliverySet.vue"),
  2568. },
  2569. {
  2570. path: "jiaoyiset/DeliveryTemplate/:deiId",
  2571. name: "DeliveryTemplate",
  2572. hidden: true,
  2573. meta: {
  2574. title: "运费模版",
  2575. access: nodes.DeliverygetInfo,
  2576. remixIcon: "truck-line",
  2577. },
  2578. component: () =>
  2579. import("@/views/SystemSettings/jiaoyiset/DeliveryTemplate.vue"),
  2580. },
  2581. {
  2582. path: "jiaoyiset/AddDeliveryTem",
  2583. name: "AddDeliveryTem",
  2584. hidden: true,
  2585. meta: {
  2586. title: "新建运费模版",
  2587. access: nodes.DeliverysetData,
  2588. remixIcon: "truck-line",
  2589. },
  2590. component: () =>
  2591. import("@/views/SystemSettings/jiaoyiset/AddDeliveryTem.vue"),
  2592. },
  2593. {
  2594. path: "jiaoyiset/EditDeliveryTem",
  2595. name: "EditDeliveryTem",
  2596. hidden: true,
  2597. meta: {
  2598. title: "编辑运费模版",
  2599. access: nodes.DeliverysetData,
  2600. remixIcon: "truck-line",
  2601. },
  2602. component: () =>
  2603. import("@/views/SystemSettings/jiaoyiset/AddDeliveryTem.vue"),
  2604. },
  2605. {
  2606. path: "jiaoyiset/SelffetchList/:deiId",
  2607. name: "SelffetchList",
  2608. hidden: true,
  2609. meta: {
  2610. title: "门店自提",
  2611. remixIcon: "truck-line",
  2612. access: nodes.DeliverygetInfo,
  2613. },
  2614. component: () =>
  2615. import("@/views/SystemSettings/jiaoyiset/SelffetchList.vue"),
  2616. },
  2617. {
  2618. path: "jiaoyiset/AddSelffetch/:deiId",
  2619. name: "AddSelffetch",
  2620. hidden: true,
  2621. meta: {
  2622. title: "新建自提点",
  2623. remixIcon: "truck-line",
  2624. access: nodes.DeliverySetsetSelfData,
  2625. },
  2626. component: () =>
  2627. import("@/views/SystemSettings/jiaoyiset/AddSelffetch.vue"),
  2628. },
  2629. {
  2630. path: "jiaoyiset/EditSelffetch/:id/:deiId",
  2631. name: "EditSelffetch",
  2632. hidden: true,
  2633. meta: {
  2634. title: "编辑自提点",
  2635. access: nodes.DeliverySeteditSelfData,
  2636. },
  2637. component: () =>
  2638. import("@/views/SystemSettings/jiaoyiset/AddSelffetch.vue"),
  2639. },
  2640. {
  2641. path: "jiaoyiset/Dispatch",
  2642. name: "Dispatch",
  2643. hidden: true,
  2644. meta: {
  2645. title: "同城配送",
  2646. remixIcon: "truck-line",
  2647. },
  2648. component: () =>
  2649. import("@/views/SystemSettings/jiaoyiset/Dispatch.vue"),
  2650. },
  2651. {
  2652. path: "jiaoyiset/ShopAddress",
  2653. name: "ShopAddress",
  2654. hidden: true,
  2655. meta: {
  2656. title: "编辑商家地址",
  2657. },
  2658. component: () =>
  2659. import("@/views/SystemSettings/jiaoyiset/ShopAddress.vue"),
  2660. },
  2661. {
  2662. path: "jiaoyiset/Logistics",
  2663. name: "Logistics",
  2664. meta: {
  2665. title: "物流接口",
  2666. remixIcon: "truck-line",
  2667. access: nodes.Logistics,
  2668. },
  2669. component: () =>
  2670. import("@/views/SystemSettings/jiaoyiset/Logistics.vue"),
  2671. },
  2672. {
  2673. path: "jiaoyiset/voiceSet",
  2674. name: "VoiceSet",
  2675. meta: {
  2676. title: "语音设置",
  2677. access: nodes.voiceSet,
  2678. remixIcon: "notification-3-line",
  2679. },
  2680. component: () =>
  2681. import("@/views/SystemSettings/jiaoyiset/voiceSet.vue"),
  2682. },
  2683. {
  2684. path: "jiaoyiset/PushNotification",
  2685. name: "PushNotification",
  2686. meta: {
  2687. title: "消息推送",
  2688. remixIcon: "notification-3-line",
  2689. access: nodes.PushNotification,
  2690. },
  2691. component: () =>
  2692. import("@/views/SystemSettings/jiaoyiset/PushNotification.vue"),
  2693. },
  2694. {
  2695. path: "jiaoyiset/PushNotificationSet/:id",
  2696. name: "PushNotificationSet",
  2697. meta: {
  2698. title: "消息推送设置",
  2699. remixIcon: "notification-3-line",
  2700. access: nodes.PushNotification_setMsg,
  2701. },
  2702. component: () =>
  2703. import("@/views/SystemSettings/jiaoyiset/PushNotificationSet.vue"),
  2704. },
  2705. {
  2706. path: "jiaoyiset/SMSConfiguration",
  2707. name: "SMSConfiguration",
  2708. meta: {
  2709. title: "短信配置",
  2710. remixIcon: "notification-3-line",
  2711. },
  2712. component: () =>
  2713. import("@/views/SystemSettings/jiaoyiset/SMSConfiguration.vue"),
  2714. },
  2715. {
  2716. path: "jiaoyiset/SMSConfigurationSet",
  2717. name: "SMSConfigurationSet",
  2718. meta: {
  2719. title: "配置",
  2720. remixIcon: "notification-3-line",
  2721. },
  2722. component: () =>
  2723. import("@/views/SystemSettings/jiaoyiset/SMSConfigurationSet.vue"),
  2724. },
  2725. {
  2726. path: "accountAdmin/Department",
  2727. name: "Department",
  2728. meta: {
  2729. title: "部门管理",
  2730. access: nodes.Department,
  2731. remixIcon: "user-settings-line",
  2732. },
  2733. component: () =>
  2734. import("@/views/SystemSettings/accountAdmin/Department.vue"),
  2735. },
  2736. {
  2737. path: "accountAdmin/Role",
  2738. name: "Role",
  2739. meta: {
  2740. title: "角色管理",
  2741. access: nodes.Role,
  2742. remixIcon: "user-settings-line",
  2743. },
  2744. component: () => import("@/views/SystemSettings/accountAdmin/Role.vue"),
  2745. },
  2746. {
  2747. path: "accountAdmin/Staff",
  2748. name: "Staff",
  2749. meta: {
  2750. title: "员工管理",
  2751. access: nodes.Staff,
  2752. remixIcon: "user-settings-line",
  2753. },
  2754. component: () =>
  2755. import("@/views/SystemSettings/accountAdmin/Staff.vue"),
  2756. },
  2757. {
  2758. path: "accountAdmin/LoginRecord",
  2759. name: "LoginRecord",
  2760. meta: {
  2761. title: "登录日志",
  2762. access: nodes.LoginRecord,
  2763. },
  2764. component: () =>
  2765. import("@/views/SystemSettings/accountAdmin/LoginRecord.vue"),
  2766. },
  2767. ],
  2768. },
  2769. {
  2770. path: "ShoppingMall",
  2771. component: Layout,
  2772. redirect: "/ShoppingMall/mendianset/BaseSet",
  2773. alwaysShow: true,
  2774. meta: {
  2775. title: "商城",
  2776. remixIcon: "store-2-line",
  2777. },
  2778. children: [{
  2779. path: "mendianset/NoticeLsit",
  2780. name: "NoticeLsit",
  2781. meta: {
  2782. title: "公告设置",
  2783. access: nodes.Announcement,
  2784. remixIcon: "notification-3-line",
  2785. },
  2786. component: () =>
  2787. import("@/views/ShoppingMall/mendianset/NoticeLsit.vue"),
  2788. },
  2789. {
  2790. path: "mendianset/NewsTemplate",
  2791. name: "NewsTemplate",
  2792. meta: {
  2793. title: "小程序订阅消息",
  2794. access: nodes.Announcement,
  2795. remixIcon: "notification-3-line",
  2796. },
  2797. component: () =>
  2798. import("@/views/ShoppingMall/mendianset/NewsTemplate.vue"),
  2799. },
  2800. {
  2801. path: "WxCode/WxCodeSet",
  2802. name: "WxCodeSet",
  2803. meta: {
  2804. title: "小程序设置",
  2805. access: nodes.WxCodeSet,
  2806. remixIcon: "mini-program-line",
  2807. },
  2808. component: () => import("@/views/ShoppingMall/WxCode/WxCodeSet.vue"),
  2809. },
  2810. {
  2811. path: "WxCode/TemplateSet",
  2812. name: "TemplateSet",
  2813. meta: {
  2814. title: "小程序发布",
  2815. access: nodes.wxPush,
  2816. remixIcon: "mini-program-line",
  2817. },
  2818. component: () => import("@/views/ShoppingMall/WxCode/TemplateSet.vue"),
  2819. },
  2820. {
  2821. path: "WxCode/TouTiaoBaseSet",
  2822. name: "TouTiaoBaseSet",
  2823. hidden: true,
  2824. meta: {
  2825. title: "抖音/头条小程序基础配置",
  2826. access: nodes.TemplateSet,
  2827. remixIcon: "mini-program-line",
  2828. },
  2829. component: () =>
  2830. import(
  2831. "@/views/ShoppingMall/WxCode/ToutiaoCodeSet/TouTiaoBaseSet.vue"
  2832. ),
  2833. },
  2834. {
  2835. path: "WxCode/CodeRelease",
  2836. name: "CodeRelease",
  2837. hidden: true,
  2838. meta: {
  2839. title: "抖音/头条小程序发布",
  2840. access: nodes.TemplateSet,
  2841. remixIcon: "mini-program-line",
  2842. },
  2843. component: () =>
  2844. import("@/views/ShoppingMall/WxCode/ToutiaoCodeSet/CodeRelease.vue"),
  2845. },
  2846. {
  2847. path: "AppDesign/PageDesign",
  2848. name: "PageDesign",
  2849. hidden: true,
  2850. meta: {
  2851. title: "新建页面",
  2852. remixIcon: "brush-3-line",
  2853. access: nodes.PageSetSave,
  2854. },
  2855. component: () =>
  2856. import("@/views/ShoppingMall/AppDesign/PageDesign.vue"),
  2857. },
  2858. {
  2859. path: "AppDesign/PageDesignEdit/:id",
  2860. name: "PageDesignEdit",
  2861. hidden: true,
  2862. meta: {
  2863. title: "修改页面",
  2864. remixIcon: "brush-3-line",
  2865. access: nodes.PageSetSave,
  2866. },
  2867. component: () =>
  2868. import("@/views/ShoppingMall/AppDesign/PageDesign.vue"),
  2869. },
  2870. {
  2871. path: "AppDesign/PageDesignList",
  2872. name: "PageDesignList",
  2873. meta: {
  2874. title: "页面设计",
  2875. access: nodes.PageSet,
  2876. remixIcon: "brush-3-line",
  2877. },
  2878. component: () =>
  2879. import("@/views/ShoppingMall/AppDesign/PageDesignList.vue"),
  2880. },
  2881. {
  2882. path: "AppDesign/StartUpPage",
  2883. name: "StartUpPage",
  2884. meta: {
  2885. title: "启动页",
  2886. access: nodes.StartPage,
  2887. remixIcon: "brush-3-line",
  2888. },
  2889. component: () =>
  2890. import("@/views/ShoppingMall/AppDesign/StartUpPage.vue"),
  2891. },
  2892. {
  2893. path: "AppDesign/AppStyle",
  2894. name: "AppStyle",
  2895. meta: {
  2896. title: "风格设置",
  2897. remixIcon: "brush-3-line",
  2898. access: nodes.StyleSet,
  2899. },
  2900. component: () => import("@/views/ShoppingMall/AppDesign/AppStyle.vue"),
  2901. },
  2902. {
  2903. path: "AppDesign/CateSet",
  2904. name: "CateSet",
  2905. meta: {
  2906. title: "分类模版",
  2907. access: nodes.CategorySet,
  2908. remixIcon: "brush-3-line",
  2909. },
  2910. component: () => import("@/views/ShoppingMall/AppDesign/CateSet.vue"),
  2911. },
  2912. ],
  2913. },
  2914. {
  2915. path: "Application",
  2916. component: Layout,
  2917. redirect: "/Application/Application",
  2918. alwaysShow: true,
  2919. meta: {
  2920. title: "应用",
  2921. remixIcon: "app-store-line",
  2922. },
  2923. children: [{
  2924. path: "Application",
  2925. name: "Application",
  2926. component: () => import("@/views/Application/Application"),
  2927. meta: {
  2928. title: "应用",
  2929. remixIcon: "app-store-line",
  2930. },
  2931. }]
  2932. },
  2933. {
  2934. path: "MoneyGoodsBill",
  2935. component: Layout,
  2936. redirect: "/MoneyGoodsBill/index",
  2937. alwaysShow: true,
  2938. meta: {
  2939. title: "钱货日清对账",
  2940. remixIcon: "app-store-line",
  2941. },
  2942. children: [{
  2943. path: "index",
  2944. name: "InventoryStatistics",
  2945. component: () => import("@/views/MoneyGoodsBill/index"),
  2946. meta: {
  2947. title: "库存日对账",
  2948. remixIcon: "hotel-line",
  2949. access: nodes.getTodayStatistics_statisticsInventoryStatistics,
  2950. },
  2951. },
  2952. {
  2953. path: "saleBill",
  2954. name: "saleBill",
  2955. component: () => import("@/views/MoneyGoodsBill/saleBill"),
  2956. meta: {
  2957. title: "销售日对账",
  2958. remixIcon: "numbers-line",
  2959. access: nodes.getTodayStatistics_statisticsGetAllOrderData,
  2960. },
  2961. },
  2962. {
  2963. path: "FinanceBill",
  2964. name: "FinanceBill",
  2965. component: () => import("@/views/MoneyGoodsBill/FinanceBill"),
  2966. meta: {
  2967. title: "财务日对账",
  2968. remixIcon: "stack-line",
  2969. access: nodes.getTodayStatistics_statisticsGetTodayStatistics,
  2970. },
  2971. },
  2972. {
  2973. path: "Profit",
  2974. name: "Profit",
  2975. component: () => import("@/views/MoneyGoodsBill/Profit"),
  2976. meta: {
  2977. title: "利润表",
  2978. remixIcon: "stack-line",
  2979. },
  2980. },
  2981. ],
  2982. },
  2983. {
  2984. path: "Marketing",
  2985. component: Layout,
  2986. redirect: "/Marketing/MarketingList",
  2987. alwaysShow: true,
  2988. hidden: true,
  2989. meta: {
  2990. title: "营销",
  2991. remixIcon: "coupon-3-line",
  2992. },
  2993. children: [{
  2994. path: "MarketingList/Coupon",
  2995. name: "Coupon",
  2996. meta: {
  2997. title: "优惠券列表",
  2998. remixIcon: "coupon-3-line",
  2999. access: nodes.CouponList,
  3000. },
  3001. component: () => import("@/views/Marketing/MarketingList/Coupon"),
  3002. },
  3003. {
  3004. path: "MarketingList/ReleaseRecord",
  3005. name: "ReleaseRecord",
  3006. meta: {
  3007. title: "发放记录",
  3008. access: nodes.GrantLog,
  3009. },
  3010. component: () =>
  3011. import("@/views/Marketing/MarketingList/ReleaseRecord"),
  3012. },
  3013. {
  3014. path: "MarketingList/AddCoupon",
  3015. name: "AddCoupon",
  3016. hidden: true,
  3017. meta: {
  3018. title: "新增优惠券",
  3019. access: nodes.CouponListAdd,
  3020. },
  3021. component: () => import("@/views/Marketing/MarketingList/AddCoupon"),
  3022. },
  3023. {
  3024. path: "MarketingList/EditCoupon/:id",
  3025. name: "EditCoupon",
  3026. hidden: true,
  3027. meta: {
  3028. title: "编辑优惠券",
  3029. access: nodes.CouponListEdit,
  3030. },
  3031. component: () => import("@/views/Marketing/MarketingList/AddCoupon"),
  3032. },
  3033. {
  3034. path: "Promotion/PromotionList",
  3035. name: "PromotionList",
  3036. meta: {
  3037. title: "商品促销",
  3038. remixIcon: "bookmark-3-line",
  3039. access: nodes.ActivityGoods,
  3040. },
  3041. component: () =>
  3042. import("@/views/Marketing/Promotion/PromotionList.vue"),
  3043. },
  3044. {
  3045. path: "Promotion/AddPromotion",
  3046. name: "AddPromotion",
  3047. hidden: true,
  3048. meta: {
  3049. title: "新增促销",
  3050. access: nodes.ActivityGoodsAdd,
  3051. },
  3052. component: () => import("@/views/Marketing/Promotion/AddPromotion.vue"),
  3053. },
  3054. {
  3055. path: "Promotion/editPromotion/:id",
  3056. name: "EditPromotion",
  3057. hidden: true,
  3058. meta: {
  3059. title: "修改促销",
  3060. access: nodes.ActivityGoodsEdit,
  3061. },
  3062. component: () => import("@/views/Marketing/Promotion/AddPromotion.vue"),
  3063. },
  3064. {
  3065. path: "vip/membershipCard",
  3066. name: "MembershipCard",
  3067. meta: {
  3068. title: "会员卡管理",
  3069. remixIcon: "vip-crown-2-line",
  3070. access: nodes.MembershipCard,
  3071. },
  3072. component: () => import("@/views/Marketing/vip/membershipCard.vue"),
  3073. },
  3074. {
  3075. path: "vip/AddCard",
  3076. name: "AddCard",
  3077. hidden: true,
  3078. meta: {
  3079. title: "创建会员卡",
  3080. access: nodes.MembershipCardAddVipCard,
  3081. },
  3082. component: () => import("@/views/Marketing/vip/AddCard.vue"),
  3083. },
  3084. {
  3085. path: "vip/EditCard/:id",
  3086. name: "EditCard",
  3087. hidden: true,
  3088. meta: {
  3089. title: "编辑会员卡",
  3090. access: nodes.MembershipCardEditVipCard,
  3091. },
  3092. component: () => import("@/views/Marketing/vip/AddCard.vue"),
  3093. },
  3094. {
  3095. path: "vip/CollectionRecords",
  3096. name: "CollectionRecords",
  3097. meta: {
  3098. title: "领取记录",
  3099. access: nodes.CollectionRecords,
  3100. },
  3101. component: () => import("@/views/Marketing/vip/CollectionRecords.vue"),
  3102. },
  3103. {
  3104. path: "vip/DelRecords",
  3105. name: "DelRecords",
  3106. hidden: true,
  3107. meta: {
  3108. title: "删除记录",
  3109. },
  3110. component: () => import("@/views/Marketing/vip/DelRecords.vue"),
  3111. },
  3112. {
  3113. path: "card/cardList",
  3114. name: "cardList",
  3115. meta: {
  3116. title: "服务优惠卡管理",
  3117. remixIcon: "vip-crown-2-line",
  3118. access: nodes.DiscountCard,
  3119. },
  3120. component: () => import("@/views/Marketing/card/cardList.vue"),
  3121. },
  3122. {
  3123. path: "card/addCard",
  3124. name: "addCard",
  3125. meta: {
  3126. title: "优惠卡新增修改",
  3127. remixIcon: "vip-crown-2-line",
  3128. access: nodes.DiscountCard,
  3129. },
  3130. component: () => import("@/views/Marketing/card/addCard.vue"),
  3131. },
  3132. {
  3133. path: "SetMeal/index",
  3134. name: "SetMeal",
  3135. hidden: true,
  3136. meta: {
  3137. title: "组合套餐",
  3138. access: nodes.Application_SetMeal,
  3139. remixIcon: "git-repository-private-line",
  3140. },
  3141. component: () => import("@/views/Marketing/SetMeal/index"),
  3142. },
  3143. {
  3144. path: "SetMeal/addSetMeal",
  3145. name: "AddSetMeal",
  3146. hidden: true,
  3147. meta: {
  3148. title: "新增活动",
  3149. access: nodes.SetMeal_addGroupGoods,
  3150. },
  3151. component: () => import("@/views/Marketing/SetMeal/addSetMeal"),
  3152. },
  3153. {
  3154. path: "SetMeal/editSetMeal/:id",
  3155. name: "EditSetMeal",
  3156. hidden: true,
  3157. meta: {
  3158. title: "编辑活动",
  3159. access: nodes.SetMeal_editGroupGoods,
  3160. },
  3161. component: () => import("@/views/Marketing/SetMeal/addSetMeal"),
  3162. },
  3163. ],
  3164. },
  3165. {
  3166. path: "saleCommission",
  3167. component: Layout,
  3168. redirect: "/saleCommission/CommissionRule",
  3169. alwaysShow: true,
  3170. hidden: true,
  3171. meta: {
  3172. title: "销售提成",
  3173. remixIcon: "store-2-line",
  3174. },
  3175. children: [{
  3176. path: "CommissionRule",
  3177. name: "CommissionRule",
  3178. component: () => import("@/views/saleCommission/CommissionRule"),
  3179. meta: {
  3180. title: "提成规则",
  3181. access: nodes.CommissionRule,
  3182. },
  3183. },
  3184. {
  3185. path: "CommissionStatistic",
  3186. name: "CommissionStatistic",
  3187. component: () => import("@/views/saleCommission/CommissionStatistic"),
  3188. meta: {
  3189. title: "提成统计",
  3190. access: nodes.CommissionStatistic,
  3191. },
  3192. },
  3193. {
  3194. path: "RuleCommission",
  3195. name: "RuleCommission",
  3196. component: () => import("@/views/saleCommission/RuleCommission"),
  3197. meta: {
  3198. title: "设置提成规则",
  3199. access: nodes.CommissionRuleAddCommissionRule,
  3200. },
  3201. },
  3202. {
  3203. path: "RuleCommissionEdit",
  3204. name: "RuleCommissionEdit",
  3205. component: () => import("@/views/saleCommission/RuleCommission"),
  3206. meta: {
  3207. title: "修改提成规则",
  3208. access: nodes.CommissionRuleEditCommissionRule,
  3209. },
  3210. },
  3211. // {
  3212. // path: "CommissionList",
  3213. // name: "CommissionList",
  3214. // component: () => import("@/views/saleCommission/CommissionList"),
  3215. // meta: {
  3216. // title: "提成记录",
  3217. // },
  3218. // },
  3219. {
  3220. path: "CommissionList",
  3221. name: "CommissionList",
  3222. component: () => import("@/views/saleCommission/CommissionList"),
  3223. meta: {
  3224. title: "提成记录",
  3225. },
  3226. },
  3227. ],
  3228. },
  3229. // 文章页面
  3230. {
  3231. path: "info",
  3232. component: Layout,
  3233. redirect: "/info/infoArticleList",
  3234. alwaysShow: true,
  3235. hidden: true,
  3236. meta: {
  3237. title: "文章管理",
  3238. remixIcon: "store-2-line",
  3239. },
  3240. children: [
  3241. {
  3242. path: "infoArticleList",
  3243. name: "InfoArticleList",
  3244. component: () => import("@/views/AppBase/info/infoArticleList"),
  3245. meta: {
  3246. title: "文章列表",
  3247. // access: nodes.RewardList,
  3248. },
  3249. },
  3250. {
  3251. path: "infoHomeList",
  3252. name: "InfoHomeList",
  3253. component: () => import("@/views/AppBase/info/infoHomeList"),
  3254. meta: {
  3255. title: "自定义项",
  3256. // access: nodes.infoHomeList,
  3257. },
  3258. },
  3259. ],
  3260. },
  3261. // 股东分红
  3262. {
  3263. path: "Shareholders",
  3264. component: Layout,
  3265. redirect: "/Shareholders/RewardList",
  3266. alwaysShow: true,
  3267. hidden: true,
  3268. meta: {
  3269. title: "股东分红",
  3270. remixIcon: "store-2-line",
  3271. },
  3272. children: [{
  3273. path: "RewardList",
  3274. name: "RewardList",
  3275. component: () => import("@/views/AppBase/Shareholders/RewardList"),
  3276. meta: {
  3277. title: "股东列表",
  3278. // access: nodes.RewardList,
  3279. },
  3280. },
  3281. {
  3282. path: "aBonus",
  3283. name: "ABonus",
  3284. component: () => import("@/views/AppBase/Shareholders/aBonus"),
  3285. meta: {
  3286. title: "分红记录",
  3287. // access: nodes.RewardABonusList,
  3288. },
  3289. },
  3290. {
  3291. path: "addReward",
  3292. name: "AddReward",
  3293. component: () => import("@/views/AppBase/Shareholders/addReward"),
  3294. meta: {
  3295. title: "添加股东",
  3296. // access: nodes.RewardAddUser,
  3297. },
  3298. },
  3299. {
  3300. path: "editReward",
  3301. name: "EditReward",
  3302. component: () => import("@/views/AppBase/Shareholders/addReward"),
  3303. meta: {
  3304. title: "修改股东",
  3305. // access: nodes.RewardEditUser,
  3306. },
  3307. },
  3308. {
  3309. path: "sharesList",
  3310. name: "SharesList",
  3311. component: () => import("@/views/AppBase/Shareholders/sharesList"),
  3312. meta: {
  3313. title: "股份记录",
  3314. // access: nodes.RewardSharesList,
  3315. },
  3316. },
  3317. ],
  3318. },
  3319. // 阶梯奖励
  3320. {
  3321. path: "ladder",
  3322. component: Layout,
  3323. redirect: "/ladder/ladderList",
  3324. alwaysShow: true,
  3325. hidden: true,
  3326. meta: {
  3327. title: "阶梯奖励",
  3328. remixIcon: "store-2-line",
  3329. },
  3330. children: [
  3331. {
  3332. path: "ladderList",
  3333. name: "LadderList",
  3334. component: () => import("@/views/AppBase/ladder/ladderList"),
  3335. meta: {
  3336. title: "员工阶梯奖励",
  3337. // access: nodes.LadderRewardList,
  3338. },
  3339. },
  3340. {
  3341. path: "staffStockList",
  3342. name: "StaffStockList",
  3343. component: () => import("@/views/AppBase/ladder/staffStockList"),
  3344. meta: {
  3345. title: "股权发放记录",
  3346. // access: nodes.LadderStaffStockList,
  3347. },
  3348. },
  3349. ],
  3350. },
  3351. {
  3352. path: "PointsMall",
  3353. component: Layout,
  3354. redirect: "/PointsMall/GoodsManage",
  3355. alwaysShow: true,
  3356. hidden: true,
  3357. meta: {
  3358. title: "股权商城",
  3359. remixIcon: "store-2-line",
  3360. },
  3361. children: [{
  3362. path: "GoodsManage",
  3363. name: "GoodsManage",
  3364. component: () => import("@/views/PointsMall/GoodsManage"),
  3365. meta: {
  3366. title: "股权商品管理",
  3367. access: nodes.PointsGoodsManage,
  3368. },
  3369. },
  3370. {
  3371. path: "PointGoodsAdd",
  3372. name: "PointGoodsAdd",
  3373. component: () => import("@/views/PointsMall/PointGoodsAdd"),
  3374. meta: {
  3375. title: "新增股权商品",
  3376. access: nodes.PointsGoodsManageAddPointsGoods,
  3377. },
  3378. },
  3379. {
  3380. path: "PointGoodsEdit",
  3381. name: "PointGoodsEdit",
  3382. component: () => import("@/views/PointsMall/PointGoodsAdd"),
  3383. meta: {
  3384. title: "修改积分商品",
  3385. access: nodes.PointsGoodsManageEditPointsGoods,
  3386. },
  3387. },
  3388. {
  3389. path: "ExchangeRecord",
  3390. name: "ExchangeRecord",
  3391. component: () => import("@/views/PointsMall/ExchangeRecord"),
  3392. meta: {
  3393. title: "兑换记录",
  3394. access: nodes.ExchangeRecord,
  3395. },
  3396. },
  3397. {
  3398. path: "PointRule",
  3399. name: "PointRule",
  3400. component: () => import("@/views/PointsMall/PointRule"),
  3401. meta: {
  3402. title: "积分规则",
  3403. access: nodes.PointRule,
  3404. },
  3405. },
  3406. {
  3407. path: "PointRuleAdd",
  3408. name: "PointRuleAdd",
  3409. component: () => import("@/views/PointsMall/PointRuleAdd"),
  3410. meta: {
  3411. title: "新增积分规则",
  3412. access: nodes.PointRuleAddPointRule,
  3413. },
  3414. },
  3415. {
  3416. path: "PointRuleEdit",
  3417. name: "PointRuleEdit",
  3418. component: () => import("@/views/PointsMall/PointRuleAdd"),
  3419. meta: {
  3420. title: "修改积分规则",
  3421. access: nodes.PointRuleEditPointRule,
  3422. },
  3423. },
  3424. ],
  3425. },
  3426. {
  3427. path: "Distribution",
  3428. component: Layout,
  3429. redirect: "/Distribution/DOverview",
  3430. alwaysShow: true,
  3431. hidden: true,
  3432. meta: {
  3433. title: "分销",
  3434. remixIcon: "store-2-line",
  3435. },
  3436. children: [{
  3437. path: "DOverview",
  3438. name: "DOverview",
  3439. component: () => import("@/views/Distribution/DOverview"),
  3440. meta: {
  3441. title: "分销概览",
  3442. access: nodes.DOverview,
  3443. },
  3444. },
  3445. {
  3446. path: "DGoodsList",
  3447. name: "DGoodsList",
  3448. component: () => import("@/views/Distribution/DGoodsList"),
  3449. meta: {
  3450. title: "分销商品",
  3451. access: nodes.DGoodsList,
  3452. },
  3453. },
  3454. {
  3455. path: "SetCommission/:id",
  3456. name: "SetCommission",
  3457. hidden: true,
  3458. meta: {
  3459. title: "设置佣金",
  3460. access: nodes.DGoodsListsetCommission,
  3461. },
  3462. component: () => import("@/views/Distribution/Commission"),
  3463. },
  3464. {
  3465. path: "DOrderList",
  3466. name: "DOrderList",
  3467. component: () => import("@/views/Distribution/DOrderList"),
  3468. meta: {
  3469. title: "分销订单",
  3470. access: nodes.DOrderList,
  3471. },
  3472. },
  3473. {
  3474. path: "DistributionList",
  3475. name: "DistributionList",
  3476. component: () => import("@/views/Distribution/DistributionList"),
  3477. meta: {
  3478. title: "分销商等级",
  3479. access: nodes.DistributionList,
  3480. },
  3481. },
  3482. {
  3483. path: "AddDistributionList",
  3484. name: "AddDistributionList",
  3485. hidden: true,
  3486. meta: {
  3487. title: "新建分销商等级",
  3488. access: nodes.DistributionListupdateGrade,
  3489. },
  3490. component: () => import("@/views/Distribution/AddDistributionList"),
  3491. },
  3492. {
  3493. path: "EditDistributionList/:id",
  3494. name: "EditDistributionList",
  3495. hidden: true,
  3496. meta: {
  3497. title: "编辑分销商等级",
  3498. access: nodes.DistributionListupdateGrade,
  3499. },
  3500. component: () => import("@/views/Distribution/AddDistributionList"),
  3501. },
  3502. {
  3503. path: "Businessman/NotAudit",
  3504. name: "NotAudit",
  3505. meta: {
  3506. title: "待审核",
  3507. access: nodes.Businessman,
  3508. },
  3509. component: () => import("@/views/Distribution/Businessman/NotAudit"),
  3510. },
  3511. {
  3512. path: "Businessman/Distributor",
  3513. name: "Distributor",
  3514. meta: {
  3515. title: "分销商",
  3516. access: nodes.Businessman,
  3517. },
  3518. component: () => import("@/views/Distribution/Businessman/Distributor"),
  3519. },
  3520. {
  3521. path: "Businessman/DistributorNext",
  3522. name: "DistributorNext",
  3523. hidden: true,
  3524. meta: {
  3525. title: "下级分销商",
  3526. access: nodes.BusinessmangetgetAllSub,
  3527. },
  3528. component: () =>
  3529. import("@/views/Distribution/Businessman/DistributorNext"),
  3530. },
  3531. {
  3532. path: "CashOut/NotAuditCashOut",
  3533. name: "NotAuditCashOut",
  3534. meta: {
  3535. title: "待审核",
  3536. access: nodes.CashOutgetAll,
  3537. },
  3538. component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
  3539. },
  3540. {
  3541. path: "CashOut/NotCashOut",
  3542. name: "NotCashOut",
  3543. meta: {
  3544. title: "待打款",
  3545. access: nodes.CashOutgetAll,
  3546. },
  3547. component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
  3548. },
  3549. {
  3550. path: "CashOut/CashOut",
  3551. name: "CashOut",
  3552. meta: {
  3553. title: "已打款",
  3554. access: nodes.CashOutgetAll,
  3555. },
  3556. component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
  3557. },
  3558. {
  3559. path: "CashOut/Invalid",
  3560. name: "Invalid",
  3561. meta: {
  3562. title: "无效",
  3563. access: nodes.CashOutgetAll,
  3564. },
  3565. component: () => import("@/views/Distribution/CashOut/NotAuditCashOut"),
  3566. },
  3567. {
  3568. path: "DistributionSet/BaseDSet",
  3569. name: "BaseDSet",
  3570. meta: {
  3571. title: "基础设置",
  3572. access: nodes.SettlementSet,
  3573. },
  3574. component: () =>
  3575. import("@/views/Distribution/DistributionSet/BaseDSet.vue"),
  3576. },
  3577. {
  3578. path: "DistributionSet/SettlementSet",
  3579. name: "SettlementSet",
  3580. meta: {
  3581. title: "结算设置",
  3582. access: nodes.SettlementSet,
  3583. },
  3584. component: () =>
  3585. import("@/views/Distribution/DistributionSet/SettlementSet.vue"),
  3586. },
  3587. {
  3588. path: "DistributionSet/TextSet",
  3589. name: "TextSet",
  3590. meta: {
  3591. title: "文字设置",
  3592. access: nodes.TextSet,
  3593. },
  3594. component: () =>
  3595. import("@/views/Distribution/DistributionSet/TextSet.vue"),
  3596. },
  3597. ],
  3598. },
  3599. {
  3600. path: "BillTemplate",
  3601. component: Layout,
  3602. redirect: "/BillTemplate/TemplateList",
  3603. alwaysShow: true,
  3604. hidden: true,
  3605. meta: {
  3606. title: "单据模版",
  3607. remixIcon: "apps-line",
  3608. },
  3609. children: [{
  3610. path: "TemplateList",
  3611. name: "TemplateList",
  3612. meta: {
  3613. title: "单据模板列表",
  3614. access: nodes.TemplateListgetAll,
  3615. },
  3616. component: () => import("@/views/BillTemplate/TemplateList"),
  3617. },
  3618. {
  3619. path: "EditTemplate/:id",
  3620. name: "EditTemplate",
  3621. hidden: true,
  3622. meta: {
  3623. title: "编辑模板",
  3624. access: nodes.TemplateListgetInfo,
  3625. },
  3626. component: () => import("@/views/BillTemplate/EditTemplate"),
  3627. },
  3628. ],
  3629. },
  3630. {
  3631. path: "CashierShop",
  3632. name: "CashierShop",
  3633. noKeepAlive: true,
  3634. hidden: true,
  3635. meta: {
  3636. title: "收银台",
  3637. access: nodes.CashierShop,
  3638. remixIcon: "airplay-fill",
  3639. },
  3640. component: () => import("@/views/CashierShop/CashierShop"),
  3641. },
  3642. {
  3643. path: "CashierShift",
  3644. name: "CashierShift",
  3645. noKeepAlive: true,
  3646. hidden: true,
  3647. meta: {
  3648. title: "收银交班",
  3649. access: nodes.ShiftOvergetRecordInfo,
  3650. },
  3651. component: () => import("@/views/CashierShop/CashierShift"),
  3652. },
  3653. {
  3654. path: "CashierRecord",
  3655. name: "CashierRecord",
  3656. noKeepAlive: true,
  3657. hidden: true,
  3658. meta: {
  3659. title: "交班记录",
  3660. remixIcon: "exchange-box-line",
  3661. access: nodes.ShiftOver,
  3662. },
  3663. component: () => import("@/views/CashierShop/CashierRecord"),
  3664. },
  3665. {
  3666. path: "Cashier",
  3667. component: Layout,
  3668. redirect: "/Cashier/CashierList",
  3669. hidden: true,
  3670. meta: {
  3671. title: "收银台",
  3672. remixIcon: "airplay-fill",
  3673. },
  3674. children: [{
  3675. path: "CashierList",
  3676. name: "CashierList",
  3677. meta: {
  3678. title: "收银台设置",
  3679. remixIcon: "settings-5-line",
  3680. access: nodes.cashierSet,
  3681. },
  3682. component: () => import("@/views/Cashier/CashierList"),
  3683. },
  3684. {
  3685. path: "Cashier",
  3686. name: "Cashier",
  3687. meta: {
  3688. title: "收银员",
  3689. remixIcon: "user-2-line",
  3690. access: nodes.Cashiers,
  3691. },
  3692. component: () => import("@/views/Cashier/Cashier"),
  3693. },
  3694. {
  3695. path: "ShoppingGuide",
  3696. name: "ShoppingGuide",
  3697. meta: {
  3698. title: "导购员",
  3699. remixIcon: "user-heart-line",
  3700. access: nodes.ShoppingGuide,
  3701. },
  3702. component: () => import("@/views/Cashier/ShoppingGuide"),
  3703. },
  3704. {
  3705. path: "/order/saleO/CashierOrder",
  3706. name: "CashierOrder",
  3707. meta: {
  3708. title: "收银台订单",
  3709. access: nodes.saleOrderList,
  3710. remixIcon: "bill-line",
  3711. },
  3712. component: () => import("@/views/order/saleO/SaleOrderList"),
  3713. },
  3714. {
  3715. path: "Withdrawal",
  3716. name: "Withdrawal",
  3717. meta: {
  3718. title: "提成明细",
  3719. remixIcon: "file-list-3-line",
  3720. access: nodes.Withdrawal,
  3721. },
  3722. component: () => import("@/views/Cashier/Withdrawal"),
  3723. },
  3724. {
  3725. path: "Commission",
  3726. name: "Commission",
  3727. meta: {
  3728. title: "提成统计",
  3729. remixIcon: "exchange-funds-line",
  3730. access: nodes.Commission,
  3731. },
  3732. component: () => import("@/views/Cashier/Commission"),
  3733. },
  3734. {
  3735. path: "ShiftOver",
  3736. name: "ShiftOver",
  3737. meta: {
  3738. title: "交班记录",
  3739. remixIcon: "exchange-box-line",
  3740. access: nodes.ShiftOver,
  3741. },
  3742. component: () => import("@/views/Cashier/ShiftOver"),
  3743. },
  3744. {
  3745. path: "ShiftOverGetAll/:id",
  3746. name: "ShiftOverGetAll",
  3747. hidden: true,
  3748. meta: {
  3749. title: "交班详情",
  3750. access: nodes.ShiftOvergetRecordInfo,
  3751. },
  3752. component: () => import("@/views/Cashier/ShiftOverGetAll"),
  3753. },
  3754. {
  3755. path: "EditCashier/:id",
  3756. name: "EditCashier",
  3757. hidden: true,
  3758. meta: {
  3759. title: "编辑收银员",
  3760. access: nodes.CashiersupdateStaff,
  3761. },
  3762. component: () => import("@/views/Cashier/EditCashier"),
  3763. },
  3764. ],
  3765. },
  3766. {
  3767. path: "/Merchants",
  3768. redirect: "/Merchants/MerchartsList",
  3769. component: Layout,
  3770. hidden: true,
  3771. meta: {
  3772. title: "多商户",
  3773. remixIcon: "airplay-fill",
  3774. },
  3775. children: [{
  3776. path: "MerchartsList",
  3777. name: "MerchartsList",
  3778. meta: {
  3779. title: "商户管理",
  3780. remixIcon: "store-2-line",
  3781. access: nodes.MerchartsList,
  3782. },
  3783. component: () => import("@/views/Merchants/MerchartsList"),
  3784. },
  3785. {
  3786. path: "Merchants",
  3787. name: "Merchants",
  3788. meta: {
  3789. title: "入驻申请",
  3790. remixIcon: "store-2-line",
  3791. },
  3792. component: () => import("@/views/Merchants/Merchants"),
  3793. },
  3794. {
  3795. path: "ApplyMerchantsInfo/:id",
  3796. name: "ApplyMerchantsInfo",
  3797. meta: {
  3798. title: "入驻详情",
  3799. remixIcon: "store-2-line",
  3800. },
  3801. component: () => import("@/views/Merchants/ApplyMerchantsInfo"),
  3802. },
  3803. {
  3804. path: "MerchantsGroup",
  3805. name: "MerchantsGroup",
  3806. meta: {
  3807. title: "商户分组",
  3808. remixIcon: "money-cny-circle-line",
  3809. },
  3810. component: () => import("@/views/Merchants/MerchantsGroup"),
  3811. },
  3812. {
  3813. path: "MerchantsBin",
  3814. name: "MerchantsBin",
  3815. meta: {
  3816. title: "回收站",
  3817. remixIcon: "store-2-line",
  3818. },
  3819. component: () => import("@/views/Merchants/MerchantsBin"),
  3820. },
  3821. {
  3822. path: "AddMerchants",
  3823. name: "AddMerchants",
  3824. meta: {
  3825. title: "添加商户",
  3826. remixIcon: "money-cny-circle-line",
  3827. },
  3828. component: () => import("@/views/Merchants/AddMerchants"),
  3829. },
  3830. {
  3831. path: "EditMerchants",
  3832. name: "EditMerchants",
  3833. meta: {
  3834. title: "编辑商户",
  3835. remixIcon: "money-cny-circle-line",
  3836. },
  3837. component: () => import("@/views/Merchants/AddMerchants"),
  3838. },
  3839. {
  3840. path: "AddMerchantsInfo/:length",
  3841. name: "AddMerchantsInfo",
  3842. meta: {
  3843. title: "增购详情",
  3844. remixIcon: "money-cny-circle-line",
  3845. },
  3846. component: () => import("@/views/Merchants/AddMerchantsInfo"),
  3847. },
  3848. {
  3849. path: "MerchantsInfo/:id",
  3850. name: "MerchantsInfo",
  3851. meta: {
  3852. title: "商户详情",
  3853. remixIcon: "store-2-line",
  3854. },
  3855. component: () => import("@/views/Merchants/MerchantsInfo"),
  3856. },
  3857. {
  3858. path: "MerchartsShop",
  3859. name: "MerchartsShop",
  3860. meta: {
  3861. title: "商户商品",
  3862. remixIcon: "shopping-bag-line",
  3863. access: nodes.MerchartsGoods,
  3864. },
  3865. component: () => import("@/views/Merchants/MerchartsShop"),
  3866. },
  3867. {
  3868. path: "MerchantsExamine",
  3869. name: "MerchantsExamine",
  3870. meta: {
  3871. title: "待审核商品",
  3872. remixIcon: "shopping-bag-line",
  3873. },
  3874. component: () => import("@/views/Merchants/MerchantsExamine"),
  3875. },
  3876. {
  3877. path: "MerchantsOverview",
  3878. name: "MerchantsOverview",
  3879. meta: {
  3880. title: "商户概览",
  3881. remixIcon: "funds-box-line",
  3882. },
  3883. component: () => import("@/views/Merchants/MerchantsOverview"),
  3884. },
  3885. {
  3886. path: "MerchantsOrder",
  3887. name: "MerchantsOrder",
  3888. meta: {
  3889. title: "商户订单",
  3890. remixIcon: "list-unordered",
  3891. },
  3892. component: () => import("@/views/Merchants/MerchantsOrder"),
  3893. },
  3894. {
  3895. path: "SafeguardingOrder",
  3896. name: "SafeguardingOrder",
  3897. meta: {
  3898. title: "维权订单",
  3899. remixIcon: "list-unordered",
  3900. },
  3901. component: () => import("@/views/Merchants/SafeguardingOrder"),
  3902. },
  3903. {
  3904. path: "MerchantsSettlement",
  3905. name: "MerchantsSettlement",
  3906. meta: {
  3907. title: "结算管理",
  3908. remixIcon: "secure-payment-line",
  3909. access: nodes.MerchantsSettlement,
  3910. },
  3911. component: () => import("@/views/Merchants/Settlement"),
  3912. },
  3913. {
  3914. path: "MerchantsBasicsSet",
  3915. name: "MerchantsBasicsSet",
  3916. meta: {
  3917. title: "基础设置",
  3918. remixIcon: "settings-4-line",
  3919. access: nodes.MerchantsSettlementMerchantsBasicsSet,
  3920. },
  3921. component: () => import("@/views/Merchants/MerchantsBasicsSet"),
  3922. },
  3923. {
  3924. path: "MerchantsInSet",
  3925. name: "MerchantsInSet",
  3926. meta: {
  3927. title: "入驻设置",
  3928. remixIcon: "settings-4-line",
  3929. },
  3930. component: () => import("@/views/Merchants/MerchantsInSet"),
  3931. },
  3932. {
  3933. path: "MerchantsListSet",
  3934. name: "MerchantsListSet",
  3935. meta: {
  3936. title: "商户列表",
  3937. remixIcon: "settings-4-line",
  3938. },
  3939. component: () => import("@/views/Merchants/MerchantsListSet"),
  3940. },
  3941. ],
  3942. },
  3943. {
  3944. path: "/Multistore",
  3945. redirect: "/Multistore/StoreList",
  3946. component: Layout,
  3947. hidden: true,
  3948. meta: {
  3949. title: "多门店",
  3950. remixIcon: "store-2-line",
  3951. },
  3952. children: [{
  3953. path: "StoreList",
  3954. name: "StoreList",
  3955. meta: {
  3956. title: "门店管理",
  3957. access: nodes.Multistore_MultistoreList,
  3958. remixIcon: "store-3-line",
  3959. },
  3960. component: () => import("@/views/Multistore/store/StoreList"),
  3961. },
  3962. {
  3963. path: "AddStore",
  3964. name: "AddStore",
  3965. meta: {
  3966. title: "创建店铺",
  3967. access: nodes.MultistoreList_AddStore,
  3968. remixIcon: "store-3-line",
  3969. },
  3970. component: () =>
  3971. import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
  3972. },
  3973. {
  3974. path: "shopAdministration",
  3975. name: "shopAdministration",
  3976. meta: {
  3977. title: "商品管理",
  3978. access: nodes.MultistoreList_shopGoodsManage,
  3979. },
  3980. component: () => import("@/views/Multistore/store/shopAdministration"),
  3981. },
  3982. {
  3983. path: "StoreShopowner",
  3984. name: "StoreShopowner",
  3985. meta: {
  3986. title: "门店店长",
  3987. access: nodes.MultistoreList_shopManager,
  3988. },
  3989. component: () => import("@/views/Multistore/store/StoreShopowner"),
  3990. },
  3991. // {
  3992. // path: "lookGoods",
  3993. // name: "lookGoods",
  3994. // meta: {
  3995. // title: "查看商品",
  3996. // },
  3997. // component: () => import("@/views/Multistore/store/lookGoods"),
  3998. // },
  3999. {
  4000. path: "GoodsList",
  4001. name: "GoodsList",
  4002. meta: {
  4003. title: "商品管理",
  4004. remixIcon: "shopping-bag-line",
  4005. },
  4006. component: () => import("@/views/Multistore/goods/GoodsList"),
  4007. },
  4008. {
  4009. path: "StoreData",
  4010. name: "StoreData",
  4011. meta: {
  4012. title: "门店数据",
  4013. remixIcon: "computer-line",
  4014. },
  4015. component: () => import("@/views/Multistore/statistics/StoreData"),
  4016. },
  4017. {
  4018. path: "EditStoreData",
  4019. name: "EditStoreData",
  4020. meta: {
  4021. title: "数据详情",
  4022. },
  4023. component: () => import("@/views/Multistore/statistics/EditStoreData"),
  4024. },
  4025. {
  4026. path: "StoreSet",
  4027. name: "StoreSet",
  4028. meta: {
  4029. access: nodes.Multistore_StoreSet,
  4030. title: "功能设置",
  4031. remixIcon: "settings-4-line",
  4032. },
  4033. component: () => import("@/views/Multistore/settings/StoreSet"),
  4034. },
  4035. ],
  4036. },
  4037. {
  4038. path: "/SingleStore",
  4039. redirect: "/SingleStore/goods",
  4040. component: Layout,
  4041. hidden: true,
  4042. meta: {
  4043. title: "单门店",
  4044. remixIcon: "store-2-line",
  4045. },
  4046. children: [{
  4047. path: "goods/GoodsAdministration",
  4048. name: "GoodsAdministration",
  4049. meta: {
  4050. title: "商品管理",
  4051. remixIcon: "apps-line",
  4052. },
  4053. component: () =>
  4054. import("@/views/SingleStore/Goods/GoodsAdministration"),
  4055. },
  4056. {
  4057. path: "goods/GoodsData",
  4058. name: "GoodsData",
  4059. meta: {
  4060. title: "商品资料",
  4061. remixIcon: "apps-line",
  4062. },
  4063. component: () => import("@/views/goods/manageG/BaseDataList"),
  4064. },
  4065. // 价格管理
  4066. {
  4067. path: "sale/priceTable",
  4068. name: "StorePriceTable",
  4069. meta: {
  4070. title: "价格管理",
  4071. remixIcon: "bookmark-3-line",
  4072. },
  4073. component: () => import("@/views/goods/sale/PriceTable"),
  4074. },
  4075. {
  4076. path: "goods/priceAdjust",
  4077. name: "priceAdjust",
  4078. meta: {
  4079. title: "商品调价单",
  4080. remixIcon: "bookmark-3-line",
  4081. },
  4082. component: () => import("@/views/goods/sale/AdjustPrice"),
  4083. },
  4084. {
  4085. path: "goods/priceAdjustCustomer",
  4086. name: "priceAdjustCustomer",
  4087. meta: {
  4088. title: "客户调价",
  4089. remixIcon: "bookmark-3-line",
  4090. },
  4091. component: () => import("@/views/goods/sale/CostumeAdjustPrice"),
  4092. },
  4093. {
  4094. path: "goods/priceAdjustCustomerType",
  4095. name: "priceAdjustCustomerType",
  4096. meta: {
  4097. title: "客户类型调价",
  4098. remixIcon: "bookmark-3-line",
  4099. },
  4100. component: () => import("@/views/goods/sale/CustomerTypeAdjustPrice"),
  4101. },
  4102. // 订单
  4103. {
  4104. path: "order/OrderList/all",
  4105. name: "OrderListAll",
  4106. meta: {
  4107. title: "全部订单",
  4108. remixIcon: "list-unordered",
  4109. },
  4110. component: () => import("@/views/SingleStore/order/OrderList"),
  4111. },
  4112. {
  4113. path: "order/OrderList/waitAudit",
  4114. name: "OrderListWaitAudit",
  4115. meta: {
  4116. title: "待审核",
  4117. remixIcon: "list-unordered",
  4118. },
  4119. component: () => import("@/views/SingleStore/order/OrderList"),
  4120. },
  4121. {
  4122. path: "order/OrderList/waitOutStock",
  4123. name: "OrderListWaitOutStock",
  4124. meta: {
  4125. title: "待发货",
  4126. remixIcon: "list-unordered",
  4127. },
  4128. component: () => import("@/views/SingleStore/order/OrderList"),
  4129. },
  4130. {
  4131. path: "order/OrderList/hasOutStock",
  4132. name: "OrderListHasOutStock",
  4133. meta: {
  4134. title: "待收货",
  4135. remixIcon: "list-unordered",
  4136. },
  4137. component: () => import("@/views/SingleStore/order/OrderList"),
  4138. },
  4139. {
  4140. path: "order/OrderList/finish",
  4141. name: "OrderListFinish",
  4142. meta: {
  4143. title: "已完成",
  4144. remixIcon: "list-unordered",
  4145. },
  4146. component: () => import("@/views/SingleStore/order/OrderList"),
  4147. },
  4148. {
  4149. path: "order/OrderList/close",
  4150. name: "OrderListClose",
  4151. meta: {
  4152. title: "已关闭",
  4153. remixIcon: "list-unordered",
  4154. },
  4155. component: () => import("@/views/SingleStore/order/OrderList"),
  4156. },
  4157. {
  4158. path: "order/StoreOrderAdd",
  4159. name: "StoreOrderAdd",
  4160. meta: {
  4161. title: "代客下单",
  4162. remixIcon: "edit-circle-line",
  4163. },
  4164. component: () => import("@/views/order/manageO/OrderAdd"),
  4165. },
  4166. {
  4167. path: "order/ReturnOrder",
  4168. name: "ReturnOrder",
  4169. meta: {
  4170. title: "退货单",
  4171. remixIcon: "logout-circle-line",
  4172. },
  4173. component: () => import("@/views/SingleStore/order/ReturnOrder"),
  4174. },
  4175. {
  4176. path: "order/OrderSubscribe",
  4177. name: "OrderSubscribe",
  4178. meta: {
  4179. title: "服务预约",
  4180. remixIcon: "list-unordered",
  4181. },
  4182. component: () => import("@/views/SingleStore/subscribe/OrderSubscribe"),
  4183. },
  4184. {
  4185. path: "order/AddOrderSubscribe",
  4186. name: "AddOrderSubscribe",
  4187. meta: {
  4188. title: "新增/编辑服务预约",
  4189. remixIcon: "list-unordered",
  4190. },
  4191. component: () => import("@/views/SingleStore/subscribe/addSubscribe"),
  4192. },
  4193. //客户
  4194. {
  4195. path: "Customer/StoreCustomer",
  4196. name: "StoreCustomer",
  4197. meta: {
  4198. title: "客户列表",
  4199. remixIcon: "user-3-line",
  4200. },
  4201. component: () =>
  4202. import("@/views/Customer/CustomerAdmin/CustomerList.vue"),
  4203. },
  4204. //设置
  4205. {
  4206. path: "storeSet/StoreDetail",
  4207. name: "StoreDetail",
  4208. meta: {
  4209. title: "门店信息",
  4210. remixIcon: "list-settings-line",
  4211. },
  4212. component: () =>
  4213. import("@/views/SystemSettings/liansuoguanli/AddShop.vue"),
  4214. },
  4215. // 员工管理
  4216. {
  4217. path: "staffSet/StaffList",
  4218. name: "StaffList",
  4219. meta: {
  4220. title: "员工列表",
  4221. remixIcon: "user-5-line",
  4222. },
  4223. component: () =>
  4224. import("@/views/SystemSettings/accountAdmin/Staff.vue"),
  4225. },
  4226. {
  4227. path: "staffSet/RoleList",
  4228. name: "RoleList",
  4229. meta: {
  4230. title: "角色管理",
  4231. remixIcon: "shield-user-line",
  4232. },
  4233. component: () => import("@/views/SystemSettings/accountAdmin/Role.vue"),
  4234. },
  4235. {
  4236. path: "staffSet/Sign",
  4237. name: "Sign",
  4238. meta: {
  4239. title: "考勤组",
  4240. // access: nodes.GroupSignList,
  4241. remixIcon: "shopping-cart-line",
  4242. },
  4243. component: () => import("@/views/SystemSettings/accountAdmin/signList"),
  4244. },
  4245. {
  4246. path: "staffSet/signClass",
  4247. name: "ClassList",
  4248. meta: {
  4249. title: "班次列表",
  4250. // access: nodes.GroupSignClass,
  4251. remixIcon: "shopping-cart-line",
  4252. },
  4253. component: () => import("@/views/SystemSettings/accountAdmin/signClass"),
  4254. },
  4255. {
  4256. path: "staffSet/classHistry",
  4257. name: "ClassHistry",
  4258. meta: {
  4259. title: "排班记录",
  4260. // access: nodes.GroupClassHistry,
  4261. remixIcon: "shopping-cart-line",
  4262. },
  4263. component: () => import("@/views/SystemSettings/accountAdmin/classHistry"),
  4264. },
  4265. // 库存
  4266. {
  4267. path: "Inventory/InventoryOut",
  4268. name: "InventoryOut",
  4269. meta: {
  4270. title: "出库管理",
  4271. access: nodes.InventoryOut,
  4272. remixIcon: "home-gear-line",
  4273. },
  4274. component: () => import("@/views/stock/OutIn/outgoing"),
  4275. },
  4276. {
  4277. path: "Inventory/InventoryIn",
  4278. name: "InventoryIn",
  4279. meta: {
  4280. title: "入库管理",
  4281. access: nodes.InventoryIn,
  4282. remixIcon: "home-gear-line",
  4283. },
  4284. component: () => import("@/views/stock/OutIn/storage"),
  4285. },
  4286. {
  4287. path: "Inventory/InventoryQuery",
  4288. name: "InventoryQuery",
  4289. meta: {
  4290. title: "库存查询",
  4291. access: nodes.query,
  4292. remixIcon: "home-gear-line",
  4293. },
  4294. component: () => import("@/views/stock/WarehouseAdmin/query"),
  4295. },
  4296. {
  4297. path: "Inventory/InventoryFlowing",
  4298. name: "InventoryFlowing",
  4299. meta: {
  4300. title: "库存流水",
  4301. access: nodes.flowing,
  4302. remixIcon: "home-gear-line",
  4303. },
  4304. component: () => import("@/views/stock/WarehouseAdmin/flowing"),
  4305. },
  4306. {
  4307. path: "Inventory/InventoryBatch",
  4308. name: "InventoryBatch",
  4309. meta: {
  4310. title: "批次流水",
  4311. access: nodes.Batch,
  4312. remixIcon: "home-gear-line",
  4313. },
  4314. component: () => import("@/views/stock/WarehouseAdmin/Batch"),
  4315. },
  4316. {
  4317. path: "Inventory/InventoryShelfLife",
  4318. name: "InventoryShelfLife",
  4319. meta: {
  4320. title: "保质期查询",
  4321. access: nodes.GetBatch,
  4322. remixIcon: "home-gear-line",
  4323. },
  4324. component: () => import("@/views/stock/WarehouseAdmin/ShelfLife"),
  4325. },
  4326. {
  4327. path: "Inventory/InventoryManagement",
  4328. name: "InventoryManagement",
  4329. meta: {
  4330. title: "仓库管理",
  4331. access: nodes.management,
  4332. remixIcon: "home-6-line",
  4333. },
  4334. component: () => import("@/views/stock/WarehouseManagement/Management"),
  4335. },
  4336. {
  4337. path: "Inventory/Consume/list",
  4338. name: "ConsumeList",
  4339. meta: {
  4340. title: "消耗品列表",
  4341. // access: nodes.StockConsumeList,
  4342. remixIcon: "home-6-line",
  4343. },
  4344. component: () => import("@/views/stock/Consume/consumeList"),
  4345. },
  4346. {
  4347. path: "Inventory/InventoryCheck",
  4348. name: "InventoryCheck",
  4349. meta: {
  4350. title: "盘点单",
  4351. access: nodes.inventoryInfo,
  4352. remixIcon: "home-6-line",
  4353. },
  4354. component: () =>
  4355. import("@/views/stock/WarehouseManagement/inventoryInfo"),
  4356. },
  4357. {
  4358. path: "Inventory/InventoryAllocation",
  4359. name: "InventoryAllocation",
  4360. meta: {
  4361. title: "调拨单",
  4362. access: nodes.AllocationForm,
  4363. remixIcon: "home-6-line",
  4364. },
  4365. component: () =>
  4366. import("@/views/stock/WarehouseManagement/AllocationForm.vue"),
  4367. },
  4368. // 采购
  4369. {
  4370. path: "purchase/purchaseList",
  4371. name: "purchaseList",
  4372. meta: {
  4373. title: "采购单",
  4374. access: nodes.PurchaseOrder,
  4375. remixIcon: "shopping-cart-line",
  4376. },
  4377. component: () => import("@/views/Purchase/ManageP/PurchaseOrder"),
  4378. },
  4379. {
  4380. path: "purchase/purchaseReturnList",
  4381. name: "purchaseReturnList",
  4382. meta: {
  4383. title: "采购退货单",
  4384. access: nodes.PurchaseReturnOrder,
  4385. remixIcon: "shopping-cart-line",
  4386. },
  4387. component: () => import("@/views/Purchase/ManageP/PurchaseReturnOrder"),
  4388. },
  4389. {
  4390. path: "purchase/purchaseDetailInfo",
  4391. name: "purchaseDetailInfo",
  4392. meta: {
  4393. title: "采购明细",
  4394. access: nodes.PurchaseDetail,
  4395. remixIcon: "shopping-cart-line",
  4396. },
  4397. component: () => import("@/views/Purchase/ManageP/PurchaseDetail"),
  4398. },
  4399. {
  4400. path: "purchase/SupplierList",
  4401. name: "SupplierList",
  4402. meta: {
  4403. title: "供应商管理",
  4404. access: nodes.Supplier,
  4405. remixIcon: "shopping-cart-line",
  4406. },
  4407. component: () => import("@/views/Purchase/ManageP/Supplier"),
  4408. },
  4409. ],
  4410. },
  4411. {
  4412. path: "/settlement",
  4413. redirect: "/settlement/settlementData",
  4414. component: Layout,
  4415. meta: {
  4416. title: "结算",
  4417. remixIcon: "money-cny-circle-line",
  4418. },
  4419. children: [{
  4420. path: "SettlementData",
  4421. name: "SettlementData",
  4422. meta: {
  4423. title: "结算概览",
  4424. remixIcon: "mac-line",
  4425. },
  4426. component: () => import("@/viewsMerch/settlement/index.vue"),
  4427. },
  4428. {
  4429. path: "SettlementManage",
  4430. name: "SettlementManage",
  4431. meta: {
  4432. title: "结算管理",
  4433. remixIcon: "align-bottom",
  4434. },
  4435. component: () => import("@/viewsMerch/settlement/SettlementManage.vue"),
  4436. },
  4437. {
  4438. path: "SettlementDetail",
  4439. name: "SettlementDetail",
  4440. meta: {
  4441. title: "结算详情",
  4442. remixIcon: "align-bottom",
  4443. },
  4444. component: () => import("@/viewsMerch/settlement/SettlementDetail.vue"),
  4445. },
  4446. ],
  4447. },
  4448. {
  4449. path: "/Supplier",
  4450. redirect: "/Supplier/supplierSet",
  4451. component: Layout,
  4452. meta: {
  4453. title: "供应商管理端",
  4454. remixIcon: "award-line",
  4455. },
  4456. children: [{
  4457. path: "supplierSet",
  4458. name: "supplierSet",
  4459. meta: {
  4460. title: "设置",
  4461. remixIcon: "award-line",
  4462. access: nodes.supplierManage_supplierSet,
  4463. },
  4464. component: () => import("@/views/Supplier/supplierSet"),
  4465. },
  4466. {
  4467. path: "offerSet",
  4468. name: "offerSet",
  4469. meta: {
  4470. title: "报价单管理",
  4471. remixIcon: "bill-line",
  4472. access: nodes.supplierManage_offerSet,
  4473. },
  4474. component: () => import("@/views/Supplier/offerSet"),
  4475. },
  4476. {
  4477. path: "offerSetInfo",
  4478. name: "offerSetInfo",
  4479. meta: {
  4480. title: "报价单管理",
  4481. remixIcon: "mac-line",
  4482. access: nodes.supplierManage_offerSet,
  4483. },
  4484. component: () => import("@/views/Supplier/offerSetInfo"),
  4485. },
  4486. {
  4487. path: "settlement",
  4488. name: "settlement",
  4489. meta: {
  4490. title: "结算管理",
  4491. access: nodes.supplierManage_SupplierSettlement,
  4492. remixIcon: "calendar-todo-line",
  4493. },
  4494. component: () => import("@/views/Supplier/settlement"),
  4495. },
  4496. ],
  4497. },
  4498. ];
  4499. const router = new VueRouter({
  4500. base: publicPath,
  4501. mode: routerMode,
  4502. scrollBehavior: () => ({
  4503. y: 0,
  4504. }),
  4505. routes: constantRoutes,
  4506. });
  4507. const originalPush = VueRouter.prototype.push;
  4508. VueRouter.prototype.push = function push(location, onResolve, onReject) {
  4509. if (onResolve || onReject)
  4510. return originalPush.call(this, location, onResolve, onReject);
  4511. return originalPush.call(this, location).catch((err) => err);
  4512. };
  4513. export function resetRouter() {
  4514. router.matcher = new VueRouter({
  4515. base: publicPath,
  4516. mode: routerMode,
  4517. scrollBehavior: () => ({
  4518. y: 0,
  4519. }),
  4520. routes: constantRoutes,
  4521. }).matcher;
  4522. }
  4523. export default router;