router.config.js 142 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994
  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/purchaseReceipt',
  866. redirect: '/purchasingManagement/purchaseReceipt/list',
  867. name: 'purchaseReceipt',
  868. component: BlankLayout,
  869. meta: {
  870. title: '采购入库',
  871. icon: 'gold',
  872. permission: 'M_purchaseReceipt'
  873. },
  874. hideChildrenInMenu: true,
  875. children: [
  876. {
  877. path: 'list',
  878. name: 'purchaseReceiptList',
  879. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReceipt/list.vue'),
  880. meta: {
  881. title: '采购入库列表',
  882. icon: 'gold',
  883. hidden: true,
  884. permission: 'M_purchaseReceiptList'
  885. }
  886. },
  887. {
  888. path: 'edit',
  889. name: 'purchaseReceiptEdit',
  890. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReceipt/edit.vue'),
  891. meta: {
  892. title: '编辑采购入库单',
  893. icon: 'gold',
  894. hidden: true
  895. // permission: 'B_purchaseReceiptEdit'
  896. }
  897. }
  898. ]
  899. },
  900. {
  901. path: '/purchasingManagement/bulkWarehousingOrder',
  902. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  903. name: 'bulkWarehousingOrder',
  904. component: BlankLayout,
  905. meta: {
  906. title: '散件入库',
  907. icon: 'gold',
  908. permission: 'M_bulkWarehousingOrderList'
  909. },
  910. hideChildrenInMenu: true,
  911. children: [
  912. {
  913. path: 'list',
  914. name: 'bulkWarehousingOrderList',
  915. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  916. meta: {
  917. title: '散件入库单列表',
  918. icon: 'gold',
  919. hidden: true,
  920. permission: 'M_bulkWarehousingOrderList'
  921. }
  922. },
  923. {
  924. path: 'add/:id/:sn',
  925. name: 'bulkWarehousingOrderAdd',
  926. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  927. meta: {
  928. title: '新增散件入库单',
  929. icon: 'gold',
  930. hidden: true,
  931. permission: 'B_sparePartsEdit'
  932. }
  933. },
  934. {
  935. path: 'edit/:id/:sn',
  936. name: 'bulkWarehousingOrderEdit',
  937. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  938. meta: {
  939. title: '编辑散件入库单',
  940. icon: 'gold',
  941. hidden: true,
  942. permission: 'B_sparePartsEdit'
  943. }
  944. }
  945. ]
  946. },
  947. {
  948. path: '/purchasingManagement/purchaseReturn',
  949. redirect: '/purchasingManagement/purchaseReturn/list',
  950. name: 'purchaseReturn',
  951. component: BlankLayout,
  952. meta: {
  953. title: '采购退货',
  954. icon: 'gold',
  955. permission: 'M_purchaseReturn'
  956. },
  957. hideChildrenInMenu: true,
  958. children: [
  959. {
  960. path: 'list',
  961. name: 'purchaseReturnList',
  962. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  963. meta: {
  964. title: '采购退货',
  965. icon: 'gold',
  966. hidden: true,
  967. permission: 'M_purchaseReturnList'
  968. }
  969. },
  970. {
  971. path: 'add',
  972. name: 'purchaseReturnAdd',
  973. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  974. meta: {
  975. title: '新增采购退货',
  976. icon: 'gold',
  977. hidden: true,
  978. permission: 'B_purchaseReturnEdit'
  979. }
  980. },
  981. {
  982. path: 'edit',
  983. name: 'purchaseReturnEdit',
  984. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  985. meta: {
  986. title: '编辑采购退货(不抓单)',
  987. icon: 'gold',
  988. hidden: true,
  989. permission: 'B_purchaseReturnEdit'
  990. }
  991. },
  992. {
  993. path: 'editGrab',
  994. name: 'purchaseReturnEditGrab',
  995. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  996. meta: {
  997. title: '编辑采购退货(抓单)',
  998. icon: 'gold',
  999. hidden: true,
  1000. permission: 'B_purchaseReturnEdit'
  1001. }
  1002. }
  1003. ]
  1004. }
  1005. ]
  1006. },
  1007. // 财务管理
  1008. {
  1009. path: '/financialManagement',
  1010. redirect: '/financialManagement/warehousingConfirmation',
  1011. component: PageView,
  1012. meta: {
  1013. title: '财务管理',
  1014. icon: 'property-safety',
  1015. permission: 'M_financialManagement'
  1016. },
  1017. children: [
  1018. {
  1019. path: '/financialManagement/warehousingConfirmation',
  1020. redirect: '/financialManagement/warehousingConfirmation/list',
  1021. name: 'warehousingConfirmation',
  1022. component: BlankLayout,
  1023. meta: {
  1024. title: '入库确认',
  1025. icon: 'vertical-align-bottom',
  1026. permission: 'M_warehousingConfirmationList'
  1027. },
  1028. hideChildrenInMenu: true,
  1029. children: [
  1030. {
  1031. path: 'list',
  1032. name: 'warehousingConfirmationList',
  1033. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  1034. meta: {
  1035. title: '入库确认列表',
  1036. icon: 'vertical-align-bottom',
  1037. hidden: true,
  1038. permission: 'M_warehousingConfirmationList'
  1039. }
  1040. }
  1041. ]
  1042. },
  1043. {
  1044. path: '/financialManagement/financialCollection',
  1045. redirect: '/financialManagement/financialCollection/list',
  1046. name: 'financialCollection',
  1047. component: BlankLayout,
  1048. meta: {
  1049. title: '财务收款',
  1050. icon: 'pay-circle',
  1051. permission: 'M_financialCollectionList'
  1052. },
  1053. hideChildrenInMenu: true,
  1054. children: [
  1055. {
  1056. path: 'list',
  1057. name: 'financialCollectionList',
  1058. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1059. meta: {
  1060. title: '财务收款列表',
  1061. icon: 'pay-circle',
  1062. hidden: true,
  1063. permission: 'M_financialCollectionList'
  1064. }
  1065. },
  1066. {
  1067. path: 'detail/:sn',
  1068. name: 'financialCollectionDetail',
  1069. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
  1070. meta: {
  1071. title: '财务收款详情',
  1072. icon: 'monitor',
  1073. hidden: true,
  1074. permission: 'B_fc_detail'
  1075. }
  1076. },
  1077. {
  1078. path: 'edit/:sn',
  1079. name: 'financialCollectionEdit',
  1080. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  1081. meta: {
  1082. title: '编辑财务收款',
  1083. icon: 'monitor',
  1084. hidden: true,
  1085. permission: 'B_fc_edit'
  1086. }
  1087. }
  1088. ]
  1089. },
  1090. {
  1091. path: '/financialManagement/collectionDetailStatic',
  1092. redirect: '/financialManagement/collectionDetailStatic/list',
  1093. name: 'collectionDetailStatic',
  1094. component: BlankLayout,
  1095. meta: {
  1096. title: '财务收款明细统计',
  1097. icon: 'vertical-align-top',
  1098. permission: 'M_FC_Details_list'
  1099. },
  1100. hideChildrenInMenu: true,
  1101. children: [
  1102. {
  1103. path: 'list',
  1104. name: 'collectionDetailStaticList',
  1105. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
  1106. meta: {
  1107. title: '财务收款明细统计列表',
  1108. icon: 'vertical-align-top',
  1109. hidden: true,
  1110. permission: 'M_FC_Details_list'
  1111. }
  1112. }
  1113. ]
  1114. }
  1115. ]
  1116. },
  1117. // 费用报销
  1118. {
  1119. path: '/expenseManagement',
  1120. redirect: '/expenseManagement/expenseReimbursement',
  1121. component: PageView,
  1122. meta: {
  1123. title: '费用报销',
  1124. icon: 'account-book',
  1125. permission: 'M_expenseManagement'
  1126. },
  1127. children: [
  1128. {
  1129. path: '/expenseManagement/expenseReimbursement',
  1130. redirect: '/expenseManagement/expenseReimbursement/list',
  1131. name: 'expenseReimbursement',
  1132. component: BlankLayout,
  1133. meta: {
  1134. title: '费用报销单',
  1135. icon: 'monitor',
  1136. permission: 'M_expenseReimbursementList'
  1137. },
  1138. hideChildrenInMenu: true,
  1139. children: [
  1140. {
  1141. path: 'list',
  1142. name: 'expenseReimbursementList',
  1143. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  1144. meta: {
  1145. title: '费用报销单列表',
  1146. icon: 'monitor',
  1147. hidden: true,
  1148. permission: 'M_expenseReimbursementList'
  1149. }
  1150. },
  1151. {
  1152. path: 'detail/:sn',
  1153. name: 'expenseReimbursementListDetail',
  1154. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  1155. meta: {
  1156. title: '费用报销单详情',
  1157. icon: 'monitor',
  1158. hidden: true,
  1159. permission: 'B_eRdetail'
  1160. }
  1161. },
  1162. {
  1163. path: 'edit/:sn',
  1164. name: 'expenseReimbursementEdit',
  1165. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1166. meta: {
  1167. title: '编辑费用报销单',
  1168. icon: 'monitor',
  1169. hidden: true,
  1170. permission: 'B_ERtEdit'
  1171. }
  1172. }
  1173. ]
  1174. },
  1175. {
  1176. path: '/expenseManagement/expenseReimbursementDetail',
  1177. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  1178. name: 'expenseReimbursementDetail',
  1179. component: BlankLayout,
  1180. meta: {
  1181. title: '费用报销明细统计',
  1182. icon: 'audit',
  1183. permission: 'M_expenseReimbursementDetailList'
  1184. },
  1185. hideChildrenInMenu: true,
  1186. children: [
  1187. {
  1188. path: 'list',
  1189. name: 'expenseReimbursementDetailList',
  1190. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  1191. meta: {
  1192. title: '费用报销明细统计列表',
  1193. icon: 'audit',
  1194. hidden: true,
  1195. permission: 'M_expenseReimbursementDetailList'
  1196. }
  1197. }
  1198. ]
  1199. }
  1200. ]
  1201. },
  1202. // 库存管理
  1203. {
  1204. path: '/inventoryManagement',
  1205. redirect: '/inventoryManagement/inventoryQuery',
  1206. component: PageView,
  1207. meta: {
  1208. title: '库存管理',
  1209. icon: 'shop',
  1210. permission: 'M_inventoryManagement'
  1211. },
  1212. children: [
  1213. {
  1214. path: '/inventoryManagement/inventoryQuery',
  1215. redirect: '/inventoryManagement/inventoryQuery/list',
  1216. name: 'inventoryQuery',
  1217. component: BlankLayout,
  1218. meta: {
  1219. title: '库存查询',
  1220. icon: 'monitor',
  1221. permission: 'M_inventoryQueryList'
  1222. },
  1223. hideChildrenInMenu: true,
  1224. children: [
  1225. {
  1226. path: 'list',
  1227. name: 'inventoryQueryList',
  1228. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1229. meta: {
  1230. title: '库存列表',
  1231. icon: 'monitor',
  1232. hidden: true,
  1233. permission: 'M_inventoryQueryList'
  1234. }
  1235. },
  1236. {
  1237. path: 'warehouseDetail/:sn/:warehouseSn',
  1238. name: 'inventoryQueryWarehouseDetail',
  1239. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1240. meta: {
  1241. title: '出入库明细',
  1242. icon: 'monitor',
  1243. replaceTab: true,
  1244. hidden: true,
  1245. permission: 'B_inventoryQuery_rkDetail'
  1246. }
  1247. }
  1248. ]
  1249. },
  1250. {
  1251. path: '/inventoryManagement/inventoryCheck',
  1252. redirect: '/inventoryManagement/inventoryCheck/list/0',
  1253. name: 'inventoryCheck',
  1254. component: BlankLayout,
  1255. meta: {
  1256. title: '库存盘点',
  1257. icon: 'monitor',
  1258. permission: 'M_inventoryCheckList'
  1259. },
  1260. hideChildrenInMenu: true,
  1261. children: [
  1262. {
  1263. path: 'list/:type',
  1264. name: 'inventoryCheckList',
  1265. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  1266. meta: {
  1267. title: '库存盘点列表',
  1268. icon: 'monitor',
  1269. hidden: true,
  1270. permission: 'M_inventoryCheckList'
  1271. }
  1272. },
  1273. {
  1274. path: 'detail/:sn',
  1275. name: 'inventoryCheckDetail',
  1276. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  1277. meta: {
  1278. title: '库存盘点详情',
  1279. icon: 'monitor',
  1280. hidden: true,
  1281. replaceTab: true,
  1282. permission: 'B_inventoryCheckDetail'
  1283. }
  1284. }
  1285. ]
  1286. },
  1287. {
  1288. path: '/inventoryManagement/makeInventory',
  1289. redirect: '/inventoryManagement/makeInventory/list',
  1290. name: 'makeInventory',
  1291. component: BlankLayout,
  1292. meta: {
  1293. title: '盘点人盘点',
  1294. icon: 'monitor',
  1295. permission: 'M_inventoryMakeInventoryList'
  1296. },
  1297. hideChildrenInMenu: true,
  1298. children: [
  1299. {
  1300. path: 'list',
  1301. name: 'makeInventoryList',
  1302. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  1303. meta: {
  1304. title: '盘点人盘点列表',
  1305. icon: 'monitor',
  1306. hidden: true,
  1307. permission: 'M_inventoryMakeInventoryList'
  1308. }
  1309. },
  1310. {
  1311. path: 'check/:sn',
  1312. name: 'makeInventoryCheck',
  1313. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1314. meta: {
  1315. title: '盘点人盘点',
  1316. icon: 'monitor',
  1317. hidden: true,
  1318. replaceTab: true,
  1319. permission: 'B_inventoryMakeInventoryCheck'
  1320. }
  1321. }
  1322. ]
  1323. },
  1324. {
  1325. path: '/inventoryManagement/supervisionDisk',
  1326. redirect: '/inventoryManagement/supervisionDisk/list',
  1327. name: 'supervisionDisk',
  1328. component: BlankLayout,
  1329. meta: {
  1330. title: '监盘人盘点',
  1331. icon: 'monitor',
  1332. permission: 'M_supervisionDiskList'
  1333. },
  1334. hideChildrenInMenu: true,
  1335. children: [
  1336. {
  1337. path: 'list',
  1338. name: 'supervisionDiskList',
  1339. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1340. meta: {
  1341. title: '监盘人盘点列表',
  1342. icon: 'monitor',
  1343. hidden: true,
  1344. permission: 'M_supervisionDiskList'
  1345. }
  1346. },
  1347. {
  1348. path: 'check/:sn',
  1349. name: 'supervisionDiskCheck',
  1350. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1351. meta: {
  1352. title: '监盘人监盘',
  1353. icon: 'monitor',
  1354. replaceTab: true,
  1355. hidden: true,
  1356. permission: 'B_supervisionDiskCheck'
  1357. }
  1358. }
  1359. ]
  1360. },
  1361. {
  1362. path: '/inventoryManagement/inventoryConfirmation',
  1363. redirect: '/inventoryManagement/inventoryConfirmation/list',
  1364. name: 'inventoryConfirmation',
  1365. component: BlankLayout,
  1366. meta: {
  1367. title: '盘点确认',
  1368. icon: 'monitor',
  1369. permission: 'M_inventoryConfirmationList'
  1370. },
  1371. hideChildrenInMenu: true,
  1372. children: [
  1373. {
  1374. path: 'list',
  1375. name: 'inventoryConfirmationList',
  1376. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/list.vue'),
  1377. meta: {
  1378. title: '盘点确认列表',
  1379. icon: 'monitor',
  1380. hidden: true,
  1381. permission: 'M_inventoryConfirmationList'
  1382. }
  1383. },
  1384. {
  1385. path: 'detail/:sn',
  1386. name: 'inventoryConfirmationDetail',
  1387. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/detail.vue'),
  1388. meta: {
  1389. title: '盘点确认详情',
  1390. icon: 'monitor',
  1391. hidden: true,
  1392. permission: 'B_inventoryConfirmationDetail'
  1393. }
  1394. }
  1395. ]
  1396. },
  1397. {
  1398. path: '/inventoryManagement/inventoryWarning',
  1399. redirect: '/inventoryManagement/inventoryWarning/list',
  1400. name: 'inventoryWarning',
  1401. component: BlankLayout,
  1402. meta: {
  1403. title: '库存预警',
  1404. icon: 'monitor',
  1405. permission: 'M_inventoryWarningList'
  1406. },
  1407. hideChildrenInMenu: true,
  1408. children: [
  1409. {
  1410. path: 'list',
  1411. name: 'inventoryWarningList',
  1412. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1413. meta: {
  1414. title: '库存预警列表',
  1415. icon: 'alert',
  1416. hidden: true,
  1417. permission: 'M_inventoryWarningList'
  1418. }
  1419. }
  1420. ]
  1421. },
  1422. {
  1423. path: '/inventoryManagement/intelligentReplenishment',
  1424. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1425. name: 'intelligentReplenishment',
  1426. component: BlankLayout,
  1427. meta: {
  1428. title: '智能补货',
  1429. icon: 'monitor',
  1430. permission: 'M_intelligentReplenishmentList'
  1431. },
  1432. hideChildrenInMenu: true,
  1433. children: [
  1434. {
  1435. path: 'list',
  1436. name: 'intelligentReplenishmentList',
  1437. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1438. meta: {
  1439. title: '智能补货列表',
  1440. icon: 'monitor',
  1441. hidden: true,
  1442. permission: 'M_intelligentReplenishmentList'
  1443. }
  1444. },
  1445. {
  1446. path: 'add/:sn',
  1447. name: 'intelligentReplenishmentAdd',
  1448. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1449. meta: {
  1450. title: '新增智能补货',
  1451. icon: 'monitor',
  1452. hidden: true,
  1453. permission: 'B_intelligentReplenishment_edit'
  1454. }
  1455. },
  1456. {
  1457. path: 'edit/:sn',
  1458. name: 'intelligentReplenishmentEdit',
  1459. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1460. meta: {
  1461. title: '编辑智能补货',
  1462. icon: 'monitor',
  1463. hidden: true,
  1464. permission: 'B_intelligentReplenishment_edit'
  1465. }
  1466. },
  1467. {
  1468. path: 'set',
  1469. name: 'intelligentReplenishmentSet',
  1470. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1471. meta: {
  1472. title: '基础信息设置',
  1473. icon: 'monitor',
  1474. permission: 'B_intelligentReplenishment_set',
  1475. replaceTab: true,
  1476. hidden: true
  1477. }
  1478. },
  1479. {
  1480. path: 'import',
  1481. name: 'intelligentReplenishmentImport',
  1482. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1483. meta: {
  1484. title: '确认导入',
  1485. icon: 'monitor',
  1486. replaceTab: true,
  1487. hidden: true
  1488. }
  1489. }
  1490. ]
  1491. }
  1492. ]
  1493. },
  1494. // 调拨管理
  1495. {
  1496. path: '/allocationManagement',
  1497. redirect: '/allocationManagement/transferOut',
  1498. component: PageView,
  1499. meta: {
  1500. title: '调拨管理',
  1501. icon: 'cluster',
  1502. permission: 'M_allocationManagement'
  1503. },
  1504. children: [
  1505. {
  1506. path: '/allocationManagement/transferOut',
  1507. redirect: '/allocationManagement/transferOut/list',
  1508. name: 'transferOut',
  1509. component: BlankLayout,
  1510. meta: {
  1511. title: '调拨列表',
  1512. icon: 'pull-request',
  1513. permission: 'M_transferOutList'
  1514. },
  1515. hideChildrenInMenu: true,
  1516. children: [
  1517. {
  1518. path: 'list',
  1519. name: 'transferOutList',
  1520. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1521. meta: {
  1522. title: '调拨列表',
  1523. icon: 'pull-request',
  1524. hidden: true,
  1525. permission: 'M_transferOutList'
  1526. }
  1527. },
  1528. {
  1529. path: 'add/:sn/:dealerLevel',
  1530. name: 'transferOutAdd',
  1531. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1532. meta: {
  1533. title: '新增调拨单',
  1534. icon: 'pull-request',
  1535. hidden: true,
  1536. permission: 'M_transferOut_edit'
  1537. }
  1538. },
  1539. {
  1540. path: 'edit/:sn/:dealerLevel',
  1541. name: 'transferOutEdit',
  1542. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1543. meta: {
  1544. title: '编辑调拨单',
  1545. icon: 'pull-request',
  1546. hidden: true,
  1547. permission: 'M_transferOut_edit'
  1548. }
  1549. },
  1550. {
  1551. path: 'detail/:sn',
  1552. name: 'transferOutDetail',
  1553. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1554. meta: {
  1555. title: '调拨单详情',
  1556. icon: 'pull-request',
  1557. hidden: true,
  1558. replaceTab: true,
  1559. permission: 'M_transferOut_detail'
  1560. }
  1561. }
  1562. ]
  1563. },
  1564. {
  1565. path: '/allocationManagement/transfersPrint',
  1566. redirect: '/allocationManagement/transfersPrint/list',
  1567. name: 'transfersPrint',
  1568. component: BlankLayout,
  1569. meta: {
  1570. title: '调拨打印',
  1571. icon: 'pull-request',
  1572. permission: 'M_transfersPrintList'
  1573. },
  1574. hideChildrenInMenu: true,
  1575. children: [
  1576. {
  1577. path: 'list',
  1578. name: 'transfersPrintList',
  1579. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1580. meta: {
  1581. title: '调拨打印',
  1582. icon: 'pull-request',
  1583. hidden: true,
  1584. permission: 'M_transfersPrintList'
  1585. }
  1586. }
  1587. ]
  1588. },
  1589. {
  1590. path: '/allocationManagement/matchSendOutOrder',
  1591. redirect: '/allocationManagement/matchSendOutOrder/list',
  1592. name: 'matchSendOutOrderAllocation',
  1593. component: BlankLayout,
  1594. meta: {
  1595. title: '调拨发货对单',
  1596. icon: 'vertical-align-bottom',
  1597. permission: 'M_matchSendOutOrderAllocationList'
  1598. },
  1599. hideChildrenInMenu: true,
  1600. children: [
  1601. {
  1602. path: 'list',
  1603. name: 'matchSendOutOrderAllocationList',
  1604. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1605. meta: {
  1606. title: '调拨发货对单',
  1607. icon: 'vertical-align-bottom',
  1608. hidden: true,
  1609. permission: 'M_matchSendOutOrderAllocationList'
  1610. }
  1611. }
  1612. ]
  1613. },
  1614. {
  1615. path: '/allocationManagement/transferReturn',
  1616. redirect: '/allocationManagement/transferReturn/list',
  1617. name: 'transferReturn',
  1618. component: BlankLayout,
  1619. meta: {
  1620. title: '调拨退货列表',
  1621. icon: 'pull-request',
  1622. permission: 'M_transferReturnList'
  1623. },
  1624. hideChildrenInMenu: true,
  1625. children: [
  1626. {
  1627. path: 'list',
  1628. name: 'transferReturnList',
  1629. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1630. meta: {
  1631. title: '调拨退货列表',
  1632. icon: 'pull-request',
  1633. hidden: true,
  1634. permission: 'M_transferReturnList'
  1635. }
  1636. },
  1637. {
  1638. path: 'editGrap/:sn/:targetType',
  1639. name: 'transferReturnGrpEdit',
  1640. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1641. meta: {
  1642. title: '编辑调拨退货单(抓单)',
  1643. icon: 'pull-request',
  1644. hidden: true,
  1645. permission: 'B_transferReturnEdit'
  1646. }
  1647. },
  1648. {
  1649. path: 'edit/:sn/:targetType/:dealerLevel',
  1650. name: 'transferReturnEdit',
  1651. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1652. meta: {
  1653. title: '编辑调拨退货单(不抓单)',
  1654. icon: 'pull-request',
  1655. hidden: true,
  1656. permission: 'B_transferReturnEdit'
  1657. }
  1658. },
  1659. {
  1660. path: 'detail/:sn',
  1661. name: 'transferReturnDetail',
  1662. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1663. meta: {
  1664. title: '调拨退货单详情',
  1665. icon: 'pull-request',
  1666. replaceTab: true,
  1667. hidden: true,
  1668. permission: 'M_transferReturnDetail'
  1669. }
  1670. },
  1671. {
  1672. path: 'check/:sn/:grabFlag',
  1673. name: 'transferReturnCheck',
  1674. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1675. meta: {
  1676. title: '调拨退货品检',
  1677. icon: 'fund',
  1678. replaceTab: true,
  1679. hidden: true,
  1680. permission: 'M_transferReturnCheck'
  1681. }
  1682. }
  1683. ]
  1684. },
  1685. {
  1686. path: '/allocationManagement/allocateReturnConfirmation',
  1687. redirect: '/allocationManagement/allocateReturnConfirmation/list',
  1688. name: 'allocateReturnConfirmation',
  1689. component: BlankLayout,
  1690. meta: {
  1691. title: '调拨退货确认',
  1692. icon: 'vertical-align-top',
  1693. permission: 'M_allocateReturnConfirmationList'
  1694. },
  1695. hideChildrenInMenu: true,
  1696. children: [
  1697. {
  1698. path: 'list',
  1699. name: 'allocateReturnConfirmationList',
  1700. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
  1701. meta: {
  1702. title: '调拨退货确认列表',
  1703. icon: 'vertical-align-top',
  1704. hidden: true,
  1705. permission: 'M_allocateReturnConfirmationList'
  1706. }
  1707. }
  1708. ]
  1709. },
  1710. {
  1711. path: '/allocationManagement/allocationList',
  1712. redirect: '/allocationManagement/allocationList/list',
  1713. name: 'allocationList',
  1714. component: BlankLayout,
  1715. meta: {
  1716. title: '调拨一览表',
  1717. icon: 'vertical-align-top',
  1718. permission: 'M_allocationList'
  1719. },
  1720. hideChildrenInMenu: true,
  1721. children: [
  1722. {
  1723. path: 'list',
  1724. name: 'allocationMainList',
  1725. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
  1726. meta: {
  1727. title: '调拨一览表',
  1728. icon: 'vertical-align-top',
  1729. hidden: true,
  1730. permission: 'M_allocationList'
  1731. }
  1732. }
  1733. ]
  1734. }
  1735. ]
  1736. },
  1737. // 报表
  1738. {
  1739. path: '/reportData',
  1740. redirect: '/reportData/salesOrderTotal',
  1741. component: PageView,
  1742. meta: {
  1743. title: '报表',
  1744. icon: 'project',
  1745. permission: 'M_reportData'
  1746. },
  1747. children: [
  1748. {
  1749. path: '/reportData/salesOrderTotal',
  1750. redirect: '/reportData/salesOrderTotal/list',
  1751. name: 'salesOrderTotal',
  1752. component: BlankLayout,
  1753. meta: {
  1754. title: '销售(开单统计)',
  1755. icon: 'profile',
  1756. permission: 'M_salesOrderTotalList'
  1757. },
  1758. hideChildrenInMenu: true,
  1759. children: [
  1760. {
  1761. path: 'list',
  1762. name: 'salesOrderTotalList',
  1763. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1764. meta: {
  1765. title: '销售(开单统计)列表',
  1766. icon: 'profile',
  1767. hidden: true,
  1768. permission: 'M_salesOrderTotalList'
  1769. }
  1770. }
  1771. ]
  1772. },
  1773. {
  1774. path: '/reportData/salesDetails',
  1775. redirect: '/reportData/salesDetails/list',
  1776. name: 'salesDetails',
  1777. component: BlankLayout,
  1778. meta: {
  1779. title: '销售明细(下推统计)',
  1780. icon: 'profile',
  1781. permission: 'M_salesDetailsList'
  1782. },
  1783. hideChildrenInMenu: true,
  1784. children: [
  1785. {
  1786. path: 'list',
  1787. name: 'salesDetailsList',
  1788. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1789. meta: {
  1790. title: '销售明细(下推统计)列表',
  1791. icon: 'profile',
  1792. hidden: true,
  1793. permission: 'M_salesDetailsList'
  1794. }
  1795. }
  1796. ]
  1797. },
  1798. {
  1799. path: '/reportData/actualSalesReport',
  1800. redirect: '/reportData/actualSalesReport/list',
  1801. name: 'actualSalesReport',
  1802. component: BlankLayout,
  1803. meta: {
  1804. title: '实售销售报表',
  1805. icon: 'profile',
  1806. permission: 'M_actualSalesReportList'
  1807. },
  1808. hideChildrenInMenu: true,
  1809. children: [
  1810. {
  1811. path: 'list',
  1812. name: 'actualSalesReportList',
  1813. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1814. meta: {
  1815. title: '实售销售列表',
  1816. icon: 'profile',
  1817. hidden: true,
  1818. permission: 'M_actualSalesReportList'
  1819. }
  1820. }
  1821. ]
  1822. },
  1823. {
  1824. path: '/reportData/salesAmountReport',
  1825. redirect: '/reportData/salesAmountReport/list',
  1826. name: 'salesAmountReport',
  1827. component: BlankLayout,
  1828. meta: {
  1829. title: '开单销售报表',
  1830. icon: 'profile',
  1831. permission: 'M_salesAmountReportList'
  1832. },
  1833. hideChildrenInMenu: true,
  1834. children: [{
  1835. path: 'list',
  1836. name: 'salesAmountReportList',
  1837. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1838. meta: {
  1839. title: '开单销售报表列表',
  1840. icon: 'profile',
  1841. hidden: true,
  1842. permission: 'M_salesAmountReportList'
  1843. }
  1844. }]
  1845. },
  1846. {
  1847. path: '/reportData/salesSlipReport',
  1848. redirect: '/reportData/salesSlipReport/list',
  1849. name: 'salesSlipReport',
  1850. component: BlankLayout,
  1851. meta: {
  1852. title: '开单销售单报表',
  1853. icon: 'profile',
  1854. permission: 'M_salesSlipReportList'
  1855. },
  1856. hideChildrenInMenu: true,
  1857. children: [{
  1858. path: 'list',
  1859. name: 'salesSlipReportList',
  1860. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1861. meta: {
  1862. title: '开单销售单报表列表',
  1863. icon: 'profile',
  1864. hidden: true,
  1865. permission: 'M_salesSlipReportList'
  1866. }
  1867. }]
  1868. },
  1869. {
  1870. path: '/reportData/promotionSalesRealTimeReport',
  1871. redirect: '/reportData/promotionSalesRealTimeReport/index',
  1872. name: 'promotionSalesRealTimeReport',
  1873. component: BlankLayout,
  1874. meta: {
  1875. title: '促销销售单报表',
  1876. icon: 'profile',
  1877. permission: 'M_promotionSalesRealTimeReportList'
  1878. },
  1879. hideChildrenInMenu: true,
  1880. children: [
  1881. {
  1882. path: 'index',
  1883. name: 'promotionSalesRealTimeReportIndex',
  1884. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  1885. meta: {
  1886. title: '促销销售单报表',
  1887. icon: 'profile',
  1888. hidden: true,
  1889. permission: 'M_promotionSalesRealTimeReportList'
  1890. }
  1891. }
  1892. ]
  1893. },
  1894. {
  1895. path: '/reportData/promotionSalesOrderReport',
  1896. redirect: '/reportData/promotionSalesOrderReport/list',
  1897. name: 'promotionSalesOrderReport',
  1898. component: BlankLayout,
  1899. meta: {
  1900. title: '促销销售单报表(统计)',
  1901. icon: 'profile',
  1902. permission: 'M_promotionSalesOrderReport'
  1903. },
  1904. hideChildrenInMenu: true,
  1905. children: [{
  1906. path: 'list',
  1907. name: 'promotionSalesOrderReportList',
  1908. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesOrderReport/list.vue'),
  1909. meta: {
  1910. title: '促销销售单报表(统计)',
  1911. icon: 'profile',
  1912. hidden: true,
  1913. permission: 'M_promotionSalesOrderReportList'
  1914. }
  1915. }]
  1916. },
  1917. {
  1918. path: '/reportData/tireSalesReport',
  1919. redirect: '/reportData/tireSalesReport/index',
  1920. name: 'tireSalesReport',
  1921. component: BlankLayout,
  1922. meta: {
  1923. title: '轮胎统计报表',
  1924. icon: 'profile',
  1925. permission: 'M_tireSalesReportList'
  1926. },
  1927. hideChildrenInMenu: true,
  1928. children: [
  1929. {
  1930. path: 'index',
  1931. name: 'tireSalesReportIndex',
  1932. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/tireSalesReport/index.vue'),
  1933. meta: {
  1934. title: '轮胎统计报表',
  1935. icon: 'profile',
  1936. hidden: true,
  1937. permission: 'M_tireSalesReportList'
  1938. }
  1939. }
  1940. ]
  1941. },
  1942. {
  1943. path: '/reportData/allocationOrderTotal',
  1944. redirect: '/reportData/allocationOrderTotal/list',
  1945. name: 'allocationOrderTotal',
  1946. component: BlankLayout,
  1947. meta: {
  1948. title: '调拨开单统计',
  1949. icon: 'profile',
  1950. permission: 'M_allocationOrderTotalList'
  1951. },
  1952. hideChildrenInMenu: true,
  1953. children: [
  1954. {
  1955. path: 'list',
  1956. name: 'allocationOrderTotalList',
  1957. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1958. meta: {
  1959. title: '调拨开单列表',
  1960. icon: 'profile',
  1961. hidden: true,
  1962. permission: 'M_allocationOrderTotalList'
  1963. }
  1964. }
  1965. ]
  1966. },
  1967. {
  1968. path: '/reportData/allocationDetails',
  1969. redirect: '/reportData/allocationDetails/list',
  1970. name: 'allocationDetails',
  1971. component: BlankLayout,
  1972. meta: {
  1973. title: '调拨明细',
  1974. icon: 'profile',
  1975. permission: 'M_allocationDetailsList'
  1976. },
  1977. hideChildrenInMenu: true,
  1978. children: [
  1979. {
  1980. path: 'list',
  1981. name: 'allocationDetailsList',
  1982. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1983. meta: {
  1984. title: '调拨明细列表',
  1985. icon: 'profile',
  1986. hidden: true,
  1987. permission: 'M_allocationDetailsList'
  1988. }
  1989. }
  1990. ]
  1991. },
  1992. {
  1993. path: '/reportData/urchaseReturn',
  1994. redirect: '/reportData/urchaseReturn/list',
  1995. name: 'urchaseReturnList',
  1996. component: BlankLayout,
  1997. meta: {
  1998. title: '采购退货单报表',
  1999. icon: 'profile',
  2000. permission: 'M_urchaseReturn'
  2001. },
  2002. hideChildrenInMenu: true,
  2003. children: [
  2004. {
  2005. path: 'list',
  2006. name: 'urchaseReturnList',
  2007. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  2008. meta: {
  2009. title: '采购退货单报表列表',
  2010. icon: 'profile',
  2011. hidden: true,
  2012. permission: 'M_urchaseReturnList'
  2013. }
  2014. }
  2015. ]
  2016. },
  2017. {
  2018. path: '/reportData/urchaseDetailReturn',
  2019. redirect: '/reportData/urchaseDetailReturn/detailList',
  2020. name: 'urchaseDetailReturnList',
  2021. component: BlankLayout,
  2022. meta: {
  2023. title: '采购退货单明细报表',
  2024. icon: 'profile',
  2025. permission: 'M_urchaseDetailReturn'
  2026. },
  2027. hideChildrenInMenu: true,
  2028. children: [
  2029. {
  2030. path: 'detailList',
  2031. name: 'urchaseDetailReturnList',
  2032. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  2033. meta: {
  2034. title: '采购退货单明细报表列表',
  2035. icon: 'profile',
  2036. hidden: true,
  2037. permission: 'M_urchaseDetailReturnList'
  2038. }
  2039. }
  2040. ]
  2041. },
  2042. {
  2043. path: '/reportData/salesReturnsReport',
  2044. redirect: '/reportData/salesReturnsReport/list',
  2045. name: 'salesReturnsReport',
  2046. component: BlankLayout,
  2047. meta: {
  2048. title: '销售退货单报表',
  2049. icon: 'profile',
  2050. permission: 'M_salesReturnsReportList'
  2051. },
  2052. hideChildrenInMenu: true,
  2053. children: [
  2054. {
  2055. path: 'list',
  2056. name: 'salesReturnsReportList',
  2057. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  2058. meta: {
  2059. title: '销售退货单报表列表',
  2060. icon: 'profile',
  2061. hidden: true,
  2062. permission: 'M_salesReturnsReportList'
  2063. }
  2064. }
  2065. ]
  2066. },
  2067. {
  2068. path: '/reportData/salesReturnDetailReport',
  2069. redirect: '/reportData/salesReturnDetailReport/list',
  2070. name: 'salesReturnDetailReport',
  2071. component: BlankLayout,
  2072. meta: {
  2073. title: '销售退货明细报表',
  2074. icon: 'profile',
  2075. permission: 'M_salesReturnDetailReportList'
  2076. },
  2077. hideChildrenInMenu: true,
  2078. children: [{
  2079. path: 'list',
  2080. name: 'salesReturnDetailReportList',
  2081. component: () => import(/* webpackChunkName: "reportData" */
  2082. '@/views/reportData/salesReturnDetailReport/list.vue'),
  2083. meta: {
  2084. title: '销售退货明细报表列表',
  2085. icon: 'profile',
  2086. hidden: true,
  2087. permission: 'M_salesReturnDetailReportList'
  2088. }
  2089. }]
  2090. },
  2091. {
  2092. path: '/reportData/transferReturnReport',
  2093. redirect: '/reportData/transferReturnReport/list',
  2094. name: 'transferReturnReport',
  2095. component: BlankLayout,
  2096. meta: {
  2097. title: '调拨退货单报表',
  2098. icon: 'profile',
  2099. permission: 'M_transferReturnReportList'
  2100. },
  2101. hideChildrenInMenu: true,
  2102. children: [
  2103. {
  2104. path: 'list',
  2105. name: 'transferReturnReportList',
  2106. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  2107. meta: {
  2108. title: '调拨退货单报表列表',
  2109. icon: 'profile',
  2110. hidden: true,
  2111. permission: 'M_transferReturnReportList'
  2112. }
  2113. }
  2114. ]
  2115. },
  2116. {
  2117. path: '/reportData/transferReturnDetailReport',
  2118. redirect: '/reportData/transferReturnDetailReport/list',
  2119. name: 'transferReturnDetailReport',
  2120. component: BlankLayout,
  2121. meta: {
  2122. title: '调拨退货单明细报表',
  2123. icon: 'profile',
  2124. permission: 'M_transferReturnDetailReportList'
  2125. },
  2126. hideChildrenInMenu: true,
  2127. children: [{
  2128. path: 'list',
  2129. name: 'transferReturnDetailReportList',
  2130. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  2131. meta: {
  2132. title: '调拨退货单明细报表列表',
  2133. icon: 'profile',
  2134. hidden: true,
  2135. permission: 'M_transferReturnDetailReportList'
  2136. }
  2137. }]
  2138. },
  2139. {
  2140. path: '/reportData/salesReturnReport',
  2141. redirect: '/reportData/salesReturnReport/list',
  2142. name: 'salesReturnReport',
  2143. component: BlankLayout,
  2144. meta: {
  2145. title: '实售退货报表',
  2146. icon: 'profile',
  2147. permission: 'M_salesReturnReportList'
  2148. },
  2149. hideChildrenInMenu: true,
  2150. children: [
  2151. {
  2152. path: 'list',
  2153. name: 'salesReturnReportList',
  2154. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  2155. meta: {
  2156. title: '实售退货列表',
  2157. icon: 'profile',
  2158. hidden: true,
  2159. permission: 'M_salesReturnReportList'
  2160. }
  2161. }
  2162. ]
  2163. },
  2164. {
  2165. path: '/reportData/billingReturnReport',
  2166. redirect: '/reportData/billingReturnReport/list',
  2167. name: 'billingReturnReport',
  2168. component: BlankLayout,
  2169. meta: {
  2170. title: '开单退货报表',
  2171. icon: 'profile',
  2172. permission: 'M_billingReturnReportList'
  2173. },
  2174. hideChildrenInMenu: true,
  2175. children: [
  2176. {
  2177. path: 'list',
  2178. name: 'billingReturnReportList',
  2179. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  2180. meta: {
  2181. title: '开单退货列表',
  2182. icon: 'profile',
  2183. hidden: true,
  2184. permission: 'M_billingReturnReportList'
  2185. }
  2186. }
  2187. ]
  2188. },
  2189. {
  2190. path: '/reportData/returnSlipReport',
  2191. redirect: '/reportData/returnSlipReport/list',
  2192. name: 'returnSlipReport',
  2193. component: BlankLayout,
  2194. meta: {
  2195. title: '开单退货单报表',
  2196. icon: 'profile',
  2197. permission: 'M_returnSlipReportList'
  2198. },
  2199. hideChildrenInMenu: true,
  2200. children: [{
  2201. path: 'list',
  2202. name: 'returnSlipReportList',
  2203. component: () => import(/* webpackChunkName: "reportData" */
  2204. '@/views/reportData/returnSlipReport/list.vue'),
  2205. meta: {
  2206. title: '开单退货单报表列表',
  2207. icon: 'profile',
  2208. hidden: true,
  2209. permission: 'M_returnSlipReportList'
  2210. }
  2211. }]
  2212. },
  2213. {
  2214. path: '/reportData/billingBackReport',
  2215. redirect: '/reportData/billingBackReport/list',
  2216. name: 'billingBackReport',
  2217. component: BlankLayout,
  2218. meta: {
  2219. title: '开单采退报表',
  2220. icon: 'profile',
  2221. permission: 'M_billingBackReport'
  2222. },
  2223. hideChildrenInMenu: true,
  2224. children: [{
  2225. path: 'list',
  2226. name: 'billingBackReportList',
  2227. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2228. meta: {
  2229. title: '开单采退报表列表',
  2230. icon: 'profile',
  2231. hidden: true,
  2232. permission: 'M_billingBackReportList'
  2233. }
  2234. }]
  2235. },
  2236. {
  2237. path: '/reportData/billingOrderReport',
  2238. redirect: '/reportData/billingOrderReport/list',
  2239. name: 'billingOrderReport',
  2240. component: BlankLayout,
  2241. meta: {
  2242. title: '开单采退单报表',
  2243. icon: 'profile',
  2244. permission: 'M_billingOrderReport'
  2245. },
  2246. hideChildrenInMenu: true,
  2247. children: [{
  2248. path: 'list',
  2249. name: 'billingOrderReportList',
  2250. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2251. meta: {
  2252. title: '开单采退单报表列表',
  2253. icon: 'profile',
  2254. hidden: true,
  2255. permission: 'M_billingOrderReportList'
  2256. }
  2257. }]
  2258. },
  2259. {
  2260. path: '/reportData/hPriceDifferenceDetailReport',
  2261. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2262. name: 'hPriceDifferenceDetailReport',
  2263. component: BlankLayout,
  2264. meta: {
  2265. title: '总部差价明细报表',
  2266. icon: 'profile',
  2267. permission: 'M_hPriceDifferenceDetailReportList'
  2268. },
  2269. hideChildrenInMenu: true,
  2270. children: [
  2271. {
  2272. path: 'list',
  2273. name: 'hPriceDifferenceDetailReportList',
  2274. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2275. meta: {
  2276. title: '总部差价明细列表',
  2277. icon: 'profile',
  2278. hidden: true,
  2279. permission: 'M_hPriceDifferenceDetailReportList'
  2280. }
  2281. }
  2282. ]
  2283. },
  2284. {
  2285. path: '/reportData/priceDifferenceDetailReport',
  2286. redirect: '/reportData/priceDifferenceDetailReport/list',
  2287. name: 'priceDifferenceDetailReport',
  2288. component: BlankLayout,
  2289. meta: {
  2290. title: '差价明细报表',
  2291. icon: 'profile',
  2292. permission: 'M_priceDifferenceDetailReportList'
  2293. },
  2294. hideChildrenInMenu: true,
  2295. children: [
  2296. {
  2297. path: 'list',
  2298. name: 'priceDifferenceDetailReportList',
  2299. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2300. meta: {
  2301. title: '差价明细列表',
  2302. icon: 'profile',
  2303. hidden: true,
  2304. permission: 'M_priceDifferenceDetailReportList'
  2305. }
  2306. }
  2307. ]
  2308. },
  2309. {
  2310. path: '/reportData/regionTypeSalesReport',
  2311. redirect: '/reportData/regionTypeSalesReport/list',
  2312. name: 'regionTypeSalesReport',
  2313. component: BlankLayout,
  2314. meta: {
  2315. title: '各分区品类实售明细',
  2316. icon: 'profile',
  2317. permission: 'M_regionTypeSalesReportList'
  2318. },
  2319. hideChildrenInMenu: true,
  2320. children: [
  2321. {
  2322. path: 'list',
  2323. name: 'regionTypeSalesReportList',
  2324. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2325. meta: {
  2326. title: '各分区品类实售明细',
  2327. icon: 'profile',
  2328. hidden: true,
  2329. permission: 'M_regionTypeSalesReportList'
  2330. }
  2331. }
  2332. ]
  2333. },
  2334. {
  2335. path: '/reportData/warehousingOrder',
  2336. redirect: '/reportData/warehousingOrder/list',
  2337. name: 'warehousingOrder',
  2338. component: BlankLayout,
  2339. meta: {
  2340. title: '入库单报表',
  2341. icon: 'profile',
  2342. permission: 'M_warehousingOrderList'
  2343. },
  2344. hideChildrenInMenu: true,
  2345. children: [
  2346. {
  2347. path: 'list',
  2348. name: 'warehousingOrderList',
  2349. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2350. meta: {
  2351. title: '入库单报表列表',
  2352. icon: 'profile',
  2353. hidden: true,
  2354. permission: 'M_warehousingOrderList'
  2355. }
  2356. }
  2357. ]
  2358. },
  2359. {
  2360. path: '/reportData/warehousingOrderDetail',
  2361. redirect: '/reportData/warehousingOrderDetail/list',
  2362. name: 'warehousingOrderDetail',
  2363. component: BlankLayout,
  2364. meta: {
  2365. title: '入库单明细报表',
  2366. icon: 'profile',
  2367. permission: 'M_warehousingOrderDetailList'
  2368. },
  2369. hideChildrenInMenu: true,
  2370. children: [
  2371. {
  2372. path: 'list',
  2373. name: 'warehousingOrderDetailList',
  2374. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2375. meta: {
  2376. title: '入库单明细报表列表',
  2377. icon: 'profile',
  2378. hidden: true,
  2379. permission: 'M_warehousingOrderDetailList'
  2380. }
  2381. }
  2382. ]
  2383. },
  2384. {
  2385. path: '/reportData/salesPresentation',
  2386. redirect: '/reportData/salesPresentation/list',
  2387. name: 'salesPresentation',
  2388. component: BlankLayout,
  2389. meta: {
  2390. title: '销售交单报表',
  2391. icon: 'profile',
  2392. permission: 'M_salesPresentationList'
  2393. },
  2394. hideChildrenInMenu: true,
  2395. children: [
  2396. {
  2397. path: 'list',
  2398. name: 'salesPresentationList',
  2399. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2400. meta: {
  2401. title: '销售交单报表列表',
  2402. icon: 'profile',
  2403. hidden: true,
  2404. permission: 'M_salesPresentationList'
  2405. }
  2406. }
  2407. ]
  2408. },
  2409. {
  2410. path: '/reportData/allocationPresentation',
  2411. redirect: '/reportData/allocationPresentation/list',
  2412. name: 'allocationPresentation',
  2413. component: BlankLayout,
  2414. meta: {
  2415. title: '调拨交单报表',
  2416. icon: 'profile',
  2417. permission: 'M_allocationPresentationList'
  2418. },
  2419. hideChildrenInMenu: true,
  2420. children: [
  2421. {
  2422. path: 'list',
  2423. name: 'allocationPresentationList',
  2424. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2425. meta: {
  2426. title: '调拨交单报表列表',
  2427. icon: 'profile',
  2428. hidden: true,
  2429. permission: 'M_allocationPresentationList'
  2430. }
  2431. }
  2432. ]
  2433. },
  2434. {
  2435. path: '/reportData/returnGoodsPresentation',
  2436. redirect: '/reportData/returnGoodsPresentation/list',
  2437. name: 'returnGoodsPresentation',
  2438. component: BlankLayout,
  2439. meta: {
  2440. title: '退货交单报表',
  2441. icon: 'profile',
  2442. permission: 'M_returnGoodsPresentationList'
  2443. },
  2444. hideChildrenInMenu: true,
  2445. children: [
  2446. {
  2447. path: 'list',
  2448. name: 'returnGoodsPresentationList',
  2449. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2450. meta: {
  2451. title: '退货交单报表列表',
  2452. icon: 'profile',
  2453. hidden: true,
  2454. permission: 'M_returnGoodsPresentationList'
  2455. }
  2456. }
  2457. ]
  2458. },
  2459. {
  2460. path: '/reportData/expenseAccountBearerReport',
  2461. redirect: '/reportData/expenseAccountBearerReport/list',
  2462. name: 'expenseAccountBearerReport',
  2463. component: BlankLayout,
  2464. meta: {
  2465. title: '费用汇总报表(按承担方)',
  2466. icon: 'profile',
  2467. permission: 'M_expenseAccountBearerReportList'
  2468. },
  2469. hideChildrenInMenu: true,
  2470. children: [
  2471. {
  2472. path: 'list',
  2473. name: 'expenseAccountBearerReportList',
  2474. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2475. meta: {
  2476. title: '费用汇总报表(按承担方)',
  2477. icon: 'profile',
  2478. hidden: true,
  2479. permission: 'M_expenseAccountBearerReportList'
  2480. }
  2481. }
  2482. ]
  2483. },
  2484. {
  2485. path: '/reportData/expenseAccountCategoryReport',
  2486. redirect: '/reportData/expenseAccountCategoryReport/list',
  2487. name: 'expenseAccountCategoryReport',
  2488. component: BlankLayout,
  2489. meta: {
  2490. title: '费用汇总报表(按品类)',
  2491. icon: 'profile',
  2492. permission: 'M_expenseAccountCategoryReportList'
  2493. },
  2494. hideChildrenInMenu: true,
  2495. children: [
  2496. {
  2497. path: 'list',
  2498. name: 'expenseAccountCategoryReportList',
  2499. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2500. meta: {
  2501. title: '费用汇总报表(按品类)',
  2502. icon: 'profile',
  2503. hidden: true,
  2504. permission: 'M_expenseAccountCategoryReportList'
  2505. }
  2506. }
  2507. ]
  2508. },
  2509. {
  2510. path: '/reportData/receivedSendStorageReport',
  2511. redirect: '/reportData/receivedSendStorageReport/index',
  2512. name: 'receivedSendStorageReport',
  2513. component: BlankLayout,
  2514. meta: {
  2515. title: '收发存报表',
  2516. icon: 'profile',
  2517. permission: 'M_receivedSendStorageReport'
  2518. },
  2519. hideChildrenInMenu: true,
  2520. children: [
  2521. {
  2522. path: 'index',
  2523. name: 'receivedSendStorageReportIndex',
  2524. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2525. meta: {
  2526. title: '收发存报表',
  2527. icon: 'profile',
  2528. hidden: true,
  2529. permission: 'M_receivedSendStorageReportList'
  2530. }
  2531. }
  2532. ]
  2533. },
  2534. {
  2535. path: '/productRebateReport/index',
  2536. redirect: '/productRebateReport/index/list',
  2537. name: 'productRebateReportList',
  2538. component: BlankLayout,
  2539. meta: {
  2540. title: '产品返利明细表',
  2541. icon: 'profile',
  2542. permission: 'M_productRebateReportList'
  2543. },
  2544. hideChildrenInMenu: true,
  2545. children: [
  2546. {
  2547. path: 'list',
  2548. name: 'productRebateReportList',
  2549. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2550. meta: {
  2551. title: '产品返利明细表',
  2552. icon: 'profile',
  2553. hidden: true,
  2554. permission: 'M_productRebateReportList'
  2555. }
  2556. }
  2557. ]
  2558. }
  2559. // {
  2560. // path: '/reportData/allCountryCostReport',
  2561. // redirect: '/reportData/allCountryCostReport/list',
  2562. // name: 'allCountryCostReport',
  2563. // component: BlankLayout,
  2564. // meta: {
  2565. // title: '全国费用统计报表',
  2566. // icon: 'profile'
  2567. // // permission: 'M_nationalCustomerCostStatisticsList'
  2568. // },
  2569. // hideChildrenInMenu: true,
  2570. // children: [
  2571. // {
  2572. // path: 'list',
  2573. // name: 'allCountryCostReportList',
  2574. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2575. // meta: {
  2576. // title: '全国费用统计报表',
  2577. // icon: 'profile',
  2578. // hidden: true
  2579. // // permission: 'M_nationalCustomerCostStatisticsList'
  2580. // }
  2581. // }
  2582. // ]
  2583. // }
  2584. ]
  2585. },
  2586. // 数据导出
  2587. {
  2588. path: '/dataExport',
  2589. redirect: '/dataExport/exportSales',
  2590. component: PageView,
  2591. meta: {
  2592. title: '数据导出',
  2593. icon: 'database',
  2594. permission: 'M_dataExport'
  2595. },
  2596. children: [
  2597. {
  2598. path: '/dataExport/exportSales',
  2599. redirect: '/dataExport/exportSales/list',
  2600. name: 'exportSales',
  2601. component: BlankLayout,
  2602. meta: {
  2603. title: '导出销售',
  2604. icon: 'gold',
  2605. permission: 'M_exportSales'
  2606. },
  2607. hideChildrenInMenu: true,
  2608. children: [
  2609. {
  2610. path: 'list',
  2611. name: 'exportSalesList',
  2612. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2613. meta: {
  2614. title: '导出销售',
  2615. icon: 'gold',
  2616. hidden: true,
  2617. permission: 'M_exportSales'
  2618. }
  2619. }
  2620. ]
  2621. },
  2622. {
  2623. path: '/dataExport/exportCheck',
  2624. redirect: '/dataExport/exportCheck/list',
  2625. name: 'exportCheck',
  2626. component: BlankLayout,
  2627. meta: {
  2628. title: '导出盘点',
  2629. icon: 'gold',
  2630. permission: 'M_exportCheck'
  2631. },
  2632. hideChildrenInMenu: true,
  2633. children: [
  2634. {
  2635. path: 'list',
  2636. name: 'exportCheckList',
  2637. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2638. meta: {
  2639. title: '导出盘点',
  2640. icon: 'gold',
  2641. hidden: true,
  2642. permission: 'M_exportCheck'
  2643. }
  2644. }
  2645. ]
  2646. }
  2647. ]
  2648. },
  2649. // 产品管理
  2650. {
  2651. path: '/productManagement',
  2652. redirect: '/productManagement/productInfo',
  2653. component: PageView,
  2654. meta: {
  2655. title: '产品管理',
  2656. icon: 'shopping',
  2657. permission: 'M_productManagement'
  2658. },
  2659. children: [
  2660. {
  2661. path: '/productManagement/productInfo',
  2662. redirect: '/productManagement/productInfo/list',
  2663. name: 'productInfo',
  2664. component: BlankLayout,
  2665. meta: {
  2666. title: '产品列表',
  2667. icon: 'gold',
  2668. permission: 'M_productInfoList'
  2669. },
  2670. hideChildrenInMenu: true,
  2671. children: [
  2672. {
  2673. path: 'list',
  2674. name: 'productInfoList',
  2675. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2676. meta: {
  2677. title: '产品列表',
  2678. icon: 'gold',
  2679. hidden: true,
  2680. permission: 'M_productInfoList'
  2681. }
  2682. },
  2683. {
  2684. path: 'add',
  2685. name: 'productInfoAdd',
  2686. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2687. meta: {
  2688. title: '新增产品',
  2689. icon: 'gold',
  2690. hidden: true
  2691. // permission: 'B_goodsManage_edit'
  2692. }
  2693. },
  2694. {
  2695. path: 'edit/:id/:sn',
  2696. name: 'productInfoEdit',
  2697. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2698. meta: {
  2699. title: '编辑产品',
  2700. icon: 'gold',
  2701. hidden: true
  2702. // permission: 'B_goodsManage_edit'
  2703. }
  2704. }
  2705. ]
  2706. },
  2707. {
  2708. path: '/productManagement/productPricing',
  2709. redirect: '/productManagement/productPricing/list',
  2710. name: 'productPricing',
  2711. component: BlankLayout,
  2712. meta: {
  2713. title: '产品定价',
  2714. icon: 'transaction',
  2715. permission: 'M_productPricingList'
  2716. },
  2717. hideChildrenInMenu: true,
  2718. children: [
  2719. {
  2720. path: 'list',
  2721. name: 'productPricingList',
  2722. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2723. meta: {
  2724. title: '产品定价列表',
  2725. icon: 'transaction',
  2726. hidden: true,
  2727. permission: 'M_productPricingList'
  2728. }
  2729. }
  2730. ]
  2731. },
  2732. {
  2733. path: '/productManagement/productLaunchAudit',
  2734. redirect: '/productManagement/productLaunchAudit/list',
  2735. name: 'productLaunchAudit',
  2736. component: BlankLayout,
  2737. meta: {
  2738. title: '产品上线审核',
  2739. icon: 'rise',
  2740. permission: 'M_productLaunchAuditList'
  2741. },
  2742. hideChildrenInMenu: true,
  2743. children: [
  2744. {
  2745. path: 'list',
  2746. name: 'productLaunchAuditList',
  2747. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2748. meta: {
  2749. title: '产品上线审核列表',
  2750. icon: 'rise',
  2751. hidden: true,
  2752. permission: 'M_productLaunchAuditList'
  2753. }
  2754. }
  2755. ]
  2756. },
  2757. {
  2758. path: '/productManagement/newProduct',
  2759. redirect: '/productManagement/newProduct/list/onlineInfo/1',
  2760. name: 'productLaunchInfo',
  2761. component: BlankLayout,
  2762. meta: {
  2763. title: '产品上线信息',
  2764. icon: 'rise',
  2765. permission: 'M_productLaunchInfoList'
  2766. },
  2767. hideChildrenInMenu: true,
  2768. children: [
  2769. {
  2770. path: 'list/:type/:onlineFalg',
  2771. name: 'productLaunchInfoList',
  2772. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list.vue'),
  2773. meta: {
  2774. title: '产品上线信息列表',
  2775. icon: 'rise',
  2776. hidden: true,
  2777. permission: 'M_productLaunchInfoList'
  2778. }
  2779. }
  2780. ]
  2781. },
  2782. {
  2783. path: '/productManagement/productOfflineAudit',
  2784. redirect: '/productManagement/productOfflineAudit/list',
  2785. name: 'productOfflineAudit',
  2786. component: BlankLayout,
  2787. meta: {
  2788. title: '产品下线审核',
  2789. icon: 'fall',
  2790. permission: 'M_productOfflineAuditList'
  2791. },
  2792. hideChildrenInMenu: true,
  2793. children: [
  2794. {
  2795. path: 'list',
  2796. name: 'productOfflineAuditList',
  2797. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2798. meta: {
  2799. title: '产品下线审核列表',
  2800. icon: 'fall',
  2801. hidden: true,
  2802. permission: 'M_productOfflineAuditList'
  2803. }
  2804. }
  2805. ]
  2806. },
  2807. {
  2808. path: '/productManagement/productNotOnline',
  2809. redirect: '/productManagement/productNotOnline/list',
  2810. name: 'productNotOnline',
  2811. component: BlankLayout,
  2812. meta: {
  2813. title: '产品状态信息',
  2814. icon: 'fall',
  2815. permission: 'M_productNotOnlineList'
  2816. },
  2817. hideChildrenInMenu: true,
  2818. children: [
  2819. {
  2820. path: 'list',
  2821. name: 'productNotOnlineList',
  2822. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
  2823. meta: {
  2824. title: '产品状态信息列表',
  2825. icon: 'fall',
  2826. hidden: true,
  2827. permission: 'M_productNotOnlineList'
  2828. }
  2829. }
  2830. ]
  2831. },
  2832. {
  2833. path: '/productManagement/priceChangeRecord',
  2834. redirect: '/productManagement/priceChangeRecord/list',
  2835. name: 'priceChangeRecord',
  2836. component: BlankLayout,
  2837. meta: {
  2838. title: '价格变更记录',
  2839. icon: 'profile',
  2840. permission: 'M_priceChangeRecordList'
  2841. },
  2842. hideChildrenInMenu: true,
  2843. children: [
  2844. {
  2845. path: 'list',
  2846. name: 'priceChangeRecordList',
  2847. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2848. meta: {
  2849. title: '价格变更记录列表',
  2850. icon: 'profile',
  2851. hidden: true,
  2852. permission: 'M_priceChangeRecordList'
  2853. }
  2854. }
  2855. ]
  2856. },
  2857. {
  2858. path: '/productManagement/productUniversal',
  2859. redirect: '/productManagement/productUniversal/list',
  2860. name: 'productUniversal',
  2861. component: BlankLayout,
  2862. meta: {
  2863. title: '通用产品管理',
  2864. icon: 'deployment-unit',
  2865. permission: 'M_productUniversalList'
  2866. },
  2867. hideChildrenInMenu: true,
  2868. children: [
  2869. {
  2870. path: 'list',
  2871. name: 'productUniversalList',
  2872. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2873. meta: {
  2874. title: '通用产品列表',
  2875. icon: 'deployment-unit',
  2876. hidden: true,
  2877. permission: 'M_productUniversalList'
  2878. }
  2879. }
  2880. ]
  2881. },
  2882. {
  2883. path: '/productManagement/productLevel',
  2884. redirect: '/productManagement/productLevel/list',
  2885. name: 'productLevel',
  2886. component: BlankLayout,
  2887. meta: {
  2888. title: '产品级别管理',
  2889. icon: 'fund',
  2890. permission: 'M_productLevelList'
  2891. },
  2892. hideChildrenInMenu: true,
  2893. children: [
  2894. {
  2895. path: 'list',
  2896. name: 'productLevelList',
  2897. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2898. meta: {
  2899. title: '产品级别列表',
  2900. icon: 'fund',
  2901. hidden: true,
  2902. permission: 'M_productLevelList'
  2903. }
  2904. }
  2905. ]
  2906. },
  2907. {
  2908. path: '/productManagement/productBrand',
  2909. redirect: '/productManagement/productBrand/list',
  2910. name: 'productBrand',
  2911. component: BlankLayout,
  2912. meta: {
  2913. title: '产品品牌管理',
  2914. icon: 'file-ppt',
  2915. permission: 'M_productBrandList'
  2916. },
  2917. hideChildrenInMenu: true,
  2918. children: [
  2919. {
  2920. path: 'list',
  2921. name: 'productBrandList',
  2922. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2923. meta: {
  2924. title: '产品品牌列表',
  2925. icon: 'file-ppt',
  2926. hidden: true,
  2927. permission: 'M_productBrandList'
  2928. }
  2929. }
  2930. ]
  2931. },
  2932. {
  2933. path: '/productManagement/productCategory',
  2934. redirect: '/productManagement/productCategory/list',
  2935. name: 'productCategory',
  2936. component: BlankLayout,
  2937. meta: {
  2938. title: '产品分类管理',
  2939. icon: 'radar-chart',
  2940. permission: 'M_productCategoryList'
  2941. },
  2942. hideChildrenInMenu: true,
  2943. children: [
  2944. {
  2945. path: 'list',
  2946. name: 'productCategoryList',
  2947. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2948. meta: {
  2949. title: '产品分类列表',
  2950. icon: 'radar-chart',
  2951. hidden: true,
  2952. permission: 'M_productCategoryList'
  2953. }
  2954. }
  2955. ]
  2956. },
  2957. {
  2958. path: '/productManagement/shelfNoManage',
  2959. redirect: '/productManagement/shelfNoManage/list',
  2960. name: 'shelfNoManage',
  2961. component: BlankLayout,
  2962. meta: {
  2963. title: '货位编号管理',
  2964. icon: 'radar-chart',
  2965. permission: 'M_shelfNoManageList'
  2966. },
  2967. hideChildrenInMenu: true,
  2968. children: [
  2969. {
  2970. path: 'list',
  2971. name: 'shelfNoManageList',
  2972. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2973. meta: {
  2974. title: '货位编号管理',
  2975. icon: 'radar-chart',
  2976. hidden: true,
  2977. permission: 'M_shelfNoManageList'
  2978. }
  2979. }
  2980. ]
  2981. },
  2982. {
  2983. path: '/productManagement/productSourcePath',
  2984. redirect: '/productManagement/productSourcePath/list',
  2985. name: 'productSourcePath',
  2986. component: BlankLayout,
  2987. meta: {
  2988. title: '唯一码追溯列表',
  2989. icon: 'radar-chart',
  2990. permission: 'M_productSourcePathList'
  2991. },
  2992. hideChildrenInMenu: true,
  2993. children: [
  2994. {
  2995. path: 'list',
  2996. name: 'productSourcePathList',
  2997. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productSourcePath/list.vue'),
  2998. meta: {
  2999. title: '唯一码追溯列表',
  3000. icon: 'radar-chart',
  3001. hidden: true,
  3002. permission: 'M_productSourcePathList'
  3003. }
  3004. }
  3005. ]
  3006. }
  3007. ]
  3008. },
  3009. // 经销商管理
  3010. {
  3011. path: '/dealerManagement',
  3012. redirect: '/dealerManagement/marketingDivisionSet',
  3013. component: PageView,
  3014. meta: {
  3015. title: '经销商管理',
  3016. icon: 'idcard',
  3017. permission: 'M_dealerManagement'
  3018. },
  3019. children: [
  3020. {
  3021. path: '/dealerManagement/merchantInfoManagement',
  3022. redirect: '/dealerManagement/merchantInfoManagement/list',
  3023. name: 'merchantInfoManagement',
  3024. component: BlankLayout,
  3025. meta: {
  3026. title: '经销商资料管理',
  3027. icon: 'file-text',
  3028. permission: 'M_merchantInfoManagementList'
  3029. },
  3030. hideChildrenInMenu: true,
  3031. children: [
  3032. {
  3033. path: 'list',
  3034. name: 'merchantInfoManagementList',
  3035. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  3036. meta: {
  3037. title: '经销商资料列表',
  3038. icon: 'file-text',
  3039. hidden: true,
  3040. permission: 'M_merchantInfoManagementList'
  3041. }
  3042. },
  3043. {
  3044. path: 'add',
  3045. name: 'merchantInfoManagementAdd',
  3046. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3047. meta: {
  3048. title: '新增经销商',
  3049. icon: 'file-text',
  3050. hidden: true
  3051. }
  3052. },
  3053. {
  3054. path: 'edit/:id',
  3055. name: 'merchantInfoManagementEdit',
  3056. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3057. meta: {
  3058. title: '编辑经销商',
  3059. icon: 'file-text',
  3060. hidden: true
  3061. }
  3062. },
  3063. {
  3064. path: 'permissionSetting/:sn/:name/:dealerLevel',
  3065. name: 'merchantInfoManagementSet',
  3066. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSettingNew.vue'),
  3067. meta: {
  3068. title: '经销权设置',
  3069. icon: 'file-text',
  3070. replaceTab: true,
  3071. hidden: true
  3072. }
  3073. },
  3074. {
  3075. path: 'rebateBinding/:sn',
  3076. name: 'rebateBinding',
  3077. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateBinding/list.vue'),
  3078. meta: {
  3079. title: '差价设置',
  3080. icon: 'file-text',
  3081. replaceTab: true,
  3082. hidden: true
  3083. }
  3084. }
  3085. ]
  3086. },
  3087. {
  3088. path: '/dealerManagement/dealerAccountManagement',
  3089. redirect: '/dealerManagement/dealerAccountManagement/list',
  3090. name: 'dealerAccountManagement',
  3091. component: BlankLayout,
  3092. meta: {
  3093. title: '经销商账号管理',
  3094. icon: 'team',
  3095. permission: 'M_dealerAccountManagementList'
  3096. },
  3097. hideChildrenInMenu: true,
  3098. children: [
  3099. {
  3100. path: 'list',
  3101. name: 'dealerAccountManagementList',
  3102. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  3103. meta: {
  3104. title: '经销商账号列表',
  3105. icon: 'team',
  3106. hidden: true,
  3107. permission: 'M_dealerAccountManagementList'
  3108. }
  3109. }
  3110. ]
  3111. },
  3112. // {
  3113. // path: '/dealerManagement/dealerRelationshipBinding',
  3114. // redirect: '/dealerManagement/dealerRelationshipBinding/list',
  3115. // name: 'dealerRelationshipBinding',
  3116. // component: BlankLayout,
  3117. // meta: {
  3118. // title: '经销商关系绑定',
  3119. // icon: 'share-alt',
  3120. // permission: 'M_dealerRelationshipBindingList'
  3121. // },
  3122. // hideChildrenInMenu: true,
  3123. // children: [
  3124. // {
  3125. // path: 'list',
  3126. // name: 'dealerRelationshipBindingList',
  3127. // component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  3128. // meta: {
  3129. // title: '经销商关系绑定列表',
  3130. // icon: 'share-alt',
  3131. // hidden: true,
  3132. // permission: 'M_dealerRelationshipBindingList'
  3133. // }
  3134. // }
  3135. // ]
  3136. // },
  3137. // {
  3138. // path: '/dealerManagement/rebateSettings',
  3139. // redirect: '/dealerManagement/rebateSettings/list',
  3140. // name: 'rebateSettings',
  3141. // component: BlankLayout,
  3142. // meta: {
  3143. // title: '差价归属设置',
  3144. // icon: 'stock',
  3145. // permission: 'M_rebateSettingsList'
  3146. // },
  3147. // hideChildrenInMenu: true,
  3148. // children: [
  3149. // {
  3150. // path: 'list',
  3151. // name: 'rebateSettingsList',
  3152. // component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  3153. // meta: {
  3154. // title: '差价归属设置列表',
  3155. // icon: 'stock',
  3156. // hidden: true,
  3157. // permission: 'M_rebateSettingsList'
  3158. // }
  3159. // }
  3160. // ]
  3161. // },
  3162. {
  3163. path: '/dealerManagement/provincialWarehouseManagement',
  3164. redirect: '/dealerManagement/provincialWarehouseManagement/list',
  3165. name: 'provincialWarehouse',
  3166. component: BlankLayout,
  3167. meta: {
  3168. title: '省仓管理',
  3169. icon: 'share-alt',
  3170. permission: 'M_provincialWarehouse'
  3171. },
  3172. hideChildrenInMenu: true,
  3173. children: [
  3174. {
  3175. path: 'list',
  3176. name: 'provincialWarehouseList',
  3177. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/list.vue'),
  3178. meta: {
  3179. title: '省仓管理列表',
  3180. icon: 'share-alt',
  3181. hidden: true,
  3182. permission: 'M_provincialWarehouseList'
  3183. }
  3184. },
  3185. {
  3186. path: 'relatedDealers/:sn/:name',
  3187. name: 'relatedDealersList',
  3188. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/relatedDealersList.vue'),
  3189. meta: {
  3190. title: '省仓关联经销商',
  3191. icon: 'share-alt',
  3192. hidden: true,
  3193. replaceTab: true,
  3194. permission: 'M_relatedDealersList'
  3195. }
  3196. }
  3197. ]
  3198. },
  3199. {
  3200. path: '/dealerManagement/marketingDivisionSetNew',
  3201. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3202. name: 'marketingDivisionSetNew',
  3203. component: BlankLayout,
  3204. meta: {
  3205. title: '营销分区设置',
  3206. icon: 'setting',
  3207. permission: 'M_marketingDivisionSetList'
  3208. },
  3209. hideChildrenInMenu: true,
  3210. children: [
  3211. {
  3212. path: 'list',
  3213. name: 'marketingDivisionSetNewList',
  3214. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3215. meta: {
  3216. title: '营销分区列表',
  3217. icon: 'setting',
  3218. hidden: true,
  3219. permission: 'M_marketingDivisionSetList'
  3220. }
  3221. }
  3222. ]
  3223. },
  3224. {
  3225. path: '/dealerManagement/businessOwnerSettings',
  3226. redirect: '/dealerManagement/businessOwnerSettings/list',
  3227. name: 'businessOwnerSettings',
  3228. component: BlankLayout,
  3229. meta: {
  3230. title: '数据权限配置',
  3231. icon: 'stock',
  3232. permission: 'M_businessOwnerSettings'
  3233. },
  3234. hideChildrenInMenu: true,
  3235. children: [
  3236. {
  3237. path: 'list',
  3238. name: 'businessOwnerSettingsList',
  3239. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3240. meta: {
  3241. title: '数据权限配置列表',
  3242. icon: 'stock',
  3243. hidden: true,
  3244. permission: 'M_businessOwnerSettingsList'
  3245. }
  3246. },
  3247. {
  3248. path: 'settingsIndex',
  3249. name: 'categorySet',
  3250. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3251. meta: {
  3252. title: '管辖品类权限设置',
  3253. icon: 'user',
  3254. hidden: true,
  3255. replaceTab: true,
  3256. permission: 'M_settingsIndex'
  3257. }
  3258. }
  3259. ]
  3260. },
  3261. {
  3262. path: '/dealerManagement/dealerZoneSearch',
  3263. redirect: '/dealerManagement/dealerZoneSearch/list',
  3264. name: 'dealerZoneSearch',
  3265. component: BlankLayout,
  3266. meta: {
  3267. title: '经销商所属分区查询',
  3268. icon: 'setting',
  3269. permission: 'M_dealerZoneSearch'
  3270. },
  3271. hideChildrenInMenu: true,
  3272. children: [
  3273. {
  3274. path: 'list',
  3275. name: 'dealerZoneSearchList',
  3276. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3277. meta: {
  3278. title: '经销商所属分区查询',
  3279. icon: 'setting',
  3280. hidden: true,
  3281. permission: 'M_dealerZoneSearchList'
  3282. }
  3283. }
  3284. ]
  3285. }
  3286. ]
  3287. },
  3288. // 供应商管理
  3289. {
  3290. path: '/supplierManagement',
  3291. redirect: '/supplierManagement/supplierInfo',
  3292. component: PageView,
  3293. meta: {
  3294. title: '供应商管理',
  3295. icon: 'team',
  3296. permission: 'M_supplierManagement'
  3297. },
  3298. children: [
  3299. {
  3300. path: '/supplierManagement/supplierInfo',
  3301. redirect: '/supplierManagement/supplierInfo/list',
  3302. name: 'supplierInfo',
  3303. component: BlankLayout,
  3304. meta: {
  3305. title: '供应商列表',
  3306. icon: 'team',
  3307. permission: 'M_supplierInfoList'
  3308. },
  3309. hideChildrenInMenu: true,
  3310. children: [
  3311. {
  3312. path: 'list',
  3313. name: 'supplierInfoList',
  3314. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3315. meta: {
  3316. title: '供应商列表',
  3317. icon: 'team',
  3318. hidden: true,
  3319. permission: 'M_supplierInfoList'
  3320. }
  3321. },
  3322. {
  3323. path: 'add',
  3324. name: 'supplierInfoAdd',
  3325. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3326. meta: {
  3327. title: '新增供应商',
  3328. icon: 'team',
  3329. hidden: true
  3330. // permission: 'B_goodsManage_edit'
  3331. }
  3332. },
  3333. {
  3334. path: 'edit/:id',
  3335. name: 'supplierInfoEdit',
  3336. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3337. meta: {
  3338. title: '编辑供应商',
  3339. icon: 'team',
  3340. hidden: true
  3341. // permission: 'B_goodsManage_edit'
  3342. }
  3343. },
  3344. {
  3345. path: 'associatedProduct/:sn/:name',
  3346. name: 'associatedProduct',
  3347. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3348. meta: {
  3349. title: '关联产品',
  3350. icon: 'team',
  3351. replaceTab: true,
  3352. hidden: true
  3353. // permission: 'B_goodsManage_edit'
  3354. }
  3355. }
  3356. ]
  3357. },
  3358. {
  3359. path: '/supplierManagement/costSetting',
  3360. redirect: '/supplierManagement/costSetting/list',
  3361. name: 'costSetting',
  3362. component: BlankLayout,
  3363. meta: {
  3364. title: '成本设置',
  3365. icon: 'build',
  3366. permission: 'M_costSettingList'
  3367. },
  3368. hideChildrenInMenu: true,
  3369. children: [
  3370. {
  3371. path: 'list',
  3372. name: 'costSettingList',
  3373. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3374. meta: {
  3375. title: '成本设置列表',
  3376. icon: 'build',
  3377. hidden: true
  3378. }
  3379. }
  3380. ]
  3381. },
  3382. {
  3383. path: '/supplierManagement/costSetRecord',
  3384. redirect: '/supplierManagement/costSetRecord/list',
  3385. name: 'costSetRecord',
  3386. component: BlankLayout,
  3387. meta: {
  3388. title: '成本变更记录',
  3389. icon: 'build',
  3390. permission: 'M_costSetRecordList'
  3391. },
  3392. hideChildrenInMenu: true,
  3393. children: [
  3394. {
  3395. path: 'list',
  3396. name: 'costSetRecordList',
  3397. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3398. meta: {
  3399. title: '成本变更记录列表',
  3400. icon: 'build',
  3401. hidden: true
  3402. }
  3403. }
  3404. ]
  3405. },
  3406. {
  3407. path: '/supplierManagement/associatedProductDetails',
  3408. redirect: '/supplierManagement/associatedProductDetails/list',
  3409. name: 'associatedProductDetails',
  3410. component: BlankLayout,
  3411. meta: {
  3412. title: '关联产品明细表',
  3413. icon: 'build',
  3414. permission: 'M_associatedProductDetailsList'
  3415. },
  3416. hideChildrenInMenu: true,
  3417. children: [
  3418. {
  3419. path: 'list',
  3420. name: 'associatedProductDetailsList',
  3421. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3422. meta: {
  3423. title: '关联产品明细列表',
  3424. icon: 'build',
  3425. hidden: true,
  3426. permission: 'M_associatedProductDetailsList'
  3427. }
  3428. }
  3429. ]
  3430. }
  3431. ]
  3432. },
  3433. // 促销管理
  3434. {
  3435. path: '/promotionRulesManagement',
  3436. redirect: '/promotionRulesManagement/promotionRules',
  3437. component: PageView,
  3438. meta: {
  3439. title: '促销管理',
  3440. icon: 'rocket',
  3441. permission: 'M_promotionRulesManagement'
  3442. },
  3443. children: [
  3444. {
  3445. path: '/promotionRulesManagement/promotionManagement',
  3446. redirect: '/promotionRulesManagement/promotionManagement/list',
  3447. name: 'promotionManagement',
  3448. component: BlankLayout,
  3449. meta: {
  3450. title: '修理厂促销',
  3451. icon: 'file-ppt',
  3452. permission: 'M_promotionManagementList'
  3453. },
  3454. hideChildrenInMenu: true,
  3455. children: [
  3456. {
  3457. path: 'list',
  3458. name: 'promotionManagementList',
  3459. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3460. meta: {
  3461. title: '修理厂促销列表',
  3462. icon: 'file-ppt',
  3463. hidden: true,
  3464. permission: 'M_promotionManagementList'
  3465. }
  3466. }
  3467. ]
  3468. },
  3469. {
  3470. path: '/promotionRulesManagement/dealerPromotions',
  3471. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3472. name: 'dealerPromotionManagement',
  3473. component: BlankLayout,
  3474. meta: {
  3475. title: '经销商促销',
  3476. icon: 'setting',
  3477. permission: 'M_dealerPromotionManagementList'
  3478. },
  3479. hideChildrenInMenu: true,
  3480. children: [
  3481. {
  3482. path: 'list',
  3483. name: 'dealerPromotionManagementList',
  3484. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3485. meta: {
  3486. title: '经销商促销',
  3487. icon: 'setting',
  3488. hidden: true,
  3489. permission: 'M_dealerPromotionManagementList'
  3490. }
  3491. },
  3492. {
  3493. path: 'detail',
  3494. name: 'dealerPromotionManagementDetail',
  3495. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3496. meta: {
  3497. title: '促销活动详情',
  3498. icon: 'thunderbolt',
  3499. hidden: true
  3500. }
  3501. },
  3502. {
  3503. path: 'ruleSet',
  3504. name: 'dealerPromotionManagementRule',
  3505. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3506. meta: {
  3507. title: '促销规则设置',
  3508. icon: 'thunderbolt',
  3509. replaceTab: true,
  3510. hidden: true
  3511. }
  3512. }
  3513. ]
  3514. }
  3515. ]
  3516. },
  3517. // 大屏数据
  3518. {
  3519. path: '/bigStatistics',
  3520. redirect: '/bigStatistics/realTimeSalesReport',
  3521. component: PageView,
  3522. meta: {
  3523. title: '数据统计',
  3524. icon: 'desktop',
  3525. permission: 'M_bigScreenStatistics'
  3526. },
  3527. children: [
  3528. {
  3529. path: '/bigStatistics/realTimeSalesReport',
  3530. redirect: '/bigStatistics/realTimeSalesReport/index',
  3531. name: 'bigRealTimeSalesReport',
  3532. component: BigScreen,
  3533. meta: {
  3534. title: '实时销售看板',
  3535. icon: 'deployment-unit',
  3536. permission: 'M_realTimeSalesReportIndex'
  3537. },
  3538. hideChildrenInMenu: true,
  3539. children: [
  3540. {
  3541. path: 'index',
  3542. name: 'realTimeSalesReportIndex',
  3543. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3544. meta: {
  3545. title: '实时销售看板'
  3546. }
  3547. }
  3548. ]
  3549. },
  3550. {
  3551. path: '/bigStatistics/fPanalysisReport',
  3552. redirect: '/bigStatistics/fPanalysisReport/index',
  3553. name: 'bigfPanalysisReport',
  3554. component: BigScreen,
  3555. meta: {
  3556. title: '加盟商/产品分析',
  3557. icon: 'interaction',
  3558. permission: 'M_fPanalysisReportIndex'
  3559. },
  3560. hideChildrenInMenu: true,
  3561. children: [
  3562. {
  3563. path: 'index',
  3564. name: 'fPanalysisReportIndex',
  3565. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3566. meta: {
  3567. title: '加盟商/产品分析'
  3568. }
  3569. }
  3570. ]
  3571. }
  3572. ]
  3573. },
  3574. // 基础设置
  3575. {
  3576. path: '/basicData',
  3577. redirect: '/basicData/warehouse',
  3578. component: PageView,
  3579. meta: {
  3580. title: '基础设置',
  3581. icon: 'pushpin',
  3582. permission: 'M_basicData'
  3583. },
  3584. children: [
  3585. {
  3586. path: '/basicData/warehouse',
  3587. redirect: '/basicData/warehouse/list',
  3588. name: 'warehouse',
  3589. component: BlankLayout,
  3590. meta: {
  3591. title: '仓库管理',
  3592. icon: 'deployment-unit',
  3593. permission: 'M_warehouseList'
  3594. },
  3595. hideChildrenInMenu: true,
  3596. children: [
  3597. {
  3598. path: 'list',
  3599. name: 'warehouseList',
  3600. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3601. meta: {
  3602. title: '仓库列表',
  3603. icon: 'deployment-unit',
  3604. hidden: true,
  3605. permission: 'M_warehouseList'
  3606. }
  3607. },
  3608. {
  3609. path: '/basicData/storingLocation/:sn',
  3610. name: 'storingLocationList',
  3611. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3612. meta: {
  3613. title: '仓位列表',
  3614. icon: 'deployment-unit',
  3615. replaceTab: true,
  3616. hidden: true
  3617. // permission: 'B_goodsManage_edit'
  3618. }
  3619. }
  3620. ]
  3621. },
  3622. {
  3623. path: '/basicData/transferTypeManagement',
  3624. redirect: '/basicData/transferTypeManagement/list',
  3625. name: 'transferTypeManagement',
  3626. component: BlankLayout,
  3627. meta: {
  3628. title: '调拨类型管理',
  3629. icon: 'interaction',
  3630. permission: 'M_transferTypeManagementList'
  3631. },
  3632. hideChildrenInMenu: true,
  3633. children: [
  3634. {
  3635. path: 'list',
  3636. name: 'transferTypeManagementList',
  3637. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3638. meta: {
  3639. title: '调拨类型列表',
  3640. icon: 'interaction',
  3641. hidden: true,
  3642. permission: 'M_transferTypeManagementList'
  3643. }
  3644. }
  3645. ]
  3646. }
  3647. ]
  3648. },
  3649. // 权限管理
  3650. {
  3651. path: '/auth',
  3652. redirect: '/auth/user',
  3653. component: PageView,
  3654. meta: {
  3655. title: '权限管理',
  3656. icon: 'lock',
  3657. permission: 'M_auth_0'
  3658. },
  3659. children: [
  3660. {
  3661. path: '/auth/user',
  3662. redirect: '/auth/user/list',
  3663. name: 'powerUser',
  3664. component: BlankLayout,
  3665. meta: {
  3666. title: '用户管理',
  3667. icon: 'user',
  3668. permission: 'M_userList'
  3669. },
  3670. hideChildrenInMenu: true,
  3671. children: [
  3672. {
  3673. path: 'list',
  3674. name: 'powerUserList',
  3675. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3676. meta: {
  3677. title: '用户管理',
  3678. icon: 'user',
  3679. hidden: true,
  3680. permission: 'M_userList'
  3681. }
  3682. }
  3683. ]
  3684. },
  3685. {
  3686. path: '/auth/role',
  3687. redirect: '/auth/role/list',
  3688. name: 'powerRole',
  3689. component: BlankLayout,
  3690. meta: {
  3691. title: '角色管理',
  3692. icon: 'solution',
  3693. permission: 'M_roleList'
  3694. },
  3695. hideChildrenInMenu: true,
  3696. children: [
  3697. {
  3698. path: 'list',
  3699. name: 'powerRoleList',
  3700. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3701. meta: {
  3702. title: '角色管理',
  3703. icon: 'solution',
  3704. hidden: true,
  3705. permission: 'M_roleList'
  3706. }
  3707. }
  3708. ]
  3709. },
  3710. {
  3711. path: '/auth/adminMenus',
  3712. redirect: '/auth/adminMenus/list',
  3713. name: 'adminMenus',
  3714. component: BlankLayout,
  3715. meta: {
  3716. title: '菜单管理',
  3717. icon: 'appstore',
  3718. permission: 'M_menuList'
  3719. },
  3720. hideChildrenInMenu: true,
  3721. children: [
  3722. {
  3723. path: 'list',
  3724. name: 'adminMenusList',
  3725. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3726. meta: {
  3727. title: '菜单管理',
  3728. icon: 'appstore',
  3729. hidden: true,
  3730. permission: 'M_menuList'
  3731. }
  3732. }
  3733. ]
  3734. }
  3735. ]
  3736. },
  3737. // 系统设置
  3738. {
  3739. path: '/setting',
  3740. redirect: '/setting/dataDictionary',
  3741. component: PageView,
  3742. meta: {
  3743. title: '系统设置',
  3744. icon: 'setting',
  3745. permission: 'M_systemSet'
  3746. },
  3747. children: [
  3748. {
  3749. path: '/setting/dataDictionary',
  3750. redirect: '/setting/dataDictionary/list',
  3751. name: 'dataDictionary',
  3752. component: BlankLayout,
  3753. meta: {
  3754. title: '数据字典管理',
  3755. icon: 'database',
  3756. permission: 'M_dataD_lookup'
  3757. },
  3758. hideChildrenInMenu: true,
  3759. children: [
  3760. {
  3761. path: 'list',
  3762. name: 'powerDD',
  3763. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3764. meta: {
  3765. title: '数据字典管理',
  3766. icon: 'database',
  3767. hidden: true,
  3768. permission: 'M_dataD_lookup'
  3769. }
  3770. }
  3771. ]
  3772. },
  3773. {
  3774. path: '/setting/OperateJournal',
  3775. redirect: '/setting/OperateJournal/list',
  3776. name: 'OperateJournal',
  3777. component: BlankLayout,
  3778. meta: {
  3779. title: '操作日志',
  3780. icon: 'read',
  3781. permission: 'M_OperateJournalList'
  3782. },
  3783. hideChildrenInMenu: true,
  3784. children: [
  3785. {
  3786. path: 'list',
  3787. name: 'powerOperateJournal',
  3788. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3789. meta: {
  3790. title: '操作日志',
  3791. icon: 'read',
  3792. permission: 'M_OperateJournalList'
  3793. }
  3794. }
  3795. ]
  3796. },
  3797. {
  3798. path: '/setting/noticeManagement',
  3799. redirect: '/setting/noticeManagement/list',
  3800. name: 'noticeManagement',
  3801. component: BlankLayout,
  3802. meta: {
  3803. title: '公告管理',
  3804. icon: 'sketch',
  3805. permission: 'M_noticeManagementList'
  3806. },
  3807. hideChildrenInMenu: true,
  3808. children: [
  3809. {
  3810. path: 'list',
  3811. name: 'noticeManagementList',
  3812. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3813. meta: {
  3814. title: '公告列表',
  3815. icon: 'sketch',
  3816. hidden: true,
  3817. permission: 'M_noticeManagementList'
  3818. }
  3819. }
  3820. ]
  3821. },
  3822. {
  3823. path: '/setting/bigScreenSet',
  3824. redirect: '/setting/bigScreenSet/index',
  3825. name: 'bigScreenSet',
  3826. component: BlankLayout,
  3827. meta: {
  3828. title: '大屏参数设置',
  3829. icon: 'sketch',
  3830. permission: 'M_bigScreenSetIndex'
  3831. },
  3832. hideChildrenInMenu: true,
  3833. children: [{
  3834. path: 'index',
  3835. name: 'bigScreenSetIndex',
  3836. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3837. meta: {
  3838. title: '大屏参数设置',
  3839. icon: 'sketch',
  3840. hidden: true,
  3841. permission: 'M_bigScreenSetIndex'
  3842. }
  3843. }]
  3844. },
  3845. {
  3846. path: '/setting/erpMessageManagement',
  3847. redirect: '/setting/erpMessageManagement/list',
  3848. name: 'erpMessageManagement',
  3849. component: BlankLayout,
  3850. meta: {
  3851. title: 'ERP数据同步记录',
  3852. icon: 'sketch',
  3853. permission: 'M_erpMessageList'
  3854. },
  3855. hideChildrenInMenu: true,
  3856. children: [
  3857. {
  3858. path: 'list',
  3859. name: 'M_erpMessageList',
  3860. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3861. meta: {
  3862. title: 'ERP数据同步列表',
  3863. icon: 'sketch',
  3864. hidden: true,
  3865. permission: 'M_erpMessageList'
  3866. }
  3867. }
  3868. ]
  3869. },
  3870. {
  3871. path: '/setting/erpAllotSettings',
  3872. redirect: '/setting/erpAllotSettings/list',
  3873. name: 'erpAllotSettings',
  3874. component: BlankLayout,
  3875. meta: {
  3876. title: 'ERP调拨配置',
  3877. icon: 'sketch',
  3878. permission: 'M_erpAllotMessage'
  3879. },
  3880. hideChildrenInMenu: true,
  3881. children: [
  3882. {
  3883. path: 'list',
  3884. name: 'M_erpAllotSettingsList',
  3885. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpAllotSettings/list.vue'),
  3886. meta: {
  3887. title: 'ERP调拨配置',
  3888. icon: 'sketch',
  3889. hidden: true,
  3890. permission: 'M_erpAllotMessageList'
  3891. }
  3892. }
  3893. ]
  3894. },
  3895. {
  3896. path: '/setting/checkDingTask',
  3897. redirect: '/setting/checkDingTask/list',
  3898. name: 'checkDingTask',
  3899. component: BlankLayout,
  3900. meta: {
  3901. title: '钉钉审批',
  3902. icon: 'sketch',
  3903. permission: 'M_dingAuditUpdate'
  3904. },
  3905. hideChildrenInMenu: true,
  3906. children: [
  3907. {
  3908. path: 'list',
  3909. name: 'M_dingAuditUpdate',
  3910. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  3911. meta: {
  3912. title: '钉钉审批',
  3913. icon: 'sketch',
  3914. hidden: true,
  3915. permission: 'M_dingAuditUpdate'
  3916. }
  3917. }
  3918. ]
  3919. }
  3920. ]
  3921. }
  3922. ]
  3923. },
  3924. {
  3925. path: '*',
  3926. redirect: '/404',
  3927. hidden: true
  3928. }
  3929. ]
  3930. /**
  3931. * 基础路由
  3932. * @type { *[] }
  3933. */
  3934. export const constantRouterMap = [
  3935. {
  3936. path: '/user',
  3937. component: UserLayout,
  3938. redirect: '/user/login',
  3939. hidden: true,
  3940. children: [
  3941. {
  3942. path: 'login',
  3943. name: 'login',
  3944. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3945. },
  3946. {
  3947. path: 'register',
  3948. name: 'register',
  3949. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3950. },
  3951. {
  3952. path: 'register-result',
  3953. name: 'registerResult',
  3954. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3955. },
  3956. {
  3957. path: 'recover',
  3958. name: 'recover',
  3959. component: undefined
  3960. }
  3961. ]
  3962. },
  3963. {
  3964. path: '/bigScreen',
  3965. component: BigScreen,
  3966. redirect: '/bigScreen/realTimeSalesReport',
  3967. hidden: true,
  3968. children: [
  3969. {
  3970. path: 'realTimeSalesReport',
  3971. name: 'realTimeSalesReport',
  3972. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3973. meta: {
  3974. title: '实时销售看板'
  3975. }
  3976. },
  3977. {
  3978. path: 'fPanalysisReport',
  3979. name: 'fPanalysisReport',
  3980. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3981. meta: {
  3982. title: '加盟商/产品分析'
  3983. }
  3984. }
  3985. ]
  3986. },
  3987. {
  3988. path: '/404',
  3989. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3990. }
  3991. ]