router.config.js 100 KB

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