router.config.js 102 KB

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