router.config.js 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925
  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. // permission: 'B_goodsManage_edit'
  3016. }
  3017. },
  3018. {
  3019. path: 'edit/:id',
  3020. name: 'merchantInfoManagementEdit',
  3021. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3022. meta: {
  3023. title: '编辑经销商',
  3024. icon: 'file-text',
  3025. hidden: true
  3026. // permission: 'B_goodsManage_edit'
  3027. }
  3028. },
  3029. {
  3030. path: 'permissionSetting/:sn',
  3031. name: 'merchantInfoManagementSet',
  3032. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  3033. meta: {
  3034. title: '经销权设置',
  3035. icon: 'file-text',
  3036. replaceTab: true,
  3037. hidden: true
  3038. // permission: 'B_goodsManage_edit'
  3039. }
  3040. }
  3041. ]
  3042. },
  3043. {
  3044. path: '/dealerManagement/dealerAccountManagement',
  3045. redirect: '/dealerManagement/dealerAccountManagement/list',
  3046. name: 'dealerAccountManagement',
  3047. component: BlankLayout,
  3048. meta: {
  3049. title: '经销商账号管理',
  3050. icon: 'team',
  3051. permission: 'M_dealerAccountManagementList'
  3052. },
  3053. hideChildrenInMenu: true,
  3054. children: [
  3055. {
  3056. path: 'list',
  3057. name: 'dealerAccountManagementList',
  3058. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  3059. meta: {
  3060. title: '经销商账号列表',
  3061. icon: 'team',
  3062. hidden: true,
  3063. permission: 'M_dealerAccountManagementList'
  3064. }
  3065. }
  3066. ]
  3067. },
  3068. {
  3069. path: '/dealerManagement/dealerRelationshipBinding',
  3070. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  3071. name: 'dealerRelationshipBinding',
  3072. component: BlankLayout,
  3073. meta: {
  3074. title: '经销商关系绑定',
  3075. icon: 'share-alt',
  3076. permission: 'M_dealerRelationshipBindingList'
  3077. },
  3078. hideChildrenInMenu: true,
  3079. children: [
  3080. {
  3081. path: 'list',
  3082. name: 'dealerRelationshipBindingList',
  3083. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  3084. meta: {
  3085. title: '经销商关系绑定列表',
  3086. icon: 'share-alt',
  3087. hidden: true,
  3088. permission: 'M_dealerRelationshipBindingList'
  3089. }
  3090. }
  3091. ]
  3092. },
  3093. {
  3094. path: '/dealerManagement/rebateSettings',
  3095. redirect: '/dealerManagement/rebateSettings/list',
  3096. name: 'rebateSettings',
  3097. component: BlankLayout,
  3098. meta: {
  3099. title: '差价归属设置',
  3100. icon: 'stock',
  3101. permission: 'M_rebateSettingsList'
  3102. },
  3103. hideChildrenInMenu: true,
  3104. children: [
  3105. {
  3106. path: 'list',
  3107. name: 'rebateSettingsList',
  3108. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  3109. meta: {
  3110. title: '差价归属设置列表',
  3111. icon: 'stock',
  3112. hidden: true,
  3113. permission: 'M_rebateSettingsList'
  3114. }
  3115. }
  3116. ]
  3117. },
  3118. {
  3119. path: '/dealerManagement/provincialWarehouseManagement',
  3120. redirect: '/dealerManagement/provincialWarehouseManagement/list',
  3121. name: 'provincialWarehouse',
  3122. component: BlankLayout,
  3123. meta: {
  3124. title: '省仓管理',
  3125. icon: 'share-alt',
  3126. permission: 'M_provincialWarehouse'
  3127. },
  3128. hideChildrenInMenu: true,
  3129. children: [
  3130. {
  3131. path: 'list',
  3132. name: 'provincialWarehouseList',
  3133. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/list.vue'),
  3134. meta: {
  3135. title: '省仓管理列表',
  3136. icon: 'share-alt',
  3137. hidden: true,
  3138. permission: 'M_provincialWarehouseList'
  3139. }
  3140. },
  3141. {
  3142. path: 'relatedDealers/:sn/:name',
  3143. name: 'relatedDealersList',
  3144. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/relatedDealersList.vue'),
  3145. meta: {
  3146. title: '省仓关联经销商',
  3147. icon: 'share-alt',
  3148. hidden: true,
  3149. replaceTab: true,
  3150. permission: 'M_relatedDealersList'
  3151. }
  3152. }
  3153. ]
  3154. },
  3155. {
  3156. path: '/dealerManagement/marketingDivisionSetNew',
  3157. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3158. name: 'marketingDivisionSetNew',
  3159. component: BlankLayout,
  3160. meta: {
  3161. title: '营销分区设置',
  3162. icon: 'setting',
  3163. permission: 'M_marketingDivisionSetList'
  3164. },
  3165. hideChildrenInMenu: true,
  3166. children: [
  3167. {
  3168. path: 'list',
  3169. name: 'marketingDivisionSetNewList',
  3170. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3171. meta: {
  3172. title: '营销分区列表',
  3173. icon: 'setting',
  3174. hidden: true,
  3175. permission: 'M_marketingDivisionSetList'
  3176. }
  3177. }
  3178. ]
  3179. },
  3180. {
  3181. path: '/dealerManagement/businessOwnerSettings',
  3182. redirect: '/dealerManagement/businessOwnerSettings/list',
  3183. name: 'businessOwnerSettings',
  3184. component: BlankLayout,
  3185. meta: {
  3186. title: '数据权限配置',
  3187. icon: 'stock',
  3188. permission: 'M_businessOwnerSettings'
  3189. },
  3190. hideChildrenInMenu: true,
  3191. children: [
  3192. {
  3193. path: 'list',
  3194. name: 'businessOwnerSettingsList',
  3195. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3196. meta: {
  3197. title: '数据权限配置列表',
  3198. icon: 'stock',
  3199. hidden: true,
  3200. permission: 'M_businessOwnerSettingsList'
  3201. }
  3202. },
  3203. {
  3204. path: 'settingsIndex',
  3205. name: 'categorySet',
  3206. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3207. meta: {
  3208. title: '管辖品类权限设置',
  3209. icon: 'user',
  3210. hidden: true,
  3211. replaceTab: true,
  3212. permission: 'M_settingsIndex'
  3213. }
  3214. }
  3215. ]
  3216. },
  3217. {
  3218. path: '/dealerManagement/dealerZoneSearch',
  3219. redirect: '/dealerManagement/dealerZoneSearch/list',
  3220. name: 'dealerZoneSearch',
  3221. component: BlankLayout,
  3222. meta: {
  3223. title: '经销商所属分区查询',
  3224. icon: 'setting',
  3225. permission: 'M_dealerZoneSearch'
  3226. },
  3227. hideChildrenInMenu: true,
  3228. children: [
  3229. {
  3230. path: 'list',
  3231. name: 'dealerZoneSearchList',
  3232. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3233. meta: {
  3234. title: '经销商所属分区查询',
  3235. icon: 'setting',
  3236. hidden: true,
  3237. permission: 'M_dealerZoneSearchList'
  3238. }
  3239. }
  3240. ]
  3241. }
  3242. ]
  3243. },
  3244. // 供应商管理
  3245. {
  3246. path: '/supplierManagement',
  3247. redirect: '/supplierManagement/supplierInfo',
  3248. component: PageView,
  3249. meta: {
  3250. title: '供应商管理',
  3251. icon: 'team',
  3252. permission: 'M_supplierManagement'
  3253. },
  3254. children: [
  3255. {
  3256. path: '/supplierManagement/supplierInfo',
  3257. redirect: '/supplierManagement/supplierInfo/list',
  3258. name: 'supplierInfo',
  3259. component: BlankLayout,
  3260. meta: {
  3261. title: '供应商列表',
  3262. icon: 'team',
  3263. permission: 'M_supplierInfoList'
  3264. },
  3265. hideChildrenInMenu: true,
  3266. children: [
  3267. {
  3268. path: 'list',
  3269. name: 'supplierInfoList',
  3270. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3271. meta: {
  3272. title: '供应商列表',
  3273. icon: 'team',
  3274. hidden: true,
  3275. permission: 'M_supplierInfoList'
  3276. }
  3277. },
  3278. {
  3279. path: 'add',
  3280. name: 'supplierInfoAdd',
  3281. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3282. meta: {
  3283. title: '新增供应商',
  3284. icon: 'team',
  3285. hidden: true
  3286. // permission: 'B_goodsManage_edit'
  3287. }
  3288. },
  3289. {
  3290. path: 'edit/:id',
  3291. name: 'supplierInfoEdit',
  3292. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3293. meta: {
  3294. title: '编辑供应商',
  3295. icon: 'team',
  3296. hidden: true
  3297. // permission: 'B_goodsManage_edit'
  3298. }
  3299. },
  3300. {
  3301. path: 'associatedProduct/:sn/:name',
  3302. name: 'associatedProduct',
  3303. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3304. meta: {
  3305. title: '关联产品',
  3306. icon: 'team',
  3307. replaceTab: true,
  3308. hidden: true
  3309. // permission: 'B_goodsManage_edit'
  3310. }
  3311. }
  3312. ]
  3313. },
  3314. {
  3315. path: '/supplierManagement/costSetting',
  3316. redirect: '/supplierManagement/costSetting/list',
  3317. name: 'costSetting',
  3318. component: BlankLayout,
  3319. meta: {
  3320. title: '成本设置',
  3321. icon: 'build',
  3322. permission: 'M_costSettingList'
  3323. },
  3324. hideChildrenInMenu: true,
  3325. children: [
  3326. {
  3327. path: 'list',
  3328. name: 'costSettingList',
  3329. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3330. meta: {
  3331. title: '成本设置列表',
  3332. icon: 'build',
  3333. hidden: true
  3334. }
  3335. }
  3336. ]
  3337. },
  3338. {
  3339. path: '/supplierManagement/costSetRecord',
  3340. redirect: '/supplierManagement/costSetRecord/list',
  3341. name: 'costSetRecord',
  3342. component: BlankLayout,
  3343. meta: {
  3344. title: '成本变更记录',
  3345. icon: 'build',
  3346. permission: 'M_costSetRecordList'
  3347. },
  3348. hideChildrenInMenu: true,
  3349. children: [
  3350. {
  3351. path: 'list',
  3352. name: 'costSetRecordList',
  3353. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3354. meta: {
  3355. title: '成本变更记录列表',
  3356. icon: 'build',
  3357. hidden: true
  3358. }
  3359. }
  3360. ]
  3361. },
  3362. {
  3363. path: '/supplierManagement/associatedProductDetails',
  3364. redirect: '/supplierManagement/associatedProductDetails/list',
  3365. name: 'associatedProductDetails',
  3366. component: BlankLayout,
  3367. meta: {
  3368. title: '关联产品明细表',
  3369. icon: 'build',
  3370. permission: 'M_associatedProductDetailsList'
  3371. },
  3372. hideChildrenInMenu: true,
  3373. children: [
  3374. {
  3375. path: 'list',
  3376. name: 'associatedProductDetailsList',
  3377. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3378. meta: {
  3379. title: '关联产品明细列表',
  3380. icon: 'build',
  3381. hidden: true,
  3382. permission: 'M_associatedProductDetailsList'
  3383. }
  3384. }
  3385. ]
  3386. }
  3387. ]
  3388. },
  3389. // 促销管理
  3390. {
  3391. path: '/promotionRulesManagement',
  3392. redirect: '/promotionRulesManagement/promotionRules',
  3393. component: PageView,
  3394. meta: {
  3395. title: '促销管理',
  3396. icon: 'rocket',
  3397. permission: 'M_promotionRulesManagement'
  3398. },
  3399. children: [
  3400. {
  3401. path: '/promotionRulesManagement/promotionManagement',
  3402. redirect: '/promotionRulesManagement/promotionManagement/list',
  3403. name: 'promotionManagement',
  3404. component: BlankLayout,
  3405. meta: {
  3406. title: '修理厂促销',
  3407. icon: 'file-ppt',
  3408. permission: 'M_promotionManagementList'
  3409. },
  3410. hideChildrenInMenu: true,
  3411. children: [
  3412. {
  3413. path: 'list',
  3414. name: 'promotionManagementList',
  3415. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3416. meta: {
  3417. title: '修理厂促销列表',
  3418. icon: 'file-ppt',
  3419. hidden: true,
  3420. permission: 'M_promotionManagementList'
  3421. }
  3422. }
  3423. ]
  3424. },
  3425. {
  3426. path: '/promotionRulesManagement/dealerPromotions',
  3427. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3428. name: 'dealerPromotionManagement',
  3429. component: BlankLayout,
  3430. meta: {
  3431. title: '经销商促销',
  3432. icon: 'setting',
  3433. permission: 'M_dealerPromotionManagementList'
  3434. },
  3435. hideChildrenInMenu: true,
  3436. children: [
  3437. {
  3438. path: 'list',
  3439. name: 'dealerPromotionManagementList',
  3440. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3441. meta: {
  3442. title: '经销商促销',
  3443. icon: 'setting',
  3444. hidden: true,
  3445. permission: 'M_dealerPromotionManagementList'
  3446. }
  3447. },
  3448. {
  3449. path: 'detail',
  3450. name: 'dealerPromotionManagementDetail',
  3451. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3452. meta: {
  3453. title: '促销活动详情',
  3454. icon: 'thunderbolt',
  3455. hidden: true
  3456. }
  3457. },
  3458. {
  3459. path: 'ruleSet',
  3460. name: 'dealerPromotionManagementRule',
  3461. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3462. meta: {
  3463. title: '促销规则设置',
  3464. icon: 'thunderbolt',
  3465. replaceTab: true,
  3466. hidden: true
  3467. }
  3468. }
  3469. ]
  3470. }
  3471. ]
  3472. },
  3473. // 大屏数据
  3474. {
  3475. path: '/bigStatistics',
  3476. redirect: '/bigStatistics/realTimeSalesReport',
  3477. component: PageView,
  3478. meta: {
  3479. title: '数据统计',
  3480. icon: 'desktop',
  3481. permission: 'M_bigScreenStatistics'
  3482. },
  3483. children: [
  3484. {
  3485. path: '/bigStatistics/realTimeSalesReport',
  3486. redirect: '/bigStatistics/realTimeSalesReport/index',
  3487. name: 'bigRealTimeSalesReport',
  3488. component: BigScreen,
  3489. meta: {
  3490. title: '实时销售看板',
  3491. icon: 'deployment-unit',
  3492. permission: 'M_realTimeSalesReportIndex'
  3493. },
  3494. hideChildrenInMenu: true,
  3495. children: [
  3496. {
  3497. path: 'index',
  3498. name: 'realTimeSalesReportIndex',
  3499. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3500. meta: {
  3501. title: '实时销售看板'
  3502. }
  3503. }
  3504. ]
  3505. },
  3506. {
  3507. path: '/bigStatistics/fPanalysisReport',
  3508. redirect: '/bigStatistics/fPanalysisReport/index',
  3509. name: 'bigfPanalysisReport',
  3510. component: BigScreen,
  3511. meta: {
  3512. title: '加盟商/产品分析',
  3513. icon: 'interaction',
  3514. permission: 'M_fPanalysisReportIndex'
  3515. },
  3516. hideChildrenInMenu: true,
  3517. children: [
  3518. {
  3519. path: 'index',
  3520. name: 'fPanalysisReportIndex',
  3521. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3522. meta: {
  3523. title: '加盟商/产品分析'
  3524. }
  3525. }
  3526. ]
  3527. }
  3528. ]
  3529. },
  3530. // 基础设置
  3531. {
  3532. path: '/basicData',
  3533. redirect: '/basicData/warehouse',
  3534. component: PageView,
  3535. meta: {
  3536. title: '基础设置',
  3537. icon: 'pushpin',
  3538. permission: 'M_basicData'
  3539. },
  3540. children: [
  3541. {
  3542. path: '/basicData/warehouse',
  3543. redirect: '/basicData/warehouse/list',
  3544. name: 'warehouse',
  3545. component: BlankLayout,
  3546. meta: {
  3547. title: '仓库管理',
  3548. icon: 'deployment-unit',
  3549. permission: 'M_warehouseList'
  3550. },
  3551. hideChildrenInMenu: true,
  3552. children: [
  3553. {
  3554. path: 'list',
  3555. name: 'warehouseList',
  3556. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3557. meta: {
  3558. title: '仓库列表',
  3559. icon: 'deployment-unit',
  3560. hidden: true,
  3561. permission: 'M_warehouseList'
  3562. }
  3563. },
  3564. {
  3565. path: '/basicData/storingLocation/:sn',
  3566. name: 'storingLocationList',
  3567. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3568. meta: {
  3569. title: '仓位列表',
  3570. icon: 'deployment-unit',
  3571. replaceTab: true,
  3572. hidden: true
  3573. // permission: 'B_goodsManage_edit'
  3574. }
  3575. }
  3576. ]
  3577. },
  3578. {
  3579. path: '/basicData/transferTypeManagement',
  3580. redirect: '/basicData/transferTypeManagement/list',
  3581. name: 'transferTypeManagement',
  3582. component: BlankLayout,
  3583. meta: {
  3584. title: '调拨类型管理',
  3585. icon: 'interaction',
  3586. permission: 'M_transferTypeManagementList'
  3587. },
  3588. hideChildrenInMenu: true,
  3589. children: [
  3590. {
  3591. path: 'list',
  3592. name: 'transferTypeManagementList',
  3593. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3594. meta: {
  3595. title: '调拨类型列表',
  3596. icon: 'interaction',
  3597. hidden: true,
  3598. permission: 'M_transferTypeManagementList'
  3599. }
  3600. }
  3601. ]
  3602. }
  3603. ]
  3604. },
  3605. // 权限管理
  3606. {
  3607. path: '/auth',
  3608. redirect: '/auth/user',
  3609. component: PageView,
  3610. meta: {
  3611. title: '权限管理',
  3612. icon: 'lock',
  3613. permission: 'M_auth_0'
  3614. },
  3615. children: [
  3616. {
  3617. path: '/auth/user',
  3618. redirect: '/auth/user/list',
  3619. name: 'powerUser',
  3620. component: BlankLayout,
  3621. meta: {
  3622. title: '用户管理',
  3623. icon: 'user',
  3624. permission: 'M_userList'
  3625. },
  3626. hideChildrenInMenu: true,
  3627. children: [
  3628. {
  3629. path: 'list',
  3630. name: 'powerUserList',
  3631. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3632. meta: {
  3633. title: '用户管理',
  3634. icon: 'user',
  3635. hidden: true,
  3636. permission: 'M_userList'
  3637. }
  3638. }
  3639. ]
  3640. },
  3641. {
  3642. path: '/auth/role',
  3643. redirect: '/auth/role/list',
  3644. name: 'powerRole',
  3645. component: BlankLayout,
  3646. meta: {
  3647. title: '角色管理',
  3648. icon: 'solution',
  3649. permission: 'M_roleList'
  3650. },
  3651. hideChildrenInMenu: true,
  3652. children: [
  3653. {
  3654. path: 'list',
  3655. name: 'powerRoleList',
  3656. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3657. meta: {
  3658. title: '角色管理',
  3659. icon: 'solution',
  3660. hidden: true,
  3661. permission: 'M_roleList'
  3662. }
  3663. }
  3664. ]
  3665. },
  3666. {
  3667. path: '/auth/adminMenus',
  3668. redirect: '/auth/adminMenus/list',
  3669. name: 'adminMenus',
  3670. component: BlankLayout,
  3671. meta: {
  3672. title: '菜单管理',
  3673. icon: 'appstore',
  3674. permission: 'M_menuList'
  3675. },
  3676. hideChildrenInMenu: true,
  3677. children: [
  3678. {
  3679. path: 'list',
  3680. name: 'adminMenusList',
  3681. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3682. meta: {
  3683. title: '菜单管理',
  3684. icon: 'appstore',
  3685. hidden: true,
  3686. permission: 'M_menuList'
  3687. }
  3688. }
  3689. ]
  3690. }
  3691. ]
  3692. },
  3693. // 系统设置
  3694. {
  3695. path: '/setting',
  3696. redirect: '/setting/dataDictionary',
  3697. component: PageView,
  3698. meta: {
  3699. title: '系统设置',
  3700. icon: 'setting',
  3701. permission: 'M_systemSet'
  3702. },
  3703. children: [
  3704. {
  3705. path: '/setting/dataDictionary',
  3706. redirect: '/setting/dataDictionary/list',
  3707. name: 'dataDictionary',
  3708. component: BlankLayout,
  3709. meta: {
  3710. title: '数据字典管理',
  3711. icon: 'database',
  3712. permission: 'M_dataD_lookup'
  3713. },
  3714. hideChildrenInMenu: true,
  3715. children: [
  3716. {
  3717. path: 'list',
  3718. name: 'powerDD',
  3719. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3720. meta: {
  3721. title: '数据字典管理',
  3722. icon: 'database',
  3723. hidden: true,
  3724. permission: 'M_dataD_lookup'
  3725. }
  3726. }
  3727. ]
  3728. },
  3729. {
  3730. path: '/setting/OperateJournal',
  3731. redirect: '/setting/OperateJournal/list',
  3732. name: 'OperateJournal',
  3733. component: BlankLayout,
  3734. meta: {
  3735. title: '操作日志',
  3736. icon: 'read',
  3737. permission: 'M_OperateJournalList'
  3738. },
  3739. hideChildrenInMenu: true,
  3740. children: [
  3741. {
  3742. path: 'list',
  3743. name: 'powerOperateJournal',
  3744. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3745. meta: {
  3746. title: '操作日志',
  3747. icon: 'read',
  3748. permission: 'M_OperateJournalList'
  3749. }
  3750. }
  3751. ]
  3752. },
  3753. {
  3754. path: '/setting/noticeManagement',
  3755. redirect: '/setting/noticeManagement/list',
  3756. name: 'noticeManagement',
  3757. component: BlankLayout,
  3758. meta: {
  3759. title: '公告管理',
  3760. icon: 'sketch',
  3761. permission: 'M_noticeManagementList'
  3762. },
  3763. hideChildrenInMenu: true,
  3764. children: [
  3765. {
  3766. path: 'list',
  3767. name: 'noticeManagementList',
  3768. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3769. meta: {
  3770. title: '公告列表',
  3771. icon: 'sketch',
  3772. hidden: true,
  3773. permission: 'M_noticeManagementList'
  3774. }
  3775. }
  3776. ]
  3777. },
  3778. {
  3779. path: '/setting/bigScreenSet',
  3780. redirect: '/setting/bigScreenSet/index',
  3781. name: 'bigScreenSet',
  3782. component: BlankLayout,
  3783. meta: {
  3784. title: '大屏参数设置',
  3785. icon: 'sketch',
  3786. permission: 'M_bigScreenSetIndex'
  3787. },
  3788. hideChildrenInMenu: true,
  3789. children: [{
  3790. path: 'index',
  3791. name: 'bigScreenSetIndex',
  3792. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3793. meta: {
  3794. title: '大屏参数设置',
  3795. icon: 'sketch',
  3796. hidden: true,
  3797. permission: 'M_bigScreenSetIndex'
  3798. }
  3799. }]
  3800. },
  3801. {
  3802. path: '/setting/erpMessageManagement',
  3803. redirect: '/setting/erpMessageManagement/list',
  3804. name: 'erpMessageManagement',
  3805. component: BlankLayout,
  3806. meta: {
  3807. title: 'ERP数据同步记录',
  3808. icon: 'sketch',
  3809. permission: 'M_erpMessageList'
  3810. },
  3811. hideChildrenInMenu: true,
  3812. children: [
  3813. {
  3814. path: 'list',
  3815. name: 'M_erpMessageList',
  3816. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3817. meta: {
  3818. title: 'ERP数据同步列表',
  3819. icon: 'sketch',
  3820. hidden: true,
  3821. permission: 'M_erpMessageList'
  3822. }
  3823. }
  3824. ]
  3825. },
  3826. {
  3827. path: '/setting/checkDingTask',
  3828. redirect: '/setting/checkDingTask/list',
  3829. name: 'checkDingTask',
  3830. component: BlankLayout,
  3831. meta: {
  3832. title: '钉钉审批',
  3833. icon: 'sketch',
  3834. permission: 'M_dingAuditUpdate'
  3835. },
  3836. hideChildrenInMenu: true,
  3837. children: [
  3838. {
  3839. path: 'list',
  3840. name: 'M_dingAuditUpdate',
  3841. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  3842. meta: {
  3843. title: '钉钉审批',
  3844. icon: 'sketch',
  3845. hidden: true,
  3846. permission: 'M_dingAuditUpdate'
  3847. }
  3848. }
  3849. ]
  3850. }
  3851. ]
  3852. }
  3853. ]
  3854. },
  3855. {
  3856. path: '*',
  3857. redirect: '/404',
  3858. hidden: true
  3859. }
  3860. ]
  3861. /**
  3862. * 基础路由
  3863. * @type { *[] }
  3864. */
  3865. export const constantRouterMap = [
  3866. {
  3867. path: '/user',
  3868. component: UserLayout,
  3869. redirect: '/user/login',
  3870. hidden: true,
  3871. children: [
  3872. {
  3873. path: 'login',
  3874. name: 'login',
  3875. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3876. },
  3877. {
  3878. path: 'register',
  3879. name: 'register',
  3880. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3881. },
  3882. {
  3883. path: 'register-result',
  3884. name: 'registerResult',
  3885. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3886. },
  3887. {
  3888. path: 'recover',
  3889. name: 'recover',
  3890. component: undefined
  3891. }
  3892. ]
  3893. },
  3894. {
  3895. path: '/bigScreen',
  3896. component: BigScreen,
  3897. redirect: '/bigScreen/realTimeSalesReport',
  3898. hidden: true,
  3899. children: [
  3900. {
  3901. path: 'realTimeSalesReport',
  3902. name: 'realTimeSalesReport',
  3903. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3904. meta: {
  3905. title: '实时销售看板'
  3906. }
  3907. },
  3908. {
  3909. path: 'fPanalysisReport',
  3910. name: 'fPanalysisReport',
  3911. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3912. meta: {
  3913. title: '加盟商/产品分析'
  3914. }
  3915. }
  3916. ]
  3917. },
  3918. {
  3919. path: '/404',
  3920. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3921. }
  3922. ]