router.config.js 129 KB

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