router.config.js 135 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. RouteView,
  6. BlankLayout,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: { title: '首页' },
  15. redirect: '/home',
  16. children: [
  17. {
  18. path: '/home',
  19. name: 'homePage',
  20. redirect: '/home',
  21. component: PageView,
  22. meta: {
  23. title: '首页',
  24. icon: 'home'
  25. },
  26. hideChildrenInMenu: true,
  27. children: [
  28. {
  29. path: '/home',
  30. name: 'home',
  31. redirect: '/home',
  32. component: BlankLayout,
  33. meta: {
  34. title: '首页',
  35. icon: 'home',
  36. hidden: true
  37. },
  38. hideChildrenInMenu: true,
  39. children: [
  40. {
  41. path: '/home',
  42. name: 'homeIndex',
  43. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  44. meta: {
  45. title: '首页',
  46. icon: 'home',
  47. hidden: true
  48. }
  49. },
  50. {
  51. path: '/changePwd',
  52. name: 'changePwd',
  53. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  54. meta: {
  55. title: '修改密码',
  56. icon: 'home'
  57. },
  58. hidden: true
  59. },
  60. // 消息
  61. {
  62. path: '/notice',
  63. name: 'notice',
  64. component: () => import(/* webpackChunkName: "home" */ '@/views/notice/list'),
  65. meta: {
  66. title: '消息',
  67. icon: 'bell',
  68. hidden: true
  69. }
  70. },
  71. {
  72. path: '/shoppingCarList',
  73. name: 'shoppingCarList',
  74. component: () => import(/* webpackChunkName: "home" */ '@/views/shoppingCarManagement/shoppingCar/list.vue'),
  75. meta: {
  76. title: '购物车',
  77. icon: 'contacts',
  78. hidden: true
  79. }
  80. }
  81. ]
  82. }
  83. ]
  84. },
  85. // 销售管理
  86. {
  87. path: '/salesManagement',
  88. redirect: '/salesManagement/salesQuery',
  89. component: PageView,
  90. meta: {
  91. title: '销售管理',
  92. icon: 'account-book',
  93. permission: 'M_salesManage'
  94. },
  95. children: [
  96. {
  97. path: '/salesManagement/salesQuery',
  98. redirect: '/salesManagement/salesQuery/list',
  99. name: 'salesQuery',
  100. component: BlankLayout,
  101. meta: {
  102. title: '销售单',
  103. icon: 'monitor',
  104. permission: 'M_salesQueryList'
  105. },
  106. hideChildrenInMenu: true,
  107. children: [
  108. {
  109. path: 'list',
  110. name: 'salesQueryList',
  111. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  112. meta: {
  113. title: '销售单列表',
  114. icon: 'monitor',
  115. hidden: true,
  116. permission: 'M_salesQueryList'
  117. }
  118. },
  119. {
  120. path: 'detail/:sn',
  121. name: 'salesDetail',
  122. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  123. meta: {
  124. title: '销售单详情',
  125. icon: 'monitor',
  126. hidden: true,
  127. permission: 'B_salesDetail'
  128. }
  129. },
  130. {
  131. path: 'add/:id/:sn/:priceType',
  132. name: 'salesAdd',
  133. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  134. meta: {
  135. title: '新增销售单',
  136. icon: 'monitor',
  137. hidden: true,
  138. permission: 'B_salesNews'
  139. }
  140. },
  141. {
  142. path: 'edit/:id/:sn/:priceType',
  143. name: 'salesEdit',
  144. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  145. meta: {
  146. title: '编辑销售单',
  147. icon: 'monitor',
  148. hidden: true,
  149. permission: 'B_salesEdit'
  150. }
  151. }
  152. ]
  153. },
  154. {
  155. path: '/salesManagement/salesQueryNew',
  156. redirect: '/salesManagement/salesQueryNew/list',
  157. name: 'salesQueryNew',
  158. component: BlankLayout,
  159. meta: {
  160. title: '销售单(新版)',
  161. icon: 'monitor',
  162. permission: 'M_salesQueryList'
  163. },
  164. hideChildrenInMenu: true,
  165. children: [
  166. {
  167. path: 'list',
  168. name: 'salesNewList',
  169. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/list.vue'),
  170. meta: {
  171. title: '销售单列表(新版)',
  172. icon: 'monitor',
  173. hidden: true,
  174. permission: 'M_salesQueryList'
  175. }
  176. },
  177. {
  178. path: 'detail/:sn',
  179. name: 'salesNewDetail',
  180. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  181. meta: {
  182. title: '销售单详情(新版)',
  183. icon: 'monitor',
  184. hidden: true,
  185. permission: 'B_salesDetail'
  186. }
  187. },
  188. {
  189. path: 'add/:id/:sn/:priceType',
  190. name: 'salesNewAdd',
  191. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  192. meta: {
  193. title: '新增销售单(新版)',
  194. icon: 'monitor',
  195. hidden: true,
  196. permission: 'B_salesNews'
  197. }
  198. },
  199. {
  200. path: 'edit/:id/:sn/:priceType',
  201. name: 'salesNewEdit',
  202. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  203. meta: {
  204. title: '编辑销售单(新版)',
  205. icon: 'monitor',
  206. hidden: true,
  207. permission: 'B_salesEdit'
  208. }
  209. }
  210. ]
  211. },
  212. {
  213. path: '/salesManagement/urgentItemsOffset',
  214. redirect: '/salesManagement/urgentItemsOffset/list',
  215. name: 'urgentItemsOffset',
  216. component: BlankLayout,
  217. meta: {
  218. title: '急件冲减',
  219. icon: 'rocket',
  220. permission: 'M_urgentItemsOffsetList'
  221. },
  222. hideChildrenInMenu: true,
  223. children: [
  224. {
  225. path: 'list',
  226. name: 'urgentItemsOffsetList',
  227. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/list.vue'),
  228. meta: {
  229. title: '急件冲减列表',
  230. icon: 'rocket',
  231. hidden: true,
  232. permission: 'M_urgentItemsOffsetList'
  233. }
  234. },
  235. {
  236. path: 'detail/:sn',
  237. name: 'urgentItemsOffsetDetail',
  238. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/detail.vue'),
  239. meta: {
  240. title: '急件冲减详情',
  241. icon: 'rocket',
  242. hidden: true,
  243. replaceTab: true,
  244. permission: 'M_urgentDetail'
  245. }
  246. }
  247. ]
  248. },
  249. {
  250. path: '/salesManagement/salesReturn',
  251. redirect: '/salesManagement/salesReturn/list',
  252. name: 'salesReturn',
  253. component: BlankLayout,
  254. meta: {
  255. title: '销售退货',
  256. icon: 'fund',
  257. permission: 'M_salesReturnList'
  258. },
  259. hideChildrenInMenu: true,
  260. children: [
  261. {
  262. path: 'list',
  263. name: 'salesReturnList',
  264. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  265. meta: {
  266. title: '退货单列表',
  267. icon: 'fund',
  268. hidden: true,
  269. permission: 'M_salesReturnList'
  270. }
  271. },
  272. {
  273. path: 'detail/:id/:sn',
  274. name: 'salesReturnDetail',
  275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  276. meta: {
  277. title: '退货单详情',
  278. icon: 'fund',
  279. hidden: true,
  280. permission: 'B_salesReturnDetail'
  281. }
  282. },
  283. {
  284. path: 'salesReturnGrabEdit/:id/:sn/:buyerSn',
  285. name: 'salesReturnGrabEdit',
  286. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  287. meta: {
  288. title: '编辑退货单(抓单)',
  289. icon: 'fund',
  290. hidden: true,
  291. permission: 'B_salesReturnEdit'
  292. }
  293. },
  294. {
  295. path: 'salesReturnEdit/:id/:sn/:buyerSn',
  296. name: 'salesReturnEdit',
  297. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  298. meta: {
  299. title: '编辑退货单(不抓单)',
  300. icon: 'fund',
  301. hidden: true,
  302. permission: 'B_salesReturnEdit'
  303. }
  304. }
  305. ]
  306. },
  307. {
  308. path: '/salesManagement/productPricing',
  309. redirect: '/salesManagement/productPricing/list',
  310. name: 'productPricing',
  311. component: BlankLayout,
  312. meta: {
  313. title: '产品报价',
  314. icon: 'file-search',
  315. permission: 'M_productPricingList'
  316. },
  317. hideChildrenInMenu: true,
  318. children: [
  319. {
  320. path: 'list',
  321. name: 'productPricingList',
  322. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/productPricing/list.vue'),
  323. meta: {
  324. title: '产品报价列表',
  325. icon: 'file-search',
  326. hidden: true,
  327. permission: 'M_productPricingList'
  328. }
  329. }
  330. ]
  331. },
  332. {
  333. path: '/salesManagement/giftRecord',
  334. redirect: '/salesManagement/giftRecord/list',
  335. name: 'giftRecord',
  336. component: BlankLayout,
  337. meta: {
  338. title: '赠品记录',
  339. icon: 'file-search',
  340. permission: 'M_giftRecordList'
  341. },
  342. hideChildrenInMenu: true,
  343. children: [
  344. {
  345. path: 'list',
  346. name: 'giftRecordList',
  347. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/giftRecord/list.vue'),
  348. meta: {
  349. title: '赠品记录列表',
  350. icon: 'file-search',
  351. hidden: true,
  352. permission: 'M_giftRecordList'
  353. }
  354. }
  355. ]
  356. },
  357. {
  358. path: '/salesManagement/salesman',
  359. redirect: '/salesManagement/salesman/list',
  360. name: 'salesman',
  361. component: BlankLayout,
  362. meta: {
  363. title: '业务员管理',
  364. icon: 'file-search',
  365. permission: 'M_salesman_list'
  366. },
  367. hideChildrenInMenu: true,
  368. children: [
  369. {
  370. path: 'list',
  371. name: 'salesmanList',
  372. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
  373. meta: {
  374. title: '业务员列表',
  375. icon: 'file-search',
  376. hidden: true,
  377. permission: 'M_salesman_list'
  378. }
  379. }
  380. ]
  381. }
  382. ]
  383. },
  384. // 数字货架
  385. {
  386. path: '/numsGoodsShelves',
  387. redirect: '/numsGoodsShelves/shelfSet',
  388. component: PageView,
  389. meta: {
  390. title: '数字货架',
  391. icon: 'hdd',
  392. permission: 'M_numsGoodsShelves'
  393. },
  394. children: [
  395. {
  396. path: '/numsGoodsShelves/approveStore',
  397. redirect: '/numsGoodsShelves/approveStore/list',
  398. name: 'approveStore',
  399. component: BlankLayout,
  400. meta: {
  401. title: '汽修厂认证审核',
  402. icon: 'monitor',
  403. permission: 'M_approveStore'
  404. },
  405. hideChildrenInMenu: true,
  406. children: [
  407. {
  408. path: 'list',
  409. name: 'approveStoreList',
  410. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/list.vue'),
  411. meta: {
  412. title: '汽修厂认证审核',
  413. icon: 'monitor',
  414. hidden: true,
  415. permission: 'M_approveStore'
  416. }
  417. },
  418. {
  419. path: 'authPass/:sn',
  420. name: 'approveStoreAuthPass',
  421. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/authPass.vue'),
  422. meta: {
  423. title: '审核通过',
  424. icon: 'monitor',
  425. hidden: true,
  426. replaceTab: true
  427. }
  428. }
  429. ]
  430. },
  431. {
  432. path: '/numsGoodsShelves/shelfSet',
  433. redirect: '/numsGoodsShelves/shelfSet/list',
  434. name: 'shelfSet',
  435. component: BlankLayout,
  436. meta: {
  437. title: '货架设置',
  438. icon: 'monitor',
  439. permission: 'M_shelfSet'
  440. },
  441. hideChildrenInMenu: true,
  442. children: [
  443. {
  444. path: 'list',
  445. name: 'shelfSetList',
  446. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/list.vue'),
  447. meta: {
  448. title: '货架设置列表',
  449. icon: 'monitor',
  450. hidden: true
  451. // permission: 'M_salesQueryList'
  452. }
  453. },
  454. {
  455. path: 'set/:sn',
  456. name: 'shelfSetting',
  457. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/set.vue'),
  458. meta: {
  459. title: '货架设置',
  460. icon: 'monitor',
  461. hidden: true,
  462. replaceTab: true
  463. }
  464. }
  465. ]
  466. },
  467. {
  468. path: '/numsGoodsShelves/shelfProductTempl',
  469. redirect: '/numsGoodsShelves/shelfProductTempl/list',
  470. name: 'shelfProductTempl',
  471. component: BlankLayout,
  472. meta: {
  473. title: '货架产品模板设置',
  474. icon: 'monitor',
  475. permission: 'M_shelfTeplSet'
  476. },
  477. hideChildrenInMenu: true,
  478. children: [
  479. {
  480. path: 'list',
  481. name: 'shelfProductTemplList',
  482. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfProductTempl/list.vue'),
  483. meta: {
  484. title: '货架产品模板列表',
  485. icon: 'monitor',
  486. hidden: true
  487. }
  488. },
  489. {
  490. path: 'set/:sn',
  491. name: 'shelfProductTemplSetting',
  492. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfProductTempl/set.vue'),
  493. meta: {
  494. title: '货架产品模板设置',
  495. icon: 'monitor',
  496. hidden: true,
  497. replaceTab: true
  498. }
  499. }
  500. ]
  501. },
  502. {
  503. path: '/numsGoodsShelves/shelfMonitoring',
  504. redirect: '/numsGoodsShelves/shelfMonitoring/list',
  505. name: 'shelfMonitoring',
  506. component: BlankLayout,
  507. meta: {
  508. title: '货架监控',
  509. icon: 'monitor',
  510. permission: 'M_shelfMonitoring'
  511. },
  512. hideChildrenInMenu: true,
  513. children: [
  514. {
  515. path: 'list',
  516. name: 'shelfMonitoringList',
  517. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/list.vue'),
  518. meta: {
  519. title: '货架监控列表',
  520. icon: 'monitor',
  521. hidden: true
  522. }
  523. },
  524. {
  525. path: 'warehouseDetail/:shelfPlaceSn/:productSn',
  526. name: 'shelfMonitoringWarehouseDetail',
  527. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/warehouseDetail.vue'),
  528. meta: {
  529. title: '货架监控出入库明细',
  530. icon: 'monitor',
  531. hidden: true,
  532. replaceTab: true
  533. }
  534. }
  535. ]
  536. },
  537. {
  538. path: '/numsGoodsShelves/shelfOrder',
  539. redirect: '/numsGoodsShelves/shelfOrder/list',
  540. name: 'shelfOrder',
  541. component: BlankLayout,
  542. meta: {
  543. title: '货架订单',
  544. icon: 'monitor',
  545. permission: 'M_shelfOrder'
  546. },
  547. hideChildrenInMenu: true,
  548. children: [
  549. {
  550. path: 'list',
  551. name: 'shelfOrderList',
  552. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfOrder/list.vue'),
  553. meta: {
  554. title: '货架订单列表',
  555. icon: 'monitor',
  556. hidden: true
  557. // permission: 'M_shelfOrderList'
  558. }
  559. },
  560. {
  561. path: 'shelfOrderDetail/:sn',
  562. name: 'shelfOrderDetail',
  563. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfOrder/detail.vue'),
  564. meta: {
  565. title: '货架订单详情',
  566. icon: 'monitor',
  567. hidden: true
  568. // permission: 'M_shelfOrderDetail'
  569. }
  570. }
  571. ]
  572. },
  573. {
  574. path: '/numsGoodsShelves/replenishmentManagement',
  575. redirect: '/numsGoodsShelves/replenishmentManagement/list',
  576. name: 'replenishmentManagement',
  577. component: BlankLayout,
  578. meta: {
  579. title: '补货管理',
  580. icon: 'monitor',
  581. permission: 'M_replenishmentManagement'
  582. },
  583. hideChildrenInMenu: true,
  584. children: [
  585. {
  586. path: 'list',
  587. name: 'replenishmentManagementList',
  588. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/replenishmentManagement/list.vue'),
  589. meta: {
  590. title: '补货管理列表',
  591. icon: 'monitor',
  592. hidden: true
  593. // permission: 'M_salesQueryList'
  594. }
  595. }
  596. ]
  597. },
  598. {
  599. path: '/numsGoodsShelves/recallManagement',
  600. redirect: '/numsGoodsShelves/recallManagement/list',
  601. name: 'recallManagement',
  602. component: BlankLayout,
  603. meta: {
  604. title: '调回管理',
  605. icon: 'monitor',
  606. permission: 'M_recallManagement'
  607. },
  608. hideChildrenInMenu: true,
  609. children: [
  610. {
  611. path: 'list',
  612. name: 'recallManagementList',
  613. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallManagement/list.vue'),
  614. meta: {
  615. title: '调回管理列表',
  616. icon: 'monitor',
  617. hidden: true
  618. // permission: 'M_salesQueryList'
  619. }
  620. }
  621. ]
  622. },
  623. {
  624. path: '/numsGoodsShelves/settlementManagement',
  625. redirect: '/numsGoodsShelves/settlementManagement/list',
  626. name: 'settlementManagement',
  627. component: BlankLayout,
  628. meta: {
  629. title: '结算管理',
  630. icon: 'monitor',
  631. permission: 'M_settlementManagement'
  632. },
  633. hideChildrenInMenu: true,
  634. children: [
  635. {
  636. path: 'list',
  637. name: 'settlementManagementList',
  638. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/settlementManagement/list.vue'),
  639. meta: {
  640. title: '结算管理列表',
  641. icon: 'monitor',
  642. hidden: true
  643. // permission: 'M_salesQueryList'
  644. }
  645. },
  646. {
  647. path: 'unDetail/:shelfSn/:settleType/:shelfName',
  648. name: 'unSettlementDetail',
  649. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/unSettlementDetail.vue'),
  650. meta: {
  651. title: '待结算明细',
  652. icon: 'monitor',
  653. hidden: true,
  654. replaceTab: true
  655. // permission: 'M_salesQueryList'
  656. }
  657. },
  658. {
  659. path: 'detail/:shelfSn/:shelfName',
  660. name: 'settlementDetail',
  661. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/settlementDetail.vue'),
  662. meta: {
  663. title: '结算历史',
  664. icon: 'monitor',
  665. hidden: true,
  666. replaceTab: true
  667. // permission: 'M_salesQueryList'
  668. }
  669. }
  670. ]
  671. },
  672. {
  673. path: '/numsGoodsShelves/withdrawalManagement',
  674. redirect: '/numsGoodsShelves/withdrawalManagement/list',
  675. name: 'ngsWithdrawalManagement',
  676. component: BlankLayout,
  677. meta: {
  678. title: '提现管理',
  679. icon: 'monitor',
  680. permission: 'M_NGS_withdrawalManagement'
  681. },
  682. hideChildrenInMenu: true,
  683. children: [
  684. {
  685. path: 'list',
  686. name: 'ngsWithdrawalManagementList',
  687. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagement/list.vue'),
  688. meta: {
  689. title: '提现管理列表',
  690. icon: 'monitor',
  691. hidden: true
  692. // permission: 'M_ngsWithdrawalManagementList'
  693. }
  694. }
  695. ]
  696. },
  697. // {
  698. // path: '/numsGoodsShelves/recallStockManagement',
  699. // redirect: '/numsGoodsShelves/recallStockManagement/list',
  700. // name: 'recallStockManagement',
  701. // component: BlankLayout,
  702. // meta: {
  703. // title: '调回入库',
  704. // icon: 'monitor',
  705. // permission: 'M_recallStockManagement'
  706. // },
  707. // hideChildrenInMenu: true,
  708. // children: [
  709. // {
  710. // path: 'list',
  711. // name: 'recallStockManagementList',
  712. // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallStockManagement/list.vue'),
  713. // meta: {
  714. // title: '调回入库列表',
  715. // icon: 'monitor',
  716. // hidden: true
  717. // // permission: 'M_salesQueryList'
  718. // }
  719. // },
  720. // {
  721. // path: 'editStock/:stockPutSn',
  722. // name: 'editStock',
  723. // component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/recallStockManagement/editStock.vue'),
  724. // meta: {
  725. // title: '编辑入库',
  726. // icon: 'monitor',
  727. // hidden: true,
  728. // replaceTab: true
  729. // // permission: 'M_salesQueryList'
  730. // }
  731. // }
  732. // ]
  733. // },
  734. {
  735. path: '/numsGoodsShelves/customerAnalysis',
  736. redirect: '/numsGoodsShelves/customerAnalysis/list',
  737. name: 'customerAnalysis',
  738. component: BlankLayout,
  739. meta: {
  740. title: '客户分析',
  741. icon: 'monitor',
  742. permission: 'M_customerAnalysis'
  743. },
  744. hideChildrenInMenu: true,
  745. children: [
  746. {
  747. path: 'list',
  748. name: 'customerAnalysisList',
  749. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/customerAnalysis/list.vue'),
  750. meta: {
  751. title: '客户分析列表',
  752. icon: 'monitor',
  753. hidden: true
  754. }
  755. }
  756. ]
  757. },
  758. {
  759. path: '/numsGoodsShelves/vinAnalysis',
  760. redirect: '/numsGoodsShelves/vinAnalysis/index',
  761. name: 'vinAnalysis',
  762. component: BlankLayout,
  763. meta: {
  764. title: 'VIN分析',
  765. icon: 'monitor',
  766. permission: 'M_vinAnalysis'
  767. },
  768. hideChildrenInMenu: true,
  769. children: [
  770. {
  771. path: 'index',
  772. name: 'vinAnalysisIndex',
  773. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/vinAnalysis/index.vue'),
  774. meta: {
  775. title: 'VIN分析列表',
  776. icon: 'monitor',
  777. hidden: true
  778. }
  779. }
  780. ]
  781. }
  782. // {
  783. // path: '/numsGoodsShelves/accountManagement',
  784. // redirect: '/numsGoodsShelves/accountManagement/list',
  785. // name: 'accountManagement',
  786. // component: BlankLayout,
  787. // meta: {
  788. // title: '账户明细',
  789. // icon: 'monitor'
  790. // // permission: 'M_salesQueryList'
  791. // },
  792. // hideChildrenInMenu: true,
  793. // children: [
  794. // {
  795. // path: 'list',
  796. // name: 'accountManagementList', // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/accountManagement/list.vue'),
  797. // meta: {
  798. // title: '账户明细列表',
  799. // icon: 'monitor',
  800. // hidden: true
  801. // // permission: 'M_salesQueryList'
  802. // }
  803. // }
  804. // ]
  805. // }
  806. ]
  807. },
  808. // 采购管理
  809. {
  810. path: '/purchasingManagement',
  811. redirect: '/purchasingManagement/purchaseOrder',
  812. component: PageView,
  813. meta: {
  814. title: '采购管理',
  815. icon: 'file-done',
  816. permission: 'M_purchasingManagement'
  817. },
  818. children: [
  819. {
  820. path: '/purchasingManagement/purchaseOrder',
  821. redirect: '/purchasingManagement/purchaseOrder/list',
  822. name: 'purchaseOrder',
  823. component: BlankLayout,
  824. meta: {
  825. title: '采购单管理',
  826. icon: 'file-done',
  827. permission: 'M_purchasingList'
  828. },
  829. hideChildrenInMenu: true,
  830. children: [
  831. {
  832. path: 'list',
  833. name: 'purchaseOrderList',
  834. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/list.vue'),
  835. meta: {
  836. title: '采购单列表',
  837. icon: 'file-done',
  838. hidden: true,
  839. permission: 'M_purchasingList'
  840. }
  841. },
  842. {
  843. path: 'add/:sn/:dealerSn',
  844. name: 'purchaseOrderAdd',
  845. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  846. meta: {
  847. title: '新增采购单',
  848. icon: 'file-done',
  849. hidden: true,
  850. permission: 'B_purchaseNew'
  851. }
  852. },
  853. {
  854. path: 'edit/:sn/:dealerSn',
  855. name: 'purchaseOrderEdit',
  856. component: () => import(/* webpackChunkName: purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  857. meta: {
  858. title: '编辑采购单',
  859. icon: 'file-done',
  860. hidden: true,
  861. permission: 'B_purchaseEdit'
  862. }
  863. },
  864. {
  865. path: 'detail/:sn',
  866. name: 'purchaseOrderDetail',
  867. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/detail.vue'),
  868. meta: {
  869. title: '采购单详情',
  870. icon: 'file-done',
  871. hidden: true,
  872. replaceTab: true,
  873. permission: 'B_purchaseDetail'
  874. }
  875. }
  876. ]
  877. },
  878. {
  879. path: '/purchasingManagement/purchaseOrderNew',
  880. redirect: '/purchasingManagement/purchaseOrderNew/list',
  881. name: 'purchaseOrderNew',
  882. component: BlankLayout,
  883. meta: {
  884. title: '采购单管理(新版)',
  885. icon: 'file-done',
  886. permission: 'M_purchasingList'
  887. },
  888. hideChildrenInMenu: true,
  889. children: [
  890. {
  891. path: 'list',
  892. name: 'purchaseOrderNewList',
  893. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/list.vue'),
  894. meta: {
  895. title: '采购单列表(新版)',
  896. icon: 'file-done',
  897. hidden: true,
  898. permission: 'M_purchasingList'
  899. }
  900. },
  901. {
  902. path: 'add/:sn/:dealerSn',
  903. name: 'purchaseOrderNewAdd',
  904. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/edit.vue'),
  905. meta: {
  906. title: '新增采购单(新版)',
  907. icon: 'file-done',
  908. hidden: true,
  909. permission: 'B_purchaseNew'
  910. }
  911. },
  912. {
  913. path: 'edit/:sn/:dealerSn',
  914. name: 'purchaseOrderNewEdit',
  915. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/edit.vue'),
  916. meta: {
  917. title: '编辑采购单(新版)',
  918. icon: 'file-done',
  919. hidden: true,
  920. permission: 'B_purchaseEdit'
  921. }
  922. },
  923. {
  924. path: 'detail/:sn',
  925. name: 'purchaseOrderNewDetail',
  926. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/detail.vue'),
  927. meta: {
  928. title: '采购单详情(新版)',
  929. icon: 'file-done',
  930. hidden: true,
  931. replaceTab: true,
  932. permission: 'B_purchaseDetail'
  933. }
  934. }
  935. ]
  936. },
  937. {
  938. path: '/purchasingManagement/signWarehousing',
  939. redirect: '/purchasingManagement/signWarehousing/list',
  940. name: 'signWarehousing',
  941. component: BlankLayout,
  942. meta: {
  943. title: '签收入库',
  944. icon: 'money-collect',
  945. permission: 'M_signWarehousingList'
  946. },
  947. hideChildrenInMenu: true,
  948. children: [
  949. {
  950. path: 'list',
  951. name: 'signWarehousingList',
  952. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/list.vue'),
  953. meta: {
  954. title: '签收入库列表',
  955. icon: 'money-collect',
  956. hidden: true,
  957. permission: 'M_signWarehousingList'
  958. }
  959. },
  960. {
  961. path: 'edit/:sn',
  962. name: 'signWarehousingEdit',
  963. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/edit.vue'),
  964. meta: {
  965. title: '签收入库',
  966. icon: 'money-collect',
  967. replaceTab: true,
  968. hidden: true
  969. }
  970. },
  971. {
  972. path: 'stockOrderDetail/:sn',
  973. name: 'signWarehousingStockOrderDetail',
  974. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/stockOrderDetail.vue'),
  975. meta: {
  976. title: '备货单详情',
  977. icon: 'money-collect',
  978. replaceTab: true,
  979. hidden: true
  980. }
  981. }
  982. ]
  983. },
  984. {
  985. path: '/purchasingManagement/purchaseOutOfStock',
  986. redirect: '/purchasingManagement/purchaseOutOfStock/list',
  987. name: 'purchaseOutOfStock',
  988. component: BlankLayout,
  989. meta: {
  990. title: '采购缺货列表',
  991. icon: 'money-collect',
  992. permission: 'M_purchaseOutOfStockList'
  993. },
  994. hideChildrenInMenu: true,
  995. children: [
  996. {
  997. path: 'list',
  998. name: 'purchaseOutOfStockList',
  999. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOutOfStock/list.vue'),
  1000. meta: {
  1001. title: '采购缺货列表',
  1002. icon: 'money-collect',
  1003. hidden: true,
  1004. permission: 'M_purchaseOutOfStockList'
  1005. }
  1006. }
  1007. ]
  1008. },
  1009. {
  1010. path: '/purchasingManagement/purchaseReturnApplyForm',
  1011. redirect: '/purchasingManagement/purchaseReturnApplyForm/list',
  1012. name: 'purchaseReturnApplyForm',
  1013. component: BlankLayout,
  1014. meta: {
  1015. title: '采购退货申请单',
  1016. icon: 'money-collect',
  1017. permission: 'M_purchaseReturnApplyFormList'
  1018. },
  1019. hideChildrenInMenu: true,
  1020. children: [
  1021. {
  1022. path: 'list',
  1023. name: 'purchaseReturnApplyFormList',
  1024. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/list.vue'),
  1025. meta: {
  1026. title: '采购退货申请单列表',
  1027. icon: 'money-collect',
  1028. hidden: true,
  1029. permission: 'M_purchaseReturnApplyFormList'
  1030. }
  1031. },
  1032. {
  1033. path: 'edit/:sn',
  1034. name: 'purchaseReturnApplyFormEdit',
  1035. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/edit.vue'),
  1036. meta: {
  1037. title: '编辑采购退货申请单',
  1038. icon: 'money-collect',
  1039. hidden: true
  1040. }
  1041. },
  1042. {
  1043. path: 'detail/:sn',
  1044. name: 'purchaseReturnApplyFormDetail',
  1045. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/detail.vue'),
  1046. meta: {
  1047. title: '采购退货申请单详情',
  1048. icon: 'money-collect',
  1049. hidden: true
  1050. }
  1051. }
  1052. ]
  1053. },
  1054. // 采购退货-不同步
  1055. {
  1056. path: '/purchasingManagement/purchaseReturnOutSync',
  1057. redirect: '/purchasingManagement/purchaseReturnOutSync/list',
  1058. name: 'purchaseReturnOutSync',
  1059. component: BlankLayout,
  1060. meta: {
  1061. title: '采购退货单',
  1062. icon: 'money-collect',
  1063. permission: 'M_purchaseReturn_outSnycList'
  1064. },
  1065. hideChildrenInMenu: true,
  1066. children: [
  1067. {
  1068. path: 'list',
  1069. name: 'purchaseReturnOutSyncList',
  1070. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/list.vue'),
  1071. meta: {
  1072. title: '采购退货单列表',
  1073. icon: 'money-collect',
  1074. hidden: true,
  1075. permission: 'M_purchaseReturn_outSnycList'
  1076. }
  1077. },
  1078. {
  1079. path: 'edit/:sn',
  1080. name: 'purchaseReturnOutSyncEdit',
  1081. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/edit.vue'),
  1082. meta: {
  1083. title: '采购退货单(不抓单)',
  1084. icon: 'money-collect',
  1085. hidden: true,
  1086. replaceTab: true,
  1087. permission: 'B_purchaseReturn_outSnycAdd'
  1088. }
  1089. },
  1090. {
  1091. path: 'grapEdit/:sn/:returnTargetType/:purchaseTargetSn',
  1092. name: 'purchaseReturnOutSyncGrapEdit',
  1093. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/grapEdit.vue'),
  1094. meta: {
  1095. title: '采购退货单(抓单)',
  1096. icon: 'money-collect',
  1097. hidden: true,
  1098. replaceTab: true,
  1099. permission: 'B_purchaseReturn_outSnycEdit'
  1100. }
  1101. },
  1102. {
  1103. path: 'detail/:sn/:grabFlag',
  1104. name: 'purchaseReturnOutSyncDetail',
  1105. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/detail.vue'),
  1106. meta: {
  1107. title: '采购退货详情',
  1108. icon: 'money-collect',
  1109. hidden: true,
  1110. replaceTab: true,
  1111. permission: 'B_purchaseReturn_outSnycDetail'
  1112. }
  1113. }
  1114. ]
  1115. }
  1116. ]
  1117. },
  1118. // 出库管理
  1119. {
  1120. path: '/outboundOrderManagement',
  1121. redirect: '/outboundOrderManagement/outboundOrder',
  1122. component: PageView,
  1123. meta: {
  1124. title: '出库管理',
  1125. icon: 'export',
  1126. permission: 'M_outboundList'
  1127. },
  1128. children: [
  1129. {
  1130. path: '/outboundOrderManagement/outboundOrder',
  1131. redirect: '/outboundOrderManagement/outboundOrder/list',
  1132. name: 'outboundOrder',
  1133. component: BlankLayout,
  1134. meta: {
  1135. title: '出库',
  1136. icon: 'export',
  1137. permission: 'M_outboundList'
  1138. },
  1139. hideChildrenInMenu: true,
  1140. children: [
  1141. {
  1142. path: 'list',
  1143. name: 'outboundOrderList',
  1144. component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
  1145. meta: {
  1146. title: '出库列表',
  1147. icon: 'export',
  1148. hidden: true,
  1149. permission: 'M_outboundList'
  1150. }
  1151. }
  1152. ]
  1153. }
  1154. ]
  1155. },
  1156. // 财务管理
  1157. {
  1158. path: '/financialManagement',
  1159. redirect: '/financialManagement/warehousingAudit',
  1160. component: PageView,
  1161. meta: {
  1162. title: '财务管理',
  1163. icon: 'property-safety',
  1164. permission: 'M_financial'
  1165. },
  1166. children: [
  1167. {
  1168. path: '/financialManagement/warehousingAudit',
  1169. redirect: '/financialManagement/warehousingAudit/list',
  1170. name: 'warehousingAudit',
  1171. component: BlankLayout,
  1172. meta: {
  1173. title: '入库审核',
  1174. icon: 'pull-request',
  1175. permission: 'M_warehousingAuditList'
  1176. },
  1177. hideChildrenInMenu: true,
  1178. children: [
  1179. {
  1180. path: 'list',
  1181. name: 'warehousingAuditList',
  1182. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
  1183. meta: {
  1184. title: '入库审核列表',
  1185. icon: 'pull-request',
  1186. hidden: true,
  1187. permission: 'M_warehousingAuditList'
  1188. }
  1189. },
  1190. {
  1191. path: 'detail/:sn',
  1192. name: 'warehousingAuditDetail',
  1193. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
  1194. meta: {
  1195. title: '入库审核详情',
  1196. icon: 'pull-request',
  1197. hidden: true,
  1198. permission: 'M_warehousingAudit_detail'
  1199. }
  1200. }
  1201. ]
  1202. },
  1203. {
  1204. path: '/financialManagement/inventoryCheckAudit',
  1205. redirect: '/financialManagement/inventoryCheckAudit/list',
  1206. name: 'inventoryCheckAudit',
  1207. component: BlankLayout,
  1208. meta: {
  1209. title: '盘点审核',
  1210. icon: 'laptop',
  1211. permission: 'M_inventoryCheckAuditList'
  1212. },
  1213. hideChildrenInMenu: true,
  1214. children: [
  1215. {
  1216. path: 'list',
  1217. name: 'inventoryCheckAuditList',
  1218. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
  1219. meta: {
  1220. title: '盘点审核列表',
  1221. icon: 'laptop',
  1222. hidden: true,
  1223. permission: 'M_inventoryCheckAuditList'
  1224. }
  1225. }
  1226. ]
  1227. },
  1228. {
  1229. path: '/financialManagement/financialPayment',
  1230. redirect: '/financialManagement/financialPayment/list',
  1231. name: 'financialPayment',
  1232. component: BlankLayout,
  1233. meta: {
  1234. title: '财务付款',
  1235. icon: 'pay-circle',
  1236. permission: 'M_financialPaymentList'
  1237. },
  1238. hideChildrenInMenu: true,
  1239. children: [
  1240. {
  1241. path: 'list',
  1242. name: 'financialPaymentList',
  1243. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialPayment/list.vue'),
  1244. meta: {
  1245. title: '财务付款列表',
  1246. icon: 'pay-circle',
  1247. hidden: true,
  1248. permission: 'M_financialPaymentList'
  1249. }
  1250. }
  1251. ]
  1252. },
  1253. {
  1254. path: '/financialManagement/financialCollection',
  1255. redirect: '/financialManagement/financialCollection/list',
  1256. name: 'financialCollection',
  1257. component: BlankLayout,
  1258. meta: {
  1259. title: '财务收款',
  1260. icon: 'money-collect',
  1261. permission: 'M_financialCollectionList'
  1262. },
  1263. hideChildrenInMenu: true,
  1264. children: [
  1265. {
  1266. path: 'list',
  1267. name: 'financialCollectionList',
  1268. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1269. meta: {
  1270. title: '财务收款列表',
  1271. icon: 'money-collect',
  1272. hidden: true,
  1273. permission: 'M_financialCollectionList'
  1274. }
  1275. }
  1276. ]
  1277. },
  1278. {
  1279. path: '/financialManagement/expenseManagement',
  1280. redirect: '/financialManagement/expenseManagement/list',
  1281. name: 'expenseManagement',
  1282. component: BlankLayout,
  1283. meta: {
  1284. title: '费用管理',
  1285. icon: 'pound',
  1286. permission: 'M_expenseManagementList'
  1287. },
  1288. hideChildrenInMenu: true,
  1289. children: [
  1290. {
  1291. path: 'list',
  1292. name: 'expenseManagementList',
  1293. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/list.vue'),
  1294. meta: {
  1295. title: '费用单列表',
  1296. icon: 'pound',
  1297. hidden: true,
  1298. permission: 'M_expenseManagementList'
  1299. }
  1300. },
  1301. {
  1302. path: 'add',
  1303. name: 'expenseManagementAdd',
  1304. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1305. meta: {
  1306. title: '新增费用单',
  1307. icon: 'pound',
  1308. hidden: true,
  1309. permission: 'B_expenseNew'
  1310. }
  1311. },
  1312. {
  1313. path: 'edit/:id',
  1314. name: 'expenseManagementEdit',
  1315. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1316. meta: {
  1317. title: '编辑费用单',
  1318. icon: 'pound',
  1319. hidden: true,
  1320. permission: 'B_expenseEdit'
  1321. }
  1322. }
  1323. ]
  1324. },
  1325. {
  1326. path: '/financialManagement/companyReceivablePayable',
  1327. redirect: '/financialManagement/companyReceivablePayable/list',
  1328. name: 'companyReceivablePayable',
  1329. component: BlankLayout,
  1330. meta: {
  1331. title: '单位应收应付管理',
  1332. icon: 'transaction',
  1333. permission: 'M_companyReceivablePayableList'
  1334. },
  1335. hideChildrenInMenu: true,
  1336. children: [
  1337. {
  1338. path: 'list',
  1339. name: 'companyReceivablePayableList',
  1340. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
  1341. meta: {
  1342. title: '单位应收应付列表',
  1343. icon: 'transaction',
  1344. hidden: true,
  1345. permission: 'M_companyReceivablePayableList'
  1346. }
  1347. },
  1348. {
  1349. path: 'collectionPayment/:sn/:name/:type',
  1350. name: 'companyReceivablePayableCollectionPayment',
  1351. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/collectionPayment.vue'),
  1352. meta: {
  1353. title: '编辑单位应收应付',
  1354. icon: 'transaction',
  1355. hidden: true,
  1356. permission: 'M_collectionPayment'
  1357. }
  1358. },
  1359. {
  1360. path: 'detail/:sn/:name/:type',
  1361. name: 'companyReceivablePayableDetail',
  1362. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
  1363. meta: {
  1364. title: '单位应收应付详情',
  1365. icon: 'transaction',
  1366. hidden: true,
  1367. permission: 'M_companyReceivablePayable_detail'
  1368. }
  1369. }
  1370. ]
  1371. },
  1372. {
  1373. path: '/financialManagement/companyReceivablePayableNew',
  1374. redirect: '/financialManagement/companyReceivablePayableNew/list',
  1375. name: 'companyReceivablePayableNew',
  1376. component: BlankLayout,
  1377. meta: {
  1378. title: '单位应收应付管理(新版)',
  1379. icon: 'transaction',
  1380. permission: 'M_companyReceivablePayableList'
  1381. },
  1382. hideChildrenInMenu: true,
  1383. children: [
  1384. {
  1385. path: 'list',
  1386. name: 'companyReceivablePayableNewList',
  1387. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayableNew/list.vue'),
  1388. meta: {
  1389. title: '单位应收应付列表(新版)',
  1390. icon: 'transaction',
  1391. hidden: true,
  1392. permission: 'M_companyReceivablePayableList'
  1393. }
  1394. },
  1395. {
  1396. path: 'collectionPayment/:sn/:name/:type',
  1397. name: 'companyReceivablePayableNewCollectionPayment',
  1398. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayableNew/collectionPayment.vue'),
  1399. meta: {
  1400. title: '编辑单位应收应付(新版)',
  1401. icon: 'transaction',
  1402. hidden: true,
  1403. permission: 'M_collectionPayment'
  1404. }
  1405. },
  1406. {
  1407. path: 'detail/:sn/:name/:type',
  1408. name: 'companyReceivablePayableNewDetail',
  1409. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayableNew/detail.vue'),
  1410. meta: {
  1411. title: '单位应收应付详情(新版)',
  1412. icon: 'transaction',
  1413. hidden: true,
  1414. permission: 'M_companyReceivablePayable_detail'
  1415. }
  1416. }
  1417. ]
  1418. },
  1419. {
  1420. path: '/financialManagement/companyCollectionPayment',
  1421. redirect: '/financialManagement/companyCollectionPayment/list',
  1422. name: 'companyCollectionPayment',
  1423. component: BlankLayout,
  1424. meta: {
  1425. title: '单位收付款记录',
  1426. icon: 'file-protect',
  1427. permission: 'M_companyCollectionPaymentList'
  1428. },
  1429. hideChildrenInMenu: true,
  1430. children: [
  1431. {
  1432. path: 'list',
  1433. name: 'companyCollectionPaymentList',
  1434. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
  1435. meta: {
  1436. title: '单位收付款记录列表',
  1437. icon: 'file-protect',
  1438. hidden: true,
  1439. permission: 'M_companyCollectionPaymentList'
  1440. }
  1441. },
  1442. {
  1443. path: 'detail/:id/:sn',
  1444. name: 'companyCollectionPaymentDetail',
  1445. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
  1446. meta: {
  1447. title: '单位收付款记录详情',
  1448. icon: 'file-protect',
  1449. hidden: true,
  1450. permission: 'M_companyCollectionPayment_detail'
  1451. }
  1452. }
  1453. ]
  1454. },
  1455. {
  1456. path: '/financialManagement/withdrawalManagement',
  1457. redirect: '/financialManagement/withdrawalManagement/list',
  1458. name: 'withdrawalManagement',
  1459. component: BlankLayout,
  1460. meta: {
  1461. title: '提现管理',
  1462. icon: 'dollar',
  1463. permission: 'M_withdrawalManagementList'
  1464. },
  1465. hideChildrenInMenu: true,
  1466. children: [
  1467. {
  1468. path: 'list',
  1469. name: 'withdrawalManagementList',
  1470. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/withdrawalManagement/list.vue'),
  1471. meta: {
  1472. title: '提现管理列表',
  1473. icon: 'dollar',
  1474. hidden: true,
  1475. permission: 'M_withdrawalManagementList'
  1476. }
  1477. }
  1478. ]
  1479. },
  1480. {
  1481. path: '/financialManagement/ledgerRecord',
  1482. redirect: '/financialManagement/ledgerRecord/list',
  1483. name: 'ledgerRecord',
  1484. component: BlankLayout,
  1485. meta: {
  1486. title: '分账记录',
  1487. icon: 'profile',
  1488. permission: 'M_ledgerRecordList'
  1489. },
  1490. hideChildrenInMenu: true,
  1491. children: [
  1492. {
  1493. path: 'list',
  1494. name: 'ledgerRecordList',
  1495. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/ledgerRecord/list.vue'),
  1496. meta: {
  1497. title: '分账记录列表',
  1498. icon: 'profile',
  1499. hidden: true,
  1500. permission: 'M_ledgerRecordList'
  1501. }
  1502. }
  1503. ]
  1504. },
  1505. {
  1506. path: '/financialManagement/fundAccountManagement',
  1507. redirect: '/financialManagement/fundAccountManagement/list',
  1508. name: 'fundAccountManagement',
  1509. component: BlankLayout,
  1510. meta: {
  1511. title: '资金账户管理',
  1512. icon: 'file-protect',
  1513. permission: 'M_fundAccountList'
  1514. },
  1515. hideChildrenInMenu: true,
  1516. children: [
  1517. {
  1518. path: 'list',
  1519. name: 'fundAccountList',
  1520. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/list.vue'),
  1521. meta: {
  1522. title: '资金账户列表',
  1523. icon: 'file-protect',
  1524. hidden: true,
  1525. permission: 'M_fundAccountList'
  1526. }
  1527. },
  1528. {
  1529. path: 'detail/:sn',
  1530. name: 'fundAccountDetail',
  1531. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/detail.vue'),
  1532. meta: {
  1533. title: '资金明细',
  1534. icon: 'file-protect',
  1535. hidden: true,
  1536. replaceTab: true,
  1537. permission: 'M_fundAccount_detail'
  1538. }
  1539. }
  1540. ]
  1541. }
  1542. ]
  1543. },
  1544. // 调拨管理
  1545. {
  1546. path: '/allocationManagement',
  1547. redirect: '/allocationManagement/warehouseAllocation',
  1548. component: PageView,
  1549. meta: {
  1550. title: '调拨管理',
  1551. icon: 'cluster',
  1552. permission: 'M_allocationManagement'
  1553. },
  1554. children: [
  1555. {
  1556. path: '/allocationManagement/warehouseAllocation',
  1557. redirect: '/allocationManagement/warehouseAllocation/list',
  1558. name: 'warehouseAllocation',
  1559. component: BlankLayout,
  1560. meta: {
  1561. title: '仓库调拨',
  1562. icon: 'gateway',
  1563. permission: 'M_warehouseAllocationList'
  1564. },
  1565. hideChildrenInMenu: true,
  1566. children: [
  1567. {
  1568. path: 'list',
  1569. name: 'warehouseAllocationList',
  1570. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/list.vue'),
  1571. meta: {
  1572. title: '仓库调拨列表',
  1573. icon: 'gateway',
  1574. hidden: true,
  1575. permission: 'M_warehouseAllocationList'
  1576. }
  1577. },
  1578. {
  1579. path: 'add',
  1580. name: 'warehouseAllocationAdd',
  1581. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1582. meta: {
  1583. title: '新增仓库调拨',
  1584. icon: 'gateway',
  1585. hidden: true,
  1586. permission: 'B_warehouseAllocationNews'
  1587. }
  1588. },
  1589. {
  1590. path: 'edit/:id/:sn',
  1591. name: 'warehouseAllocationEdit',
  1592. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1593. meta: {
  1594. title: '编辑仓库调拨',
  1595. icon: 'gateway',
  1596. hidden: true,
  1597. permission: 'B_warehouseAllocationEdit'
  1598. }
  1599. },
  1600. {
  1601. path: 'detail/:sn',
  1602. name: 'warehouseAllocationDetail',
  1603. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/detail.vue'),
  1604. meta: {
  1605. title: '仓库调拨详情',
  1606. icon: 'gateway',
  1607. hidden: true,
  1608. permission: 'B_warehouseAllocationDetail'
  1609. }
  1610. }
  1611. ]
  1612. },
  1613. {
  1614. path: '/allocationManagement/chainTransferIn',
  1615. redirect: '/allocationManagement/chainTransferIn/list',
  1616. name: 'chainTransferIn',
  1617. component: BlankLayout,
  1618. meta: {
  1619. title: '连锁调入',
  1620. icon: 'cluster',
  1621. permission: 'M_chainTransferInList'
  1622. },
  1623. hideChildrenInMenu: true,
  1624. children: [
  1625. {
  1626. path: 'list',
  1627. name: 'chainTransferInList',
  1628. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/list.vue'),
  1629. meta: {
  1630. title: '连锁调入列表',
  1631. icon: 'cluster',
  1632. hidden: true,
  1633. permission: 'M_chainTransferInList'
  1634. }
  1635. },
  1636. {
  1637. path: 'edit/:id/:sn',
  1638. name: 'chainTransferInEdit',
  1639. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/edit.vue'),
  1640. meta: {
  1641. title: '编辑连锁调入',
  1642. icon: 'cluster',
  1643. hidden: true,
  1644. permission: 'B_allocLinkagePutEdit'
  1645. }
  1646. },
  1647. {
  1648. path: 'detail/:sn',
  1649. name: 'chainTransferInDetail',
  1650. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/detail.vue'),
  1651. meta: {
  1652. title: '连锁调入详情',
  1653. icon: 'cluster',
  1654. hidden: true,
  1655. permission: 'B_allocLinkagePutDetail'
  1656. }
  1657. }
  1658. ]
  1659. },
  1660. {
  1661. path: '/allocationManagement/chainTransferOut',
  1662. redirect: '/allocationManagement/chainTransferOut/list',
  1663. name: 'chainTransferOut',
  1664. component: BlankLayout,
  1665. meta: {
  1666. title: '连锁调出',
  1667. icon: 'pull-request',
  1668. permission: 'M_chainTransferOutList'
  1669. },
  1670. hideChildrenInMenu: true,
  1671. children: [
  1672. {
  1673. path: 'list',
  1674. name: 'chainTransferOutList',
  1675. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/list.vue'),
  1676. meta: {
  1677. title: '连锁调出列表',
  1678. icon: 'pull-request',
  1679. hidden: true,
  1680. permission: 'M_chainTransferOutList'
  1681. }
  1682. },
  1683. {
  1684. path: 'add/:id/:sn',
  1685. name: 'chainTransferOutAdd',
  1686. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1687. meta: {
  1688. title: '新增连锁调出',
  1689. icon: 'pull-request',
  1690. hidden: true,
  1691. permission: 'B_allocLinkageOutNew'
  1692. }
  1693. },
  1694. {
  1695. path: 'edit/:id/:sn',
  1696. name: 'chainTransferOutEdit',
  1697. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1698. meta: {
  1699. title: '编辑连锁调出',
  1700. icon: 'pull-request',
  1701. hidden: true,
  1702. permission: 'B_allocLinkageOutEdit'
  1703. }
  1704. },
  1705. {
  1706. path: 'detail/:sn',
  1707. name: 'chainTransferOutDetail',
  1708. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/detail.vue'),
  1709. meta: {
  1710. title: '连锁调出详情',
  1711. icon: 'pull-request',
  1712. hidden: true,
  1713. permission: 'B_allocLinkageOutDetail'
  1714. }
  1715. }
  1716. ]
  1717. },
  1718. {
  1719. path: '/allocationManagement/storeTransferOut',
  1720. redirect: '/allocationManagement/storeTransferOut/list',
  1721. name: 'storeTransferOut',
  1722. component: BlankLayout,
  1723. meta: {
  1724. title: '店内调出',
  1725. icon: 'interaction',
  1726. permission: 'M_storeTransferOutList'
  1727. },
  1728. hideChildrenInMenu: true,
  1729. children: [
  1730. {
  1731. path: 'list',
  1732. name: 'storeTransferOutList',
  1733. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/list.vue'),
  1734. meta: {
  1735. title: '店内调出列表',
  1736. icon: 'interaction',
  1737. hidden: true,
  1738. permission: 'M_storeTransferOutList'
  1739. }
  1740. },
  1741. {
  1742. path: 'add/:id/:sn',
  1743. name: 'storeTransferOutAdd',
  1744. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1745. meta: {
  1746. title: '新增店内调出',
  1747. icon: 'interaction',
  1748. hidden: true,
  1749. permission: 'B_storeTransferOutNews'
  1750. }
  1751. },
  1752. {
  1753. path: 'edit/:id/:sn',
  1754. name: 'storeTransferOutEdit',
  1755. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1756. meta: {
  1757. title: '编辑店内调出',
  1758. icon: 'interaction',
  1759. hidden: true,
  1760. permission: 'B_storeCallOutEdit'
  1761. }
  1762. },
  1763. {
  1764. path: 'detail/:sn',
  1765. name: 'storeTransferOutDetail',
  1766. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
  1767. meta: {
  1768. title: '店内调出详情',
  1769. icon: 'interaction',
  1770. hidden: true,
  1771. permission: 'B_storeCallOutDetail'
  1772. }
  1773. }
  1774. ]
  1775. }
  1776. ]
  1777. },
  1778. // 库存管理
  1779. {
  1780. path: '/inventoryManagement',
  1781. redirect: '/inventoryManagement/inventoryQuery',
  1782. component: PageView,
  1783. meta: {
  1784. title: '库存管理',
  1785. icon: 'shop',
  1786. permission: 'M_inventory'
  1787. },
  1788. children: [
  1789. {
  1790. path: '/inventoryManagement/inventoryQuery',
  1791. redirect: '/inventoryManagement/inventoryQuery/list',
  1792. name: 'inventoryQuery',
  1793. component: BlankLayout,
  1794. meta: {
  1795. title: '库存查询',
  1796. icon: 'monitor',
  1797. permission: 'M_inventoryInventoryQueryList'
  1798. },
  1799. hideChildrenInMenu: true,
  1800. children: [
  1801. {
  1802. path: 'list',
  1803. name: 'inventoryQueryList',
  1804. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1805. meta: {
  1806. title: '库存列表',
  1807. icon: 'monitor',
  1808. hidden: true,
  1809. permission: 'M_inventoryInventoryQueryList'
  1810. }
  1811. },
  1812. {
  1813. path: 'warehouseDetail/:sn',
  1814. name: 'inventoryQueryWarehouseDetail',
  1815. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1816. meta: {
  1817. title: '出入库明细',
  1818. icon: 'monitor',
  1819. hidden: true,
  1820. replaceTab: true,
  1821. permission: 'B_inventoryInventoryQueryStock'
  1822. }
  1823. }
  1824. ]
  1825. },
  1826. {
  1827. path: '/inventoryManagement/inventoryWarning',
  1828. name: 'inventoryWarning',
  1829. redirect: '/inventoryManagement/inventoryWarning/list',
  1830. component: BlankLayout,
  1831. meta: {
  1832. title: '库存预警',
  1833. icon: 'alert',
  1834. permission: 'M_inventoryWarningList'
  1835. },
  1836. hideChildrenInMenu: true,
  1837. children: [
  1838. {
  1839. path: 'list',
  1840. name: 'inventoryWarningList',
  1841. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1842. meta: {
  1843. title: '库存预警列表',
  1844. hidden: true,
  1845. icon: 'alert',
  1846. permission: 'M_inventoryWarningList'
  1847. }
  1848. }
  1849. ]
  1850. },
  1851. {
  1852. path: '/inventoryManagement/satelliteWarehouseInventory',
  1853. name: 'satelliteWarehouseInventory',
  1854. redirect: '/inventoryManagement/satelliteWarehouseInventory/list',
  1855. component: BlankLayout,
  1856. meta: {
  1857. title: '卫星仓库存',
  1858. icon: 'flag',
  1859. permission: 'M_satelliteWarehouseInventoryList'
  1860. },
  1861. hideChildrenInMenu: true,
  1862. children: [
  1863. {
  1864. path: 'list',
  1865. name: 'satelliteWarehouseInventoryList',
  1866. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
  1867. meta: {
  1868. title: '卫星仓库存',
  1869. icon: 'flag',
  1870. permission: 'M_satelliteWarehouseInventoryList'
  1871. }
  1872. }
  1873. ]
  1874. },
  1875. {
  1876. path: '/inventoryManagement/inventoryChecking',
  1877. redirect: '/inventoryManagement/inventoryChecking/list',
  1878. name: 'inventoryChecking',
  1879. component: BlankLayout,
  1880. meta: {
  1881. title: '库存盘点',
  1882. icon: 'reconciliation',
  1883. permission: 'M_inventoryCheckingList'
  1884. },
  1885. hideChildrenInMenu: true,
  1886. children: [
  1887. {
  1888. path: 'list',
  1889. name: 'inventoryCheckingList',
  1890. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/list.vue'),
  1891. meta: {
  1892. title: '库存盘点列表',
  1893. icon: 'reconciliation',
  1894. hidden: true,
  1895. permission: 'M_inventoryCheckingList'
  1896. }
  1897. },
  1898. {
  1899. path: 'overall/:id/:sn',
  1900. name: 'inventoryCheckingOverall',
  1901. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/overall.vue'),
  1902. meta: {
  1903. title: '编辑库存盘点【全盘】',
  1904. icon: 'reconciliation',
  1905. hidden: true,
  1906. permission: 'B_inventoryCheckingEdit'
  1907. }
  1908. },
  1909. {
  1910. path: 'selfDisk/:id/:sn',
  1911. name: 'inventoryCheckingSelfDisk',
  1912. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/selfDisk.vue'),
  1913. meta: {
  1914. title: '编辑库存盘点【自选盘点】',
  1915. icon: 'reconciliation',
  1916. hidden: true,
  1917. permission: 'B_inventoryCheckingEdit'
  1918. }
  1919. },
  1920. {
  1921. path: 'makeInventory/:id/:sn',
  1922. name: 'inventoryCheckingMakeInventory',
  1923. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/makeInventory.vue'),
  1924. meta: {
  1925. title: '盘点',
  1926. icon: 'reconciliation',
  1927. hidden: true,
  1928. replaceTab: true,
  1929. permission: 'B_inventoryCheckingInventory'
  1930. }
  1931. }
  1932. ]
  1933. },
  1934. {
  1935. path: '/inventoryManagement/inventoryImport',
  1936. redirect: '/inventoryManagement/inventoryImport/list',
  1937. name: 'inventoryImport',
  1938. component: BlankLayout,
  1939. meta: {
  1940. title: '库存导入',
  1941. icon: 'frown',
  1942. permission: 'M_inventoryImportList'
  1943. },
  1944. hideChildrenInMenu: true,
  1945. children: [
  1946. {
  1947. path: 'list',
  1948. name: 'inventoryImportList',
  1949. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
  1950. meta: {
  1951. title: '库存导入列表',
  1952. icon: 'frown',
  1953. hidden: true,
  1954. permission: 'M_inventoryImportList'
  1955. }
  1956. }
  1957. ]
  1958. },
  1959. {
  1960. path: '/inventoryManagement/warehouse',
  1961. redirect: '/inventoryManagement/warehouse/list',
  1962. name: 'warehouse',
  1963. component: BlankLayout,
  1964. meta: {
  1965. title: '仓库管理',
  1966. icon: 'deployment-unit',
  1967. permission: 'M_inventoryWarehouseList'
  1968. },
  1969. hideChildrenInMenu: true,
  1970. children: [
  1971. {
  1972. path: 'list',
  1973. name: 'warehouseList',
  1974. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/list.vue'),
  1975. meta: {
  1976. title: '仓库列表',
  1977. icon: 'deployment-unit',
  1978. hidden: true,
  1979. permission: 'M_inventoryWarehouseList'
  1980. }
  1981. },
  1982. {
  1983. path: '/inventoryManagement/storingLocation/:sn',
  1984. name: 'storingLocationList',
  1985. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/storingLocation/list.vue'),
  1986. meta: {
  1987. title: '仓位列表',
  1988. icon: 'deployment-unit',
  1989. hidden: true,
  1990. replaceTab: true,
  1991. permission: 'M_inventoryWarehouseStoringLocationList'
  1992. }
  1993. }
  1994. ]
  1995. }
  1996. ]
  1997. },
  1998. // 散件管理
  1999. {
  2000. path: '/bulkManagement',
  2001. redirect: '/bulkManagement/purchaseOrder',
  2002. component: PageView,
  2003. meta: {
  2004. title: '散件管理',
  2005. icon: 'gold',
  2006. permission: 'M_bulkManagement'
  2007. },
  2008. children: [
  2009. {
  2010. path: '/bulkManagement/bulkWarehousingOrder',
  2011. redirect: '/bulkManagement/bulkWarehousingOrder/list',
  2012. name: 'bulkWarehousingOrder',
  2013. component: BlankLayout,
  2014. meta: {
  2015. title: '散件入库',
  2016. icon: 'gold',
  2017. permission: 'M_bulkWarehousingOrderList'
  2018. },
  2019. hideChildrenInMenu: true,
  2020. children: [
  2021. {
  2022. path: 'list',
  2023. name: 'bulkWarehousingOrderList',
  2024. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/list.vue'),
  2025. meta: {
  2026. title: '散件入库单列表',
  2027. icon: 'gold',
  2028. hidden: true,
  2029. permission: 'M_bulkWarehousingOrderList'
  2030. }
  2031. },
  2032. {
  2033. path: 'add/:id/:sn/:supplierSn',
  2034. name: 'bulkWarehousingOrderAdd',
  2035. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  2036. meta: {
  2037. title: '新增散件入库单',
  2038. icon: 'gold',
  2039. hidden: true,
  2040. permission: 'B_bulkWarehousingOrder_add'
  2041. }
  2042. },
  2043. {
  2044. path: 'edit/:id/:sn/:supplierSn',
  2045. name: 'bulkWarehousingOrderEdit',
  2046. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  2047. meta: {
  2048. title: '编辑散件入库单',
  2049. icon: 'gold',
  2050. hidden: true,
  2051. permission: 'B_bulkWarehousingOrder_edit'
  2052. }
  2053. },
  2054. {
  2055. path: 'detail/:id/:sn',
  2056. name: 'bulkWarehousingOrderDetail',
  2057. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/detail.vue'),
  2058. meta: {
  2059. title: '散件入库单详情',
  2060. icon: 'gold',
  2061. hidden: true,
  2062. permission: 'B_bulkWarehousingOrder_detail'
  2063. }
  2064. }
  2065. ]
  2066. },
  2067. {
  2068. path: '/bulkManagement/bulkReturnGoods',
  2069. redirect: '/bulkManagement/bulkReturnGoods/list',
  2070. name: 'bulkReturnGoods',
  2071. component: BlankLayout,
  2072. meta: {
  2073. title: '散件退货',
  2074. icon: 'frown',
  2075. permission: 'M_bulkReturnGoodsList'
  2076. },
  2077. hideChildrenInMenu: true,
  2078. children: [
  2079. {
  2080. path: 'list',
  2081. name: 'bulkReturnGoodsList',
  2082. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/list.vue'),
  2083. meta: {
  2084. title: '散件退货列表',
  2085. icon: 'frown',
  2086. hidden: true,
  2087. permission: 'M_bulkReturnGoodsList'
  2088. }
  2089. },
  2090. {
  2091. path: 'edit/:id/:sn/:supplierSn/:no',
  2092. name: 'bulkReturnGoodsEdit',
  2093. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/edit.vue'),
  2094. meta: {
  2095. title: '编辑散件退货单(不抓单)',
  2096. icon: 'frown',
  2097. hidden: true,
  2098. permission: 'B_bulkReturnGoodsEdit'
  2099. }
  2100. },
  2101. {
  2102. path: 'grabEdit/:id/:sn/:supplierSn/:no',
  2103. name: 'bulkReturnGoodsGrabEdit',
  2104. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/grabEdit.vue'),
  2105. meta: {
  2106. title: '编辑散件退货单(抓单)',
  2107. icon: 'frown',
  2108. hidden: true,
  2109. permission: 'B_bulkReturnGoodsEdit'
  2110. }
  2111. }
  2112. ]
  2113. },
  2114. {
  2115. path: '/bulkManagement/bulkImport',
  2116. redirect: '/bulkManagement/bulkImport/list',
  2117. name: 'bulkImport',
  2118. component: BlankLayout,
  2119. meta: {
  2120. title: '散件导入',
  2121. icon: 'frown',
  2122. permission: 'M_bulkImportList'
  2123. },
  2124. hideChildrenInMenu: true,
  2125. children: [
  2126. {
  2127. path: 'list',
  2128. name: 'bulkImportList',
  2129. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkImport/list.vue'),
  2130. meta: {
  2131. title: '散件导入列表',
  2132. icon: 'frown',
  2133. hidden: true,
  2134. permission: 'M_bulkImportList'
  2135. }
  2136. }
  2137. ]
  2138. }
  2139. ]
  2140. },
  2141. // 报表
  2142. {
  2143. path: '/reportData',
  2144. redirect: '/reportData/chainStockReport',
  2145. component: PageView,
  2146. meta: {
  2147. title: '报表',
  2148. icon: 'project',
  2149. permission: 'M_reportData'
  2150. },
  2151. children: [
  2152. {
  2153. path: '/reportData/salesReport',
  2154. redirect: '/reportData/salesReport/index',
  2155. name: 'salesReport',
  2156. component: BlankLayout,
  2157. meta: {
  2158. title: '销售报表',
  2159. icon: 'profile',
  2160. permission: 'M_salesReportList,M_salesDetailReportList'
  2161. },
  2162. hideChildrenInMenu: true,
  2163. children: [
  2164. {
  2165. path: 'index',
  2166. name: 'salesReportIndex',
  2167. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/index.vue'),
  2168. meta: {
  2169. title: '销售报表',
  2170. icon: 'profile',
  2171. hidden: true,
  2172. permission: 'M_salesReportList,M_salesDetailReportList'
  2173. }
  2174. },
  2175. {
  2176. path: 'list',
  2177. name: 'salesReportList',
  2178. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/list.vue'),
  2179. meta: {
  2180. title: '销售报表列表',
  2181. icon: 'profile',
  2182. hidden: true,
  2183. permission: 'M_salesReportList'
  2184. }
  2185. },
  2186. {
  2187. path: 'list',
  2188. name: 'salesDetailReportList',
  2189. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetailReport/list.vue'),
  2190. meta: {
  2191. title: '销售明细报表列表',
  2192. icon: 'profile',
  2193. hidden: true,
  2194. permission: 'M_salesDetailReportList'
  2195. }
  2196. }
  2197. ]
  2198. },
  2199. {
  2200. path: '/reportData/salesRankingReport',
  2201. redirect: '/reportData/salesRankingReport/list',
  2202. name: 'salesRankingReport',
  2203. component: BlankLayout,
  2204. meta: {
  2205. title: '销售排行报表',
  2206. icon: 'profile',
  2207. permission: 'M_salesRankingReport'
  2208. },
  2209. hideChildrenInMenu: true,
  2210. children: [
  2211. {
  2212. path: 'list',
  2213. name: 'salesRankingReportList',
  2214. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesRankingReport/list.vue'),
  2215. meta: {
  2216. title: '销售排行报表列表',
  2217. icon: 'profile',
  2218. hidden: true,
  2219. permission: 'M_salesRankingReportList'
  2220. }
  2221. }
  2222. ]
  2223. },
  2224. {
  2225. path: '/reportData/customerReport',
  2226. redirect: '/reportData/customerReport/list',
  2227. name: 'customerReport',
  2228. component: BlankLayout,
  2229. meta: {
  2230. title: '大客户报表',
  2231. icon: 'profile',
  2232. permission: 'M_customerReportList'
  2233. },
  2234. hideChildrenInMenu: true,
  2235. children: [
  2236. {
  2237. path: 'list',
  2238. name: 'customerReportList',
  2239. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerReport/list.vue'),
  2240. meta: {
  2241. title: '大客户报表列表',
  2242. icon: 'profile',
  2243. hidden: true,
  2244. permission: 'M_customerReportList'
  2245. }
  2246. }
  2247. ]
  2248. },
  2249. {
  2250. path: '/reportData/customerSalesDetailsReport',
  2251. redirect: '/reportData/customerSalesDetailsReport/list',
  2252. name: 'customerSalesDetailsReport',
  2253. component: BlankLayout,
  2254. meta: {
  2255. title: '客户销售明细报表',
  2256. icon: 'profile',
  2257. permission: 'M_customerSalesDetailsReport_list'
  2258. },
  2259. hideChildrenInMenu: true,
  2260. children: [
  2261. {
  2262. path: 'list',
  2263. name: 'customerSalesDetailsReportList',
  2264. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerSalesDetailsReport/list.vue'),
  2265. meta: {
  2266. title: '客户销售明细列表',
  2267. icon: 'profile',
  2268. hidden: true,
  2269. permission: 'M_customerSalesDetailsReport_list'
  2270. }
  2271. }
  2272. ]
  2273. },
  2274. {
  2275. path: '/reportData/salesOutofStockReport',
  2276. redirect: '/reportData/salesOutofStockReport/list',
  2277. name: 'salesOutofStockReport',
  2278. component: BlankLayout,
  2279. meta: {
  2280. title: '销售缺货报表',
  2281. icon: 'profile',
  2282. permission: 'M_salesOutofStockReportList'
  2283. },
  2284. hideChildrenInMenu: true,
  2285. children: [
  2286. {
  2287. path: 'list',
  2288. name: 'salesOutofStockReportList',
  2289. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOutofStockReport/list.vue'),
  2290. meta: {
  2291. title: '销售缺货报表',
  2292. icon: 'profile',
  2293. hidden: true,
  2294. permission: 'M_salesOutofStockReportList'
  2295. }
  2296. }
  2297. ]
  2298. },
  2299. {
  2300. path: '/reportData/salesReturnReport',
  2301. redirect: '/reportData/salesReturnReport/index',
  2302. name: 'salesReturnReport',
  2303. component: BlankLayout,
  2304. meta: {
  2305. title: '销售退货报表',
  2306. icon: 'profile',
  2307. permission: 'M_salesReturnReportList'
  2308. },
  2309. hideChildrenInMenu: true,
  2310. children: [
  2311. {
  2312. path: 'index',
  2313. name: 'salesReturnReportIndex',
  2314. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/index.vue'),
  2315. meta: {
  2316. title: '销售退货报表',
  2317. icon: 'profile',
  2318. hidden: true,
  2319. permission: 'M_salesReturnReportList'
  2320. }
  2321. }
  2322. ]
  2323. },
  2324. {
  2325. path: '/reportData/urgentItemsOffsetReport',
  2326. redirect: '/reportData/urgentItemsOffsetReport/index',
  2327. name: 'urgentItemsOffsetReport',
  2328. component: BlankLayout,
  2329. meta: {
  2330. title: '急件冲减报表',
  2331. icon: 'profile',
  2332. permission: 'M_urgentItemsOffsetReportList'
  2333. },
  2334. hideChildrenInMenu: true,
  2335. children: [
  2336. {
  2337. path: 'index',
  2338. name: 'urgentItemsOffsetReportIndex',
  2339. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urgentItemsOffsetReport/index.vue'),
  2340. meta: {
  2341. title: '急件冲减报表列表',
  2342. icon: 'profile',
  2343. hidden: true
  2344. }
  2345. }
  2346. ]
  2347. },
  2348. {
  2349. path: '/reportData/stockIncomeReport',
  2350. redirect: '/reportData/stockIncomeReport/list',
  2351. name: 'stockIncomeReport',
  2352. component: BlankLayout,
  2353. meta: {
  2354. title: '库存总入报表',
  2355. icon: 'profile',
  2356. permission: 'M_stockIncomeReportList'
  2357. },
  2358. hideChildrenInMenu: true,
  2359. children: [
  2360. {
  2361. path: 'list',
  2362. name: 'stockIncomeReportList',
  2363. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockIncomeReport/list.vue'),
  2364. meta: {
  2365. title: '库存总入报表列表',
  2366. icon: 'profile',
  2367. hidden: true,
  2368. permission: 'M_stockIncomeReportList'
  2369. }
  2370. }
  2371. ]
  2372. },
  2373. {
  2374. path: '/reportData/stockExpenditureReport',
  2375. redirect: '/reportData/stockExpenditureReport/list',
  2376. name: 'stockExpenditureReport',
  2377. component: BlankLayout,
  2378. meta: {
  2379. title: '库存总出报表',
  2380. icon: 'profile',
  2381. permission: 'M_stockExpenditureReportList'
  2382. },
  2383. hideChildrenInMenu: true,
  2384. children: [
  2385. {
  2386. path: 'list',
  2387. name: 'stockExpenditureReportList',
  2388. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockExpenditureReport/list.vue'),
  2389. meta: {
  2390. title: '库存总出报表列表',
  2391. icon: 'profile',
  2392. hidden: true,
  2393. permission: 'M_stockExpenditureReportList'
  2394. }
  2395. }
  2396. ]
  2397. },
  2398. {
  2399. path: '/reportData/stockImportReport',
  2400. redirect: '/reportData/stockImportReport/index',
  2401. name: 'stockImportReport',
  2402. component: BlankLayout,
  2403. meta: {
  2404. title: '库存/散件导入报表',
  2405. icon: 'profile',
  2406. permission: 'M_stockImportReportList'
  2407. },
  2408. hideChildrenInMenu: true,
  2409. children: [
  2410. {
  2411. path: 'index',
  2412. name: 'stockImportReportIndex',
  2413. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockImportReport/index.vue'),
  2414. meta: {
  2415. title: '库存/散件导入报表',
  2416. icon: 'profile',
  2417. hidden: true,
  2418. permission: 'M_stockImportReportList'
  2419. }
  2420. }
  2421. ]
  2422. },
  2423. {
  2424. path: '/reportData/receivedSendStorageReport',
  2425. redirect: '/reportData/receivedSendStorageReport/list',
  2426. name: 'receivedSendStorageReport',
  2427. component: BlankLayout,
  2428. meta: {
  2429. title: '收发存报表',
  2430. icon: 'profile',
  2431. permission: 'M_receivedSendStorageReportList'
  2432. },
  2433. hideChildrenInMenu: true,
  2434. children: [
  2435. {
  2436. path: 'list',
  2437. name: 'receivedSendStorageReportList',
  2438. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/list.vue'),
  2439. meta: {
  2440. title: '收发存报表列表',
  2441. icon: 'profile',
  2442. hidden: true,
  2443. permission: 'M_receivedSendStorageReportList'
  2444. }
  2445. }
  2446. ]
  2447. },
  2448. {
  2449. path: '/reportData/storeReceivedSendStorageReport',
  2450. redirect: '/reportData/storeReceivedSendStorageReport/list',
  2451. name: 'storeReceivedSendStorageReport',
  2452. component: BlankLayout,
  2453. meta: {
  2454. title: '门店收发存汇总报表',
  2455. icon: 'profile',
  2456. permission: 'M_storeReceivedSendStorageReport_list'
  2457. },
  2458. hideChildrenInMenu: true,
  2459. children: [
  2460. {
  2461. path: 'list',
  2462. name: 'storeReceivedSendStorageReportList',
  2463. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeReceivedSendStorageReport/list.vue'),
  2464. meta: {
  2465. title: '门店收发存汇总列表',
  2466. icon: 'profile',
  2467. hidden: true,
  2468. permission: 'M_storeReceivedSendStorageReport_list'
  2469. }
  2470. }
  2471. ]
  2472. },
  2473. {
  2474. path: '/reportData/inventoryReport',
  2475. redirect: '/reportData/inventoryReport/list',
  2476. name: 'inventoryReport',
  2477. component: BlankLayout,
  2478. meta: {
  2479. title: '盘点报表',
  2480. icon: 'profile',
  2481. permission: 'M_inventoryReportList'
  2482. },
  2483. hideChildrenInMenu: true,
  2484. children: [
  2485. {
  2486. path: 'list',
  2487. name: 'inventoryReportList',
  2488. component: () => import(/* webpackChunkName: "reportData1" */ '@/views/reportData/inventoryReport/list.vue'),
  2489. meta: {
  2490. title: '盘点报表列表',
  2491. icon: 'profile',
  2492. hidden: true,
  2493. permission: 'M_inventoryReportList'
  2494. }
  2495. }
  2496. ]
  2497. },
  2498. {
  2499. path: '/reportData/purchaseReceiptReport',
  2500. redirect: '/reportData/purchaseReceiptReport/list',
  2501. name: 'purchaseReceiptReport',
  2502. component: BlankLayout,
  2503. meta: {
  2504. title: '采购入库报表',
  2505. icon: 'profile',
  2506. permission: 'M_purchaseReceiptReportList'
  2507. },
  2508. hideChildrenInMenu: true,
  2509. children: [
  2510. {
  2511. path: 'list',
  2512. name: 'purchaseReceiptReportList',
  2513. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReceiptReport/list.vue'),
  2514. meta: {
  2515. title: '采购入库报表列表',
  2516. icon: 'profile',
  2517. hidden: true,
  2518. permission: 'M_purchaseReceiptReportList'
  2519. }
  2520. }
  2521. ]
  2522. },
  2523. {
  2524. path: '/reportData/purchaseReturnReport',
  2525. redirect: '/reportData/purchaseReturnReport/list',
  2526. name: 'purchaseReturnReport',
  2527. component: BlankLayout,
  2528. meta: {
  2529. title: '采购退货报表',
  2530. icon: 'profile',
  2531. permission: 'M_purchaseReturnReportList'
  2532. },
  2533. hideChildrenInMenu: true,
  2534. children: [
  2535. {
  2536. path: 'list',
  2537. name: 'purchaseReturnReportList',
  2538. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReturnReport/list.vue'),
  2539. meta: {
  2540. title: '采购退货报表列表',
  2541. icon: 'profile',
  2542. hidden: true,
  2543. permission: 'M_purchaseReturnReportList'
  2544. }
  2545. }
  2546. ]
  2547. },
  2548. {
  2549. path: '/reportData/bulkWarehousingReport',
  2550. redirect: '/reportData/bulkWarehousingReport/index',
  2551. name: 'bulkWarehousingReport',
  2552. component: BlankLayout,
  2553. meta: {
  2554. title: '散件入库报表',
  2555. icon: 'profile',
  2556. permission: 'M_bulkWarehousingReportList'
  2557. },
  2558. hideChildrenInMenu: true,
  2559. children: [
  2560. {
  2561. path: 'index',
  2562. name: 'bulkWarehousingReportIndex',
  2563. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/index.vue'),
  2564. meta: {
  2565. title: '散件入库报表',
  2566. icon: 'profile',
  2567. hidden: true,
  2568. permission: 'M_bulkWarehousingReportList'
  2569. }
  2570. }
  2571. ]
  2572. },
  2573. {
  2574. path: '/reportData/bulkReturnReport',
  2575. redirect: '/reportData/bulkReturnReport/index',
  2576. name: 'bulkReturnReport',
  2577. component: BlankLayout,
  2578. meta: {
  2579. title: '散件退货报表',
  2580. icon: 'profile',
  2581. permission: 'M_bulkReturnReportList'
  2582. },
  2583. hideChildrenInMenu: true,
  2584. children: [
  2585. {
  2586. path: 'index',
  2587. name: 'bulkReturnReportIndex',
  2588. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/index.vue'),
  2589. meta: {
  2590. title: '散件退货报表',
  2591. icon: 'profile',
  2592. hidden: true,
  2593. permission: 'M_bulkReturnReportList'
  2594. }
  2595. }
  2596. ]
  2597. },
  2598. {
  2599. path: '/reportData/storeTransferOutReport',
  2600. redirect: '/reportData/storeTransferOutReport/index',
  2601. name: 'storeTransferOutReport',
  2602. component: BlankLayout,
  2603. meta: {
  2604. title: '店内调出报表',
  2605. icon: 'profile',
  2606. permission: 'M_storeTransferOutReportList'
  2607. },
  2608. hideChildrenInMenu: true,
  2609. children: [
  2610. {
  2611. path: 'index',
  2612. name: 'storeTransferOutReportIndex',
  2613. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/index.vue'),
  2614. meta: {
  2615. title: '店内调出报表',
  2616. icon: 'profile',
  2617. hidden: true,
  2618. permission: 'M_storeTransferOutReportList'
  2619. }
  2620. }
  2621. ]
  2622. },
  2623. {
  2624. path: '/chainReportData/chainTransferReport',
  2625. redirect: '/chainReportData/chainTransferReport/index',
  2626. name: 'chainTransferReport',
  2627. component: BlankLayout,
  2628. meta: {
  2629. title: '连锁调入报表',
  2630. icon: 'profile',
  2631. permission: 'M_chainTransferReportList'
  2632. },
  2633. hideChildrenInMenu: true,
  2634. children: [
  2635. {
  2636. path: 'index',
  2637. name: 'chainTransferReportIndex',
  2638. component: () => import(/* webpackChunkName: "reportData" */ '@/views/chainReportData/chainTransferReport/index.vue'),
  2639. meta: {
  2640. title: '连锁调入报表列表',
  2641. icon: 'profile',
  2642. hidden: true
  2643. }
  2644. }
  2645. ]
  2646. },
  2647. {
  2648. path: '/chainReportData/chainCallReport',
  2649. redirect: '/chainReportData/chainCallReport/index',
  2650. name: 'chainCallReport',
  2651. component: BlankLayout,
  2652. meta: {
  2653. title: '连锁调出报表',
  2654. icon: 'profile',
  2655. permission: 'M_chainCallReportList'
  2656. },
  2657. hideChildrenInMenu: true,
  2658. children: [
  2659. {
  2660. path: 'index',
  2661. name: 'chainCallReportIndex',
  2662. component: () => import(/* webpackChunkName: "reportData" */ '@/views/chainReportData/chainCallReport/index.vue'),
  2663. meta: {
  2664. title: '连锁调出报表列表',
  2665. icon: 'profile',
  2666. hidden: true
  2667. }
  2668. }
  2669. ]
  2670. }
  2671. ]
  2672. },
  2673. // 连锁报表
  2674. {
  2675. path: '/chainReportData',
  2676. redirect: '/chainReportData/chainStockReport',
  2677. component: PageView,
  2678. meta: {
  2679. title: '连锁报表',
  2680. icon: 'fund',
  2681. permission: 'M_chainReportData'
  2682. },
  2683. children: [
  2684. {
  2685. path: '/chainReportData/chainSalesReport',
  2686. redirect: '/chainReportData/chainSalesReport/index',
  2687. name: 'chainSalesReport',
  2688. component: BlankLayout,
  2689. meta: {
  2690. title: '连锁销售报表',
  2691. icon: 'profile',
  2692. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2693. },
  2694. hideChildrenInMenu: true,
  2695. children: [
  2696. {
  2697. path: 'index',
  2698. name: 'chainSalesReportIndex',
  2699. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/index.vue'),
  2700. meta: {
  2701. title: '连锁销售报表',
  2702. icon: 'profile',
  2703. hidden: true,
  2704. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2705. }
  2706. },
  2707. {
  2708. path: 'list',
  2709. name: 'chainSalesReportList',
  2710. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/list.vue'),
  2711. meta: {
  2712. title: '连锁销售报表列表',
  2713. icon: 'profile',
  2714. hidden: true,
  2715. permission: 'M_chainSalesReportList'
  2716. }
  2717. },
  2718. {
  2719. path: 'detailList',
  2720. name: 'chainSalesDetailReportList',
  2721. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailReport/list.vue'),
  2722. meta: {
  2723. title: '连锁销售明细报表列表',
  2724. icon: 'profile',
  2725. hidden: true,
  2726. permission: 'M_chainSalesDetailReportList'
  2727. }
  2728. }
  2729. ]
  2730. },
  2731. {
  2732. path: '/chainReportData/chainSalesDetailsCountReport',
  2733. redirect: '/chainReportData/chainSalesDetailsCountReport/list',
  2734. name: 'chainSalesDetailsCountReport',
  2735. component: BlankLayout,
  2736. meta: {
  2737. title: '连锁销售明细合计报表',
  2738. icon: 'profile',
  2739. permission: 'M_chainSalesDetailsCountReport_list'
  2740. },
  2741. hideChildrenInMenu: true,
  2742. children: [
  2743. {
  2744. path: 'list',
  2745. name: 'chainSalesDetailsCountReportList',
  2746. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailsCountReport/list.vue'),
  2747. meta: {
  2748. title: '连锁销售明细合计列表',
  2749. icon: 'profile',
  2750. hidden: true,
  2751. permission: 'M_chainSalesDetailsCountReport_list'
  2752. }
  2753. }
  2754. ]
  2755. },
  2756. {
  2757. path: '/chainReportData/chainSalesReturnDetailReport',
  2758. redirect: '/chainReportData/chainSalesReturnDetailReport/list',
  2759. name: 'chainSalesReturnDetailReport',
  2760. component: BlankLayout,
  2761. meta: {
  2762. title: '连锁销售退货合计报表',
  2763. icon: 'profile',
  2764. permission: 'M_chainSalesReturnDetailReport_list'
  2765. },
  2766. hideChildrenInMenu: true,
  2767. children: [
  2768. {
  2769. path: 'list',
  2770. name: 'chainSalesReturnDetailReportList',
  2771. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReturnDetailReport/list.vue'),
  2772. meta: {
  2773. title: '连锁销售退货合计列表',
  2774. icon: 'profile',
  2775. hidden: true,
  2776. permission: 'M_chainSalesReturnDetailReport_list'
  2777. }
  2778. }
  2779. ]
  2780. },
  2781. {
  2782. path: '/chainReportData/chainCustomerReport',
  2783. redirect: '/chainReportData/chainCustomerReport/list',
  2784. name: 'chainCustomerReport',
  2785. component: BlankLayout,
  2786. meta: {
  2787. title: '连锁大客户报表',
  2788. icon: 'profile',
  2789. permission: 'M_chainCustomerReportList'
  2790. },
  2791. hideChildrenInMenu: true,
  2792. children: [
  2793. {
  2794. path: 'list',
  2795. name: 'chainCustomerReportList',
  2796. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainCustomerReport/list.vue'),
  2797. meta: {
  2798. title: '连锁大客户报表列表',
  2799. icon: 'profile',
  2800. hidden: true,
  2801. permission: 'M_chainCustomerReportList'
  2802. }
  2803. }
  2804. ]
  2805. },
  2806. {
  2807. path: '/chainReportData/chainStockIncomeReport',
  2808. redirect: '/chainReportData/chainStockIncomeReport/list',
  2809. name: 'chainStockIncomeReport',
  2810. component: BlankLayout,
  2811. meta: {
  2812. title: '连锁库存总入报表',
  2813. icon: 'profile',
  2814. permission: 'M_chainStockIncomeReportList'
  2815. },
  2816. hideChildrenInMenu: true,
  2817. children: [
  2818. {
  2819. path: 'list',
  2820. name: 'chainStockIncomeReportList',
  2821. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockIncomeReport/list.vue'),
  2822. meta: {
  2823. title: '连锁库存总入报表列表',
  2824. icon: 'profile',
  2825. hidden: true,
  2826. permission: 'M_chainStockIncomeReportList'
  2827. }
  2828. }
  2829. ]
  2830. },
  2831. {
  2832. path: '/chainReportData/chainStockExpenditureReport',
  2833. redirect: '/chainReportData/chainStockExpenditureReport/list',
  2834. name: 'chainStockExpenditureReport',
  2835. component: BlankLayout,
  2836. meta: {
  2837. title: '连锁库存总出报表',
  2838. icon: 'profile',
  2839. permission: 'M_chainStockExpenditureReportList'
  2840. },
  2841. hideChildrenInMenu: true,
  2842. children: [
  2843. {
  2844. path: 'list',
  2845. name: 'chainStockExpenditureReportList',
  2846. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockExpenditureReport/list.vue'),
  2847. meta: {
  2848. title: '连锁库存总出报表列表',
  2849. icon: 'profile',
  2850. hidden: true,
  2851. permission: 'M_chainStockExpenditureReportList'
  2852. }
  2853. }
  2854. ]
  2855. },
  2856. {
  2857. path: '/chainReportData/chainStockReport',
  2858. redirect: '/chainReportData/chainStockReport/list',
  2859. name: 'chainStockReport',
  2860. component: BlankLayout,
  2861. meta: {
  2862. title: '连锁库存总表',
  2863. icon: 'profile',
  2864. permission: 'M_chainStockReportList'
  2865. },
  2866. hideChildrenInMenu: true,
  2867. children: [
  2868. {
  2869. path: 'list',
  2870. name: 'chainStockReportList',
  2871. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockReport/list.vue'),
  2872. meta: {
  2873. title: '连锁库存总表列表',
  2874. icon: 'profile',
  2875. hidden: true,
  2876. permission: 'M_chainStockReportList'
  2877. }
  2878. }
  2879. ]
  2880. },
  2881. {
  2882. path: '/chainReportData/chainPurchaseReceiptReport',
  2883. redirect: '/chainReportData/chainPurchaseReceiptReport/list',
  2884. name: 'chainPurchaseReceiptReport',
  2885. component: BlankLayout,
  2886. meta: {
  2887. title: '连锁采购入库报表',
  2888. icon: 'profile',
  2889. permission: 'M_chainPurchaseReceiptReportList'
  2890. },
  2891. hideChildrenInMenu: true,
  2892. children: [
  2893. {
  2894. path: 'list',
  2895. name: 'chainPurchaseReceiptReportList',
  2896. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainPurchaseReceiptReport/list.vue'),
  2897. meta: {
  2898. title: '连锁采购入库报表列表',
  2899. icon: 'profile',
  2900. hidden: true,
  2901. permission: 'M_chainPurchaseReceiptReportList'
  2902. }
  2903. }
  2904. ]
  2905. },
  2906. {
  2907. path: '/chainReportData/chainReceivedSendStorageReport',
  2908. redirect: '/chainReportData/chainReceivedSendStorageReport/list',
  2909. name: 'chainReceivedSendStorageReport',
  2910. component: BlankLayout,
  2911. meta: {
  2912. title: '连锁收发存报表',
  2913. icon: 'profile',
  2914. permission: 'M_chainReceivedSendStorageReportList'
  2915. },
  2916. hideChildrenInMenu: true,
  2917. children: [
  2918. {
  2919. path: 'list',
  2920. name: 'chainReceivedSendStorageReportList',
  2921. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainReceivedSendStorageReport/list.vue'),
  2922. meta: {
  2923. title: '连锁收发存报表列表',
  2924. icon: 'profile',
  2925. hidden: true,
  2926. permission: 'M_chainReceivedSendStorageReportList'
  2927. }
  2928. }
  2929. ]
  2930. }
  2931. ]
  2932. },
  2933. // 客户管理
  2934. {
  2935. path: '/customerManagement',
  2936. redirect: '/customerManagement/customerInfo',
  2937. component: PageView,
  2938. meta: {
  2939. title: '客户管理',
  2940. icon: 'idcard',
  2941. permission: 'M_customerInfoList'
  2942. },
  2943. children: [
  2944. {
  2945. path: '/customerManagement/customerInfo',
  2946. redirect: '/customerManagement/customerInfo/list',
  2947. name: 'customerInfo',
  2948. component: BlankLayout,
  2949. meta: {
  2950. title: '客户管理',
  2951. icon: 'idcard',
  2952. permission: 'M_customerInfoList'
  2953. },
  2954. hideChildrenInMenu: true,
  2955. children: [
  2956. {
  2957. path: 'list',
  2958. name: 'customerInfoList',
  2959. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/list.vue'),
  2960. meta: {
  2961. title: '客户列表',
  2962. icon: 'idcard',
  2963. hidden: true,
  2964. permission: 'M_customerInfoList'
  2965. }
  2966. },
  2967. {
  2968. path: 'add',
  2969. name: 'customerInfoAdd',
  2970. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2971. meta: {
  2972. title: '新增客户',
  2973. icon: 'idcard',
  2974. hidden: true,
  2975. permission: 'B_customer_customerInfo_add'
  2976. }
  2977. },
  2978. {
  2979. path: 'edit/:id',
  2980. name: 'customerInfoEdit',
  2981. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2982. meta: {
  2983. title: '编辑客户',
  2984. icon: 'idcard',
  2985. hidden: true,
  2986. permission: 'B_customer_customerInfo_edit'
  2987. }
  2988. }
  2989. ]
  2990. },
  2991. {
  2992. path: '/customerManagement/customerMerge',
  2993. redirect: '/customerManagement/customerMerge/index',
  2994. name: 'customerMerge',
  2995. component: BlankLayout,
  2996. meta: {
  2997. title: '客户合并记录',
  2998. icon: 'profile',
  2999. permission: 'M_customerMergeList'
  3000. },
  3001. hideChildrenInMenu: true,
  3002. children: [
  3003. {
  3004. path: 'index',
  3005. name: 'customerMergeIndex',
  3006. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/customerManagement/customerMerge/index.vue'),
  3007. meta: {
  3008. title: '客户合并记录',
  3009. icon: 'profile',
  3010. hidden: true,
  3011. permission: 'M_customerMergeList'
  3012. }
  3013. }
  3014. ]
  3015. }
  3016. ]
  3017. },
  3018. // 产品管理
  3019. {
  3020. path: '/productManagement',
  3021. redirect: '/productManagement/productInfo',
  3022. component: PageView,
  3023. meta: {
  3024. title: '产品管理',
  3025. icon: 'shopping',
  3026. permission: 'M_product'
  3027. },
  3028. children: [
  3029. {
  3030. path: '/productManagement/productInfo',
  3031. redirect: '/productManagement/productInfo/list',
  3032. name: 'productInfo',
  3033. component: BlankLayout,
  3034. meta: {
  3035. title: '产品信息管理(自建)',
  3036. icon: 'file-text',
  3037. permission: 'M_dealerProductList'
  3038. },
  3039. hideChildrenInMenu: true,
  3040. children: [
  3041. {
  3042. path: 'list',
  3043. name: 'productInfoList',
  3044. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  3045. meta: {
  3046. title: '产品信息列表(自建)',
  3047. icon: 'file-text',
  3048. hidden: true,
  3049. permission: 'M_dealerProductList'
  3050. }
  3051. },
  3052. {
  3053. path: 'add',
  3054. name: 'productInfoAdd',
  3055. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  3056. meta: {
  3057. title: '新增产品',
  3058. icon: 'file-text',
  3059. hidden: true,
  3060. permission: 'B_product_dealerProduct_add'
  3061. }
  3062. },
  3063. {
  3064. path: 'edit/:id',
  3065. name: 'productInfoEdit',
  3066. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  3067. meta: {
  3068. title: '编辑产品',
  3069. icon: 'file-text',
  3070. hidden: true,
  3071. permission: 'B_product_dealerProduct_edit'
  3072. }
  3073. }
  3074. ]
  3075. },
  3076. {
  3077. path: '/productManagement/productInfoJg',
  3078. redirect: '/productManagement/productInfoJg/list',
  3079. name: 'productInfoJg',
  3080. component: BlankLayout,
  3081. meta: {
  3082. title: '产品信息管理(箭冠)',
  3083. icon: 'file-text',
  3084. permission: 'M_productInfoList'
  3085. },
  3086. hideChildrenInMenu: true,
  3087. children: [
  3088. {
  3089. path: 'list',
  3090. name: 'productInfoJgList',
  3091. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfoJg/list.vue'),
  3092. meta: {
  3093. title: '产品信息列表(箭冠)',
  3094. icon: 'file-text',
  3095. hidden: true,
  3096. permission: 'M_productInfoList'
  3097. }
  3098. }
  3099. ]
  3100. },
  3101. {
  3102. path: '/productManagement/productOnlineInfo',
  3103. redirect: '/productManagement/productOnlineInfo/list',
  3104. name: 'productOnlineInfo',
  3105. component: BlankLayout,
  3106. meta: {
  3107. title: '产品上线信息',
  3108. icon: 'file-text',
  3109. permission: 'M_productOnlineInfoList'
  3110. },
  3111. hideChildrenInMenu: true,
  3112. children: [
  3113. {
  3114. path: 'list',
  3115. name: 'productOnlineInfoList',
  3116. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOnlineInfo/list.vue'),
  3117. meta: {
  3118. title: '产品上线信息列表',
  3119. icon: 'file-text',
  3120. hidden: true,
  3121. permission: 'M_productOnlineInfoList'
  3122. }
  3123. }
  3124. ]
  3125. },
  3126. {
  3127. path: '/productManagement/newProductList',
  3128. redirect: '/newProduct/list/:onlineFalg',
  3129. name: 'newProduct',
  3130. component: BlankLayout,
  3131. meta: {
  3132. title: '产品信息',
  3133. icon: 'sketch',
  3134. permission: 'M_newProductList'
  3135. },
  3136. hideChildrenInMenu: true,
  3137. children: [
  3138. // 新品列表-下线产品
  3139. {
  3140. path: '/newProduct/list/:onlineFalg',
  3141. name: 'newProductList',
  3142. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list'),
  3143. meta: {
  3144. title: '下线产品',
  3145. icon: 'file-text',
  3146. hidden: true
  3147. }
  3148. },
  3149. // 产品详情
  3150. {
  3151. path: '/viewProduct/:sn',
  3152. name: 'viewProduct',
  3153. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/detail'),
  3154. meta: {
  3155. title: '产品详情',
  3156. icon: 'file-text',
  3157. replaceTab: true,
  3158. hidden: true
  3159. }
  3160. }
  3161. ]
  3162. },
  3163. {
  3164. path: '/productManagement/productBrand',
  3165. redirect: '/productManagement/productBrand/list',
  3166. name: 'productBrand',
  3167. component: BlankLayout,
  3168. meta: {
  3169. title: '产品品牌管理',
  3170. icon: 'sketch',
  3171. permission: 'M_dealerProductBrandList'
  3172. },
  3173. hideChildrenInMenu: true,
  3174. children: [
  3175. {
  3176. path: 'list',
  3177. name: 'productBrandList',
  3178. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  3179. meta: {
  3180. title: '产品品牌列表',
  3181. icon: 'sketch',
  3182. hidden: true,
  3183. permission: 'M_dealerProductBrandList'
  3184. }
  3185. }
  3186. ]
  3187. },
  3188. {
  3189. path: '/productManagement/productCategory',
  3190. redirect: '/productManagement/productCategory/list',
  3191. name: 'productCategory',
  3192. component: BlankLayout,
  3193. meta: {
  3194. title: '产品分类管理',
  3195. icon: 'sliders',
  3196. permission: 'M_dealerProductTypeList'
  3197. },
  3198. hideChildrenInMenu: true,
  3199. children: [
  3200. {
  3201. path: 'list',
  3202. name: 'productCategoryList',
  3203. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  3204. meta: {
  3205. title: '产品分类列表',
  3206. icon: 'sliders',
  3207. hidden: true,
  3208. permission: 'M_dealerProductTypeList'
  3209. }
  3210. }
  3211. ]
  3212. },
  3213. {
  3214. path: '/productManagement/priceChangeRecord',
  3215. redirect: '/productManagement/priceChangeRecord/list',
  3216. name: 'priceChangeRecord',
  3217. component: BlankLayout,
  3218. meta: {
  3219. title: '价格变更记录',
  3220. icon: 'sketch',
  3221. permission: 'M_priceChangeRecordList'
  3222. },
  3223. hideChildrenInMenu: true,
  3224. children: [
  3225. {
  3226. path: 'list',
  3227. name: 'priceChangeRecordList',
  3228. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  3229. meta: {
  3230. title: '价格变更记录列表',
  3231. icon: 'sketch',
  3232. hidden: true,
  3233. permission: 'M_priceChangeRecordList'
  3234. }
  3235. }
  3236. ]
  3237. },
  3238. {
  3239. path: '/productManagement/productUniversal',
  3240. redirect: '/productManagement/productUniversal/list',
  3241. name: 'productUniversal',
  3242. component: BlankLayout,
  3243. meta: {
  3244. title: '通用产品',
  3245. icon: 'sketch',
  3246. permission: 'M_productUniversalList'
  3247. },
  3248. hideChildrenInMenu: true,
  3249. children: [
  3250. {
  3251. path: 'list',
  3252. name: 'productUniversalList',
  3253. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  3254. meta: {
  3255. title: '通用产品',
  3256. icon: 'sketch',
  3257. hidden: true,
  3258. permission: 'M_productUniversalList'
  3259. }
  3260. }
  3261. ]
  3262. }
  3263. ]
  3264. },
  3265. // 供应商管理
  3266. {
  3267. path: '/supplierManagement',
  3268. redirect: '/supplierManagement/supplierInfo',
  3269. component: PageView,
  3270. meta: {
  3271. title: '供应商管理',
  3272. icon: 'contacts',
  3273. permission: 'M_supplierInfoList'
  3274. },
  3275. children: [
  3276. {
  3277. path: '/supplierManagement/supplierInfo',
  3278. redirect: '/supplierManagement/supplierInfo/list',
  3279. name: 'supplierInfo',
  3280. component: BlankLayout,
  3281. meta: {
  3282. title: '供应商管理',
  3283. icon: 'contacts',
  3284. permission: 'M_supplierInfoList'
  3285. },
  3286. hideChildrenInMenu: true,
  3287. children: [
  3288. {
  3289. path: 'list',
  3290. name: 'supplierInfoList',
  3291. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3292. meta: {
  3293. title: '供应商列表',
  3294. icon: 'contacts',
  3295. hidden: true,
  3296. permission: 'M_supplierInfoList'
  3297. }
  3298. }
  3299. ]
  3300. }
  3301. ]
  3302. },
  3303. // 促销管理
  3304. {
  3305. path: '/promotionManagement',
  3306. redirect: '/promotionManagement/promotionInfo',
  3307. component: PageView,
  3308. meta: {
  3309. title: '促销管理',
  3310. icon: 'contacts',
  3311. permission: 'M_promotionInfo'
  3312. },
  3313. children: [
  3314. {
  3315. path: '/promotionManagement/promotionInfo',
  3316. redirect: '/promotionManagement/promotionInfo/list',
  3317. name: 'promotionInfo',
  3318. component: BlankLayout,
  3319. meta: {
  3320. title: '促销活动',
  3321. icon: 'contacts',
  3322. permission: 'M_promotionInfoList'
  3323. },
  3324. hideChildrenInMenu: true,
  3325. children: [
  3326. {
  3327. path: 'list',
  3328. name: 'promotionInfoList',
  3329. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/promotionManagement/promotionInfo/list.vue'),
  3330. meta: {
  3331. title: '促销活动列表',
  3332. icon: 'contacts',
  3333. hidden: true,
  3334. permission: 'M_promotionInfoList'
  3335. }
  3336. }
  3337. ]
  3338. },
  3339. {
  3340. path: '/promotionManagement/couponDetails',
  3341. redirect: '/promotionManagement/couponDetails/list',
  3342. name: 'couponDetails',
  3343. component: BlankLayout,
  3344. meta: {
  3345. title: '优惠券详情',
  3346. icon: 'contacts'
  3347. // permission: 'M_couponDetailsList'
  3348. },
  3349. hideChildrenInMenu: true,
  3350. children: [
  3351. {
  3352. path: 'list',
  3353. name: 'couponDetailsList',
  3354. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/promotionManagement/couponDetails/list.vue'),
  3355. meta: {
  3356. title: '优惠券详情',
  3357. icon: 'contacts',
  3358. hidden: true
  3359. // permission: 'M_couponDetailsList'
  3360. }
  3361. }
  3362. ]
  3363. }
  3364. ]
  3365. },
  3366. // 中心店/配送店管理
  3367. {
  3368. path: '/storeManagement',
  3369. redirect: '/storeManagement/bind',
  3370. component: PageView,
  3371. meta: {
  3372. title: '中心店/配送店管理',
  3373. icon: 'bank',
  3374. permission: 'M_storeManagement'
  3375. },
  3376. children: [
  3377. {
  3378. path: '/storeManagement/bind',
  3379. redirect: '/storeManagement/bind/list',
  3380. name: 'storeManagementBind',
  3381. component: BlankLayout,
  3382. meta: {
  3383. title: '中心店/配送店绑定',
  3384. icon: 'link',
  3385. permission: 'M_storeManagementBindList'
  3386. },
  3387. hideChildrenInMenu: true,
  3388. children: [
  3389. {
  3390. path: 'list',
  3391. name: 'storeManagementBindList',
  3392. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/bind/list.vue'),
  3393. meta: {
  3394. title: '中心店/配送店绑定列表',
  3395. icon: 'link',
  3396. hidden: true,
  3397. permission: 'M_storeManagementBindList'
  3398. }
  3399. }
  3400. ]
  3401. },
  3402. {
  3403. path: '/storeManagement/userAuthorization',
  3404. redirect: '/storeManagement/userAuthorization/list',
  3405. name: 'storeManagementUserAuth',
  3406. component: BlankLayout,
  3407. meta: {
  3408. title: '中心店用户授权',
  3409. icon: 'link',
  3410. permission: 'M_storeManagementUserAuthList'
  3411. },
  3412. hideChildrenInMenu: true,
  3413. children: [
  3414. {
  3415. path: 'list',
  3416. name: 'storeManagementUserAuthList',
  3417. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/userAuthorization/list.vue'),
  3418. meta: {
  3419. title: '中心店用户授权列表',
  3420. icon: 'link',
  3421. hidden: true,
  3422. permission: 'M_storeManagementUserAuthList'
  3423. }
  3424. }
  3425. ]
  3426. }
  3427. ]
  3428. },
  3429. // 基础设置
  3430. {
  3431. path: '/basicData',
  3432. redirect: '/basicData/storeTransferOutTypeManagement',
  3433. component: PageView,
  3434. meta: {
  3435. title: '基础设置',
  3436. icon: 'setting',
  3437. permission: 'M_basicData'
  3438. },
  3439. children: [
  3440. {
  3441. path: '/basicData/storeTransferOutTypeManagement',
  3442. redirect: '/basicData/storeTransferOutTypeManagement/list',
  3443. name: 'storeTransferOutTypeManagement',
  3444. component: BlankLayout,
  3445. meta: {
  3446. title: '店内调出类型管理',
  3447. icon: 'interaction',
  3448. permission: 'M_storeTransferOutTypeList'
  3449. },
  3450. hideChildrenInMenu: true,
  3451. children: [
  3452. {
  3453. path: 'list',
  3454. name: 'storeTransferOutTypeManagementList',
  3455. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/storeTransferOutTypeManagement/list.vue'),
  3456. meta: {
  3457. title: '店内调出类型管理列表',
  3458. icon: 'interaction',
  3459. hidden: true,
  3460. permission: 'M_storeTransferOutTypeList'
  3461. }
  3462. }
  3463. ]
  3464. },
  3465. {
  3466. path: '/basicData/bulkPartsTypeManagement',
  3467. redirect: '/basicData/bulkPartsTypeManagement/list',
  3468. name: 'bulkPartsTypeManagement',
  3469. component: BlankLayout,
  3470. meta: {
  3471. title: '散件入库类型管理',
  3472. icon: 'gold',
  3473. permission: 'M_bulkPartsTypeList'
  3474. },
  3475. hideChildrenInMenu: true,
  3476. children: [
  3477. {
  3478. path: 'list',
  3479. name: 'bulkPartsTypeManagementList',
  3480. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/bulkPartsTypeManagement/list.vue'),
  3481. meta: {
  3482. title: '散件入库类型列表',
  3483. icon: 'gold',
  3484. hidden: true,
  3485. permission: 'M_bulkPartsTypeList'
  3486. }
  3487. }
  3488. ]
  3489. },
  3490. {
  3491. path: '/basicData/expenseType',
  3492. redirect: '/basicData/expenseType/list',
  3493. name: 'expenseType',
  3494. component: BlankLayout,
  3495. meta: {
  3496. title: '费用类型管理',
  3497. icon: 'pay-circle',
  3498. permission: 'M_expenseTypeList'
  3499. },
  3500. hideChildrenInMenu: true,
  3501. children: [
  3502. {
  3503. path: 'list',
  3504. name: 'expenseTypeList',
  3505. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/expenseType/list.vue'),
  3506. meta: {
  3507. title: '费用类型列表',
  3508. icon: 'pay-circle',
  3509. hidden: true,
  3510. permission: 'M_expenseTypeList'
  3511. }
  3512. }
  3513. ]
  3514. },
  3515. // {
  3516. // path: '/basicData/processSettings',
  3517. // redirect: '/basicData/processSettings/setup',
  3518. // name: 'processSettings',
  3519. // component: BlankLayout,
  3520. // meta: {
  3521. // title: '业务自动化设置',
  3522. // icon: 'sliders'
  3523. // // permission: 'M_goodsManage_list'
  3524. // },
  3525. // hideChildrenInMenu: true,
  3526. // children: [
  3527. // {
  3528. // path: 'setup',
  3529. // name: 'processSettingsSetup',
  3530. // component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/processSettings/setup.vue'),
  3531. // meta: {
  3532. // title: '业务自动化设置',
  3533. // icon: 'sliders',
  3534. // hidden: true
  3535. // // permission: 'M_goodsManage_list'
  3536. // }
  3537. // }
  3538. // ]
  3539. // },
  3540. {
  3541. path: '/basicData/customerTypeManagement',
  3542. redirect: '/basicData/customerTypeManagement/list',
  3543. name: 'customerTypeManagement',
  3544. component: BlankLayout,
  3545. meta: {
  3546. title: '客户类型管理',
  3547. icon: 'idcard',
  3548. permission: 'M_customerTypeList'
  3549. },
  3550. hideChildrenInMenu: true,
  3551. children: [
  3552. {
  3553. path: 'list',
  3554. name: 'customerTypeManagementList',
  3555. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/customerTypeManagement/list.vue'),
  3556. meta: {
  3557. title: '客户类型列表',
  3558. icon: 'idcard',
  3559. hidden: true,
  3560. permission: 'M_customerTypeList'
  3561. }
  3562. }
  3563. ]
  3564. },
  3565. {
  3566. path: '/basicData/notificationManage',
  3567. redirect: '/basicData/notificationManage/list',
  3568. name: 'notificationManage',
  3569. component: BlankLayout,
  3570. meta: {
  3571. title: '消息提醒管理',
  3572. icon: 'sound',
  3573. permission: 'M_notificationManageList'
  3574. },
  3575. hideChildrenInMenu: true,
  3576. children: [
  3577. {
  3578. path: 'list',
  3579. name: 'notificationManageList',
  3580. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/notificationManage/list.vue'),
  3581. meta: {
  3582. title: '消息提醒管理',
  3583. icon: 'sound',
  3584. hidden: true,
  3585. permission: 'M_notificationManageList'
  3586. }
  3587. }
  3588. ]
  3589. },
  3590. {
  3591. path: '/basicData/systemSettings',
  3592. redirect: '/basicData/systemSettings/index',
  3593. name: 'systemSettings',
  3594. component: BlankLayout,
  3595. meta: {
  3596. title: '系统参数',
  3597. icon: 'sound',
  3598. permission: 'M_systemSettingsList'
  3599. },
  3600. hideChildrenInMenu: true,
  3601. children: [
  3602. {
  3603. path: 'index',
  3604. name: 'systemSettingsList',
  3605. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/systemSettings/index.vue'),
  3606. meta: {
  3607. title: '系统参数',
  3608. icon: 'sound',
  3609. hidden: true,
  3610. permission: 'M_systemSettingsList'
  3611. }
  3612. }
  3613. ]
  3614. }
  3615. ]
  3616. },
  3617. // auth
  3618. {
  3619. path: '/auth',
  3620. redirect: '/auth/userList',
  3621. component: PageView,
  3622. meta: {
  3623. title: '权限管理',
  3624. icon: 'key',
  3625. permission: 'M_powerMD_0'
  3626. },
  3627. children: [
  3628. {
  3629. path: '/auth/userList',
  3630. name: 'powerUser',
  3631. redirect: '/auth/userList/list',
  3632. component: BlankLayout,
  3633. meta: {
  3634. title: '用户管理',
  3635. icon: 'user',
  3636. permission: 'M_powerMD_user_list'
  3637. },
  3638. hideChildrenInMenu: true,
  3639. children: [
  3640. {
  3641. path: 'list',
  3642. name: 'powerUserList',
  3643. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3644. meta: {
  3645. title: '用户管理',
  3646. icon: 'user',
  3647. permission: 'M_powerMD_user_list'
  3648. }
  3649. }
  3650. ]
  3651. },
  3652. {
  3653. path: '/auth/roleList',
  3654. name: 'powerRole',
  3655. redirect: '/auth/roleList/list',
  3656. component: BlankLayout,
  3657. meta: {
  3658. title: '角色管理',
  3659. icon: 'solution',
  3660. permission: 'M_powerMD_role_list'
  3661. },
  3662. hideChildrenInMenu: true,
  3663. children: [
  3664. {
  3665. path: 'list',
  3666. name: 'powerRoleList',
  3667. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3668. meta: {
  3669. title: '角色管理',
  3670. icon: 'solution',
  3671. permission: 'M_powerMD_role_list'
  3672. }
  3673. }
  3674. ]
  3675. }
  3676. ]
  3677. }
  3678. ]
  3679. },
  3680. {
  3681. path: '*',
  3682. redirect: '/404',
  3683. hidden: true
  3684. }
  3685. ]
  3686. /**
  3687. * 基础路由
  3688. * @type { *[] }
  3689. */
  3690. export const constantRouterMap = [
  3691. {
  3692. path: '/user',
  3693. component: UserLayout,
  3694. redirect: '/user/login',
  3695. hidden: true,
  3696. children: [
  3697. {
  3698. path: 'login',
  3699. name: 'login',
  3700. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3701. },
  3702. {
  3703. path: 'register',
  3704. name: 'register',
  3705. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3706. },
  3707. {
  3708. path: 'register-result',
  3709. name: 'registerResult',
  3710. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3711. },
  3712. {
  3713. path: 'recover',
  3714. name: 'recover',
  3715. component: undefined
  3716. }
  3717. ]
  3718. },
  3719. {
  3720. path: '/updateBrowser',
  3721. name: 'updateBrowser',
  3722. component: () => import(/* webpackChunkName: "user" */ '@/views/exception/updateBrowser')
  3723. },
  3724. {
  3725. path: '/404',
  3726. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3727. }
  3728. ]