router.config.js 124 KB

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