router.config.js 140 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. BlankLayout,
  6. BigScreen,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: {
  15. title: '首页'
  16. },
  17. redirect: '/home',
  18. children: [
  19. {
  20. path: '/home',
  21. name: 'home',
  22. redirect: '/home',
  23. component: PageView,
  24. meta: {
  25. title: '首页',
  26. icon: 'home'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: '/home',
  32. name: 'home',
  33. redirect: '/home',
  34. component: BlankLayout,
  35. meta: {
  36. title: '首页',
  37. icon: 'home',
  38. hidden: true
  39. },
  40. hideChildrenInMenu: true,
  41. children: [
  42. {
  43. path: '/home',
  44. name: 'home',
  45. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  46. meta: {
  47. title: '首页',
  48. icon: 'home',
  49. hidden: true
  50. }
  51. },
  52. {
  53. path: '/changePwd',
  54. name: 'changePwd',
  55. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  56. meta: {
  57. title: '修改密码',
  58. icon: 'home'
  59. },
  60. hidden: true
  61. },
  62. {
  63. path: '/notice',
  64. name: 'notice',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
  66. meta: {
  67. title: '公告',
  68. icon: 'bell'
  69. },
  70. hidden: true
  71. },
  72. {
  73. path: '/dowloadFile',
  74. name: 'dowloadFile',
  75. component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
  76. meta: {
  77. title: '下载中心',
  78. icon: 'bell'
  79. },
  80. hidden: true
  81. },
  82. // 新品列表
  83. {
  84. path: '/newProduct/list/:onlineFalg',
  85. name: 'newProductList',
  86. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  87. meta: {
  88. title: '新品信息',
  89. icon: 'home'
  90. },
  91. hidden: true
  92. },
  93. {
  94. path: '/newProduct/list/:onlineFalg',
  95. name: 'oldProductList',
  96. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  97. meta: {
  98. title: '下线产品列表',
  99. icon: 'home'
  100. },
  101. hidden: true
  102. },
  103. // 产品详情
  104. {
  105. path: '/viewProduct/:sn',
  106. name: 'viewProduct',
  107. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  108. meta: {
  109. title: '产品详情',
  110. icon: 'home'
  111. },
  112. hidden: true
  113. }
  114. ]
  115. }
  116. ]
  117. },
  118. // 销售管理
  119. {
  120. path: '/salesManagement',
  121. redirect: '/salesManagement/salesQueryNew',
  122. component: PageView,
  123. meta: {
  124. title: '销售管理',
  125. icon: 'account-book',
  126. permission: 'M_salesManagement'
  127. },
  128. children: [
  129. {
  130. path: '/salesManagement/salesQueryNew',
  131. redirect: '/salesManagement/salesQueryNew/list',
  132. name: 'salesQueryNew',
  133. component: BlankLayout,
  134. meta: {
  135. title: '销售单查询',
  136. icon: 'monitor',
  137. permission: 'M_salesQueryList'
  138. },
  139. hideChildrenInMenu: true,
  140. children: [
  141. {
  142. path: 'list',
  143. name: 'salesQueryNewList',
  144. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/list.vue'),
  145. meta: {
  146. title: '销售单列表',
  147. icon: 'monitor',
  148. hidden: true,
  149. permission: 'M_salesQueryList'
  150. }
  151. },
  152. {
  153. path: 'detail/:sn',
  154. name: 'salesNewDetail',
  155. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  156. meta: {
  157. title: '销售单详情',
  158. icon: 'monitor',
  159. hidden: true,
  160. replaceTab: true,
  161. permission: 'B_salesDetail'
  162. }
  163. },
  164. {
  165. path: 'detail/:sn',
  166. name: 'salesNewDetailAudit',
  167. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  168. meta: {
  169. title: '销售单审核',
  170. icon: 'monitor',
  171. hidden: true,
  172. replaceTab: true,
  173. permission: 'B_salesAudit'
  174. }
  175. },
  176. {
  177. path: 'add/:sn',
  178. name: 'salesNewAdd',
  179. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  180. meta: {
  181. title: '新增销售单',
  182. icon: 'monitor',
  183. hidden: true,
  184. permission: 'B_salesEdit'
  185. }
  186. },
  187. {
  188. path: 'edit/:sn',
  189. name: 'salesNewEdit',
  190. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  191. meta: {
  192. title: '编辑销售单',
  193. icon: 'monitor',
  194. hidden: true,
  195. permission: 'B_salesEdit'
  196. }
  197. },
  198. {
  199. path: 'waitDispatch/:salesBillSn',
  200. name: 'waitDispatchNew',
  201. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatchNew/edit.vue'),
  202. meta: {
  203. title: '下推销售单',
  204. icon: 'monitor',
  205. replaceTab: true,
  206. hidden: true,
  207. permission: 'B_salesDispatch'
  208. }
  209. },
  210. {
  211. path: 'waitCostOrder',
  212. name: 'waitCostOrder',
  213. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitCostOrder/list.vue'),
  214. meta: {
  215. title: '待转费用报销单',
  216. icon: 'monitor',
  217. hidden: true,
  218. permission: 'B_salesDispatch'
  219. }
  220. }
  221. ]
  222. },
  223. {
  224. path: '/salesManagement/salesOrderWarehouse',
  225. redirect: '/salesManagement/salesOrderWarehouse/list',
  226. name: 'salesOrderWarehouse',
  227. component: BlankLayout,
  228. meta: {
  229. title: '仓库销售单',
  230. icon: 'vertical-align-bottom',
  231. permission: 'M_salesOrderWarehouseList'
  232. },
  233. hideChildrenInMenu: true,
  234. children: [
  235. {
  236. path: 'list',
  237. name: 'salesOrderWarehouseList',
  238. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/list.vue'),
  239. meta: {
  240. title: '仓库销售单列表',
  241. icon: 'vertical-align-bottom',
  242. hidden: true,
  243. permission: 'M_salesOrderWarehouseList'
  244. }
  245. },
  246. {
  247. path: 'detail/:sn/:wsn',
  248. name: 'saleOrderDetail',
  249. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/detail.vue'),
  250. meta: {
  251. title: '仓库销售单列表详情',
  252. icon: 'vertical-align-bottom',
  253. replaceTab: true,
  254. hidden: true,
  255. permission: 'B_salesOrderWarehouseDetail'
  256. }
  257. }
  258. ]
  259. },
  260. {
  261. path: '/salesManagement/pushOrderManagement',
  262. redirect: '/salesManagement/pushOrderManagement/list',
  263. name: 'pushOrderManagement',
  264. component: BlankLayout,
  265. meta: {
  266. title: '下推订单列表',
  267. icon: 'vertical-align-bottom',
  268. permission: 'M_pushOrderManagementList'
  269. },
  270. hideChildrenInMenu: true,
  271. children: [
  272. {
  273. path: 'list',
  274. name: 'pushOrderManagementList',
  275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
  276. meta: {
  277. title: '下推订单列表',
  278. icon: 'vertical-align-bottom',
  279. hidden: true,
  280. permission: 'M_pushOrderManagementList'
  281. }
  282. },
  283. {
  284. path: 'detail/:sn/:type',
  285. name: 'pushOrderDetail',
  286. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
  287. meta: {
  288. title: '下推订单详情',
  289. icon: 'vertical-align-bottom',
  290. replaceTab: true,
  291. hidden: true,
  292. permission: 'B_dispatchDetail'
  293. }
  294. }
  295. ]
  296. },
  297. {
  298. path: '/salesManagement/salesCollection',
  299. redirect: '/salesManagement/salesCollection/list',
  300. name: 'salesCollection',
  301. component: BlankLayout,
  302. meta: {
  303. title: '销售收款',
  304. icon: 'vertical-align-bottom',
  305. permission: 'M_salesCollectionList'
  306. },
  307. hideChildrenInMenu: true,
  308. children: [
  309. {
  310. path: 'list',
  311. name: 'salesCollectionList',
  312. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesCollection/list.vue'),
  313. meta: {
  314. title: '销售收款',
  315. icon: 'vertical-align-bottom',
  316. hidden: true,
  317. permission: 'M_salesCollectionList'
  318. }
  319. }
  320. ]
  321. },
  322. {
  323. path: '/salesManagement/stockPrint',
  324. redirect: '/salesManagement/stockPrint/list',
  325. name: 'stockPrint',
  326. component: BlankLayout,
  327. meta: {
  328. title: '备货打印',
  329. icon: 'vertical-align-bottom',
  330. permission: 'M_stockPrintList'
  331. },
  332. hideChildrenInMenu: true,
  333. children: [
  334. {
  335. path: 'list',
  336. name: 'stockPrintList',
  337. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/stockPrint/list.vue'),
  338. meta: {
  339. title: '备货打印',
  340. icon: 'vertical-align-bottom',
  341. hidden: true,
  342. permission: 'M_stockPrintList'
  343. }
  344. }
  345. ]
  346. },
  347. {
  348. path: '/salesManagement/receiptPrint',
  349. redirect: '/salesManagement/receiptPrint/list',
  350. name: 'receiptPrint',
  351. component: BlankLayout,
  352. meta: {
  353. title: '收款打印',
  354. icon: 'vertical-align-bottom',
  355. permission: 'M_receiptPrintList'
  356. },
  357. hideChildrenInMenu: true,
  358. children: [
  359. {
  360. path: 'list',
  361. name: 'receiptPrintList',
  362. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/receiptPrint/list.vue'),
  363. meta: {
  364. title: '收款打印',
  365. icon: 'vertical-align-bottom',
  366. hidden: true,
  367. permission: 'M_receiptPrintList'
  368. }
  369. }
  370. ]
  371. },
  372. {
  373. path: '/salesManagement/matchSendOutOrder',
  374. redirect: '/salesManagement/matchSendOutOrder/list',
  375. name: 'matchSendOutOrder',
  376. component: BlankLayout,
  377. meta: {
  378. title: '发货对单',
  379. icon: 'vertical-align-bottom',
  380. permission: 'M_matchSendOutOrderList'
  381. },
  382. hideChildrenInMenu: true,
  383. children: [
  384. {
  385. path: 'list',
  386. name: 'matchSendOutOrderList',
  387. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/matchSendOutOrder/list.vue'),
  388. meta: {
  389. title: '发货对单',
  390. icon: 'vertical-align-bottom',
  391. hidden: true,
  392. permission: 'M_matchSendOutOrderList'
  393. }
  394. }
  395. ]
  396. },
  397. {
  398. path: '/salesManagement/examineVerify',
  399. redirect: '/salesManagement/examineVerify/list',
  400. name: 'examineVerify',
  401. component: BlankLayout,
  402. meta: {
  403. title: '备货审核',
  404. icon: 'audit',
  405. permission: 'M_examineVerifyList'
  406. },
  407. hideChildrenInMenu: true,
  408. children: [
  409. {
  410. path: 'list',
  411. name: 'examineVerifyList',
  412. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
  413. meta: {
  414. title: '备货审核列表',
  415. icon: 'audit',
  416. hidden: true,
  417. permission: 'M_examineVerifyList'
  418. }
  419. }
  420. ]
  421. },
  422. {
  423. path: '/salesManagement/outboundOrder',
  424. redirect: '/salesManagement/outboundOrder/list',
  425. name: 'outboundOrder',
  426. component: BlankLayout,
  427. meta: {
  428. title: '出库',
  429. icon: 'export',
  430. permission: 'M_outboundOrderList'
  431. },
  432. hideChildrenInMenu: true,
  433. children: [
  434. {
  435. path: 'list',
  436. name: 'outboundOrderList',
  437. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
  438. meta: {
  439. title: '出库列表',
  440. icon: 'export',
  441. hidden: true,
  442. permission: 'M_outboundOrderList'
  443. }
  444. }
  445. ]
  446. },
  447. {
  448. path: '/salesManagement/sendOutOrder',
  449. redirect: '/salesManagement/sendOutOrder/list',
  450. name: 'sendOutOrder',
  451. component: BlankLayout,
  452. meta: {
  453. title: '发货单列表',
  454. icon: 'export',
  455. permission: 'M_sendOutOrderList'
  456. },
  457. hideChildrenInMenu: true,
  458. children: [
  459. {
  460. path: 'list',
  461. name: 'sendOutOrderList',
  462. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/sendOutOrder/list.vue'),
  463. meta: {
  464. title: '发货单列表',
  465. icon: 'export',
  466. hidden: true,
  467. permission: 'M_sendOutOrderList'
  468. }
  469. }
  470. ]
  471. },
  472. {
  473. path: '/salesManagement/backorder',
  474. redirect: '/salesManagement/backorder/list',
  475. name: 'backorder',
  476. component: BlankLayout,
  477. meta: {
  478. title: '销售缺货列表',
  479. icon: 'exception',
  480. permission: 'M_backorderList'
  481. },
  482. hideChildrenInMenu: true,
  483. children: [
  484. {
  485. path: 'list',
  486. name: 'backorderList',
  487. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
  488. meta: {
  489. title: '销售缺货列表',
  490. icon: 'exception',
  491. hidden: true,
  492. permission: 'M_backorderList'
  493. }
  494. }
  495. ]
  496. },
  497. {
  498. path: '/salesManagement/shortageStatisticsC',
  499. redirect: '/salesManagement/shortageStatisticsC/list',
  500. name: 'shortageStatisticsC',
  501. component: BlankLayout,
  502. meta: {
  503. title: '缺货统计(按客户)',
  504. icon: 'file-done',
  505. permission: 'M_shortageStatisticsCList'
  506. },
  507. hideChildrenInMenu: true,
  508. children: [
  509. {
  510. path: 'list',
  511. name: 'shortageStatisticsCList',
  512. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
  513. meta: {
  514. title: '缺货统计(按客户)',
  515. icon: 'file-done',
  516. hidden: true,
  517. permission: 'M_shortageStatisticsCList'
  518. }
  519. }
  520. ]
  521. },
  522. {
  523. path: '/salesManagement/shortageStatisticsP',
  524. redirect: '/salesManagement/shortageStatisticsP/list',
  525. name: 'shortageStatisticsP',
  526. component: BlankLayout,
  527. meta: {
  528. title: '缺货统计(按产品)',
  529. icon: 'file-protect',
  530. permission: 'M_shortageStatisticsPList'
  531. },
  532. hideChildrenInMenu: true,
  533. children: [
  534. {
  535. path: 'list',
  536. name: 'shortageStatisticsPList',
  537. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
  538. meta: {
  539. title: '缺货统计(按产品)',
  540. icon: 'file-protect',
  541. hidden: true,
  542. permission: 'M_shortageStatisticsPList'
  543. }
  544. }
  545. ]
  546. },
  547. {
  548. path: '/salesManagement/priceInquiry',
  549. redirect: '/salesManagement/priceInquiry/list',
  550. name: 'priceInquiry',
  551. component: BlankLayout,
  552. meta: {
  553. title: '价格查询',
  554. icon: 'file-protect',
  555. permission: 'M_priceInquiryList'
  556. },
  557. hideChildrenInMenu: true,
  558. children: [
  559. {
  560. path: 'list',
  561. name: 'priceInquiryList',
  562. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
  563. meta: {
  564. title: '价格查询列表',
  565. icon: 'file-protect',
  566. hidden: true,
  567. permission: 'M_priceInquiryList'
  568. }
  569. }
  570. ]
  571. },
  572. {
  573. path: '/salesManagement/salesList',
  574. redirect: '/salesManagement/salesList/list',
  575. name: 'salesList',
  576. component: BlankLayout,
  577. meta: {
  578. title: '销售一览表',
  579. icon: 'file-protect',
  580. permission: 'M_salesList'
  581. },
  582. hideChildrenInMenu: true,
  583. children: [
  584. {
  585. path: 'list',
  586. name: 'salesMainList',
  587. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesList/list.vue'),
  588. meta: {
  589. title: '销售一览表',
  590. icon: 'file-protect',
  591. hidden: true,
  592. permission: 'M_salesList'
  593. }
  594. }
  595. ]
  596. }
  597. ]
  598. },
  599. // 销售退货
  600. {
  601. path: '/salesReturnManagement',
  602. redirect: '/salesReturnManagement/salesReturn',
  603. component: PageView,
  604. meta: {
  605. title: '销售退货',
  606. icon: 'export',
  607. permission: 'M_salesReturnManagement'
  608. },
  609. children: [
  610. {
  611. path: '/salesReturnManagement/salesReturn',
  612. redirect: '/salesReturnManagement/salesReturn/list',
  613. name: 'salesReturn',
  614. component: BlankLayout,
  615. meta: {
  616. title: '销售退货列表',
  617. icon: 'fund',
  618. permission: 'M_salesReturnList'
  619. },
  620. hideChildrenInMenu: true,
  621. children: [
  622. {
  623. path: 'list',
  624. name: 'salesReturnList',
  625. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/list.vue'),
  626. meta: {
  627. title: '销售退货列表',
  628. icon: 'fund',
  629. hidden: true,
  630. permission: 'M_salesReturnList'
  631. }
  632. },
  633. {
  634. path: 'detail/:sn',
  635. name: 'salesReturnDetail',
  636. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/detail.vue'),
  637. meta: {
  638. title: '销售退货详情',
  639. icon: 'fund',
  640. hidden: true,
  641. permission: 'B_salesReturnDetail'
  642. }
  643. },
  644. {
  645. path: 'salesReturnEdit/:sn/:buyerSn',
  646. name: 'salesReturnEdit',
  647. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/salesReturnEdit.vue'),
  648. meta: {
  649. title: '编辑销售退货',
  650. icon: 'fund',
  651. hidden: true,
  652. permission: 'B_salesReturnEdit'
  653. }
  654. },
  655. {
  656. path: 'custConfirm/:sn/:buyerSn',
  657. name: 'custConfirm',
  658. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/custConfirm/list.vue'),
  659. meta: {
  660. title: '客服确认',
  661. icon: 'fund',
  662. replaceTab: true,
  663. hidden: true,
  664. permission: 'B_salesReturnConfirm'
  665. }
  666. }
  667. ]
  668. },
  669. {
  670. path: '/salesReturnManagement/billOfLading',
  671. redirect: '/salesReturnManagement/billOfLading/list',
  672. name: 'billOfLading',
  673. component: BlankLayout,
  674. meta: {
  675. title: '提货单列表',
  676. icon: 'fund',
  677. permission: 'M_billOfLadingList'
  678. },
  679. hideChildrenInMenu: true,
  680. children: [
  681. {
  682. path: 'list',
  683. name: 'billOfLadingList',
  684. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/list.vue'),
  685. meta: {
  686. title: '提货单列表',
  687. icon: 'fund',
  688. hidden: true,
  689. permission: 'M_billOfLadingList'
  690. }
  691. },
  692. {
  693. path: 'detail/:sn',
  694. name: 'billOfLadingDetail',
  695. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/detail.vue'),
  696. meta: {
  697. title: '提货单详情',
  698. icon: 'fund',
  699. hidden: true,
  700. permission: 'M_detailPickUp'
  701. }
  702. },
  703. {
  704. path: 'add',
  705. name: 'billOfLadingAdd',
  706. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  707. meta: {
  708. title: '新增提货单',
  709. icon: 'fund',
  710. hidden: true,
  711. permission: 'B_editPickUp'
  712. }
  713. },
  714. {
  715. path: 'edit/:sn/:wSn',
  716. name: 'billOfLadingEdit',
  717. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  718. meta: {
  719. title: '编辑提货单',
  720. icon: 'fund',
  721. hidden: true,
  722. permission: 'B_editPickUp'
  723. }
  724. }
  725. ]
  726. },
  727. {
  728. path: '/salesReturnManagement/pickUp',
  729. redirect: '/salesReturnManagement/pickUp/list',
  730. name: 'pickUp',
  731. component: BlankLayout,
  732. meta: {
  733. title: '仓库提货',
  734. icon: 'fund',
  735. permission: 'M_pickUpList'
  736. },
  737. hideChildrenInMenu: true,
  738. children: [
  739. {
  740. path: 'list',
  741. name: 'pickUpList',
  742. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/pickUp/list.vue'),
  743. meta: {
  744. title: '仓库提货列表',
  745. icon: 'fund',
  746. hidden: true,
  747. permission: 'M_pickUpList'
  748. }
  749. }
  750. ]
  751. },
  752. {
  753. path: '/salesReturnManagement/receiveCheck',
  754. redirect: '/salesReturnManagement/receiveCheck/list',
  755. name: 'receiveCheck',
  756. component: BlankLayout,
  757. meta: {
  758. title: '收货品检',
  759. icon: 'fund',
  760. permission: 'M_receiveCheckList'
  761. },
  762. hideChildrenInMenu: true,
  763. children: [
  764. {
  765. path: 'list',
  766. name: 'receiveCheckList',
  767. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/list.vue'),
  768. meta: {
  769. title: '收货品检列表',
  770. icon: 'fund',
  771. hidden: true,
  772. permission: 'M_receiveCheckList'
  773. }
  774. },
  775. {
  776. path: 'receiving/:sn/:buyerSn',
  777. name: 'salesReturnReceiving',
  778. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/receiving.vue'),
  779. meta: {
  780. title: '收货',
  781. icon: 'fund',
  782. hidden: true,
  783. replaceTab: true,
  784. permission: 'B_salesReturnReceiving'
  785. }
  786. },
  787. {
  788. path: 'checking/:sn/:buyerSn',
  789. name: 'salesReturnCheck',
  790. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/checking.vue'),
  791. meta: {
  792. title: '品检',
  793. icon: 'fund',
  794. hidden: true,
  795. replaceTab: true,
  796. permission: 'B_salesReturnCheck'
  797. }
  798. }
  799. ]
  800. },
  801. {
  802. path: '/salesReturnManagement/returnConfirmation',
  803. redirect: '/salesReturnManagement/returnConfirmation/list',
  804. name: 'returnConfirmation',
  805. component: BlankLayout,
  806. meta: {
  807. title: '销售退货确认',
  808. icon: 'vertical-align-top',
  809. permission: 'M_returnConfirmationList'
  810. },
  811. hideChildrenInMenu: true,
  812. children: [
  813. {
  814. path: 'list',
  815. name: 'returnConfirmationList',
  816. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnConfirmation/list.vue'),
  817. meta: {
  818. title: '销售退货确认列表',
  819. icon: 'vertical-align-top',
  820. hidden: true,
  821. permission: 'M_returnConfirmationList'
  822. }
  823. }
  824. ]
  825. },
  826. {
  827. path: '/salesReturnManagement/returnSchedule',
  828. redirect: '/salesReturnManagement/returnSchedule/list',
  829. name: 'returnSchedule',
  830. component: BlankLayout,
  831. meta: {
  832. title: '退货一览表',
  833. icon: 'vertical-align-top',
  834. permission: 'M_returnScheduleList'
  835. },
  836. hideChildrenInMenu: true,
  837. children: [
  838. {
  839. path: 'list',
  840. name: 'returnScheduleList',
  841. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnSchedule/list.vue'),
  842. meta: {
  843. title: '退货一览表',
  844. icon: 'vertical-align-top',
  845. hidden: true,
  846. permission: 'M_returnScheduleList'
  847. }
  848. }
  849. ]
  850. }
  851. ]
  852. },
  853. // 采购管理
  854. {
  855. path: '/purchasingManagement',
  856. redirect: '/purchasingManagement/purchaseOrder',
  857. component: PageView,
  858. meta: {
  859. title: '采购管理',
  860. icon: 'money-collect',
  861. permission: 'M_purchasingManagement'
  862. },
  863. children: [
  864. {
  865. path: '/purchasingManagement/bulkWarehousingOrder',
  866. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  867. name: 'bulkWarehousingOrder',
  868. component: BlankLayout,
  869. meta: {
  870. title: '散件入库',
  871. icon: 'gold',
  872. permission: 'M_bulkWarehousingOrderList'
  873. },
  874. hideChildrenInMenu: true,
  875. children: [
  876. {
  877. path: 'list',
  878. name: 'bulkWarehousingOrderList',
  879. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  880. meta: {
  881. title: '散件入库单列表',
  882. icon: 'gold',
  883. hidden: true,
  884. permission: 'M_bulkWarehousingOrderList'
  885. }
  886. },
  887. {
  888. path: 'add/:id/:sn',
  889. name: 'bulkWarehousingOrderAdd',
  890. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  891. meta: {
  892. title: '新增散件入库单',
  893. icon: 'gold',
  894. hidden: true,
  895. permission: 'B_sparePartsEdit'
  896. }
  897. },
  898. {
  899. path: 'edit/:id/:sn',
  900. name: 'bulkWarehousingOrderEdit',
  901. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  902. meta: {
  903. title: '编辑散件入库单',
  904. icon: 'gold',
  905. hidden: true,
  906. permission: 'B_sparePartsEdit'
  907. }
  908. }
  909. ]
  910. },
  911. {
  912. path: '/purchasingManagement/purchaseReturn',
  913. redirect: '/purchasingManagement/purchaseReturn/list',
  914. name: 'purchaseReturn',
  915. component: BlankLayout,
  916. meta: {
  917. title: '采购退货',
  918. icon: 'gold',
  919. permission: 'M_purchaseReturn'
  920. },
  921. hideChildrenInMenu: true,
  922. children: [
  923. {
  924. path: 'list',
  925. name: 'purchaseReturnList',
  926. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  927. meta: {
  928. title: '采购退货',
  929. icon: 'gold',
  930. hidden: true,
  931. permission: 'M_purchaseReturnList'
  932. }
  933. },
  934. {
  935. path: 'add',
  936. name: 'purchaseReturnAdd',
  937. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  938. meta: {
  939. title: '新增采购退货',
  940. icon: 'gold',
  941. hidden: true,
  942. permission: 'B_purchaseReturnEdit'
  943. }
  944. },
  945. {
  946. path: 'edit',
  947. name: 'purchaseReturnEdit',
  948. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  949. meta: {
  950. title: '编辑采购退货(不抓单)',
  951. icon: 'gold',
  952. hidden: true,
  953. permission: 'B_purchaseReturnEdit'
  954. }
  955. },
  956. {
  957. path: 'editGrab',
  958. name: 'purchaseReturnEditGrab',
  959. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  960. meta: {
  961. title: '编辑采购退货(抓单)',
  962. icon: 'gold',
  963. hidden: true,
  964. permission: 'B_purchaseReturnEdit'
  965. }
  966. }
  967. ]
  968. }
  969. ]
  970. },
  971. // 财务管理
  972. {
  973. path: '/financialManagement',
  974. redirect: '/financialManagement/warehousingConfirmation',
  975. component: PageView,
  976. meta: {
  977. title: '财务管理',
  978. icon: 'property-safety',
  979. permission: 'M_financialManagement'
  980. },
  981. children: [
  982. {
  983. path: '/financialManagement/warehousingConfirmation',
  984. redirect: '/financialManagement/warehousingConfirmation/list',
  985. name: 'warehousingConfirmation',
  986. component: BlankLayout,
  987. meta: {
  988. title: '入库确认',
  989. icon: 'vertical-align-bottom',
  990. permission: 'M_warehousingConfirmationList'
  991. },
  992. hideChildrenInMenu: true,
  993. children: [
  994. {
  995. path: 'list',
  996. name: 'warehousingConfirmationList',
  997. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  998. meta: {
  999. title: '入库确认列表',
  1000. icon: 'vertical-align-bottom',
  1001. hidden: true,
  1002. permission: 'M_warehousingConfirmationList'
  1003. }
  1004. }
  1005. ]
  1006. },
  1007. {
  1008. path: '/financialManagement/financialCollection',
  1009. redirect: '/financialManagement/financialCollection/list',
  1010. name: 'financialCollection',
  1011. component: BlankLayout,
  1012. meta: {
  1013. title: '财务收款',
  1014. icon: 'pay-circle',
  1015. permission: 'M_financialCollectionList'
  1016. },
  1017. hideChildrenInMenu: true,
  1018. children: [
  1019. {
  1020. path: 'list',
  1021. name: 'financialCollectionList',
  1022. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1023. meta: {
  1024. title: '财务收款列表',
  1025. icon: 'pay-circle',
  1026. hidden: true,
  1027. permission: 'M_financialCollectionList'
  1028. }
  1029. },
  1030. {
  1031. path: 'detail/:sn',
  1032. name: 'financialCollectionDetail',
  1033. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
  1034. meta: {
  1035. title: '财务收款详情',
  1036. icon: 'monitor',
  1037. hidden: true,
  1038. permission: 'B_fc_detail'
  1039. }
  1040. },
  1041. {
  1042. path: 'edit/:sn',
  1043. name: 'financialCollectionEdit',
  1044. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  1045. meta: {
  1046. title: '编辑财务收款',
  1047. icon: 'monitor',
  1048. hidden: true,
  1049. permission: 'B_fc_edit'
  1050. }
  1051. }
  1052. ]
  1053. },
  1054. {
  1055. path: '/financialManagement/collectionDetailStatic',
  1056. redirect: '/financialManagement/collectionDetailStatic/list',
  1057. name: 'collectionDetailStatic',
  1058. component: BlankLayout,
  1059. meta: {
  1060. title: '财务收款明细统计',
  1061. icon: 'vertical-align-top',
  1062. permission: 'M_FC_Details_list'
  1063. },
  1064. hideChildrenInMenu: true,
  1065. children: [
  1066. {
  1067. path: 'list',
  1068. name: 'collectionDetailStaticList',
  1069. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
  1070. meta: {
  1071. title: '财务收款明细统计列表',
  1072. icon: 'vertical-align-top',
  1073. hidden: true,
  1074. permission: 'M_FC_Details_list'
  1075. }
  1076. }
  1077. ]
  1078. }
  1079. ]
  1080. },
  1081. // 费用报销
  1082. {
  1083. path: '/expenseManagement',
  1084. redirect: '/expenseManagement/expenseReimbursement',
  1085. component: PageView,
  1086. meta: {
  1087. title: '费用报销',
  1088. icon: 'account-book',
  1089. permission: 'M_expenseManagement'
  1090. },
  1091. children: [
  1092. {
  1093. path: '/expenseManagement/expenseReimbursement',
  1094. redirect: '/expenseManagement/expenseReimbursement/list',
  1095. name: 'expenseReimbursement',
  1096. component: BlankLayout,
  1097. meta: {
  1098. title: '费用报销单',
  1099. icon: 'monitor',
  1100. permission: 'M_expenseReimbursementList'
  1101. },
  1102. hideChildrenInMenu: true,
  1103. children: [
  1104. {
  1105. path: 'list',
  1106. name: 'expenseReimbursementList',
  1107. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  1108. meta: {
  1109. title: '费用报销单列表',
  1110. icon: 'monitor',
  1111. hidden: true,
  1112. permission: 'M_expenseReimbursementList'
  1113. }
  1114. },
  1115. {
  1116. path: 'detail/:sn',
  1117. name: 'expenseReimbursementListDetail',
  1118. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  1119. meta: {
  1120. title: '费用报销单详情',
  1121. icon: 'monitor',
  1122. hidden: true,
  1123. permission: 'B_eRdetail'
  1124. }
  1125. },
  1126. {
  1127. path: 'edit/:sn',
  1128. name: 'expenseReimbursementEdit',
  1129. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1130. meta: {
  1131. title: '编辑费用报销单',
  1132. icon: 'monitor',
  1133. hidden: true,
  1134. permission: 'B_ERtEdit'
  1135. }
  1136. }
  1137. ]
  1138. },
  1139. {
  1140. path: '/expenseManagement/expenseReimbursementDetail',
  1141. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  1142. name: 'expenseReimbursementDetail',
  1143. component: BlankLayout,
  1144. meta: {
  1145. title: '费用报销明细统计',
  1146. icon: 'audit',
  1147. permission: 'M_expenseReimbursementDetailList'
  1148. },
  1149. hideChildrenInMenu: true,
  1150. children: [
  1151. {
  1152. path: 'list',
  1153. name: 'expenseReimbursementDetailList',
  1154. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  1155. meta: {
  1156. title: '费用报销明细统计列表',
  1157. icon: 'audit',
  1158. hidden: true,
  1159. permission: 'M_expenseReimbursementDetailList'
  1160. }
  1161. }
  1162. ]
  1163. }
  1164. ]
  1165. },
  1166. // 库存管理
  1167. {
  1168. path: '/inventoryManagement',
  1169. redirect: '/inventoryManagement/inventoryQuery',
  1170. component: PageView,
  1171. meta: {
  1172. title: '库存管理',
  1173. icon: 'shop',
  1174. permission: 'M_inventoryManagement'
  1175. },
  1176. children: [
  1177. {
  1178. path: '/inventoryManagement/inventoryQuery',
  1179. redirect: '/inventoryManagement/inventoryQuery/list',
  1180. name: 'inventoryQuery',
  1181. component: BlankLayout,
  1182. meta: {
  1183. title: '库存查询',
  1184. icon: 'monitor',
  1185. permission: 'M_inventoryQueryList'
  1186. },
  1187. hideChildrenInMenu: true,
  1188. children: [
  1189. {
  1190. path: 'list',
  1191. name: 'inventoryQueryList',
  1192. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1193. meta: {
  1194. title: '库存列表',
  1195. icon: 'monitor',
  1196. hidden: true,
  1197. permission: 'M_inventoryQueryList'
  1198. }
  1199. },
  1200. {
  1201. path: 'warehouseDetail/:sn/:warehouseSn',
  1202. name: 'inventoryQueryWarehouseDetail',
  1203. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1204. meta: {
  1205. title: '出入库明细',
  1206. icon: 'monitor',
  1207. replaceTab: true,
  1208. hidden: true,
  1209. permission: 'B_inventoryQuery_rkDetail'
  1210. }
  1211. }
  1212. ]
  1213. },
  1214. {
  1215. path: '/inventoryManagement/inventoryCheck',
  1216. redirect: '/inventoryManagement/inventoryCheck/list/0',
  1217. name: 'inventoryCheck',
  1218. component: BlankLayout,
  1219. meta: {
  1220. title: '库存盘点',
  1221. icon: 'monitor',
  1222. permission: 'M_inventoryCheckList'
  1223. },
  1224. hideChildrenInMenu: true,
  1225. children: [
  1226. {
  1227. path: 'list/:type',
  1228. name: 'inventoryCheckList',
  1229. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  1230. meta: {
  1231. title: '库存盘点列表',
  1232. icon: 'monitor',
  1233. hidden: true,
  1234. permission: 'M_inventoryCheckList'
  1235. }
  1236. },
  1237. {
  1238. path: 'detail/:sn',
  1239. name: 'inventoryCheckDetail',
  1240. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  1241. meta: {
  1242. title: '库存盘点详情',
  1243. icon: 'monitor',
  1244. hidden: true,
  1245. replaceTab: true,
  1246. permission: 'B_inventoryCheckDetail'
  1247. }
  1248. }
  1249. ]
  1250. },
  1251. {
  1252. path: '/inventoryManagement/makeInventory',
  1253. redirect: '/inventoryManagement/makeInventory/list',
  1254. name: 'makeInventory',
  1255. component: BlankLayout,
  1256. meta: {
  1257. title: '盘点人盘点',
  1258. icon: 'monitor',
  1259. permission: 'M_inventoryMakeInventoryList'
  1260. },
  1261. hideChildrenInMenu: true,
  1262. children: [
  1263. {
  1264. path: 'list',
  1265. name: 'makeInventoryList',
  1266. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  1267. meta: {
  1268. title: '盘点人盘点列表',
  1269. icon: 'monitor',
  1270. hidden: true,
  1271. permission: 'M_inventoryMakeInventoryList'
  1272. }
  1273. },
  1274. {
  1275. path: 'check/:sn',
  1276. name: 'makeInventoryCheck',
  1277. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1278. meta: {
  1279. title: '盘点人盘点',
  1280. icon: 'monitor',
  1281. hidden: true,
  1282. replaceTab: true,
  1283. permission: 'B_inventoryMakeInventoryCheck'
  1284. }
  1285. }
  1286. ]
  1287. },
  1288. {
  1289. path: '/inventoryManagement/supervisionDisk',
  1290. redirect: '/inventoryManagement/supervisionDisk/list',
  1291. name: 'supervisionDisk',
  1292. component: BlankLayout,
  1293. meta: {
  1294. title: '监盘人盘点',
  1295. icon: 'monitor',
  1296. permission: 'M_supervisionDiskList'
  1297. },
  1298. hideChildrenInMenu: true,
  1299. children: [
  1300. {
  1301. path: 'list',
  1302. name: 'supervisionDiskList',
  1303. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1304. meta: {
  1305. title: '监盘人盘点列表',
  1306. icon: 'monitor',
  1307. hidden: true,
  1308. permission: 'M_supervisionDiskList'
  1309. }
  1310. },
  1311. {
  1312. path: 'check/:sn',
  1313. name: 'supervisionDiskCheck',
  1314. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1315. meta: {
  1316. title: '监盘人监盘',
  1317. icon: 'monitor',
  1318. replaceTab: true,
  1319. hidden: true,
  1320. permission: 'B_supervisionDiskCheck'
  1321. }
  1322. }
  1323. ]
  1324. },
  1325. {
  1326. path: '/inventoryManagement/inventoryConfirmation',
  1327. redirect: '/inventoryManagement/inventoryConfirmation/list',
  1328. name: 'inventoryConfirmation',
  1329. component: BlankLayout,
  1330. meta: {
  1331. title: '盘点确认',
  1332. icon: 'monitor',
  1333. permission: 'M_inventoryConfirmationList'
  1334. },
  1335. hideChildrenInMenu: true,
  1336. children: [
  1337. {
  1338. path: 'list',
  1339. name: 'inventoryConfirmationList',
  1340. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/list.vue'),
  1341. meta: {
  1342. title: '盘点确认列表',
  1343. icon: 'monitor',
  1344. hidden: true,
  1345. permission: 'M_inventoryConfirmationList'
  1346. }
  1347. },
  1348. {
  1349. path: 'detail/:sn',
  1350. name: 'inventoryConfirmationDetail',
  1351. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/detail.vue'),
  1352. meta: {
  1353. title: '盘点确认详情',
  1354. icon: 'monitor',
  1355. hidden: true,
  1356. permission: 'B_inventoryConfirmationDetail'
  1357. }
  1358. }
  1359. ]
  1360. },
  1361. {
  1362. path: '/inventoryManagement/inventoryWarning',
  1363. redirect: '/inventoryManagement/inventoryWarning/list',
  1364. name: 'inventoryWarning',
  1365. component: BlankLayout,
  1366. meta: {
  1367. title: '库存预警',
  1368. icon: 'monitor',
  1369. permission: 'M_inventoryWarningList'
  1370. },
  1371. hideChildrenInMenu: true,
  1372. children: [
  1373. {
  1374. path: 'list',
  1375. name: 'inventoryWarningList',
  1376. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1377. meta: {
  1378. title: '库存预警列表',
  1379. icon: 'alert',
  1380. hidden: true,
  1381. permission: 'M_inventoryWarningList'
  1382. }
  1383. }
  1384. ]
  1385. },
  1386. {
  1387. path: '/inventoryManagement/intelligentReplenishment',
  1388. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1389. name: 'intelligentReplenishment',
  1390. component: BlankLayout,
  1391. meta: {
  1392. title: '智能补货',
  1393. icon: 'monitor',
  1394. permission: 'M_intelligentReplenishmentList'
  1395. },
  1396. hideChildrenInMenu: true,
  1397. children: [
  1398. {
  1399. path: 'list',
  1400. name: 'intelligentReplenishmentList',
  1401. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1402. meta: {
  1403. title: '智能补货列表',
  1404. icon: 'monitor',
  1405. hidden: true,
  1406. permission: 'M_intelligentReplenishmentList'
  1407. }
  1408. },
  1409. {
  1410. path: 'add/:sn',
  1411. name: 'intelligentReplenishmentAdd',
  1412. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1413. meta: {
  1414. title: '新增智能补货',
  1415. icon: 'monitor',
  1416. hidden: true,
  1417. permission: 'B_intelligentReplenishment_edit'
  1418. }
  1419. },
  1420. {
  1421. path: 'edit/:sn',
  1422. name: 'intelligentReplenishmentEdit',
  1423. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1424. meta: {
  1425. title: '编辑智能补货',
  1426. icon: 'monitor',
  1427. hidden: true,
  1428. permission: 'B_intelligentReplenishment_edit'
  1429. }
  1430. },
  1431. {
  1432. path: 'set',
  1433. name: 'intelligentReplenishmentSet',
  1434. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1435. meta: {
  1436. title: '基础信息设置',
  1437. icon: 'monitor',
  1438. permission: 'B_intelligentReplenishment_set',
  1439. replaceTab: true,
  1440. hidden: true
  1441. }
  1442. },
  1443. {
  1444. path: 'import',
  1445. name: 'intelligentReplenishmentImport',
  1446. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1447. meta: {
  1448. title: '确认导入',
  1449. icon: 'monitor',
  1450. replaceTab: true,
  1451. hidden: true
  1452. }
  1453. }
  1454. ]
  1455. }
  1456. ]
  1457. },
  1458. // 调拨管理
  1459. {
  1460. path: '/allocationManagement',
  1461. redirect: '/allocationManagement/transferOut',
  1462. component: PageView,
  1463. meta: {
  1464. title: '调拨管理',
  1465. icon: 'cluster',
  1466. permission: 'M_allocationManagement'
  1467. },
  1468. children: [
  1469. {
  1470. path: '/allocationManagement/transferOut',
  1471. redirect: '/allocationManagement/transferOut/list',
  1472. name: 'transferOut',
  1473. component: BlankLayout,
  1474. meta: {
  1475. title: '调拨列表',
  1476. icon: 'pull-request',
  1477. permission: 'M_transferOutList'
  1478. },
  1479. hideChildrenInMenu: true,
  1480. children: [
  1481. {
  1482. path: 'list',
  1483. name: 'transferOutList',
  1484. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1485. meta: {
  1486. title: '调拨列表',
  1487. icon: 'pull-request',
  1488. hidden: true,
  1489. permission: 'M_transferOutList'
  1490. }
  1491. },
  1492. {
  1493. path: 'add/:sn/:dealerLevel',
  1494. name: 'transferOutAdd',
  1495. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1496. meta: {
  1497. title: '新增调拨单',
  1498. icon: 'pull-request',
  1499. hidden: true,
  1500. permission: 'M_transferOut_edit'
  1501. }
  1502. },
  1503. {
  1504. path: 'edit/:sn/:dealerLevel',
  1505. name: 'transferOutEdit',
  1506. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1507. meta: {
  1508. title: '编辑调拨单',
  1509. icon: 'pull-request',
  1510. hidden: true,
  1511. permission: 'M_transferOut_edit'
  1512. }
  1513. },
  1514. {
  1515. path: 'detail/:sn',
  1516. name: 'transferOutDetail',
  1517. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1518. meta: {
  1519. title: '调拨单详情',
  1520. icon: 'pull-request',
  1521. hidden: true,
  1522. replaceTab: true,
  1523. permission: 'M_transferOut_detail'
  1524. }
  1525. }
  1526. ]
  1527. },
  1528. {
  1529. path: '/allocationManagement/transfersPrint',
  1530. redirect: '/allocationManagement/transfersPrint/list',
  1531. name: 'transfersPrint',
  1532. component: BlankLayout,
  1533. meta: {
  1534. title: '调拨打印',
  1535. icon: 'pull-request',
  1536. permission: 'M_transfersPrintList'
  1537. },
  1538. hideChildrenInMenu: true,
  1539. children: [
  1540. {
  1541. path: 'list',
  1542. name: 'transfersPrintList',
  1543. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1544. meta: {
  1545. title: '调拨打印',
  1546. icon: 'pull-request',
  1547. hidden: true,
  1548. permission: 'M_transfersPrintList'
  1549. }
  1550. }
  1551. ]
  1552. },
  1553. {
  1554. path: '/allocationManagement/matchSendOutOrder',
  1555. redirect: '/allocationManagement/matchSendOutOrder/list',
  1556. name: 'matchSendOutOrderAllocation',
  1557. component: BlankLayout,
  1558. meta: {
  1559. title: '调拨发货对单',
  1560. icon: 'vertical-align-bottom',
  1561. permission: 'M_matchSendOutOrderAllocationList'
  1562. },
  1563. hideChildrenInMenu: true,
  1564. children: [
  1565. {
  1566. path: 'list',
  1567. name: 'matchSendOutOrderAllocationList',
  1568. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1569. meta: {
  1570. title: '调拨发货对单',
  1571. icon: 'vertical-align-bottom',
  1572. hidden: true,
  1573. permission: 'M_matchSendOutOrderAllocationList'
  1574. }
  1575. }
  1576. ]
  1577. },
  1578. {
  1579. path: '/allocationManagement/transferReturn',
  1580. redirect: '/allocationManagement/transferReturn/list',
  1581. name: 'transferReturn',
  1582. component: BlankLayout,
  1583. meta: {
  1584. title: '调拨退货列表',
  1585. icon: 'pull-request',
  1586. permission: 'M_transferReturnList'
  1587. },
  1588. hideChildrenInMenu: true,
  1589. children: [
  1590. {
  1591. path: 'list',
  1592. name: 'transferReturnList',
  1593. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1594. meta: {
  1595. title: '调拨退货列表',
  1596. icon: 'pull-request',
  1597. hidden: true,
  1598. permission: 'M_transferReturnList'
  1599. }
  1600. },
  1601. {
  1602. path: 'editGrap/:sn/:targetType',
  1603. name: 'transferReturnGrpEdit',
  1604. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1605. meta: {
  1606. title: '编辑调拨退货单(抓单)',
  1607. icon: 'pull-request',
  1608. hidden: true,
  1609. permission: 'B_transferReturnEdit'
  1610. }
  1611. },
  1612. {
  1613. path: 'edit/:sn/:targetType/:dealerLevel',
  1614. name: 'transferReturnEdit',
  1615. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1616. meta: {
  1617. title: '编辑调拨退货单(不抓单)',
  1618. icon: 'pull-request',
  1619. hidden: true,
  1620. permission: 'B_transferReturnEdit'
  1621. }
  1622. },
  1623. {
  1624. path: 'detail/:sn',
  1625. name: 'transferReturnDetail',
  1626. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1627. meta: {
  1628. title: '调拨退货单详情',
  1629. icon: 'pull-request',
  1630. replaceTab: true,
  1631. hidden: true,
  1632. permission: 'M_transferReturnDetail'
  1633. }
  1634. },
  1635. {
  1636. path: 'check/:sn/:grabFlag',
  1637. name: 'transferReturnCheck',
  1638. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1639. meta: {
  1640. title: '调拨退货品检',
  1641. icon: 'fund',
  1642. replaceTab: true,
  1643. hidden: true,
  1644. permission: 'M_transferReturnCheck'
  1645. }
  1646. }
  1647. ]
  1648. },
  1649. {
  1650. path: '/allocationManagement/allocateReturnConfirmation',
  1651. redirect: '/allocationManagement/allocateReturnConfirmation/list',
  1652. name: 'allocateReturnConfirmation',
  1653. component: BlankLayout,
  1654. meta: {
  1655. title: '调拨退货确认',
  1656. icon: 'vertical-align-top',
  1657. permission: 'M_allocateReturnConfirmationList'
  1658. },
  1659. hideChildrenInMenu: true,
  1660. children: [
  1661. {
  1662. path: 'list',
  1663. name: 'allocateReturnConfirmationList',
  1664. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
  1665. meta: {
  1666. title: '调拨退货确认列表',
  1667. icon: 'vertical-align-top',
  1668. hidden: true,
  1669. permission: 'M_allocateReturnConfirmationList'
  1670. }
  1671. }
  1672. ]
  1673. },
  1674. {
  1675. path: '/allocationManagement/allocationList',
  1676. redirect: '/allocationManagement/allocationList/list',
  1677. name: 'allocationList',
  1678. component: BlankLayout,
  1679. meta: {
  1680. title: '调拨一览表',
  1681. icon: 'vertical-align-top',
  1682. permission: 'M_allocationList'
  1683. },
  1684. hideChildrenInMenu: true,
  1685. children: [
  1686. {
  1687. path: 'list',
  1688. name: 'allocationMainList',
  1689. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
  1690. meta: {
  1691. title: '调拨一览表',
  1692. icon: 'vertical-align-top',
  1693. hidden: true,
  1694. permission: 'M_allocationList'
  1695. }
  1696. }
  1697. ]
  1698. }
  1699. ]
  1700. },
  1701. // 报表
  1702. {
  1703. path: '/reportData',
  1704. redirect: '/reportData/salesOrderTotal',
  1705. component: PageView,
  1706. meta: {
  1707. title: '报表',
  1708. icon: 'project',
  1709. permission: 'M_reportData'
  1710. },
  1711. children: [
  1712. {
  1713. path: '/reportData/salesOrderTotal',
  1714. redirect: '/reportData/salesOrderTotal/list',
  1715. name: 'salesOrderTotal',
  1716. component: BlankLayout,
  1717. meta: {
  1718. title: '销售(开单统计)',
  1719. icon: 'profile',
  1720. permission: 'M_salesOrderTotalList'
  1721. },
  1722. hideChildrenInMenu: true,
  1723. children: [
  1724. {
  1725. path: 'list',
  1726. name: 'salesOrderTotalList',
  1727. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1728. meta: {
  1729. title: '销售(开单统计)列表',
  1730. icon: 'profile',
  1731. hidden: true,
  1732. permission: 'M_salesOrderTotalList'
  1733. }
  1734. }
  1735. ]
  1736. },
  1737. {
  1738. path: '/reportData/salesDetails',
  1739. redirect: '/reportData/salesDetails/list',
  1740. name: 'salesDetails',
  1741. component: BlankLayout,
  1742. meta: {
  1743. title: '销售明细(下推统计)',
  1744. icon: 'profile',
  1745. permission: 'M_salesDetailsList'
  1746. },
  1747. hideChildrenInMenu: true,
  1748. children: [
  1749. {
  1750. path: 'list',
  1751. name: 'salesDetailsList',
  1752. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1753. meta: {
  1754. title: '销售明细(下推统计)列表',
  1755. icon: 'profile',
  1756. hidden: true,
  1757. permission: 'M_salesDetailsList'
  1758. }
  1759. }
  1760. ]
  1761. },
  1762. {
  1763. path: '/reportData/actualSalesReport',
  1764. redirect: '/reportData/actualSalesReport/list',
  1765. name: 'actualSalesReport',
  1766. component: BlankLayout,
  1767. meta: {
  1768. title: '实售销售报表',
  1769. icon: 'profile',
  1770. permission: 'M_actualSalesReportList'
  1771. },
  1772. hideChildrenInMenu: true,
  1773. children: [
  1774. {
  1775. path: 'list',
  1776. name: 'actualSalesReportList',
  1777. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1778. meta: {
  1779. title: '实售销售列表',
  1780. icon: 'profile',
  1781. hidden: true,
  1782. permission: 'M_actualSalesReportList'
  1783. }
  1784. }
  1785. ]
  1786. },
  1787. {
  1788. path: '/reportData/salesAmountReport',
  1789. redirect: '/reportData/salesAmountReport/list',
  1790. name: 'salesAmountReport',
  1791. component: BlankLayout,
  1792. meta: {
  1793. title: '开单销售报表',
  1794. icon: 'profile',
  1795. permission: 'M_salesAmountReportList'
  1796. },
  1797. hideChildrenInMenu: true,
  1798. children: [{
  1799. path: 'list',
  1800. name: 'salesAmountReportList',
  1801. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1802. meta: {
  1803. title: '开单销售报表列表',
  1804. icon: 'profile',
  1805. hidden: true,
  1806. permission: 'M_salesAmountReportList'
  1807. }
  1808. }]
  1809. },
  1810. {
  1811. path: '/reportData/salesSlipReport',
  1812. redirect: '/reportData/salesSlipReport/list',
  1813. name: 'salesSlipReport',
  1814. component: BlankLayout,
  1815. meta: {
  1816. title: '开单销售单报表',
  1817. icon: 'profile',
  1818. permission: 'M_salesSlipReportList'
  1819. },
  1820. hideChildrenInMenu: true,
  1821. children: [{
  1822. path: 'list',
  1823. name: 'salesSlipReportList',
  1824. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1825. meta: {
  1826. title: '开单销售单报表列表',
  1827. icon: 'profile',
  1828. hidden: true,
  1829. permission: 'M_salesSlipReportList'
  1830. }
  1831. }]
  1832. },
  1833. {
  1834. path: '/reportData/promotionSalesRealTimeReport',
  1835. redirect: '/reportData/promotionSalesRealTimeReport/index',
  1836. name: 'promotionSalesRealTimeReport',
  1837. component: BlankLayout,
  1838. meta: {
  1839. title: '促销销售单报表',
  1840. icon: 'profile',
  1841. permission: 'M_promotionSalesRealTimeReportList'
  1842. },
  1843. hideChildrenInMenu: true,
  1844. children: [
  1845. {
  1846. path: 'index',
  1847. name: 'promotionSalesRealTimeReportIndex',
  1848. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  1849. meta: {
  1850. title: '促销销售单报表',
  1851. icon: 'profile',
  1852. hidden: true,
  1853. permission: 'M_promotionSalesRealTimeReportList'
  1854. }
  1855. }
  1856. ]
  1857. },
  1858. {
  1859. path: '/reportData/promotionSalesOrderReport',
  1860. redirect: '/reportData/promotionSalesOrderReport/list',
  1861. name: 'promotionSalesOrderReport',
  1862. component: BlankLayout,
  1863. meta: {
  1864. title: '促销销售单报表(统计)',
  1865. icon: 'profile',
  1866. permission: 'M_promotionSalesOrderReport'
  1867. },
  1868. hideChildrenInMenu: true,
  1869. children: [{
  1870. path: 'list',
  1871. name: 'promotionSalesOrderReportList',
  1872. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesOrderReport/list.vue'),
  1873. meta: {
  1874. title: '促销销售单报表(统计)',
  1875. icon: 'profile',
  1876. hidden: true,
  1877. permission: 'M_promotionSalesOrderReportList'
  1878. }
  1879. }]
  1880. },
  1881. {
  1882. path: '/reportData/tireSalesReport',
  1883. redirect: '/reportData/tireSalesReport/list',
  1884. name: 'tireSalesReport',
  1885. component: BlankLayout,
  1886. meta: {
  1887. title: '轮胎统计报表',
  1888. icon: 'profile',
  1889. permission: 'M_tireSalesReportList'
  1890. },
  1891. hideChildrenInMenu: true,
  1892. children: [
  1893. {
  1894. path: 'list',
  1895. name: 'tireSalesReportIndex',
  1896. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/tireSalesReport/list.vue'),
  1897. meta: {
  1898. title: '轮胎统计报表',
  1899. icon: 'profile',
  1900. hidden: true,
  1901. permission: 'M_tireSalesReportList'
  1902. }
  1903. }
  1904. ]
  1905. },
  1906. {
  1907. path: '/reportData/allocationOrderTotal',
  1908. redirect: '/reportData/allocationOrderTotal/list',
  1909. name: 'allocationOrderTotal',
  1910. component: BlankLayout,
  1911. meta: {
  1912. title: '调拨开单统计',
  1913. icon: 'profile',
  1914. permission: 'M_allocationOrderTotalList'
  1915. },
  1916. hideChildrenInMenu: true,
  1917. children: [
  1918. {
  1919. path: 'list',
  1920. name: 'allocationOrderTotalList',
  1921. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1922. meta: {
  1923. title: '调拨开单列表',
  1924. icon: 'profile',
  1925. hidden: true,
  1926. permission: 'M_allocationOrderTotalList'
  1927. }
  1928. }
  1929. ]
  1930. },
  1931. {
  1932. path: '/reportData/allocationDetails',
  1933. redirect: '/reportData/allocationDetails/list',
  1934. name: 'allocationDetails',
  1935. component: BlankLayout,
  1936. meta: {
  1937. title: '调拨明细',
  1938. icon: 'profile',
  1939. permission: 'M_allocationDetailsList'
  1940. },
  1941. hideChildrenInMenu: true,
  1942. children: [
  1943. {
  1944. path: 'list',
  1945. name: 'allocationDetailsList',
  1946. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1947. meta: {
  1948. title: '调拨明细列表',
  1949. icon: 'profile',
  1950. hidden: true,
  1951. permission: 'M_allocationDetailsList'
  1952. }
  1953. }
  1954. ]
  1955. },
  1956. {
  1957. path: '/reportData/urchaseReturn',
  1958. redirect: '/reportData/urchaseReturn/list',
  1959. name: 'urchaseReturnList',
  1960. component: BlankLayout,
  1961. meta: {
  1962. title: '采购退货单报表',
  1963. icon: 'profile',
  1964. permission: 'M_urchaseReturn'
  1965. },
  1966. hideChildrenInMenu: true,
  1967. children: [
  1968. {
  1969. path: 'list',
  1970. name: 'urchaseReturnList',
  1971. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  1972. meta: {
  1973. title: '采购退货单报表列表',
  1974. icon: 'profile',
  1975. hidden: true,
  1976. permission: 'M_urchaseReturnList'
  1977. }
  1978. }
  1979. ]
  1980. },
  1981. {
  1982. path: '/reportData/urchaseDetailReturn',
  1983. redirect: '/reportData/urchaseDetailReturn/detailList',
  1984. name: 'urchaseDetailReturnList',
  1985. component: BlankLayout,
  1986. meta: {
  1987. title: '采购退货单明细报表',
  1988. icon: 'profile',
  1989. permission: 'M_urchaseDetailReturn'
  1990. },
  1991. hideChildrenInMenu: true,
  1992. children: [
  1993. {
  1994. path: 'detailList',
  1995. name: 'urchaseDetailReturnList',
  1996. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  1997. meta: {
  1998. title: '采购退货单明细报表列表',
  1999. icon: 'profile',
  2000. hidden: true,
  2001. permission: 'M_urchaseDetailReturnList'
  2002. }
  2003. }
  2004. ]
  2005. },
  2006. {
  2007. path: '/reportData/salesReturnsReport',
  2008. redirect: '/reportData/salesReturnsReport/list',
  2009. name: 'salesReturnsReport',
  2010. component: BlankLayout,
  2011. meta: {
  2012. title: '销售退货单报表',
  2013. icon: 'profile',
  2014. permission: 'M_salesReturnsReportList'
  2015. },
  2016. hideChildrenInMenu: true,
  2017. children: [
  2018. {
  2019. path: 'list',
  2020. name: 'salesReturnsReportList',
  2021. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  2022. meta: {
  2023. title: '销售退货单报表列表',
  2024. icon: 'profile',
  2025. hidden: true,
  2026. permission: 'M_salesReturnsReportList'
  2027. }
  2028. }
  2029. ]
  2030. },
  2031. {
  2032. path: '/reportData/salesReturnDetailReport',
  2033. redirect: '/reportData/salesReturnDetailReport/list',
  2034. name: 'salesReturnDetailReport',
  2035. component: BlankLayout,
  2036. meta: {
  2037. title: '销售退货明细报表',
  2038. icon: 'profile',
  2039. permission: 'M_salesReturnDetailReportList'
  2040. },
  2041. hideChildrenInMenu: true,
  2042. children: [{
  2043. path: 'list',
  2044. name: 'salesReturnDetailReportList',
  2045. component: () => import(/* webpackChunkName: "reportData" */
  2046. '@/views/reportData/salesReturnDetailReport/list.vue'),
  2047. meta: {
  2048. title: '销售退货明细报表列表',
  2049. icon: 'profile',
  2050. hidden: true,
  2051. permission: 'M_salesReturnDetailReportList'
  2052. }
  2053. }]
  2054. },
  2055. {
  2056. path: '/reportData/transferReturnReport',
  2057. redirect: '/reportData/transferReturnReport/list',
  2058. name: 'transferReturnReport',
  2059. component: BlankLayout,
  2060. meta: {
  2061. title: '调拨退货单报表',
  2062. icon: 'profile',
  2063. permission: 'M_transferReturnReportList'
  2064. },
  2065. hideChildrenInMenu: true,
  2066. children: [
  2067. {
  2068. path: 'list',
  2069. name: 'transferReturnReportList',
  2070. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  2071. meta: {
  2072. title: '调拨退货单报表列表',
  2073. icon: 'profile',
  2074. hidden: true,
  2075. permission: 'M_transferReturnReportList'
  2076. }
  2077. }
  2078. ]
  2079. },
  2080. {
  2081. path: '/reportData/transferReturnDetailReport',
  2082. redirect: '/reportData/transferReturnDetailReport/list',
  2083. name: 'transferReturnDetailReport',
  2084. component: BlankLayout,
  2085. meta: {
  2086. title: '调拨退货单明细报表',
  2087. icon: 'profile',
  2088. permission: 'M_transferReturnDetailReportList'
  2089. },
  2090. hideChildrenInMenu: true,
  2091. children: [{
  2092. path: 'list',
  2093. name: 'transferReturnDetailReportList',
  2094. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  2095. meta: {
  2096. title: '调拨退货单明细报表列表',
  2097. icon: 'profile',
  2098. hidden: true,
  2099. permission: 'M_transferReturnDetailReportList'
  2100. }
  2101. }]
  2102. },
  2103. {
  2104. path: '/reportData/salesReturnReport',
  2105. redirect: '/reportData/salesReturnReport/list',
  2106. name: 'salesReturnReport',
  2107. component: BlankLayout,
  2108. meta: {
  2109. title: '实售退货报表',
  2110. icon: 'profile',
  2111. permission: 'M_salesReturnReportList'
  2112. },
  2113. hideChildrenInMenu: true,
  2114. children: [
  2115. {
  2116. path: 'list',
  2117. name: 'salesReturnReportList',
  2118. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  2119. meta: {
  2120. title: '实售退货列表',
  2121. icon: 'profile',
  2122. hidden: true,
  2123. permission: 'M_salesReturnReportList'
  2124. }
  2125. }
  2126. ]
  2127. },
  2128. {
  2129. path: '/reportData/billingReturnReport',
  2130. redirect: '/reportData/billingReturnReport/list',
  2131. name: 'billingReturnReport',
  2132. component: BlankLayout,
  2133. meta: {
  2134. title: '开单退货报表',
  2135. icon: 'profile',
  2136. permission: 'M_billingReturnReportList'
  2137. },
  2138. hideChildrenInMenu: true,
  2139. children: [
  2140. {
  2141. path: 'list',
  2142. name: 'billingReturnReportList',
  2143. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  2144. meta: {
  2145. title: '开单退货列表',
  2146. icon: 'profile',
  2147. hidden: true,
  2148. permission: 'M_billingReturnReportList'
  2149. }
  2150. }
  2151. ]
  2152. },
  2153. {
  2154. path: '/reportData/returnSlipReport',
  2155. redirect: '/reportData/returnSlipReport/list',
  2156. name: 'returnSlipReport',
  2157. component: BlankLayout,
  2158. meta: {
  2159. title: '开单退货单报表',
  2160. icon: 'profile',
  2161. permission: 'M_returnSlipReportList'
  2162. },
  2163. hideChildrenInMenu: true,
  2164. children: [{
  2165. path: 'list',
  2166. name: 'returnSlipReportList',
  2167. component: () => import(/* webpackChunkName: "reportData" */
  2168. '@/views/reportData/returnSlipReport/list.vue'),
  2169. meta: {
  2170. title: '开单退货单报表列表',
  2171. icon: 'profile',
  2172. hidden: true,
  2173. permission: 'M_returnSlipReportList'
  2174. }
  2175. }]
  2176. },
  2177. {
  2178. path: '/reportData/billingBackReport',
  2179. redirect: '/reportData/billingBackReport/list',
  2180. name: 'billingBackReport',
  2181. component: BlankLayout,
  2182. meta: {
  2183. title: '开单采退报表',
  2184. icon: 'profile',
  2185. permission: 'M_billingBackReport'
  2186. },
  2187. hideChildrenInMenu: true,
  2188. children: [{
  2189. path: 'list',
  2190. name: 'billingBackReportList',
  2191. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2192. meta: {
  2193. title: '开单采退报表列表',
  2194. icon: 'profile',
  2195. hidden: true,
  2196. permission: 'M_billingBackReportList'
  2197. }
  2198. }]
  2199. },
  2200. {
  2201. path: '/reportData/billingOrderReport',
  2202. redirect: '/reportData/billingOrderReport/list',
  2203. name: 'billingOrderReport',
  2204. component: BlankLayout,
  2205. meta: {
  2206. title: '开单采退单报表',
  2207. icon: 'profile',
  2208. permission: 'M_billingOrderReport'
  2209. },
  2210. hideChildrenInMenu: true,
  2211. children: [{
  2212. path: 'list',
  2213. name: 'billingOrderReportList',
  2214. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2215. meta: {
  2216. title: '开单采退单报表列表',
  2217. icon: 'profile',
  2218. hidden: true,
  2219. permission: 'M_billingOrderReportList'
  2220. }
  2221. }]
  2222. },
  2223. {
  2224. path: '/reportData/hPriceDifferenceDetailReport',
  2225. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2226. name: 'hPriceDifferenceDetailReport',
  2227. component: BlankLayout,
  2228. meta: {
  2229. title: '总部差价明细报表',
  2230. icon: 'profile',
  2231. permission: 'M_hPriceDifferenceDetailReportList'
  2232. },
  2233. hideChildrenInMenu: true,
  2234. children: [
  2235. {
  2236. path: 'list',
  2237. name: 'hPriceDifferenceDetailReportList',
  2238. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2239. meta: {
  2240. title: '总部差价明细列表',
  2241. icon: 'profile',
  2242. hidden: true,
  2243. permission: 'M_hPriceDifferenceDetailReportList'
  2244. }
  2245. }
  2246. ]
  2247. },
  2248. {
  2249. path: '/reportData/priceDifferenceDetailReport',
  2250. redirect: '/reportData/priceDifferenceDetailReport/list',
  2251. name: 'priceDifferenceDetailReport',
  2252. component: BlankLayout,
  2253. meta: {
  2254. title: '差价明细报表',
  2255. icon: 'profile',
  2256. permission: 'M_priceDifferenceDetailReportList'
  2257. },
  2258. hideChildrenInMenu: true,
  2259. children: [
  2260. {
  2261. path: 'list',
  2262. name: 'priceDifferenceDetailReportList',
  2263. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2264. meta: {
  2265. title: '差价明细列表',
  2266. icon: 'profile',
  2267. hidden: true,
  2268. permission: 'M_priceDifferenceDetailReportList'
  2269. }
  2270. }
  2271. ]
  2272. },
  2273. {
  2274. path: '/reportData/regionTypeSalesReport',
  2275. redirect: '/reportData/regionTypeSalesReport/list',
  2276. name: 'regionTypeSalesReport',
  2277. component: BlankLayout,
  2278. meta: {
  2279. title: '各分区品类实售明细',
  2280. icon: 'profile',
  2281. permission: 'M_regionTypeSalesReportList'
  2282. },
  2283. hideChildrenInMenu: true,
  2284. children: [
  2285. {
  2286. path: 'list',
  2287. name: 'regionTypeSalesReportList',
  2288. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2289. meta: {
  2290. title: '各分区品类实售明细',
  2291. icon: 'profile',
  2292. hidden: true,
  2293. permission: 'M_regionTypeSalesReportList'
  2294. }
  2295. }
  2296. ]
  2297. },
  2298. {
  2299. path: '/reportData/warehousingOrder',
  2300. redirect: '/reportData/warehousingOrder/list',
  2301. name: 'warehousingOrder',
  2302. component: BlankLayout,
  2303. meta: {
  2304. title: '入库单报表',
  2305. icon: 'profile',
  2306. permission: 'M_warehousingOrderList'
  2307. },
  2308. hideChildrenInMenu: true,
  2309. children: [
  2310. {
  2311. path: 'list',
  2312. name: 'warehousingOrderList',
  2313. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2314. meta: {
  2315. title: '入库单报表列表',
  2316. icon: 'profile',
  2317. hidden: true,
  2318. permission: 'M_warehousingOrderList'
  2319. }
  2320. }
  2321. ]
  2322. },
  2323. {
  2324. path: '/reportData/warehousingOrderDetail',
  2325. redirect: '/reportData/warehousingOrderDetail/list',
  2326. name: 'warehousingOrderDetail',
  2327. component: BlankLayout,
  2328. meta: {
  2329. title: '入库单明细报表',
  2330. icon: 'profile',
  2331. permission: 'M_warehousingOrderDetailList'
  2332. },
  2333. hideChildrenInMenu: true,
  2334. children: [
  2335. {
  2336. path: 'list',
  2337. name: 'warehousingOrderDetailList',
  2338. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2339. meta: {
  2340. title: '入库单明细报表列表',
  2341. icon: 'profile',
  2342. hidden: true,
  2343. permission: 'M_warehousingOrderDetailList'
  2344. }
  2345. }
  2346. ]
  2347. },
  2348. {
  2349. path: '/reportData/salesPresentation',
  2350. redirect: '/reportData/salesPresentation/list',
  2351. name: 'salesPresentation',
  2352. component: BlankLayout,
  2353. meta: {
  2354. title: '销售交单报表',
  2355. icon: 'profile',
  2356. permission: 'M_salesPresentationList'
  2357. },
  2358. hideChildrenInMenu: true,
  2359. children: [
  2360. {
  2361. path: 'list',
  2362. name: 'salesPresentationList',
  2363. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2364. meta: {
  2365. title: '销售交单报表列表',
  2366. icon: 'profile',
  2367. hidden: true,
  2368. permission: 'M_salesPresentationList'
  2369. }
  2370. }
  2371. ]
  2372. },
  2373. {
  2374. path: '/reportData/allocationPresentation',
  2375. redirect: '/reportData/allocationPresentation/list',
  2376. name: 'allocationPresentation',
  2377. component: BlankLayout,
  2378. meta: {
  2379. title: '调拨交单报表',
  2380. icon: 'profile',
  2381. permission: 'M_allocationPresentationList'
  2382. },
  2383. hideChildrenInMenu: true,
  2384. children: [
  2385. {
  2386. path: 'list',
  2387. name: 'allocationPresentationList',
  2388. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2389. meta: {
  2390. title: '调拨交单报表列表',
  2391. icon: 'profile',
  2392. hidden: true,
  2393. permission: 'M_allocationPresentationList'
  2394. }
  2395. }
  2396. ]
  2397. },
  2398. {
  2399. path: '/reportData/returnGoodsPresentation',
  2400. redirect: '/reportData/returnGoodsPresentation/list',
  2401. name: 'returnGoodsPresentation',
  2402. component: BlankLayout,
  2403. meta: {
  2404. title: '退货交单报表',
  2405. icon: 'profile',
  2406. permission: 'M_returnGoodsPresentationList'
  2407. },
  2408. hideChildrenInMenu: true,
  2409. children: [
  2410. {
  2411. path: 'list',
  2412. name: 'returnGoodsPresentationList',
  2413. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2414. meta: {
  2415. title: '退货交单报表列表',
  2416. icon: 'profile',
  2417. hidden: true,
  2418. permission: 'M_returnGoodsPresentationList'
  2419. }
  2420. }
  2421. ]
  2422. },
  2423. {
  2424. path: '/reportData/expenseAccountBearerReport',
  2425. redirect: '/reportData/expenseAccountBearerReport/list',
  2426. name: 'expenseAccountBearerReport',
  2427. component: BlankLayout,
  2428. meta: {
  2429. title: '费用汇总报表(按承担方)',
  2430. icon: 'profile',
  2431. permission: 'M_expenseAccountBearerReportList'
  2432. },
  2433. hideChildrenInMenu: true,
  2434. children: [
  2435. {
  2436. path: 'list',
  2437. name: 'expenseAccountBearerReportList',
  2438. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2439. meta: {
  2440. title: '费用汇总报表(按承担方)',
  2441. icon: 'profile',
  2442. hidden: true,
  2443. permission: 'M_expenseAccountBearerReportList'
  2444. }
  2445. }
  2446. ]
  2447. },
  2448. {
  2449. path: '/reportData/expenseAccountCategoryReport',
  2450. redirect: '/reportData/expenseAccountCategoryReport/list',
  2451. name: 'expenseAccountCategoryReport',
  2452. component: BlankLayout,
  2453. meta: {
  2454. title: '费用汇总报表(按品类)',
  2455. icon: 'profile',
  2456. permission: 'M_expenseAccountCategoryReportList'
  2457. },
  2458. hideChildrenInMenu: true,
  2459. children: [
  2460. {
  2461. path: 'list',
  2462. name: 'expenseAccountCategoryReportList',
  2463. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2464. meta: {
  2465. title: '费用汇总报表(按品类)',
  2466. icon: 'profile',
  2467. hidden: true,
  2468. permission: 'M_expenseAccountCategoryReportList'
  2469. }
  2470. }
  2471. ]
  2472. },
  2473. {
  2474. path: '/reportData/receivedSendStorageReport',
  2475. redirect: '/reportData/receivedSendStorageReport/index',
  2476. name: 'receivedSendStorageReport',
  2477. component: BlankLayout,
  2478. meta: {
  2479. title: '收发存报表',
  2480. icon: 'profile',
  2481. permission: 'M_receivedSendStorageReport'
  2482. },
  2483. hideChildrenInMenu: true,
  2484. children: [
  2485. {
  2486. path: 'index',
  2487. name: 'receivedSendStorageReportIndex',
  2488. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2489. meta: {
  2490. title: '收发存报表',
  2491. icon: 'profile',
  2492. hidden: true,
  2493. permission: 'M_receivedSendStorageReportList'
  2494. }
  2495. }
  2496. ]
  2497. },
  2498. {
  2499. path: '/productRebateReport/index',
  2500. redirect: '/productRebateReport/index/list',
  2501. name: 'productRebateReportList',
  2502. component: BlankLayout,
  2503. meta: {
  2504. title: '产品返利明细表',
  2505. icon: 'profile',
  2506. permission: 'M_productRebateReportList'
  2507. },
  2508. hideChildrenInMenu: true,
  2509. children: [
  2510. {
  2511. path: 'list',
  2512. name: 'productRebateReportList',
  2513. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2514. meta: {
  2515. title: '产品返利明细表',
  2516. icon: 'profile',
  2517. hidden: true,
  2518. permission: 'M_productRebateReportList'
  2519. }
  2520. }
  2521. ]
  2522. }
  2523. // {
  2524. // path: '/reportData/allCountryCostReport',
  2525. // redirect: '/reportData/allCountryCostReport/list',
  2526. // name: 'allCountryCostReport',
  2527. // component: BlankLayout,
  2528. // meta: {
  2529. // title: '全国费用统计报表',
  2530. // icon: 'profile'
  2531. // // permission: 'M_nationalCustomerCostStatisticsList'
  2532. // },
  2533. // hideChildrenInMenu: true,
  2534. // children: [
  2535. // {
  2536. // path: 'list',
  2537. // name: 'allCountryCostReportList',
  2538. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2539. // meta: {
  2540. // title: '全国费用统计报表',
  2541. // icon: 'profile',
  2542. // hidden: true
  2543. // // permission: 'M_nationalCustomerCostStatisticsList'
  2544. // }
  2545. // }
  2546. // ]
  2547. // }
  2548. ]
  2549. },
  2550. // 数据导出
  2551. {
  2552. path: '/dataExport',
  2553. redirect: '/dataExport/exportSales',
  2554. component: PageView,
  2555. meta: {
  2556. title: '数据导出',
  2557. icon: 'database',
  2558. permission: 'M_dataExport'
  2559. },
  2560. children: [
  2561. {
  2562. path: '/dataExport/exportSales',
  2563. redirect: '/dataExport/exportSales/list',
  2564. name: 'exportSales',
  2565. component: BlankLayout,
  2566. meta: {
  2567. title: '导出销售',
  2568. icon: 'gold',
  2569. permission: 'M_exportSales'
  2570. },
  2571. hideChildrenInMenu: true,
  2572. children: [
  2573. {
  2574. path: 'list',
  2575. name: 'exportSalesList',
  2576. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2577. meta: {
  2578. title: '导出销售',
  2579. icon: 'gold',
  2580. hidden: true,
  2581. permission: 'M_exportSales'
  2582. }
  2583. }
  2584. ]
  2585. },
  2586. {
  2587. path: '/dataExport/exportCheck',
  2588. redirect: '/dataExport/exportCheck/list',
  2589. name: 'exportCheck',
  2590. component: BlankLayout,
  2591. meta: {
  2592. title: '导出盘点',
  2593. icon: 'gold',
  2594. permission: 'M_exportCheck'
  2595. },
  2596. hideChildrenInMenu: true,
  2597. children: [
  2598. {
  2599. path: 'list',
  2600. name: 'exportCheckList',
  2601. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2602. meta: {
  2603. title: '导出盘点',
  2604. icon: 'gold',
  2605. hidden: true,
  2606. permission: 'M_exportCheck'
  2607. }
  2608. }
  2609. ]
  2610. }
  2611. ]
  2612. },
  2613. // 产品管理
  2614. {
  2615. path: '/productManagement',
  2616. redirect: '/productManagement/productInfo',
  2617. component: PageView,
  2618. meta: {
  2619. title: '产品管理',
  2620. icon: 'shopping',
  2621. permission: 'M_productManagement'
  2622. },
  2623. children: [
  2624. {
  2625. path: '/productManagement/productInfo',
  2626. redirect: '/productManagement/productInfo/list',
  2627. name: 'productInfo',
  2628. component: BlankLayout,
  2629. meta: {
  2630. title: '产品列表',
  2631. icon: 'gold',
  2632. permission: 'M_productInfoList'
  2633. },
  2634. hideChildrenInMenu: true,
  2635. children: [
  2636. {
  2637. path: 'list',
  2638. name: 'productInfoList',
  2639. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2640. meta: {
  2641. title: '产品列表',
  2642. icon: 'gold',
  2643. hidden: true,
  2644. permission: 'M_productInfoList'
  2645. }
  2646. },
  2647. {
  2648. path: 'add',
  2649. name: 'productInfoAdd',
  2650. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2651. meta: {
  2652. title: '新增产品',
  2653. icon: 'gold',
  2654. hidden: true
  2655. // permission: 'B_goodsManage_edit'
  2656. }
  2657. },
  2658. {
  2659. path: 'edit/:id/:sn',
  2660. name: 'productInfoEdit',
  2661. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2662. meta: {
  2663. title: '编辑产品',
  2664. icon: 'gold',
  2665. hidden: true
  2666. // permission: 'B_goodsManage_edit'
  2667. }
  2668. }
  2669. ]
  2670. },
  2671. {
  2672. path: '/productManagement/productPricing',
  2673. redirect: '/productManagement/productPricing/list',
  2674. name: 'productPricing',
  2675. component: BlankLayout,
  2676. meta: {
  2677. title: '产品定价',
  2678. icon: 'transaction',
  2679. permission: 'M_productPricingList'
  2680. },
  2681. hideChildrenInMenu: true,
  2682. children: [
  2683. {
  2684. path: 'list',
  2685. name: 'productPricingList',
  2686. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2687. meta: {
  2688. title: '产品定价列表',
  2689. icon: 'transaction',
  2690. hidden: true,
  2691. permission: 'M_productPricingList'
  2692. }
  2693. }
  2694. ]
  2695. },
  2696. {
  2697. path: '/productManagement/productLaunchAudit',
  2698. redirect: '/productManagement/productLaunchAudit/list',
  2699. name: 'productLaunchAudit',
  2700. component: BlankLayout,
  2701. meta: {
  2702. title: '产品上线审核',
  2703. icon: 'rise',
  2704. permission: 'M_productLaunchAuditList'
  2705. },
  2706. hideChildrenInMenu: true,
  2707. children: [
  2708. {
  2709. path: 'list',
  2710. name: 'productLaunchAuditList',
  2711. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2712. meta: {
  2713. title: '产品上线审核列表',
  2714. icon: 'rise',
  2715. hidden: true,
  2716. permission: 'M_productLaunchAuditList'
  2717. }
  2718. }
  2719. ]
  2720. },
  2721. {
  2722. path: '/productManagement/newProduct',
  2723. redirect: '/productManagement/newProduct/list/onlineInfo/1',
  2724. name: 'productLaunchInfo',
  2725. component: BlankLayout,
  2726. meta: {
  2727. title: '产品上线信息',
  2728. icon: 'rise',
  2729. permission: 'M_productLaunchInfoList'
  2730. },
  2731. hideChildrenInMenu: true,
  2732. children: [
  2733. {
  2734. path: 'list/:type/:onlineFalg',
  2735. name: 'productLaunchInfoList',
  2736. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list.vue'),
  2737. meta: {
  2738. title: '产品上线信息列表',
  2739. icon: 'rise',
  2740. hidden: true,
  2741. permission: 'M_productLaunchInfoList'
  2742. }
  2743. }
  2744. ]
  2745. },
  2746. {
  2747. path: '/productManagement/productOfflineAudit',
  2748. redirect: '/productManagement/productOfflineAudit/list',
  2749. name: 'productOfflineAudit',
  2750. component: BlankLayout,
  2751. meta: {
  2752. title: '产品下线审核',
  2753. icon: 'fall',
  2754. permission: 'M_productOfflineAuditList'
  2755. },
  2756. hideChildrenInMenu: true,
  2757. children: [
  2758. {
  2759. path: 'list',
  2760. name: 'productOfflineAuditList',
  2761. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2762. meta: {
  2763. title: '产品下线审核列表',
  2764. icon: 'fall',
  2765. hidden: true,
  2766. permission: 'M_productOfflineAuditList'
  2767. }
  2768. }
  2769. ]
  2770. },
  2771. {
  2772. path: '/productManagement/productNotOnline',
  2773. redirect: '/productManagement/productNotOnline/list',
  2774. name: 'productNotOnline',
  2775. component: BlankLayout,
  2776. meta: {
  2777. title: '产品状态信息',
  2778. icon: 'fall',
  2779. permission: 'M_productNotOnlineList'
  2780. },
  2781. hideChildrenInMenu: true,
  2782. children: [
  2783. {
  2784. path: 'list',
  2785. name: 'productNotOnlineList',
  2786. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
  2787. meta: {
  2788. title: '产品状态信息列表',
  2789. icon: 'fall',
  2790. hidden: true,
  2791. permission: 'M_productNotOnlineList'
  2792. }
  2793. }
  2794. ]
  2795. },
  2796. {
  2797. path: '/productManagement/priceChangeRecord',
  2798. redirect: '/productManagement/priceChangeRecord/list',
  2799. name: 'priceChangeRecord',
  2800. component: BlankLayout,
  2801. meta: {
  2802. title: '价格变更记录',
  2803. icon: 'profile',
  2804. permission: 'M_priceChangeRecordList'
  2805. },
  2806. hideChildrenInMenu: true,
  2807. children: [
  2808. {
  2809. path: 'list',
  2810. name: 'priceChangeRecordList',
  2811. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2812. meta: {
  2813. title: '价格变更记录列表',
  2814. icon: 'profile',
  2815. hidden: true,
  2816. permission: 'M_priceChangeRecordList'
  2817. }
  2818. }
  2819. ]
  2820. },
  2821. {
  2822. path: '/productManagement/productUniversal',
  2823. redirect: '/productManagement/productUniversal/list',
  2824. name: 'productUniversal',
  2825. component: BlankLayout,
  2826. meta: {
  2827. title: '通用产品管理',
  2828. icon: 'deployment-unit',
  2829. permission: 'M_productUniversalList'
  2830. },
  2831. hideChildrenInMenu: true,
  2832. children: [
  2833. {
  2834. path: 'list',
  2835. name: 'productUniversalList',
  2836. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2837. meta: {
  2838. title: '通用产品列表',
  2839. icon: 'deployment-unit',
  2840. hidden: true,
  2841. permission: 'M_productUniversalList'
  2842. }
  2843. }
  2844. ]
  2845. },
  2846. {
  2847. path: '/productManagement/productLevel',
  2848. redirect: '/productManagement/productLevel/list',
  2849. name: 'productLevel',
  2850. component: BlankLayout,
  2851. meta: {
  2852. title: '产品级别管理',
  2853. icon: 'fund',
  2854. permission: 'M_productLevelList'
  2855. },
  2856. hideChildrenInMenu: true,
  2857. children: [
  2858. {
  2859. path: 'list',
  2860. name: 'productLevelList',
  2861. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2862. meta: {
  2863. title: '产品级别列表',
  2864. icon: 'fund',
  2865. hidden: true,
  2866. permission: 'M_productLevelList'
  2867. }
  2868. }
  2869. ]
  2870. },
  2871. {
  2872. path: '/productManagement/productBrand',
  2873. redirect: '/productManagement/productBrand/list',
  2874. name: 'productBrand',
  2875. component: BlankLayout,
  2876. meta: {
  2877. title: '产品品牌管理',
  2878. icon: 'file-ppt',
  2879. permission: 'M_productBrandList'
  2880. },
  2881. hideChildrenInMenu: true,
  2882. children: [
  2883. {
  2884. path: 'list',
  2885. name: 'productBrandList',
  2886. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2887. meta: {
  2888. title: '产品品牌列表',
  2889. icon: 'file-ppt',
  2890. hidden: true,
  2891. permission: 'M_productBrandList'
  2892. }
  2893. }
  2894. ]
  2895. },
  2896. {
  2897. path: '/productManagement/productCategory',
  2898. redirect: '/productManagement/productCategory/list',
  2899. name: 'productCategory',
  2900. component: BlankLayout,
  2901. meta: {
  2902. title: '产品分类管理',
  2903. icon: 'radar-chart',
  2904. permission: 'M_productCategoryList'
  2905. },
  2906. hideChildrenInMenu: true,
  2907. children: [
  2908. {
  2909. path: 'list',
  2910. name: 'productCategoryList',
  2911. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2912. meta: {
  2913. title: '产品分类列表',
  2914. icon: 'radar-chart',
  2915. hidden: true,
  2916. permission: 'M_productCategoryList'
  2917. }
  2918. }
  2919. ]
  2920. },
  2921. {
  2922. path: '/productManagement/shelfNoManage',
  2923. redirect: '/productManagement/shelfNoManage/list',
  2924. name: 'shelfNoManage',
  2925. component: BlankLayout,
  2926. meta: {
  2927. title: '货位编号管理',
  2928. icon: 'radar-chart',
  2929. permission: 'M_shelfNoManageList'
  2930. },
  2931. hideChildrenInMenu: true,
  2932. children: [
  2933. {
  2934. path: 'list',
  2935. name: 'shelfNoManageList',
  2936. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2937. meta: {
  2938. title: '货位编号管理',
  2939. icon: 'radar-chart',
  2940. hidden: true,
  2941. permission: 'M_shelfNoManageList'
  2942. }
  2943. }
  2944. ]
  2945. },
  2946. {
  2947. path: '/productManagement/productSourcePath',
  2948. redirect: '/productManagement/productSourcePath/list',
  2949. name: 'productSourcePath',
  2950. component: BlankLayout,
  2951. meta: {
  2952. title: '唯一码追溯列表',
  2953. icon: 'radar-chart',
  2954. permission: 'M_productSourcePathList'
  2955. },
  2956. hideChildrenInMenu: true,
  2957. children: [
  2958. {
  2959. path: 'list',
  2960. name: 'productSourcePathList',
  2961. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productSourcePath/list.vue'),
  2962. meta: {
  2963. title: '唯一码追溯列表',
  2964. icon: 'radar-chart',
  2965. hidden: true,
  2966. permission: 'M_productSourcePathList'
  2967. }
  2968. }
  2969. ]
  2970. }
  2971. ]
  2972. },
  2973. // 经销商管理
  2974. {
  2975. path: '/dealerManagement',
  2976. redirect: '/dealerManagement/marketingDivisionSet',
  2977. component: PageView,
  2978. meta: {
  2979. title: '经销商管理',
  2980. icon: 'idcard',
  2981. permission: 'M_dealerManagement'
  2982. },
  2983. children: [
  2984. {
  2985. path: '/dealerManagement/merchantInfoManagement',
  2986. redirect: '/dealerManagement/merchantInfoManagement/list',
  2987. name: 'merchantInfoManagement',
  2988. component: BlankLayout,
  2989. meta: {
  2990. title: '经销商资料管理',
  2991. icon: 'file-text',
  2992. permission: 'M_merchantInfoManagementList'
  2993. },
  2994. hideChildrenInMenu: true,
  2995. children: [
  2996. {
  2997. path: 'list',
  2998. name: 'merchantInfoManagementList',
  2999. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  3000. meta: {
  3001. title: '经销商资料列表',
  3002. icon: 'file-text',
  3003. hidden: true,
  3004. permission: 'M_merchantInfoManagementList'
  3005. }
  3006. },
  3007. {
  3008. path: 'add',
  3009. name: 'merchantInfoManagementAdd',
  3010. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3011. meta: {
  3012. title: '新增经销商',
  3013. icon: 'file-text',
  3014. hidden: true
  3015. }
  3016. },
  3017. {
  3018. path: 'edit/:id',
  3019. name: 'merchantInfoManagementEdit',
  3020. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3021. meta: {
  3022. title: '编辑经销商',
  3023. icon: 'file-text',
  3024. hidden: true
  3025. }
  3026. },
  3027. {
  3028. path: 'permissionSetting/:sn/:name/:dealerLevel',
  3029. name: 'merchantInfoManagementSet',
  3030. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSettingNew.vue'),
  3031. meta: {
  3032. title: '经销权设置',
  3033. icon: 'file-text',
  3034. replaceTab: true,
  3035. hidden: true
  3036. }
  3037. },
  3038. {
  3039. path: 'rebateBinding/:sn',
  3040. name: 'rebateBinding',
  3041. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateBinding/list.vue'),
  3042. meta: {
  3043. title: '差价设置',
  3044. icon: 'file-text',
  3045. replaceTab: true,
  3046. hidden: true
  3047. }
  3048. }
  3049. ]
  3050. },
  3051. {
  3052. path: '/dealerManagement/dealerAccountManagement',
  3053. redirect: '/dealerManagement/dealerAccountManagement/list',
  3054. name: 'dealerAccountManagement',
  3055. component: BlankLayout,
  3056. meta: {
  3057. title: '经销商账号管理',
  3058. icon: 'team',
  3059. permission: 'M_dealerAccountManagementList'
  3060. },
  3061. hideChildrenInMenu: true,
  3062. children: [
  3063. {
  3064. path: 'list',
  3065. name: 'dealerAccountManagementList',
  3066. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  3067. meta: {
  3068. title: '经销商账号列表',
  3069. icon: 'team',
  3070. hidden: true,
  3071. permission: 'M_dealerAccountManagementList'
  3072. }
  3073. }
  3074. ]
  3075. },
  3076. // {
  3077. // path: '/dealerManagement/dealerRelationshipBinding',
  3078. // redirect: '/dealerManagement/dealerRelationshipBinding/list',
  3079. // name: 'dealerRelationshipBinding',
  3080. // component: BlankLayout,
  3081. // meta: {
  3082. // title: '经销商关系绑定',
  3083. // icon: 'share-alt',
  3084. // permission: 'M_dealerRelationshipBindingList'
  3085. // },
  3086. // hideChildrenInMenu: true,
  3087. // children: [
  3088. // {
  3089. // path: 'list',
  3090. // name: 'dealerRelationshipBindingList',
  3091. // component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  3092. // meta: {
  3093. // title: '经销商关系绑定列表',
  3094. // icon: 'share-alt',
  3095. // hidden: true,
  3096. // permission: 'M_dealerRelationshipBindingList'
  3097. // }
  3098. // }
  3099. // ]
  3100. // },
  3101. // {
  3102. // path: '/dealerManagement/rebateSettings',
  3103. // redirect: '/dealerManagement/rebateSettings/list',
  3104. // name: 'rebateSettings',
  3105. // component: BlankLayout,
  3106. // meta: {
  3107. // title: '差价归属设置',
  3108. // icon: 'stock',
  3109. // permission: 'M_rebateSettingsList'
  3110. // },
  3111. // hideChildrenInMenu: true,
  3112. // children: [
  3113. // {
  3114. // path: 'list',
  3115. // name: 'rebateSettingsList',
  3116. // component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  3117. // meta: {
  3118. // title: '差价归属设置列表',
  3119. // icon: 'stock',
  3120. // hidden: true,
  3121. // permission: 'M_rebateSettingsList'
  3122. // }
  3123. // }
  3124. // ]
  3125. // },
  3126. {
  3127. path: '/dealerManagement/provincialWarehouseManagement',
  3128. redirect: '/dealerManagement/provincialWarehouseManagement/list',
  3129. name: 'provincialWarehouse',
  3130. component: BlankLayout,
  3131. meta: {
  3132. title: '省仓管理',
  3133. icon: 'share-alt',
  3134. permission: 'M_provincialWarehouse'
  3135. },
  3136. hideChildrenInMenu: true,
  3137. children: [
  3138. {
  3139. path: 'list',
  3140. name: 'provincialWarehouseList',
  3141. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/list.vue'),
  3142. meta: {
  3143. title: '省仓管理列表',
  3144. icon: 'share-alt',
  3145. hidden: true,
  3146. permission: 'M_provincialWarehouseList'
  3147. }
  3148. },
  3149. {
  3150. path: 'relatedDealers/:sn/:name',
  3151. name: 'relatedDealersList',
  3152. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/relatedDealersList.vue'),
  3153. meta: {
  3154. title: '省仓关联经销商',
  3155. icon: 'share-alt',
  3156. hidden: true,
  3157. replaceTab: true,
  3158. permission: 'M_relatedDealersList'
  3159. }
  3160. }
  3161. ]
  3162. },
  3163. {
  3164. path: '/dealerManagement/marketingDivisionSetNew',
  3165. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3166. name: 'marketingDivisionSetNew',
  3167. component: BlankLayout,
  3168. meta: {
  3169. title: '营销分区设置',
  3170. icon: 'setting',
  3171. permission: 'M_marketingDivisionSetList'
  3172. },
  3173. hideChildrenInMenu: true,
  3174. children: [
  3175. {
  3176. path: 'list',
  3177. name: 'marketingDivisionSetNewList',
  3178. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3179. meta: {
  3180. title: '营销分区列表',
  3181. icon: 'setting',
  3182. hidden: true,
  3183. permission: 'M_marketingDivisionSetList'
  3184. }
  3185. }
  3186. ]
  3187. },
  3188. {
  3189. path: '/dealerManagement/businessOwnerSettings',
  3190. redirect: '/dealerManagement/businessOwnerSettings/list',
  3191. name: 'businessOwnerSettings',
  3192. component: BlankLayout,
  3193. meta: {
  3194. title: '数据权限配置',
  3195. icon: 'stock',
  3196. permission: 'M_businessOwnerSettings'
  3197. },
  3198. hideChildrenInMenu: true,
  3199. children: [
  3200. {
  3201. path: 'list',
  3202. name: 'businessOwnerSettingsList',
  3203. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3204. meta: {
  3205. title: '数据权限配置列表',
  3206. icon: 'stock',
  3207. hidden: true,
  3208. permission: 'M_businessOwnerSettingsList'
  3209. }
  3210. },
  3211. {
  3212. path: 'settingsIndex',
  3213. name: 'categorySet',
  3214. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3215. meta: {
  3216. title: '管辖品类权限设置',
  3217. icon: 'user',
  3218. hidden: true,
  3219. replaceTab: true,
  3220. permission: 'M_settingsIndex'
  3221. }
  3222. }
  3223. ]
  3224. },
  3225. {
  3226. path: '/dealerManagement/dealerZoneSearch',
  3227. redirect: '/dealerManagement/dealerZoneSearch/list',
  3228. name: 'dealerZoneSearch',
  3229. component: BlankLayout,
  3230. meta: {
  3231. title: '经销商所属分区查询',
  3232. icon: 'setting',
  3233. permission: 'M_dealerZoneSearch'
  3234. },
  3235. hideChildrenInMenu: true,
  3236. children: [
  3237. {
  3238. path: 'list',
  3239. name: 'dealerZoneSearchList',
  3240. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3241. meta: {
  3242. title: '经销商所属分区查询',
  3243. icon: 'setting',
  3244. hidden: true,
  3245. permission: 'M_dealerZoneSearchList'
  3246. }
  3247. }
  3248. ]
  3249. }
  3250. ]
  3251. },
  3252. // 供应商管理
  3253. {
  3254. path: '/supplierManagement',
  3255. redirect: '/supplierManagement/supplierInfo',
  3256. component: PageView,
  3257. meta: {
  3258. title: '供应商管理',
  3259. icon: 'team',
  3260. permission: 'M_supplierManagement'
  3261. },
  3262. children: [
  3263. {
  3264. path: '/supplierManagement/supplierInfo',
  3265. redirect: '/supplierManagement/supplierInfo/list',
  3266. name: 'supplierInfo',
  3267. component: BlankLayout,
  3268. meta: {
  3269. title: '供应商列表',
  3270. icon: 'team',
  3271. permission: 'M_supplierInfoList'
  3272. },
  3273. hideChildrenInMenu: true,
  3274. children: [
  3275. {
  3276. path: 'list',
  3277. name: 'supplierInfoList',
  3278. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3279. meta: {
  3280. title: '供应商列表',
  3281. icon: 'team',
  3282. hidden: true,
  3283. permission: 'M_supplierInfoList'
  3284. }
  3285. },
  3286. {
  3287. path: 'add',
  3288. name: 'supplierInfoAdd',
  3289. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3290. meta: {
  3291. title: '新增供应商',
  3292. icon: 'team',
  3293. hidden: true
  3294. // permission: 'B_goodsManage_edit'
  3295. }
  3296. },
  3297. {
  3298. path: 'edit/:id',
  3299. name: 'supplierInfoEdit',
  3300. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3301. meta: {
  3302. title: '编辑供应商',
  3303. icon: 'team',
  3304. hidden: true
  3305. // permission: 'B_goodsManage_edit'
  3306. }
  3307. },
  3308. {
  3309. path: 'associatedProduct/:sn/:name',
  3310. name: 'associatedProduct',
  3311. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3312. meta: {
  3313. title: '关联产品',
  3314. icon: 'team',
  3315. replaceTab: true,
  3316. hidden: true
  3317. // permission: 'B_goodsManage_edit'
  3318. }
  3319. }
  3320. ]
  3321. },
  3322. {
  3323. path: '/supplierManagement/costSetting',
  3324. redirect: '/supplierManagement/costSetting/list',
  3325. name: 'costSetting',
  3326. component: BlankLayout,
  3327. meta: {
  3328. title: '成本设置',
  3329. icon: 'build',
  3330. permission: 'M_costSettingList'
  3331. },
  3332. hideChildrenInMenu: true,
  3333. children: [
  3334. {
  3335. path: 'list',
  3336. name: 'costSettingList',
  3337. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3338. meta: {
  3339. title: '成本设置列表',
  3340. icon: 'build',
  3341. hidden: true
  3342. }
  3343. }
  3344. ]
  3345. },
  3346. {
  3347. path: '/supplierManagement/costSetRecord',
  3348. redirect: '/supplierManagement/costSetRecord/list',
  3349. name: 'costSetRecord',
  3350. component: BlankLayout,
  3351. meta: {
  3352. title: '成本变更记录',
  3353. icon: 'build',
  3354. permission: 'M_costSetRecordList'
  3355. },
  3356. hideChildrenInMenu: true,
  3357. children: [
  3358. {
  3359. path: 'list',
  3360. name: 'costSetRecordList',
  3361. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3362. meta: {
  3363. title: '成本变更记录列表',
  3364. icon: 'build',
  3365. hidden: true
  3366. }
  3367. }
  3368. ]
  3369. },
  3370. {
  3371. path: '/supplierManagement/associatedProductDetails',
  3372. redirect: '/supplierManagement/associatedProductDetails/list',
  3373. name: 'associatedProductDetails',
  3374. component: BlankLayout,
  3375. meta: {
  3376. title: '关联产品明细表',
  3377. icon: 'build',
  3378. permission: 'M_associatedProductDetailsList'
  3379. },
  3380. hideChildrenInMenu: true,
  3381. children: [
  3382. {
  3383. path: 'list',
  3384. name: 'associatedProductDetailsList',
  3385. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3386. meta: {
  3387. title: '关联产品明细列表',
  3388. icon: 'build',
  3389. hidden: true,
  3390. permission: 'M_associatedProductDetailsList'
  3391. }
  3392. }
  3393. ]
  3394. }
  3395. ]
  3396. },
  3397. // 促销管理
  3398. {
  3399. path: '/promotionRulesManagement',
  3400. redirect: '/promotionRulesManagement/promotionRules',
  3401. component: PageView,
  3402. meta: {
  3403. title: '促销管理',
  3404. icon: 'rocket',
  3405. permission: 'M_promotionRulesManagement'
  3406. },
  3407. children: [
  3408. {
  3409. path: '/promotionRulesManagement/promotionManagement',
  3410. redirect: '/promotionRulesManagement/promotionManagement/list',
  3411. name: 'promotionManagement',
  3412. component: BlankLayout,
  3413. meta: {
  3414. title: '修理厂促销',
  3415. icon: 'file-ppt',
  3416. permission: 'M_promotionManagementList'
  3417. },
  3418. hideChildrenInMenu: true,
  3419. children: [
  3420. {
  3421. path: 'list',
  3422. name: 'promotionManagementList',
  3423. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3424. meta: {
  3425. title: '修理厂促销列表',
  3426. icon: 'file-ppt',
  3427. hidden: true,
  3428. permission: 'M_promotionManagementList'
  3429. }
  3430. }
  3431. ]
  3432. },
  3433. {
  3434. path: '/promotionRulesManagement/dealerPromotions',
  3435. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3436. name: 'dealerPromotionManagement',
  3437. component: BlankLayout,
  3438. meta: {
  3439. title: '经销商促销',
  3440. icon: 'setting',
  3441. permission: 'M_dealerPromotionManagementList'
  3442. },
  3443. hideChildrenInMenu: true,
  3444. children: [
  3445. {
  3446. path: 'list',
  3447. name: 'dealerPromotionManagementList',
  3448. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3449. meta: {
  3450. title: '经销商促销',
  3451. icon: 'setting',
  3452. hidden: true,
  3453. permission: 'M_dealerPromotionManagementList'
  3454. }
  3455. },
  3456. {
  3457. path: 'detail',
  3458. name: 'dealerPromotionManagementDetail',
  3459. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3460. meta: {
  3461. title: '促销活动详情',
  3462. icon: 'thunderbolt',
  3463. hidden: true
  3464. }
  3465. },
  3466. {
  3467. path: 'ruleSet',
  3468. name: 'dealerPromotionManagementRule',
  3469. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3470. meta: {
  3471. title: '促销规则设置',
  3472. icon: 'thunderbolt',
  3473. replaceTab: true,
  3474. hidden: true
  3475. }
  3476. }
  3477. ]
  3478. }
  3479. ]
  3480. },
  3481. // 大屏数据
  3482. {
  3483. path: '/bigStatistics',
  3484. redirect: '/bigStatistics/realTimeSalesReport',
  3485. component: PageView,
  3486. meta: {
  3487. title: '数据统计',
  3488. icon: 'desktop',
  3489. permission: 'M_bigScreenStatistics'
  3490. },
  3491. children: [
  3492. {
  3493. path: '/bigStatistics/realTimeSalesReport',
  3494. redirect: '/bigStatistics/realTimeSalesReport/index',
  3495. name: 'bigRealTimeSalesReport',
  3496. component: BigScreen,
  3497. meta: {
  3498. title: '实时销售看板',
  3499. icon: 'deployment-unit',
  3500. permission: 'M_realTimeSalesReportIndex'
  3501. },
  3502. hideChildrenInMenu: true,
  3503. children: [
  3504. {
  3505. path: 'index',
  3506. name: 'realTimeSalesReportIndex',
  3507. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3508. meta: {
  3509. title: '实时销售看板'
  3510. }
  3511. }
  3512. ]
  3513. },
  3514. {
  3515. path: '/bigStatistics/fPanalysisReport',
  3516. redirect: '/bigStatistics/fPanalysisReport/index',
  3517. name: 'bigfPanalysisReport',
  3518. component: BigScreen,
  3519. meta: {
  3520. title: '加盟商/产品分析',
  3521. icon: 'interaction',
  3522. permission: 'M_fPanalysisReportIndex'
  3523. },
  3524. hideChildrenInMenu: true,
  3525. children: [
  3526. {
  3527. path: 'index',
  3528. name: 'fPanalysisReportIndex',
  3529. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3530. meta: {
  3531. title: '加盟商/产品分析'
  3532. }
  3533. }
  3534. ]
  3535. }
  3536. ]
  3537. },
  3538. // 基础设置
  3539. {
  3540. path: '/basicData',
  3541. redirect: '/basicData/warehouse',
  3542. component: PageView,
  3543. meta: {
  3544. title: '基础设置',
  3545. icon: 'pushpin',
  3546. permission: 'M_basicData'
  3547. },
  3548. children: [
  3549. {
  3550. path: '/basicData/warehouse',
  3551. redirect: '/basicData/warehouse/list',
  3552. name: 'warehouse',
  3553. component: BlankLayout,
  3554. meta: {
  3555. title: '仓库管理',
  3556. icon: 'deployment-unit',
  3557. permission: 'M_warehouseList'
  3558. },
  3559. hideChildrenInMenu: true,
  3560. children: [
  3561. {
  3562. path: 'list',
  3563. name: 'warehouseList',
  3564. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3565. meta: {
  3566. title: '仓库列表',
  3567. icon: 'deployment-unit',
  3568. hidden: true,
  3569. permission: 'M_warehouseList'
  3570. }
  3571. },
  3572. {
  3573. path: '/basicData/storingLocation/:sn',
  3574. name: 'storingLocationList',
  3575. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3576. meta: {
  3577. title: '仓位列表',
  3578. icon: 'deployment-unit',
  3579. replaceTab: true,
  3580. hidden: true
  3581. // permission: 'B_goodsManage_edit'
  3582. }
  3583. }
  3584. ]
  3585. },
  3586. {
  3587. path: '/basicData/transferTypeManagement',
  3588. redirect: '/basicData/transferTypeManagement/list',
  3589. name: 'transferTypeManagement',
  3590. component: BlankLayout,
  3591. meta: {
  3592. title: '调拨类型管理',
  3593. icon: 'interaction',
  3594. permission: 'M_transferTypeManagementList'
  3595. },
  3596. hideChildrenInMenu: true,
  3597. children: [
  3598. {
  3599. path: 'list',
  3600. name: 'transferTypeManagementList',
  3601. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3602. meta: {
  3603. title: '调拨类型列表',
  3604. icon: 'interaction',
  3605. hidden: true,
  3606. permission: 'M_transferTypeManagementList'
  3607. }
  3608. }
  3609. ]
  3610. }
  3611. ]
  3612. },
  3613. // 权限管理
  3614. {
  3615. path: '/auth',
  3616. redirect: '/auth/user',
  3617. component: PageView,
  3618. meta: {
  3619. title: '权限管理',
  3620. icon: 'lock',
  3621. permission: 'M_auth_0'
  3622. },
  3623. children: [
  3624. {
  3625. path: '/auth/user',
  3626. redirect: '/auth/user/list',
  3627. name: 'powerUser',
  3628. component: BlankLayout,
  3629. meta: {
  3630. title: '用户管理',
  3631. icon: 'user',
  3632. permission: 'M_userList'
  3633. },
  3634. hideChildrenInMenu: true,
  3635. children: [
  3636. {
  3637. path: 'list',
  3638. name: 'powerUserList',
  3639. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3640. meta: {
  3641. title: '用户管理',
  3642. icon: 'user',
  3643. hidden: true,
  3644. permission: 'M_userList'
  3645. }
  3646. }
  3647. ]
  3648. },
  3649. {
  3650. path: '/auth/role',
  3651. redirect: '/auth/role/list',
  3652. name: 'powerRole',
  3653. component: BlankLayout,
  3654. meta: {
  3655. title: '角色管理',
  3656. icon: 'solution',
  3657. permission: 'M_roleList'
  3658. },
  3659. hideChildrenInMenu: true,
  3660. children: [
  3661. {
  3662. path: 'list',
  3663. name: 'powerRoleList',
  3664. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3665. meta: {
  3666. title: '角色管理',
  3667. icon: 'solution',
  3668. hidden: true,
  3669. permission: 'M_roleList'
  3670. }
  3671. }
  3672. ]
  3673. },
  3674. {
  3675. path: '/auth/adminMenus',
  3676. redirect: '/auth/adminMenus/list',
  3677. name: 'adminMenus',
  3678. component: BlankLayout,
  3679. meta: {
  3680. title: '菜单管理',
  3681. icon: 'appstore',
  3682. permission: 'M_menuList'
  3683. },
  3684. hideChildrenInMenu: true,
  3685. children: [
  3686. {
  3687. path: 'list',
  3688. name: 'adminMenusList',
  3689. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3690. meta: {
  3691. title: '菜单管理',
  3692. icon: 'appstore',
  3693. hidden: true,
  3694. permission: 'M_menuList'
  3695. }
  3696. }
  3697. ]
  3698. }
  3699. ]
  3700. },
  3701. // 系统设置
  3702. {
  3703. path: '/setting',
  3704. redirect: '/setting/dataDictionary',
  3705. component: PageView,
  3706. meta: {
  3707. title: '系统设置',
  3708. icon: 'setting',
  3709. permission: 'M_systemSet'
  3710. },
  3711. children: [
  3712. {
  3713. path: '/setting/dataDictionary',
  3714. redirect: '/setting/dataDictionary/list',
  3715. name: 'dataDictionary',
  3716. component: BlankLayout,
  3717. meta: {
  3718. title: '数据字典管理',
  3719. icon: 'database',
  3720. permission: 'M_dataD_lookup'
  3721. },
  3722. hideChildrenInMenu: true,
  3723. children: [
  3724. {
  3725. path: 'list',
  3726. name: 'powerDD',
  3727. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3728. meta: {
  3729. title: '数据字典管理',
  3730. icon: 'database',
  3731. hidden: true,
  3732. permission: 'M_dataD_lookup'
  3733. }
  3734. }
  3735. ]
  3736. },
  3737. {
  3738. path: '/setting/OperateJournal',
  3739. redirect: '/setting/OperateJournal/list',
  3740. name: 'OperateJournal',
  3741. component: BlankLayout,
  3742. meta: {
  3743. title: '操作日志',
  3744. icon: 'read',
  3745. permission: 'M_OperateJournalList'
  3746. },
  3747. hideChildrenInMenu: true,
  3748. children: [
  3749. {
  3750. path: 'list',
  3751. name: 'powerOperateJournal',
  3752. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3753. meta: {
  3754. title: '操作日志',
  3755. icon: 'read',
  3756. permission: 'M_OperateJournalList'
  3757. }
  3758. }
  3759. ]
  3760. },
  3761. {
  3762. path: '/setting/noticeManagement',
  3763. redirect: '/setting/noticeManagement/list',
  3764. name: 'noticeManagement',
  3765. component: BlankLayout,
  3766. meta: {
  3767. title: '公告管理',
  3768. icon: 'sketch',
  3769. permission: 'M_noticeManagementList'
  3770. },
  3771. hideChildrenInMenu: true,
  3772. children: [
  3773. {
  3774. path: 'list',
  3775. name: 'noticeManagementList',
  3776. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3777. meta: {
  3778. title: '公告列表',
  3779. icon: 'sketch',
  3780. hidden: true,
  3781. permission: 'M_noticeManagementList'
  3782. }
  3783. }
  3784. ]
  3785. },
  3786. {
  3787. path: '/setting/bigScreenSet',
  3788. redirect: '/setting/bigScreenSet/index',
  3789. name: 'bigScreenSet',
  3790. component: BlankLayout,
  3791. meta: {
  3792. title: '大屏参数设置',
  3793. icon: 'sketch',
  3794. permission: 'M_bigScreenSetIndex'
  3795. },
  3796. hideChildrenInMenu: true,
  3797. children: [{
  3798. path: 'index',
  3799. name: 'bigScreenSetIndex',
  3800. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3801. meta: {
  3802. title: '大屏参数设置',
  3803. icon: 'sketch',
  3804. hidden: true,
  3805. permission: 'M_bigScreenSetIndex'
  3806. }
  3807. }]
  3808. },
  3809. {
  3810. path: '/setting/erpMessageManagement',
  3811. redirect: '/setting/erpMessageManagement/list',
  3812. name: 'erpMessageManagement',
  3813. component: BlankLayout,
  3814. meta: {
  3815. title: 'ERP数据同步记录',
  3816. icon: 'sketch',
  3817. permission: 'M_erpMessageList'
  3818. },
  3819. hideChildrenInMenu: true,
  3820. children: [
  3821. {
  3822. path: 'list',
  3823. name: 'M_erpMessageList',
  3824. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3825. meta: {
  3826. title: 'ERP数据同步列表',
  3827. icon: 'sketch',
  3828. hidden: true,
  3829. permission: 'M_erpMessageList'
  3830. }
  3831. }
  3832. ]
  3833. },
  3834. {
  3835. path: '/setting/checkDingTask',
  3836. redirect: '/setting/checkDingTask/list',
  3837. name: 'checkDingTask',
  3838. component: BlankLayout,
  3839. meta: {
  3840. title: '钉钉审批',
  3841. icon: 'sketch',
  3842. permission: 'M_dingAuditUpdate'
  3843. },
  3844. hideChildrenInMenu: true,
  3845. children: [
  3846. {
  3847. path: 'list',
  3848. name: 'M_dingAuditUpdate',
  3849. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  3850. meta: {
  3851. title: '钉钉审批',
  3852. icon: 'sketch',
  3853. hidden: true,
  3854. permission: 'M_dingAuditUpdate'
  3855. }
  3856. }
  3857. ]
  3858. }
  3859. ]
  3860. }
  3861. ]
  3862. },
  3863. {
  3864. path: '*',
  3865. redirect: '/404',
  3866. hidden: true
  3867. }
  3868. ]
  3869. /**
  3870. * 基础路由
  3871. * @type { *[] }
  3872. */
  3873. export const constantRouterMap = [
  3874. {
  3875. path: '/user',
  3876. component: UserLayout,
  3877. redirect: '/user/login',
  3878. hidden: true,
  3879. children: [
  3880. {
  3881. path: 'login',
  3882. name: 'login',
  3883. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3884. },
  3885. {
  3886. path: 'register',
  3887. name: 'register',
  3888. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3889. },
  3890. {
  3891. path: 'register-result',
  3892. name: 'registerResult',
  3893. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3894. },
  3895. {
  3896. path: 'recover',
  3897. name: 'recover',
  3898. component: undefined
  3899. }
  3900. ]
  3901. },
  3902. {
  3903. path: '/bigScreen',
  3904. component: BigScreen,
  3905. redirect: '/bigScreen/realTimeSalesReport',
  3906. hidden: true,
  3907. children: [
  3908. {
  3909. path: 'realTimeSalesReport',
  3910. name: 'realTimeSalesReport',
  3911. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3912. meta: {
  3913. title: '实时销售看板'
  3914. }
  3915. },
  3916. {
  3917. path: 'fPanalysisReport',
  3918. name: 'fPanalysisReport',
  3919. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3920. meta: {
  3921. title: '加盟商/产品分析'
  3922. }
  3923. }
  3924. ]
  3925. },
  3926. {
  3927. path: '/404',
  3928. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3929. }
  3930. ]