router.config.js 116 KB

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