router.config.js 136 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. BlankLayout,
  6. BigScreen,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: {
  15. title: '首页'
  16. },
  17. redirect: '/home',
  18. children: [
  19. {
  20. path: '/home',
  21. name: 'home',
  22. redirect: '/home',
  23. component: PageView,
  24. meta: {
  25. title: '首页',
  26. icon: 'home'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: '/home',
  32. name: 'home',
  33. redirect: '/home',
  34. component: BlankLayout,
  35. meta: {
  36. title: '首页',
  37. icon: 'home',
  38. hidden: true
  39. },
  40. hideChildrenInMenu: true,
  41. children: [
  42. {
  43. path: '/home',
  44. name: 'home',
  45. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  46. meta: {
  47. title: '首页',
  48. icon: 'home',
  49. hidden: true
  50. }
  51. },
  52. {
  53. path: '/changePwd',
  54. name: 'changePwd',
  55. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  56. meta: {
  57. title: '修改密码',
  58. icon: 'home'
  59. },
  60. hidden: true
  61. },
  62. {
  63. path: '/notice',
  64. name: 'notice',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
  66. meta: {
  67. title: '公告',
  68. icon: 'bell'
  69. },
  70. hidden: true
  71. },
  72. {
  73. path: '/dowloadFile',
  74. name: 'dowloadFile',
  75. component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
  76. meta: {
  77. title: '下载中心',
  78. icon: 'bell'
  79. },
  80. hidden: true
  81. },
  82. // 新品列表
  83. {
  84. path: '/newProduct/list/:onlineFalg',
  85. name: 'newProductList',
  86. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  87. meta: {
  88. title: '新品信息',
  89. icon: 'home'
  90. },
  91. hidden: true
  92. },
  93. {
  94. path: '/newProduct/list/:onlineFalg',
  95. name: 'oldProductList',
  96. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  97. meta: {
  98. title: '下线产品列表',
  99. icon: 'home'
  100. },
  101. hidden: true
  102. },
  103. // 产品详情
  104. {
  105. path: '/viewProduct/:sn',
  106. name: 'viewProduct',
  107. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  108. meta: {
  109. title: '产品详情',
  110. icon: 'home'
  111. },
  112. hidden: true
  113. }
  114. ]
  115. }
  116. ]
  117. },
  118. // 销售管理
  119. {
  120. path: '/salesManagement',
  121. redirect: '/salesManagement/salesQueryNew',
  122. component: PageView,
  123. meta: {
  124. title: '销售管理',
  125. icon: 'account-book',
  126. permission: 'M_salesManagement'
  127. },
  128. children: [
  129. {
  130. path: '/salesManagement/salesQueryNew',
  131. redirect: '/salesManagement/salesQueryNew/list',
  132. name: 'salesQueryNew',
  133. component: BlankLayout,
  134. meta: {
  135. title: '销售单查询',
  136. icon: 'monitor',
  137. permission: 'M_salesQueryList'
  138. },
  139. hideChildrenInMenu: true,
  140. children: [
  141. {
  142. path: 'list',
  143. name: 'salesQueryNewList',
  144. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/list.vue'),
  145. meta: {
  146. title: '销售单列表',
  147. icon: 'monitor',
  148. hidden: true,
  149. permission: 'M_salesQueryList'
  150. }
  151. },
  152. {
  153. path: 'detail/:sn',
  154. name: 'salesNewDetail',
  155. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  156. meta: {
  157. title: '销售单详情',
  158. icon: 'monitor',
  159. hidden: true,
  160. replaceTab: true,
  161. permission: 'B_salesDetail'
  162. }
  163. },
  164. {
  165. path: 'detail/:sn',
  166. name: 'salesNewDetailAudit',
  167. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  168. meta: {
  169. title: '销售单审核',
  170. icon: 'monitor',
  171. hidden: true,
  172. replaceTab: true,
  173. permission: 'B_salesAudit'
  174. }
  175. },
  176. {
  177. path: 'add/:sn',
  178. name: 'salesNewAdd',
  179. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  180. meta: {
  181. title: '新增销售单',
  182. icon: 'monitor',
  183. hidden: true,
  184. permission: 'B_salesEdit'
  185. }
  186. },
  187. {
  188. path: 'edit/:sn',
  189. name: 'salesNewEdit',
  190. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  191. meta: {
  192. title: '编辑销售单',
  193. icon: 'monitor',
  194. hidden: true,
  195. permission: 'B_salesEdit'
  196. }
  197. },
  198. {
  199. path: 'waitDispatch/:salesBillSn',
  200. name: 'waitDispatchNew',
  201. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatchNew/edit.vue'),
  202. meta: {
  203. title: '下推销售单',
  204. icon: 'monitor',
  205. replaceTab: true,
  206. hidden: true,
  207. permission: 'B_salesDispatch'
  208. }
  209. }
  210. ]
  211. },
  212. {
  213. path: '/salesManagement/salesOrderWarehouse',
  214. redirect: '/salesManagement/salesOrderWarehouse/list',
  215. name: 'salesOrderWarehouse',
  216. component: BlankLayout,
  217. meta: {
  218. title: '仓库销售单',
  219. icon: 'vertical-align-bottom',
  220. permission: 'M_salesOrderWarehouseList'
  221. },
  222. hideChildrenInMenu: true,
  223. children: [
  224. {
  225. path: 'list',
  226. name: 'salesOrderWarehouseList',
  227. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/list.vue'),
  228. meta: {
  229. title: '仓库销售单列表',
  230. icon: 'vertical-align-bottom',
  231. hidden: true,
  232. permission: 'M_salesOrderWarehouseList'
  233. }
  234. },
  235. {
  236. path: 'detail/:sn/:wsn',
  237. name: 'saleOrderDetail',
  238. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/detail.vue'),
  239. meta: {
  240. title: '仓库销售单列表详情',
  241. icon: 'vertical-align-bottom',
  242. replaceTab: true,
  243. hidden: true,
  244. permission: 'B_salesOrderWarehouseDetail'
  245. }
  246. }
  247. ]
  248. },
  249. {
  250. path: '/salesManagement/pushOrderManagement',
  251. redirect: '/salesManagement/pushOrderManagement/list',
  252. name: 'pushOrderManagement',
  253. component: BlankLayout,
  254. meta: {
  255. title: '下推订单列表',
  256. icon: 'vertical-align-bottom',
  257. permission: 'M_pushOrderManagementList'
  258. },
  259. hideChildrenInMenu: true,
  260. children: [
  261. {
  262. path: 'list',
  263. name: 'pushOrderManagementList',
  264. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
  265. meta: {
  266. title: '下推订单列表',
  267. icon: 'vertical-align-bottom',
  268. hidden: true,
  269. permission: 'M_pushOrderManagementList'
  270. }
  271. },
  272. {
  273. path: 'detail/:sn/:type',
  274. name: 'pushOrderDetail',
  275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
  276. meta: {
  277. title: '下推订单详情',
  278. icon: 'vertical-align-bottom',
  279. replaceTab: true,
  280. hidden: true,
  281. permission: 'B_dispatchDetail'
  282. }
  283. }
  284. ]
  285. },
  286. {
  287. path: '/salesManagement/salesCollection',
  288. redirect: '/salesManagement/salesCollection/list',
  289. name: 'salesCollection',
  290. component: BlankLayout,
  291. meta: {
  292. title: '销售收款',
  293. icon: 'vertical-align-bottom',
  294. permission: 'M_salesCollectionList'
  295. },
  296. hideChildrenInMenu: true,
  297. children: [
  298. {
  299. path: 'list',
  300. name: 'salesCollectionList',
  301. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesCollection/list.vue'),
  302. meta: {
  303. title: '销售收款',
  304. icon: 'vertical-align-bottom',
  305. hidden: true,
  306. permission: 'M_salesCollectionList'
  307. }
  308. }
  309. ]
  310. },
  311. {
  312. path: '/salesManagement/stockPrint',
  313. redirect: '/salesManagement/stockPrint/list',
  314. name: 'stockPrint',
  315. component: BlankLayout,
  316. meta: {
  317. title: '备货打印',
  318. icon: 'vertical-align-bottom',
  319. permission: 'M_stockPrintList'
  320. },
  321. hideChildrenInMenu: true,
  322. children: [
  323. {
  324. path: 'list',
  325. name: 'stockPrintList',
  326. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/stockPrint/list.vue'),
  327. meta: {
  328. title: '备货打印',
  329. icon: 'vertical-align-bottom',
  330. hidden: true,
  331. permission: 'M_stockPrintList'
  332. }
  333. }
  334. ]
  335. },
  336. {
  337. path: '/salesManagement/receiptPrint',
  338. redirect: '/salesManagement/receiptPrint/list',
  339. name: 'receiptPrint',
  340. component: BlankLayout,
  341. meta: {
  342. title: '收款打印',
  343. icon: 'vertical-align-bottom',
  344. permission: 'M_receiptPrintList'
  345. },
  346. hideChildrenInMenu: true,
  347. children: [
  348. {
  349. path: 'list',
  350. name: 'receiptPrintList',
  351. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/receiptPrint/list.vue'),
  352. meta: {
  353. title: '收款打印',
  354. icon: 'vertical-align-bottom',
  355. hidden: true,
  356. permission: 'M_receiptPrintList'
  357. }
  358. }
  359. ]
  360. },
  361. {
  362. path: '/salesManagement/matchSendOutOrder',
  363. redirect: '/salesManagement/matchSendOutOrder/list',
  364. name: 'matchSendOutOrder',
  365. component: BlankLayout,
  366. meta: {
  367. title: '发货对单',
  368. icon: 'vertical-align-bottom',
  369. permission: 'M_matchSendOutOrderList'
  370. },
  371. hideChildrenInMenu: true,
  372. children: [
  373. {
  374. path: 'list',
  375. name: 'matchSendOutOrderList',
  376. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/matchSendOutOrder/list.vue'),
  377. meta: {
  378. title: '发货对单',
  379. icon: 'vertical-align-bottom',
  380. hidden: true,
  381. permission: 'M_matchSendOutOrderList'
  382. }
  383. }
  384. ]
  385. },
  386. {
  387. path: '/salesManagement/examineVerify',
  388. redirect: '/salesManagement/examineVerify/list',
  389. name: 'examineVerify',
  390. component: BlankLayout,
  391. meta: {
  392. title: '备货审核',
  393. icon: 'audit',
  394. permission: 'M_examineVerifyList'
  395. },
  396. hideChildrenInMenu: true,
  397. children: [
  398. {
  399. path: 'list',
  400. name: 'examineVerifyList',
  401. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
  402. meta: {
  403. title: '备货审核列表',
  404. icon: 'audit',
  405. hidden: true,
  406. permission: 'M_examineVerifyList'
  407. }
  408. }
  409. ]
  410. },
  411. {
  412. path: '/salesManagement/outboundOrder',
  413. redirect: '/salesManagement/outboundOrder/list',
  414. name: 'outboundOrder',
  415. component: BlankLayout,
  416. meta: {
  417. title: '出库',
  418. icon: 'export',
  419. permission: 'M_outboundOrderList'
  420. },
  421. hideChildrenInMenu: true,
  422. children: [
  423. {
  424. path: 'list',
  425. name: 'outboundOrderList',
  426. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
  427. meta: {
  428. title: '出库列表',
  429. icon: 'export',
  430. hidden: true,
  431. permission: 'M_outboundOrderList'
  432. }
  433. }
  434. ]
  435. },
  436. {
  437. path: '/salesManagement/sendOutOrder',
  438. redirect: '/salesManagement/sendOutOrder/list',
  439. name: 'sendOutOrder',
  440. component: BlankLayout,
  441. meta: {
  442. title: '发货单列表',
  443. icon: 'export',
  444. permission: 'M_sendOutOrderList'
  445. },
  446. hideChildrenInMenu: true,
  447. children: [
  448. {
  449. path: 'list',
  450. name: 'sendOutOrderList',
  451. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/sendOutOrder/list.vue'),
  452. meta: {
  453. title: '发货单列表',
  454. icon: 'export',
  455. hidden: true,
  456. permission: 'M_sendOutOrderList'
  457. }
  458. }
  459. ]
  460. },
  461. {
  462. path: '/salesManagement/backorder',
  463. redirect: '/salesManagement/backorder/list',
  464. name: 'backorder',
  465. component: BlankLayout,
  466. meta: {
  467. title: '销售缺货列表',
  468. icon: 'exception',
  469. permission: 'M_backorderList'
  470. },
  471. hideChildrenInMenu: true,
  472. children: [
  473. {
  474. path: 'list',
  475. name: 'backorderList',
  476. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
  477. meta: {
  478. title: '销售缺货列表',
  479. icon: 'exception',
  480. hidden: true,
  481. permission: 'M_backorderList'
  482. }
  483. }
  484. ]
  485. },
  486. {
  487. path: '/salesManagement/shortageStatisticsC',
  488. redirect: '/salesManagement/shortageStatisticsC/list',
  489. name: 'shortageStatisticsC',
  490. component: BlankLayout,
  491. meta: {
  492. title: '缺货统计(按客户)',
  493. icon: 'file-done',
  494. permission: 'M_shortageStatisticsCList'
  495. },
  496. hideChildrenInMenu: true,
  497. children: [
  498. {
  499. path: 'list',
  500. name: 'shortageStatisticsCList',
  501. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
  502. meta: {
  503. title: '缺货统计(按客户)',
  504. icon: 'file-done',
  505. hidden: true,
  506. permission: 'M_shortageStatisticsCList'
  507. }
  508. }
  509. ]
  510. },
  511. {
  512. path: '/salesManagement/shortageStatisticsP',
  513. redirect: '/salesManagement/shortageStatisticsP/list',
  514. name: 'shortageStatisticsP',
  515. component: BlankLayout,
  516. meta: {
  517. title: '缺货统计(按产品)',
  518. icon: 'file-protect',
  519. permission: 'M_shortageStatisticsPList'
  520. },
  521. hideChildrenInMenu: true,
  522. children: [
  523. {
  524. path: 'list',
  525. name: 'shortageStatisticsPList',
  526. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
  527. meta: {
  528. title: '缺货统计(按产品)',
  529. icon: 'file-protect',
  530. hidden: true,
  531. permission: 'M_shortageStatisticsPList'
  532. }
  533. }
  534. ]
  535. },
  536. {
  537. path: '/salesManagement/priceInquiry',
  538. redirect: '/salesManagement/priceInquiry/list',
  539. name: 'priceInquiry',
  540. component: BlankLayout,
  541. meta: {
  542. title: '价格查询',
  543. icon: 'file-protect',
  544. permission: 'M_priceInquiryList'
  545. },
  546. hideChildrenInMenu: true,
  547. children: [
  548. {
  549. path: 'list',
  550. name: 'priceInquiryList',
  551. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
  552. meta: {
  553. title: '价格查询列表',
  554. icon: 'file-protect',
  555. hidden: true,
  556. permission: 'M_priceInquiryList'
  557. }
  558. }
  559. ]
  560. },
  561. {
  562. path: '/salesManagement/salesList',
  563. redirect: '/salesManagement/salesList/list',
  564. name: 'salesList',
  565. component: BlankLayout,
  566. meta: {
  567. title: '销售一览表',
  568. icon: 'file-protect',
  569. permission: 'M_salesList'
  570. },
  571. hideChildrenInMenu: true,
  572. children: [
  573. {
  574. path: 'list',
  575. name: 'salesMainList',
  576. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesList/list.vue'),
  577. meta: {
  578. title: '销售一览表',
  579. icon: 'file-protect',
  580. hidden: true,
  581. permission: 'M_salesList'
  582. }
  583. }
  584. ]
  585. }
  586. ]
  587. },
  588. // 销售退货
  589. {
  590. path: '/salesReturnManagement',
  591. redirect: '/salesReturnManagement/salesReturn',
  592. component: PageView,
  593. meta: {
  594. title: '销售退货',
  595. icon: 'export',
  596. permission: 'M_salesReturnManagement'
  597. },
  598. children: [
  599. {
  600. path: '/salesReturnManagement/salesReturn',
  601. redirect: '/salesReturnManagement/salesReturn/list',
  602. name: 'salesReturn',
  603. component: BlankLayout,
  604. meta: {
  605. title: '销售退货列表',
  606. icon: 'fund',
  607. permission: 'M_salesReturnList'
  608. },
  609. hideChildrenInMenu: true,
  610. children: [
  611. {
  612. path: 'list',
  613. name: 'salesReturnList',
  614. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/list.vue'),
  615. meta: {
  616. title: '销售退货列表',
  617. icon: 'fund',
  618. hidden: true,
  619. permission: 'M_salesReturnList'
  620. }
  621. },
  622. {
  623. path: 'detail/:sn',
  624. name: 'salesReturnDetail',
  625. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/detail.vue'),
  626. meta: {
  627. title: '销售退货详情',
  628. icon: 'fund',
  629. hidden: true,
  630. permission: 'B_salesReturnDetail'
  631. }
  632. },
  633. {
  634. path: 'salesReturnEdit/:sn/:buyerSn',
  635. name: 'salesReturnEdit',
  636. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/salesReturnEdit.vue'),
  637. meta: {
  638. title: '编辑销售退货',
  639. icon: 'fund',
  640. hidden: true,
  641. permission: 'B_salesReturnEdit'
  642. }
  643. },
  644. {
  645. path: 'custConfirm/:sn/:buyerSn',
  646. name: 'custConfirm',
  647. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/custConfirm/list.vue'),
  648. meta: {
  649. title: '客服确认',
  650. icon: 'fund',
  651. replaceTab: true,
  652. hidden: true,
  653. permission: 'B_salesReturnConfirm'
  654. }
  655. }
  656. ]
  657. },
  658. {
  659. path: '/salesReturnManagement/billOfLading',
  660. redirect: '/salesReturnManagement/billOfLading/list',
  661. name: 'billOfLading',
  662. component: BlankLayout,
  663. meta: {
  664. title: '提货单列表',
  665. icon: 'fund',
  666. permission: 'M_billOfLadingList'
  667. },
  668. hideChildrenInMenu: true,
  669. children: [
  670. {
  671. path: 'list',
  672. name: 'billOfLadingList',
  673. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/list.vue'),
  674. meta: {
  675. title: '提货单列表',
  676. icon: 'fund',
  677. hidden: true,
  678. permission: 'M_billOfLadingList'
  679. }
  680. },
  681. {
  682. path: 'detail/:sn',
  683. name: 'billOfLadingDetail',
  684. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/detail.vue'),
  685. meta: {
  686. title: '提货单详情',
  687. icon: 'fund',
  688. hidden: true,
  689. permission: 'M_detailPickUp'
  690. }
  691. },
  692. {
  693. path: 'add',
  694. name: 'billOfLadingAdd',
  695. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  696. meta: {
  697. title: '新增提货单',
  698. icon: 'fund',
  699. hidden: true,
  700. permission: 'B_editPickUp'
  701. }
  702. },
  703. {
  704. path: 'edit/:sn/:wSn',
  705. name: 'billOfLadingEdit',
  706. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  707. meta: {
  708. title: '编辑提货单',
  709. icon: 'fund',
  710. hidden: true,
  711. permission: 'B_editPickUp'
  712. }
  713. }
  714. ]
  715. },
  716. {
  717. path: '/salesReturnManagement/pickUp',
  718. redirect: '/salesReturnManagement/pickUp/list',
  719. name: 'pickUp',
  720. component: BlankLayout,
  721. meta: {
  722. title: '仓库提货',
  723. icon: 'fund',
  724. permission: 'M_pickUpList'
  725. },
  726. hideChildrenInMenu: true,
  727. children: [
  728. {
  729. path: 'list',
  730. name: 'pickUpList',
  731. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/pickUp/list.vue'),
  732. meta: {
  733. title: '仓库提货列表',
  734. icon: 'fund',
  735. hidden: true,
  736. permission: 'M_pickUpList'
  737. }
  738. }
  739. ]
  740. },
  741. {
  742. path: '/salesReturnManagement/receiveCheck',
  743. redirect: '/salesReturnManagement/receiveCheck/list',
  744. name: 'receiveCheck',
  745. component: BlankLayout,
  746. meta: {
  747. title: '收货品检',
  748. icon: 'fund',
  749. permission: 'M_receiveCheckList'
  750. },
  751. hideChildrenInMenu: true,
  752. children: [
  753. {
  754. path: 'list',
  755. name: 'receiveCheckList',
  756. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/list.vue'),
  757. meta: {
  758. title: '收货品检列表',
  759. icon: 'fund',
  760. hidden: true,
  761. permission: 'M_receiveCheckList'
  762. }
  763. },
  764. {
  765. path: 'receiving/:sn/:buyerSn',
  766. name: 'salesReturnReceiving',
  767. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/receiving.vue'),
  768. meta: {
  769. title: '收货',
  770. icon: 'fund',
  771. hidden: true,
  772. replaceTab: true,
  773. permission: 'B_salesReturnReceiving'
  774. }
  775. },
  776. {
  777. path: 'checking/:sn/:buyerSn',
  778. name: 'salesReturnCheck',
  779. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/checking.vue'),
  780. meta: {
  781. title: '品检',
  782. icon: 'fund',
  783. hidden: true,
  784. replaceTab: true,
  785. permission: 'B_salesReturnCheck'
  786. }
  787. }
  788. ]
  789. },
  790. {
  791. path: '/salesReturnManagement/returnConfirmation',
  792. redirect: '/salesReturnManagement/returnConfirmation/list',
  793. name: 'returnConfirmation',
  794. component: BlankLayout,
  795. meta: {
  796. title: '销售退货确认',
  797. icon: 'vertical-align-top',
  798. permission: 'M_returnConfirmationList'
  799. },
  800. hideChildrenInMenu: true,
  801. children: [
  802. {
  803. path: 'list',
  804. name: 'returnConfirmationList',
  805. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnConfirmation/list.vue'),
  806. meta: {
  807. title: '销售退货确认列表',
  808. icon: 'vertical-align-top',
  809. hidden: true,
  810. permission: 'M_returnConfirmationList'
  811. }
  812. }
  813. ]
  814. },
  815. {
  816. path: '/salesReturnManagement/returnSchedule',
  817. redirect: '/salesReturnManagement/returnSchedule/list',
  818. name: 'returnSchedule',
  819. component: BlankLayout,
  820. meta: {
  821. title: '退货一览表',
  822. icon: 'vertical-align-top',
  823. permission: 'M_returnScheduleList'
  824. },
  825. hideChildrenInMenu: true,
  826. children: [
  827. {
  828. path: 'list',
  829. name: 'returnScheduleList',
  830. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnSchedule/list.vue'),
  831. meta: {
  832. title: '退货一览表',
  833. icon: 'vertical-align-top',
  834. hidden: true,
  835. permission: 'M_returnScheduleList'
  836. }
  837. }
  838. ]
  839. }
  840. ]
  841. },
  842. // 采购管理
  843. {
  844. path: '/purchasingManagement',
  845. redirect: '/purchasingManagement/purchaseOrder',
  846. component: PageView,
  847. meta: {
  848. title: '采购管理',
  849. icon: 'money-collect',
  850. permission: 'M_purchasingManagement'
  851. },
  852. children: [
  853. {
  854. path: '/purchasingManagement/bulkWarehousingOrder',
  855. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  856. name: 'bulkWarehousingOrder',
  857. component: BlankLayout,
  858. meta: {
  859. title: '散件入库',
  860. icon: 'gold',
  861. permission: 'M_bulkWarehousingOrderList'
  862. },
  863. hideChildrenInMenu: true,
  864. children: [
  865. {
  866. path: 'list',
  867. name: 'bulkWarehousingOrderList',
  868. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  869. meta: {
  870. title: '散件入库单列表',
  871. icon: 'gold',
  872. hidden: true,
  873. permission: 'M_bulkWarehousingOrderList'
  874. }
  875. },
  876. {
  877. path: 'add/:id/:sn',
  878. name: 'bulkWarehousingOrderAdd',
  879. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  880. meta: {
  881. title: '新增散件入库单',
  882. icon: 'gold',
  883. hidden: true,
  884. permission: 'B_sparePartsEdit'
  885. }
  886. },
  887. {
  888. path: 'edit/:id/:sn',
  889. name: 'bulkWarehousingOrderEdit',
  890. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  891. meta: {
  892. title: '编辑散件入库单',
  893. icon: 'gold',
  894. hidden: true,
  895. permission: 'B_sparePartsEdit'
  896. }
  897. }
  898. ]
  899. },
  900. {
  901. path: '/purchasingManagement/purchaseReturn',
  902. redirect: '/purchasingManagement/purchaseReturn/list',
  903. name: 'purchaseReturn',
  904. component: BlankLayout,
  905. meta: {
  906. title: '采购退货',
  907. icon: 'gold',
  908. permission: 'M_purchaseReturn'
  909. },
  910. hideChildrenInMenu: true,
  911. children: [
  912. {
  913. path: 'list',
  914. name: 'purchaseReturnList',
  915. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  916. meta: {
  917. title: '采购退货',
  918. icon: 'gold',
  919. hidden: true,
  920. permission: 'M_purchaseReturnList'
  921. }
  922. },
  923. {
  924. path: 'add',
  925. name: 'purchaseReturnAdd',
  926. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  927. meta: {
  928. title: '新增采购退货',
  929. icon: 'gold',
  930. hidden: true,
  931. permission: 'B_purchaseReturnEdit'
  932. }
  933. },
  934. {
  935. path: 'edit',
  936. name: 'purchaseReturnEdit',
  937. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  938. meta: {
  939. title: '编辑采购退货',
  940. icon: 'gold',
  941. hidden: true,
  942. permission: 'B_purchaseReturnEdit'
  943. }
  944. }
  945. ]
  946. }
  947. ]
  948. },
  949. // 财务管理
  950. {
  951. path: '/financialManagement',
  952. redirect: '/financialManagement/warehousingConfirmation',
  953. component: PageView,
  954. meta: {
  955. title: '财务管理',
  956. icon: 'property-safety',
  957. permission: 'M_financialManagement'
  958. },
  959. children: [
  960. {
  961. path: '/financialManagement/warehousingConfirmation',
  962. redirect: '/financialManagement/warehousingConfirmation/list',
  963. name: 'warehousingConfirmation',
  964. component: BlankLayout,
  965. meta: {
  966. title: '入库确认',
  967. icon: 'vertical-align-bottom',
  968. permission: 'M_warehousingConfirmationList'
  969. },
  970. hideChildrenInMenu: true,
  971. children: [
  972. {
  973. path: 'list',
  974. name: 'warehousingConfirmationList',
  975. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  976. meta: {
  977. title: '入库确认列表',
  978. icon: 'vertical-align-bottom',
  979. hidden: true,
  980. permission: 'M_warehousingConfirmationList'
  981. }
  982. }
  983. ]
  984. },
  985. {
  986. path: '/financialManagement/financialCollection',
  987. redirect: '/financialManagement/financialCollection/list',
  988. name: 'financialCollection',
  989. component: BlankLayout,
  990. meta: {
  991. title: '财务收款',
  992. icon: 'pay-circle',
  993. permission: 'M_financialCollectionList'
  994. },
  995. hideChildrenInMenu: true,
  996. children: [
  997. {
  998. path: 'list',
  999. name: 'financialCollectionList',
  1000. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1001. meta: {
  1002. title: '财务收款列表',
  1003. icon: 'pay-circle',
  1004. hidden: true,
  1005. permission: 'M_financialCollectionList'
  1006. }
  1007. },
  1008. {
  1009. path: 'detail/:sn',
  1010. name: 'financialCollectionDetail',
  1011. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
  1012. meta: {
  1013. title: '财务收款详情',
  1014. icon: 'monitor',
  1015. hidden: true,
  1016. permission: 'B_fc_detail'
  1017. }
  1018. },
  1019. {
  1020. path: 'edit/:sn',
  1021. name: 'financialCollectionEdit',
  1022. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  1023. meta: {
  1024. title: '编辑财务收款',
  1025. icon: 'monitor',
  1026. hidden: true,
  1027. permission: 'B_fc_edit'
  1028. }
  1029. }
  1030. ]
  1031. },
  1032. {
  1033. path: '/financialManagement/collectionDetailStatic',
  1034. redirect: '/financialManagement/collectionDetailStatic/list',
  1035. name: 'collectionDetailStatic',
  1036. component: BlankLayout,
  1037. meta: {
  1038. title: '财务收款明细统计',
  1039. icon: 'vertical-align-top',
  1040. permission: 'M_FC_Details_list'
  1041. },
  1042. hideChildrenInMenu: true,
  1043. children: [
  1044. {
  1045. path: 'list',
  1046. name: 'collectionDetailStaticList',
  1047. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
  1048. meta: {
  1049. title: '财务收款明细统计列表',
  1050. icon: 'vertical-align-top',
  1051. hidden: true,
  1052. permission: 'M_FC_Details_list'
  1053. }
  1054. }
  1055. ]
  1056. }
  1057. ]
  1058. },
  1059. // 费用报销
  1060. {
  1061. path: '/expenseManagement',
  1062. redirect: '/expenseManagement/expenseReimbursement',
  1063. component: PageView,
  1064. meta: {
  1065. title: '费用报销',
  1066. icon: 'account-book',
  1067. permission: 'M_expenseManagement'
  1068. },
  1069. children: [
  1070. {
  1071. path: '/expenseManagement/expenseReimbursement',
  1072. redirect: '/expenseManagement/expenseReimbursement/list',
  1073. name: 'expenseReimbursement',
  1074. component: BlankLayout,
  1075. meta: {
  1076. title: '费用报销单',
  1077. icon: 'monitor',
  1078. permission: 'M_expenseReimbursementList'
  1079. },
  1080. hideChildrenInMenu: true,
  1081. children: [
  1082. {
  1083. path: 'list',
  1084. name: 'expenseReimbursementList',
  1085. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  1086. meta: {
  1087. title: '费用报销单列表',
  1088. icon: 'monitor',
  1089. hidden: true,
  1090. permission: 'M_expenseReimbursementList'
  1091. }
  1092. },
  1093. {
  1094. path: 'detail/:sn',
  1095. name: 'expenseReimbursementListDetail',
  1096. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  1097. meta: {
  1098. title: '费用报销单详情',
  1099. icon: 'monitor',
  1100. hidden: true,
  1101. permission: 'B_eRdetail'
  1102. }
  1103. },
  1104. {
  1105. path: 'add',
  1106. name: 'expenseReimbursementAdd',
  1107. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1108. meta: {
  1109. title: '新增费用报销单',
  1110. icon: 'monitor',
  1111. hidden: true,
  1112. permission: 'B_ERtEdit'
  1113. }
  1114. },
  1115. {
  1116. path: 'edit/:sn',
  1117. name: 'expenseReimbursementEdit',
  1118. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1119. meta: {
  1120. title: '编辑费用报销单',
  1121. icon: 'monitor',
  1122. hidden: true,
  1123. permission: 'B_ERtEdit'
  1124. }
  1125. }
  1126. ]
  1127. },
  1128. {
  1129. path: '/expenseManagement/expenseReimbursementDetail',
  1130. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  1131. name: 'expenseReimbursementDetail',
  1132. component: BlankLayout,
  1133. meta: {
  1134. title: '费用报销明细统计',
  1135. icon: 'audit',
  1136. permission: 'M_expenseReimbursementDetailList'
  1137. },
  1138. hideChildrenInMenu: true,
  1139. children: [
  1140. {
  1141. path: 'list',
  1142. name: 'expenseReimbursementDetailList',
  1143. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  1144. meta: {
  1145. title: '费用报销明细统计列表',
  1146. icon: 'audit',
  1147. hidden: true,
  1148. permission: 'M_expenseReimbursementDetailList'
  1149. }
  1150. }
  1151. ]
  1152. }
  1153. ]
  1154. },
  1155. // 库存管理
  1156. {
  1157. path: '/inventoryManagement',
  1158. redirect: '/inventoryManagement/inventoryQuery',
  1159. component: PageView,
  1160. meta: {
  1161. title: '库存管理',
  1162. icon: 'shop',
  1163. permission: 'M_inventoryManagement'
  1164. },
  1165. children: [
  1166. {
  1167. path: '/inventoryManagement/inventoryQuery',
  1168. redirect: '/inventoryManagement/inventoryQuery/list',
  1169. name: 'inventoryQuery',
  1170. component: BlankLayout,
  1171. meta: {
  1172. title: '库存查询',
  1173. icon: 'monitor',
  1174. permission: 'M_inventoryQueryList'
  1175. },
  1176. hideChildrenInMenu: true,
  1177. children: [
  1178. {
  1179. path: 'list',
  1180. name: 'inventoryQueryList',
  1181. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1182. meta: {
  1183. title: '库存列表',
  1184. icon: 'monitor',
  1185. hidden: true,
  1186. permission: 'M_inventoryQueryList'
  1187. }
  1188. },
  1189. {
  1190. path: 'warehouseDetail/:sn/:warehouseSn',
  1191. name: 'inventoryQueryWarehouseDetail',
  1192. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1193. meta: {
  1194. title: '出入库明细',
  1195. icon: 'monitor',
  1196. replaceTab: true,
  1197. hidden: true,
  1198. permission: 'B_inventoryQuery_rkDetail'
  1199. }
  1200. }
  1201. ]
  1202. },
  1203. {
  1204. path: '/inventoryManagement/inventoryCheck',
  1205. redirect: '/inventoryManagement/inventoryCheck/list/0',
  1206. name: 'inventoryCheck',
  1207. component: BlankLayout,
  1208. meta: {
  1209. title: '库存盘点',
  1210. icon: 'monitor',
  1211. permission: 'M_inventoryCheckList'
  1212. },
  1213. hideChildrenInMenu: true,
  1214. children: [
  1215. {
  1216. path: 'list/:type',
  1217. name: 'inventoryCheckList',
  1218. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  1219. meta: {
  1220. title: '库存盘点列表',
  1221. icon: 'monitor',
  1222. hidden: true,
  1223. permission: 'M_inventoryCheckList'
  1224. }
  1225. },
  1226. {
  1227. path: 'detail/:sn',
  1228. name: 'inventoryCheckDetail',
  1229. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  1230. meta: {
  1231. title: '库存盘点详情',
  1232. icon: 'monitor',
  1233. hidden: true,
  1234. replaceTab: true,
  1235. permission: 'B_inventoryCheckDetail'
  1236. }
  1237. }
  1238. ]
  1239. },
  1240. {
  1241. path: '/inventoryManagement/makeInventory',
  1242. redirect: '/inventoryManagement/makeInventory/list',
  1243. name: 'makeInventory',
  1244. component: BlankLayout,
  1245. meta: {
  1246. title: '盘点人盘点',
  1247. icon: 'monitor',
  1248. permission: 'M_inventoryMakeInventoryList'
  1249. },
  1250. hideChildrenInMenu: true,
  1251. children: [
  1252. {
  1253. path: 'list',
  1254. name: 'makeInventoryList',
  1255. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  1256. meta: {
  1257. title: '盘点人盘点列表',
  1258. icon: 'monitor',
  1259. hidden: true,
  1260. permission: 'M_inventoryMakeInventoryList'
  1261. }
  1262. },
  1263. {
  1264. path: 'check/:sn',
  1265. name: 'makeInventoryCheck',
  1266. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1267. meta: {
  1268. title: '盘点人盘点',
  1269. icon: 'monitor',
  1270. hidden: true,
  1271. replaceTab: true,
  1272. permission: 'B_inventoryMakeInventoryCheck'
  1273. }
  1274. }
  1275. ]
  1276. },
  1277. {
  1278. path: '/inventoryManagement/supervisionDisk',
  1279. redirect: '/inventoryManagement/supervisionDisk/list',
  1280. name: 'supervisionDisk',
  1281. component: BlankLayout,
  1282. meta: {
  1283. title: '监盘人盘点',
  1284. icon: 'monitor',
  1285. permission: 'M_supervisionDiskList'
  1286. },
  1287. hideChildrenInMenu: true,
  1288. children: [
  1289. {
  1290. path: 'list',
  1291. name: 'supervisionDiskList',
  1292. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1293. meta: {
  1294. title: '监盘人盘点列表',
  1295. icon: 'monitor',
  1296. hidden: true,
  1297. permission: 'M_supervisionDiskList'
  1298. }
  1299. },
  1300. {
  1301. path: 'check/:sn',
  1302. name: 'supervisionDiskCheck',
  1303. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1304. meta: {
  1305. title: '监盘人监盘',
  1306. icon: 'monitor',
  1307. replaceTab: true,
  1308. hidden: true,
  1309. permission: 'B_supervisionDiskCheck'
  1310. }
  1311. }
  1312. ]
  1313. },
  1314. {
  1315. path: '/inventoryManagement/inventoryConfirmation',
  1316. redirect: '/inventoryManagement/inventoryConfirmation/list',
  1317. name: 'inventoryConfirmation',
  1318. component: BlankLayout,
  1319. meta: {
  1320. title: '盘点确认',
  1321. icon: 'monitor',
  1322. permission: 'M_inventoryConfirmationList'
  1323. },
  1324. hideChildrenInMenu: true,
  1325. children: [
  1326. {
  1327. path: 'list',
  1328. name: 'inventoryConfirmationList',
  1329. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/list.vue'),
  1330. meta: {
  1331. title: '盘点确认列表',
  1332. icon: 'monitor',
  1333. hidden: true,
  1334. permission: 'M_inventoryConfirmationList'
  1335. }
  1336. },
  1337. {
  1338. path: 'detail/:sn',
  1339. name: 'inventoryConfirmationDetail',
  1340. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/detail.vue'),
  1341. meta: {
  1342. title: '盘点确认详情',
  1343. icon: 'monitor',
  1344. hidden: true,
  1345. permission: 'B_inventoryConfirmationDetail'
  1346. }
  1347. }
  1348. ]
  1349. },
  1350. {
  1351. path: '/inventoryManagement/inventoryWarning',
  1352. redirect: '/inventoryManagement/inventoryWarning/list',
  1353. name: 'inventoryWarning',
  1354. component: BlankLayout,
  1355. meta: {
  1356. title: '库存预警',
  1357. icon: 'monitor',
  1358. permission: 'M_inventoryWarningList'
  1359. },
  1360. hideChildrenInMenu: true,
  1361. children: [
  1362. {
  1363. path: 'list',
  1364. name: 'inventoryWarningList',
  1365. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1366. meta: {
  1367. title: '库存预警列表',
  1368. icon: 'alert',
  1369. permission: 'M_inventoryWarningList'
  1370. }
  1371. }
  1372. ]
  1373. },
  1374. {
  1375. path: '/inventoryManagement/intelligentReplenishment',
  1376. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1377. name: 'intelligentReplenishment',
  1378. component: BlankLayout,
  1379. meta: {
  1380. title: '智能补货',
  1381. icon: 'monitor',
  1382. permission: 'M_intelligentReplenishmentList'
  1383. },
  1384. hideChildrenInMenu: true,
  1385. children: [
  1386. {
  1387. path: 'list',
  1388. name: 'intelligentReplenishmentList',
  1389. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1390. meta: {
  1391. title: '智能补货列表',
  1392. icon: 'monitor',
  1393. hidden: true,
  1394. permission: 'M_intelligentReplenishmentList'
  1395. }
  1396. },
  1397. {
  1398. path: 'add/:sn',
  1399. name: 'intelligentReplenishmentAdd',
  1400. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1401. meta: {
  1402. title: '新增智能补货',
  1403. icon: 'monitor',
  1404. hidden: true,
  1405. permission: 'B_intelligentReplenishment_edit'
  1406. }
  1407. },
  1408. {
  1409. path: 'edit/:sn',
  1410. name: 'intelligentReplenishmentEdit',
  1411. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1412. meta: {
  1413. title: '编辑智能补货',
  1414. icon: 'monitor',
  1415. hidden: true,
  1416. permission: 'B_intelligentReplenishment_edit'
  1417. }
  1418. },
  1419. {
  1420. path: 'set',
  1421. name: 'intelligentReplenishmentSet',
  1422. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1423. meta: {
  1424. title: '基础信息设置',
  1425. icon: 'monitor',
  1426. permission: 'B_intelligentReplenishment_set',
  1427. replaceTab: true,
  1428. hidden: true
  1429. }
  1430. },
  1431. {
  1432. path: 'import',
  1433. name: 'intelligentReplenishmentImport',
  1434. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1435. meta: {
  1436. title: '确认导入',
  1437. icon: 'monitor',
  1438. replaceTab: true,
  1439. hidden: true
  1440. }
  1441. }
  1442. ]
  1443. }
  1444. ]
  1445. },
  1446. // 调拨管理
  1447. {
  1448. path: '/allocationManagement',
  1449. redirect: '/allocationManagement/transferOut',
  1450. component: PageView,
  1451. meta: {
  1452. title: '调拨管理',
  1453. icon: 'cluster',
  1454. permission: 'M_allocationManagement'
  1455. },
  1456. children: [
  1457. {
  1458. path: '/allocationManagement/transferOut',
  1459. redirect: '/allocationManagement/transferOut/list',
  1460. name: 'transferOut',
  1461. component: BlankLayout,
  1462. meta: {
  1463. title: '调拨列表',
  1464. icon: 'pull-request',
  1465. permission: 'M_transferOutList'
  1466. },
  1467. hideChildrenInMenu: true,
  1468. children: [
  1469. {
  1470. path: 'list',
  1471. name: 'transferOutList',
  1472. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1473. meta: {
  1474. title: '调拨列表',
  1475. icon: 'pull-request',
  1476. hidden: true,
  1477. permission: 'M_transferOutList'
  1478. }
  1479. },
  1480. {
  1481. path: 'add/:sn/:dealerLevel',
  1482. name: 'transferOutAdd',
  1483. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1484. meta: {
  1485. title: '新增调拨单',
  1486. icon: 'pull-request',
  1487. hidden: true,
  1488. permission: 'M_transferOut_edit'
  1489. }
  1490. },
  1491. {
  1492. path: 'edit/:sn/:dealerLevel',
  1493. name: 'transferOutEdit',
  1494. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1495. meta: {
  1496. title: '编辑调拨单',
  1497. icon: 'pull-request',
  1498. hidden: true,
  1499. permission: 'M_transferOut_edit'
  1500. }
  1501. },
  1502. {
  1503. path: 'detail/:sn',
  1504. name: 'transferOutDetail',
  1505. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1506. meta: {
  1507. title: '调拨单详情',
  1508. icon: 'pull-request',
  1509. hidden: true,
  1510. replaceTab: true,
  1511. permission: 'M_transferOut_detail'
  1512. }
  1513. }
  1514. ]
  1515. },
  1516. {
  1517. path: '/allocationManagement/transfersPrint',
  1518. redirect: '/allocationManagement/transfersPrint/list',
  1519. name: 'transfersPrint',
  1520. component: BlankLayout,
  1521. meta: {
  1522. title: '调拨打印',
  1523. icon: 'pull-request',
  1524. permission: 'M_transfersPrintList'
  1525. },
  1526. hideChildrenInMenu: true,
  1527. children: [
  1528. {
  1529. path: 'list',
  1530. name: 'transfersPrintList',
  1531. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1532. meta: {
  1533. title: '调拨打印',
  1534. icon: 'pull-request',
  1535. hidden: true,
  1536. permission: 'M_transfersPrintList'
  1537. }
  1538. }
  1539. ]
  1540. },
  1541. {
  1542. path: '/allocationManagement/matchSendOutOrder',
  1543. redirect: '/allocationManagement/matchSendOutOrder/list',
  1544. name: 'matchSendOutOrderAllocation',
  1545. component: BlankLayout,
  1546. meta: {
  1547. title: '调拨发货对单',
  1548. icon: 'vertical-align-bottom',
  1549. permission: 'M_matchSendOutOrderAllocationList'
  1550. },
  1551. hideChildrenInMenu: true,
  1552. children: [
  1553. {
  1554. path: 'list',
  1555. name: 'matchSendOutOrderAllocationList',
  1556. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1557. meta: {
  1558. title: '调拨发货对单',
  1559. icon: 'vertical-align-bottom',
  1560. hidden: true,
  1561. permission: 'M_matchSendOutOrderAllocationList'
  1562. }
  1563. }
  1564. ]
  1565. },
  1566. {
  1567. path: '/allocationManagement/transferReturn',
  1568. redirect: '/allocationManagement/transferReturn/list',
  1569. name: 'transferReturn',
  1570. component: BlankLayout,
  1571. meta: {
  1572. title: '调拨退货列表',
  1573. icon: 'pull-request',
  1574. permission: 'M_transferReturnList'
  1575. },
  1576. hideChildrenInMenu: true,
  1577. children: [
  1578. {
  1579. path: 'list',
  1580. name: 'transferReturnList',
  1581. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1582. meta: {
  1583. title: '调拨退货列表',
  1584. icon: 'pull-request',
  1585. hidden: true,
  1586. permission: 'M_transferReturnList'
  1587. }
  1588. },
  1589. {
  1590. path: 'editGrap/:sn/:targetType',
  1591. name: 'transferReturnGrpEdit',
  1592. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1593. meta: {
  1594. title: '编辑调拨退货单(抓单)',
  1595. icon: 'pull-request',
  1596. hidden: true,
  1597. permission: 'B_transferReturnEdit'
  1598. }
  1599. },
  1600. {
  1601. path: 'edit/:sn/:targetType/:dealerLevel',
  1602. name: 'transferReturnEdit',
  1603. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1604. meta: {
  1605. title: '编辑调拨退货单(不抓单)',
  1606. icon: 'pull-request',
  1607. hidden: true,
  1608. permission: 'B_transferReturnEdit'
  1609. }
  1610. },
  1611. {
  1612. path: 'detail/:sn',
  1613. name: 'transferReturnDetail',
  1614. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1615. meta: {
  1616. title: '调拨退货单详情',
  1617. icon: 'pull-request',
  1618. replaceTab: true,
  1619. hidden: true,
  1620. permission: 'M_transferReturnDetail'
  1621. }
  1622. },
  1623. {
  1624. path: 'check/:sn/:grabFlag',
  1625. name: 'transferReturnCheck',
  1626. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1627. meta: {
  1628. title: '调拨退货品检',
  1629. icon: 'fund',
  1630. replaceTab: true,
  1631. hidden: true,
  1632. permission: 'M_transferReturnCheck'
  1633. }
  1634. }
  1635. ]
  1636. },
  1637. {
  1638. path: '/allocationManagement/allocateReturnConfirmation',
  1639. redirect: '/allocationManagement/allocateReturnConfirmation/list',
  1640. name: 'allocateReturnConfirmation',
  1641. component: BlankLayout,
  1642. meta: {
  1643. title: '调拨退货确认',
  1644. icon: 'vertical-align-top',
  1645. permission: 'M_allocateReturnConfirmationList'
  1646. },
  1647. hideChildrenInMenu: true,
  1648. children: [
  1649. {
  1650. path: 'list',
  1651. name: 'allocateReturnConfirmationList',
  1652. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
  1653. meta: {
  1654. title: '调拨退货确认列表',
  1655. icon: 'vertical-align-top',
  1656. hidden: true,
  1657. permission: 'M_allocateReturnConfirmationList'
  1658. }
  1659. }
  1660. ]
  1661. },
  1662. {
  1663. path: '/allocationManagement/allocationList',
  1664. redirect: '/allocationManagement/allocationList/list',
  1665. name: 'allocationList',
  1666. component: BlankLayout,
  1667. meta: {
  1668. title: '调拨一览表',
  1669. icon: 'vertical-align-top',
  1670. permission: 'M_allocationList'
  1671. },
  1672. hideChildrenInMenu: true,
  1673. children: [
  1674. {
  1675. path: 'list',
  1676. name: 'allocationMainList',
  1677. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
  1678. meta: {
  1679. title: '调拨一览表',
  1680. icon: 'vertical-align-top',
  1681. hidden: true,
  1682. permission: 'M_allocationList'
  1683. }
  1684. }
  1685. ]
  1686. }
  1687. ]
  1688. },
  1689. // 报表
  1690. {
  1691. path: '/reportData',
  1692. redirect: '/reportData/salesOrderTotal',
  1693. component: PageView,
  1694. meta: {
  1695. title: '报表',
  1696. icon: 'project',
  1697. permission: 'M_reportData'
  1698. },
  1699. children: [
  1700. {
  1701. path: '/reportData/salesOrderTotal',
  1702. redirect: '/reportData/salesOrderTotal/list',
  1703. name: 'salesOrderTotal',
  1704. component: BlankLayout,
  1705. meta: {
  1706. title: '销售(开单统计)',
  1707. icon: 'profile',
  1708. permission: 'M_salesOrderTotalList'
  1709. },
  1710. hideChildrenInMenu: true,
  1711. children: [
  1712. {
  1713. path: 'list',
  1714. name: 'salesOrderTotalList',
  1715. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1716. meta: {
  1717. title: '销售(开单统计)列表',
  1718. icon: 'profile',
  1719. hidden: true,
  1720. permission: 'M_salesOrderTotalList'
  1721. }
  1722. }
  1723. ]
  1724. },
  1725. {
  1726. path: '/reportData/salesDetails',
  1727. redirect: '/reportData/salesDetails/list',
  1728. name: 'salesDetails',
  1729. component: BlankLayout,
  1730. meta: {
  1731. title: '销售明细(开单统计)',
  1732. icon: 'profile',
  1733. permission: 'M_salesDetailsList'
  1734. },
  1735. hideChildrenInMenu: true,
  1736. children: [
  1737. {
  1738. path: 'list',
  1739. name: 'salesDetailsList',
  1740. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1741. meta: {
  1742. title: '销售明细列表',
  1743. icon: 'profile',
  1744. hidden: true,
  1745. permission: 'M_salesDetailsList'
  1746. }
  1747. }
  1748. ]
  1749. },
  1750. {
  1751. path: '/reportData/actualSalesReport',
  1752. redirect: '/reportData/actualSalesReport/list',
  1753. name: 'actualSalesReport',
  1754. component: BlankLayout,
  1755. meta: {
  1756. title: '实售销售报表',
  1757. icon: 'profile',
  1758. permission: 'M_actualSalesReportList'
  1759. },
  1760. hideChildrenInMenu: true,
  1761. children: [
  1762. {
  1763. path: 'list',
  1764. name: 'actualSalesReportList',
  1765. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1766. meta: {
  1767. title: '实售销售列表',
  1768. icon: 'profile',
  1769. hidden: true,
  1770. permission: 'M_actualSalesReportList'
  1771. }
  1772. }
  1773. ]
  1774. },
  1775. {
  1776. path: '/reportData/salesAmountReport',
  1777. redirect: '/reportData/salesAmountReport/list',
  1778. name: 'salesAmountReport',
  1779. component: BlankLayout,
  1780. meta: {
  1781. title: '开单销售报表',
  1782. icon: 'profile',
  1783. permission: 'M_salesAmountReportList'
  1784. },
  1785. hideChildrenInMenu: true,
  1786. children: [{
  1787. path: 'list',
  1788. name: 'salesAmountReportList',
  1789. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1790. meta: {
  1791. title: '开单销售报表列表',
  1792. icon: 'profile',
  1793. hidden: true,
  1794. permission: 'M_salesAmountReportList'
  1795. }
  1796. }]
  1797. },
  1798. {
  1799. path: '/reportData/salesSlipReport',
  1800. redirect: '/reportData/salesSlipReport/list',
  1801. name: 'salesSlipReport',
  1802. component: BlankLayout,
  1803. meta: {
  1804. title: '开单销售单报表',
  1805. icon: 'profile',
  1806. permission: 'M_salesSlipReportList'
  1807. },
  1808. hideChildrenInMenu: true,
  1809. children: [{
  1810. path: 'list',
  1811. name: 'salesSlipReportList',
  1812. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1813. meta: {
  1814. title: '开单销售单报表列表',
  1815. icon: 'profile',
  1816. hidden: true,
  1817. permission: 'M_salesSlipReportList'
  1818. }
  1819. }]
  1820. },
  1821. {
  1822. path: '/reportData/allocationOrderTotal',
  1823. redirect: '/reportData/allocationOrderTotal/list',
  1824. name: 'allocationOrderTotal',
  1825. component: BlankLayout,
  1826. meta: {
  1827. title: '调拨开单统计',
  1828. icon: 'profile',
  1829. permission: 'M_allocationOrderTotalList'
  1830. },
  1831. hideChildrenInMenu: true,
  1832. children: [
  1833. {
  1834. path: 'list',
  1835. name: 'allocationOrderTotalList',
  1836. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1837. meta: {
  1838. title: '调拨开单列表',
  1839. icon: 'profile',
  1840. hidden: true,
  1841. permission: 'M_allocationOrderTotalList'
  1842. }
  1843. }
  1844. ]
  1845. },
  1846. {
  1847. path: '/reportData/allocationDetails',
  1848. redirect: '/reportData/allocationDetails/list',
  1849. name: 'allocationDetails',
  1850. component: BlankLayout,
  1851. meta: {
  1852. title: '调拨明细',
  1853. icon: 'profile',
  1854. permission: 'M_allocationDetailsList'
  1855. },
  1856. hideChildrenInMenu: true,
  1857. children: [
  1858. {
  1859. path: 'list',
  1860. name: 'allocationDetailsList',
  1861. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1862. meta: {
  1863. title: '调拨明细列表',
  1864. icon: 'profile',
  1865. hidden: true,
  1866. permission: 'M_allocationDetailsList'
  1867. }
  1868. }
  1869. ]
  1870. },
  1871. {
  1872. path: '/reportData/urchaseReturn',
  1873. redirect: '/reportData/urchaseReturn/list',
  1874. name: 'urchaseReturnList',
  1875. component: BlankLayout,
  1876. meta: {
  1877. title: '采购退货单报表',
  1878. icon: 'profile',
  1879. permission: 'M_urchaseReturn'
  1880. },
  1881. hideChildrenInMenu: true,
  1882. children: [
  1883. {
  1884. path: 'list',
  1885. name: 'urchaseReturnList',
  1886. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  1887. meta: {
  1888. title: '采购退货单报表列表',
  1889. icon: 'profile',
  1890. hidden: true,
  1891. permission: 'M_urchaseReturnList'
  1892. }
  1893. }
  1894. ]
  1895. },
  1896. {
  1897. path: '/reportData/urchaseDetailReturn',
  1898. redirect: '/reportData/urchaseDetailReturn/detailList',
  1899. name: 'urchaseDetailReturnList',
  1900. component: BlankLayout,
  1901. meta: {
  1902. title: '采购退货单明细报表',
  1903. icon: 'profile',
  1904. permission: 'M_urchaseDetailReturn'
  1905. },
  1906. hideChildrenInMenu: true,
  1907. children: [
  1908. {
  1909. path: 'detailList',
  1910. name: 'urchaseDetailReturnList',
  1911. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  1912. meta: {
  1913. title: '采购退货单明细报表列表',
  1914. icon: 'profile',
  1915. hidden: true,
  1916. permission: 'M_urchaseDetailReturnList'
  1917. }
  1918. }
  1919. ]
  1920. },
  1921. {
  1922. path: '/reportData/salesReturnsReport',
  1923. redirect: '/reportData/salesReturnsReport/list',
  1924. name: 'salesReturnsReport',
  1925. component: BlankLayout,
  1926. meta: {
  1927. title: '销售退货单报表',
  1928. icon: 'profile',
  1929. permission: 'M_salesReturnsReportList'
  1930. },
  1931. hideChildrenInMenu: true,
  1932. children: [
  1933. {
  1934. path: 'list',
  1935. name: 'salesReturnsReportList',
  1936. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  1937. meta: {
  1938. title: '销售退货单报表列表',
  1939. icon: 'profile',
  1940. hidden: true,
  1941. permission: 'M_salesReturnsReportList'
  1942. }
  1943. }
  1944. ]
  1945. },
  1946. {
  1947. path: '/reportData/salesReturnDetailReport',
  1948. redirect: '/reportData/salesReturnDetailReport/list',
  1949. name: 'salesReturnDetailReport',
  1950. component: BlankLayout,
  1951. meta: {
  1952. title: '销售退货明细报表',
  1953. icon: 'profile',
  1954. permission: 'M_salesReturnDetailReportList'
  1955. },
  1956. hideChildrenInMenu: true,
  1957. children: [{
  1958. path: 'list',
  1959. name: 'salesReturnDetailReportList',
  1960. component: () => import(/* webpackChunkName: "reportData" */
  1961. '@/views/reportData/salesReturnDetailReport/list.vue'),
  1962. meta: {
  1963. title: '销售退货明细报表列表',
  1964. icon: 'profile',
  1965. hidden: true,
  1966. permission: 'M_salesReturnDetailReportList'
  1967. }
  1968. }]
  1969. },
  1970. {
  1971. path: '/reportData/transferReturnReport',
  1972. redirect: '/reportData/transferReturnReport/list',
  1973. name: 'transferReturnReport',
  1974. component: BlankLayout,
  1975. meta: {
  1976. title: '调拨退货单报表',
  1977. icon: 'profile',
  1978. permission: 'M_transferReturnReportList'
  1979. },
  1980. hideChildrenInMenu: true,
  1981. children: [
  1982. {
  1983. path: 'list',
  1984. name: 'transferReturnReportList',
  1985. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  1986. meta: {
  1987. title: '调拨退货单报表列表',
  1988. icon: 'profile',
  1989. hidden: true,
  1990. permission: 'M_transferReturnReportList'
  1991. }
  1992. }
  1993. ]
  1994. },
  1995. {
  1996. path: '/reportData/transferReturnDetailReport',
  1997. redirect: '/reportData/transferReturnDetailReport/list',
  1998. name: 'transferReturnDetailReport',
  1999. component: BlankLayout,
  2000. meta: {
  2001. title: '调拨退货单明细报表',
  2002. icon: 'profile',
  2003. permission: 'M_transferReturnDetailReportList'
  2004. },
  2005. hideChildrenInMenu: true,
  2006. children: [{
  2007. path: 'list',
  2008. name: 'transferReturnDetailReportList',
  2009. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  2010. meta: {
  2011. title: '调拨退货单明细报表列表',
  2012. icon: 'profile',
  2013. hidden: true,
  2014. permission: 'M_transferReturnDetailReportList'
  2015. }
  2016. }]
  2017. },
  2018. {
  2019. path: '/reportData/salesReturnReport',
  2020. redirect: '/reportData/salesReturnReport/list',
  2021. name: 'salesReturnReport',
  2022. component: BlankLayout,
  2023. meta: {
  2024. title: '实售退货报表',
  2025. icon: 'profile',
  2026. permission: 'M_salesReturnReportList'
  2027. },
  2028. hideChildrenInMenu: true,
  2029. children: [
  2030. {
  2031. path: 'list',
  2032. name: 'salesReturnReportList',
  2033. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  2034. meta: {
  2035. title: '实售退货列表',
  2036. icon: 'profile',
  2037. hidden: true,
  2038. permission: 'M_salesReturnReportList'
  2039. }
  2040. }
  2041. ]
  2042. },
  2043. {
  2044. path: '/reportData/billingReturnReport',
  2045. redirect: '/reportData/billingReturnReport/list',
  2046. name: 'billingReturnReport',
  2047. component: BlankLayout,
  2048. meta: {
  2049. title: '开单退货报表',
  2050. icon: 'profile',
  2051. permission: 'M_billingReturnReportList'
  2052. },
  2053. hideChildrenInMenu: true,
  2054. children: [
  2055. {
  2056. path: 'list',
  2057. name: 'billingReturnReportList',
  2058. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  2059. meta: {
  2060. title: '开单退货列表',
  2061. icon: 'profile',
  2062. hidden: true,
  2063. permission: 'M_billingReturnReportList'
  2064. }
  2065. }
  2066. ]
  2067. },
  2068. {
  2069. path: '/reportData/returnSlipReport',
  2070. redirect: '/reportData/returnSlipReport/list',
  2071. name: 'returnSlipReport',
  2072. component: BlankLayout,
  2073. meta: {
  2074. title: '开单退货单报表',
  2075. icon: 'profile',
  2076. permission: 'M_returnSlipReportList'
  2077. },
  2078. hideChildrenInMenu: true,
  2079. children: [{
  2080. path: 'list',
  2081. name: 'returnSlipReportList',
  2082. component: () => import(/* webpackChunkName: "reportData" */
  2083. '@/views/reportData/returnSlipReport/list.vue'),
  2084. meta: {
  2085. title: '开单退货单报表列表',
  2086. icon: 'profile',
  2087. hidden: true,
  2088. permission: 'M_returnSlipReportList'
  2089. }
  2090. }]
  2091. },
  2092. {
  2093. path: '/reportData/billingBackReport',
  2094. redirect: '/reportData/billingBackReport/list',
  2095. name: 'billingBackReport',
  2096. component: BlankLayout,
  2097. meta: {
  2098. title: '开单采退报表',
  2099. icon: 'profile',
  2100. permission: 'M_billingBackReport'
  2101. },
  2102. hideChildrenInMenu: true,
  2103. children: [{
  2104. path: 'list',
  2105. name: 'billingBackReportList',
  2106. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2107. meta: {
  2108. title: '开单采退报表列表',
  2109. icon: 'profile',
  2110. hidden: true,
  2111. permission: 'M_billingBackReportList'
  2112. }
  2113. }]
  2114. },
  2115. {
  2116. path: '/reportData/billingOrderReport',
  2117. redirect: '/reportData/billingOrderReport/list',
  2118. name: 'billingOrderReport',
  2119. component: BlankLayout,
  2120. meta: {
  2121. title: '开单采退单报表',
  2122. icon: 'profile',
  2123. permission: 'M_billingOrderReport'
  2124. },
  2125. hideChildrenInMenu: true,
  2126. children: [{
  2127. path: 'list',
  2128. name: 'billingOrderReportList',
  2129. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2130. meta: {
  2131. title: '开单采退单报表列表',
  2132. icon: 'profile',
  2133. hidden: true,
  2134. permission: 'M_billingOrderReportList'
  2135. }
  2136. }]
  2137. },
  2138. {
  2139. path: '/reportData/hPriceDifferenceDetailReport',
  2140. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2141. name: 'hPriceDifferenceDetailReport',
  2142. component: BlankLayout,
  2143. meta: {
  2144. title: '总部差价明细报表',
  2145. icon: 'profile',
  2146. permission: 'M_hPriceDifferenceDetailReportList'
  2147. },
  2148. hideChildrenInMenu: true,
  2149. children: [
  2150. {
  2151. path: 'list',
  2152. name: 'hPriceDifferenceDetailReportList',
  2153. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2154. meta: {
  2155. title: '总部差价明细列表',
  2156. icon: 'profile',
  2157. hidden: true,
  2158. permission: 'M_hPriceDifferenceDetailReportList'
  2159. }
  2160. }
  2161. ]
  2162. },
  2163. {
  2164. path: '/reportData/priceDifferenceDetailReport',
  2165. redirect: '/reportData/priceDifferenceDetailReport/list',
  2166. name: 'priceDifferenceDetailReport',
  2167. component: BlankLayout,
  2168. meta: {
  2169. title: '差价明细报表',
  2170. icon: 'profile',
  2171. permission: 'M_priceDifferenceDetailReportList'
  2172. },
  2173. hideChildrenInMenu: true,
  2174. children: [
  2175. {
  2176. path: 'list',
  2177. name: 'priceDifferenceDetailReportList',
  2178. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2179. meta: {
  2180. title: '差价明细列表',
  2181. icon: 'profile',
  2182. hidden: true,
  2183. permission: 'M_priceDifferenceDetailReportList'
  2184. }
  2185. }
  2186. ]
  2187. },
  2188. {
  2189. path: '/reportData/regionTypeSalesReport',
  2190. redirect: '/reportData/regionTypeSalesReport/list',
  2191. name: 'regionTypeSalesReport',
  2192. component: BlankLayout,
  2193. meta: {
  2194. title: '各分区品类实售明细',
  2195. icon: 'profile',
  2196. permission: 'M_regionTypeSalesReportList'
  2197. },
  2198. hideChildrenInMenu: true,
  2199. children: [
  2200. {
  2201. path: 'list',
  2202. name: 'regionTypeSalesReportList',
  2203. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2204. meta: {
  2205. title: '各分区品类实售明细',
  2206. icon: 'profile',
  2207. hidden: true,
  2208. permission: 'M_regionTypeSalesReportList'
  2209. }
  2210. }
  2211. ]
  2212. },
  2213. {
  2214. path: '/reportData/warehousingOrder',
  2215. redirect: '/reportData/warehousingOrder/list',
  2216. name: 'warehousingOrder',
  2217. component: BlankLayout,
  2218. meta: {
  2219. title: '入库单报表',
  2220. icon: 'profile',
  2221. permission: 'M_warehousingOrderList'
  2222. },
  2223. hideChildrenInMenu: true,
  2224. children: [
  2225. {
  2226. path: 'list',
  2227. name: 'warehousingOrderList',
  2228. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2229. meta: {
  2230. title: '入库单报表列表',
  2231. icon: 'profile',
  2232. hidden: true,
  2233. permission: 'M_warehousingOrderList'
  2234. }
  2235. }
  2236. ]
  2237. },
  2238. {
  2239. path: '/reportData/warehousingOrderDetail',
  2240. redirect: '/reportData/warehousingOrderDetail/list',
  2241. name: 'warehousingOrderDetail',
  2242. component: BlankLayout,
  2243. meta: {
  2244. title: '入库单明细报表',
  2245. icon: 'profile',
  2246. permission: 'M_warehousingOrderDetailList'
  2247. },
  2248. hideChildrenInMenu: true,
  2249. children: [
  2250. {
  2251. path: 'list',
  2252. name: 'warehousingOrderDetailList',
  2253. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2254. meta: {
  2255. title: '入库单明细报表列表',
  2256. icon: 'profile',
  2257. hidden: true,
  2258. permission: 'M_warehousingOrderDetailList'
  2259. }
  2260. }
  2261. ]
  2262. },
  2263. {
  2264. path: '/reportData/salesPresentation',
  2265. redirect: '/reportData/salesPresentation/list',
  2266. name: 'salesPresentation',
  2267. component: BlankLayout,
  2268. meta: {
  2269. title: '销售交单报表',
  2270. icon: 'profile',
  2271. permission: 'M_salesPresentationList'
  2272. },
  2273. hideChildrenInMenu: true,
  2274. children: [
  2275. {
  2276. path: 'list',
  2277. name: 'salesPresentationList',
  2278. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2279. meta: {
  2280. title: '销售交单报表列表',
  2281. icon: 'profile',
  2282. hidden: true,
  2283. permission: 'M_salesPresentationList'
  2284. }
  2285. }
  2286. ]
  2287. },
  2288. {
  2289. path: '/reportData/allocationPresentation',
  2290. redirect: '/reportData/allocationPresentation/list',
  2291. name: 'allocationPresentation',
  2292. component: BlankLayout,
  2293. meta: {
  2294. title: '调拨交单报表',
  2295. icon: 'profile',
  2296. permission: 'M_allocationPresentationList'
  2297. },
  2298. hideChildrenInMenu: true,
  2299. children: [
  2300. {
  2301. path: 'list',
  2302. name: 'allocationPresentationList',
  2303. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2304. meta: {
  2305. title: '调拨交单报表列表',
  2306. icon: 'profile',
  2307. hidden: true,
  2308. permission: 'M_allocationPresentationList'
  2309. }
  2310. }
  2311. ]
  2312. },
  2313. {
  2314. path: '/reportData/returnGoodsPresentation',
  2315. redirect: '/reportData/returnGoodsPresentation/list',
  2316. name: 'returnGoodsPresentation',
  2317. component: BlankLayout,
  2318. meta: {
  2319. title: '退货交单报表',
  2320. icon: 'profile',
  2321. permission: 'M_returnGoodsPresentationList'
  2322. },
  2323. hideChildrenInMenu: true,
  2324. children: [
  2325. {
  2326. path: 'list',
  2327. name: 'returnGoodsPresentationList',
  2328. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2329. meta: {
  2330. title: '退货交单报表列表',
  2331. icon: 'profile',
  2332. hidden: true,
  2333. permission: 'M_returnGoodsPresentationList'
  2334. }
  2335. }
  2336. ]
  2337. },
  2338. {
  2339. path: '/reportData/expenseAccountBearerReport',
  2340. redirect: '/reportData/expenseAccountBearerReport/list',
  2341. name: 'expenseAccountBearerReport',
  2342. component: BlankLayout,
  2343. meta: {
  2344. title: '费用汇总报表(按承担方)',
  2345. icon: 'profile',
  2346. permission: 'M_expenseAccountBearerReportList'
  2347. },
  2348. hideChildrenInMenu: true,
  2349. children: [
  2350. {
  2351. path: 'list',
  2352. name: 'expenseAccountBearerReportList',
  2353. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2354. meta: {
  2355. title: '费用汇总报表(按承担方)',
  2356. icon: 'profile',
  2357. hidden: true,
  2358. permission: 'M_expenseAccountBearerReportList'
  2359. }
  2360. }
  2361. ]
  2362. },
  2363. {
  2364. path: '/reportData/expenseAccountCategoryReport',
  2365. redirect: '/reportData/expenseAccountCategoryReport/list',
  2366. name: 'expenseAccountCategoryReport',
  2367. component: BlankLayout,
  2368. meta: {
  2369. title: '费用汇总报表(按品类)',
  2370. icon: 'profile',
  2371. permission: 'M_expenseAccountCategoryReportList'
  2372. },
  2373. hideChildrenInMenu: true,
  2374. children: [
  2375. {
  2376. path: 'list',
  2377. name: 'expenseAccountCategoryReportList',
  2378. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2379. meta: {
  2380. title: '费用汇总报表(按品类)',
  2381. icon: 'profile',
  2382. hidden: true,
  2383. permission: 'M_expenseAccountCategoryReportList'
  2384. }
  2385. }
  2386. ]
  2387. },
  2388. {
  2389. path: '/reportData/receivedSendStorageReport',
  2390. redirect: '/reportData/receivedSendStorageReport/index',
  2391. name: 'receivedSendStorageReport',
  2392. component: BlankLayout,
  2393. meta: {
  2394. title: '收发存报表',
  2395. icon: 'profile',
  2396. permission: 'M_receivedSendStorageReport'
  2397. },
  2398. hideChildrenInMenu: true,
  2399. children: [
  2400. {
  2401. path: 'index',
  2402. name: 'receivedSendStorageReportIndex',
  2403. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2404. meta: {
  2405. title: '收发存报表',
  2406. icon: 'profile',
  2407. hidden: true,
  2408. permission: 'M_receivedSendStorageReportList'
  2409. }
  2410. }
  2411. ]
  2412. },
  2413. {
  2414. path: '/productRebateReport/index',
  2415. redirect: '/productRebateReport/index/list',
  2416. name: 'productRebateReportList',
  2417. component: BlankLayout,
  2418. meta: {
  2419. title: '产品返利明细表',
  2420. icon: 'profile',
  2421. permission: 'M_productRebateReportList'
  2422. },
  2423. hideChildrenInMenu: true,
  2424. children: [
  2425. {
  2426. path: 'list',
  2427. name: 'productRebateReportList',
  2428. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2429. meta: {
  2430. title: '产品返利明细表',
  2431. icon: 'profile',
  2432. hidden: true,
  2433. permission: 'M_productRebateReportList'
  2434. }
  2435. }
  2436. ]
  2437. },
  2438. {
  2439. path: '/reportData/promotionSalesRealTimeReport',
  2440. redirect: '/reportData/promotionSalesRealTimeReport/index',
  2441. name: 'promotionSalesRealTimeReport',
  2442. component: BlankLayout,
  2443. meta: {
  2444. title: '促销销售单报表',
  2445. icon: 'profile',
  2446. permission: 'M_promotionSalesRealTimeReportList'
  2447. },
  2448. hideChildrenInMenu: true,
  2449. children: [
  2450. {
  2451. path: 'index',
  2452. name: 'promotionSalesRealTimeReportIndex',
  2453. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  2454. meta: {
  2455. title: '促销销售单报表',
  2456. icon: 'profile',
  2457. hidden: true,
  2458. permission: 'M_promotionSalesRealTimeReportList'
  2459. }
  2460. }
  2461. ]
  2462. }
  2463. // {
  2464. // path: '/reportData/allCountryCostReport',
  2465. // redirect: '/reportData/allCountryCostReport/list',
  2466. // name: 'allCountryCostReport',
  2467. // component: BlankLayout,
  2468. // meta: {
  2469. // title: '全国费用统计报表',
  2470. // icon: 'profile'
  2471. // // permission: 'M_nationalCustomerCostStatisticsList'
  2472. // },
  2473. // hideChildrenInMenu: true,
  2474. // children: [
  2475. // {
  2476. // path: 'list',
  2477. // name: 'allCountryCostReportList',
  2478. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2479. // meta: {
  2480. // title: '全国费用统计报表',
  2481. // icon: 'profile',
  2482. // hidden: true
  2483. // // permission: 'M_nationalCustomerCostStatisticsList'
  2484. // }
  2485. // }
  2486. // ]
  2487. // }
  2488. ]
  2489. },
  2490. // 数据导出
  2491. {
  2492. path: '/dataExport',
  2493. redirect: '/dataExport/exportSales',
  2494. component: PageView,
  2495. meta: {
  2496. title: '数据导出',
  2497. icon: 'database',
  2498. permission: 'M_dataExport'
  2499. },
  2500. children: [
  2501. {
  2502. path: '/dataExport/exportSales',
  2503. redirect: '/dataExport/exportSales/list',
  2504. name: 'exportSales',
  2505. component: BlankLayout,
  2506. meta: {
  2507. title: '导出销售',
  2508. icon: 'gold',
  2509. permission: 'M_exportSales'
  2510. },
  2511. hideChildrenInMenu: true,
  2512. children: [
  2513. {
  2514. path: 'list',
  2515. name: 'exportSalesList',
  2516. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2517. meta: {
  2518. title: '导出销售',
  2519. icon: 'gold',
  2520. hidden: true,
  2521. permission: 'M_exportSales'
  2522. }
  2523. }
  2524. ]
  2525. },
  2526. {
  2527. path: '/dataExport/exportCheck',
  2528. redirect: '/dataExport/exportCheck/list',
  2529. name: 'exportCheck',
  2530. component: BlankLayout,
  2531. meta: {
  2532. title: '导出盘点',
  2533. icon: 'gold',
  2534. permission: 'M_exportCheck'
  2535. },
  2536. hideChildrenInMenu: true,
  2537. children: [
  2538. {
  2539. path: 'list',
  2540. name: 'exportCheckList',
  2541. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2542. meta: {
  2543. title: '导出盘点',
  2544. icon: 'gold',
  2545. hidden: true,
  2546. permission: 'M_exportCheck'
  2547. }
  2548. }
  2549. ]
  2550. }
  2551. ]
  2552. },
  2553. // 产品管理
  2554. {
  2555. path: '/productManagement',
  2556. redirect: '/productManagement/productInfo',
  2557. component: PageView,
  2558. meta: {
  2559. title: '产品管理',
  2560. icon: 'shopping',
  2561. permission: 'M_productManagement'
  2562. },
  2563. children: [
  2564. {
  2565. path: '/productManagement/productInfo',
  2566. redirect: '/productManagement/productInfo/list',
  2567. name: 'productInfo',
  2568. component: BlankLayout,
  2569. meta: {
  2570. title: '产品列表',
  2571. icon: 'gold',
  2572. permission: 'M_productInfoList'
  2573. },
  2574. hideChildrenInMenu: true,
  2575. children: [
  2576. {
  2577. path: 'list',
  2578. name: 'productInfoList',
  2579. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2580. meta: {
  2581. title: '产品列表',
  2582. icon: 'gold',
  2583. hidden: true,
  2584. permission: 'M_productInfoList'
  2585. }
  2586. },
  2587. {
  2588. path: 'add',
  2589. name: 'productInfoAdd',
  2590. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2591. meta: {
  2592. title: '新增产品',
  2593. icon: 'gold',
  2594. hidden: true
  2595. // permission: 'B_goodsManage_edit'
  2596. }
  2597. },
  2598. {
  2599. path: 'edit/:id/:sn',
  2600. name: 'productInfoEdit',
  2601. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2602. meta: {
  2603. title: '编辑产品',
  2604. icon: 'gold',
  2605. hidden: true
  2606. // permission: 'B_goodsManage_edit'
  2607. }
  2608. }
  2609. ]
  2610. },
  2611. {
  2612. path: '/productManagement/productPricing',
  2613. redirect: '/productManagement/productPricing/list',
  2614. name: 'productPricing',
  2615. component: BlankLayout,
  2616. meta: {
  2617. title: '产品定价',
  2618. icon: 'transaction',
  2619. permission: 'M_productPricingList'
  2620. },
  2621. hideChildrenInMenu: true,
  2622. children: [
  2623. {
  2624. path: 'list',
  2625. name: 'productPricingList',
  2626. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2627. meta: {
  2628. title: '产品定价列表',
  2629. icon: 'transaction',
  2630. hidden: true,
  2631. permission: 'M_productPricingList'
  2632. }
  2633. }
  2634. ]
  2635. },
  2636. {
  2637. path: '/productManagement/productLaunchAudit',
  2638. redirect: '/productManagement/productLaunchAudit/list',
  2639. name: 'productLaunchAudit',
  2640. component: BlankLayout,
  2641. meta: {
  2642. title: '产品上线审核',
  2643. icon: 'rise',
  2644. permission: 'M_productLaunchAuditList'
  2645. },
  2646. hideChildrenInMenu: true,
  2647. children: [
  2648. {
  2649. path: 'list',
  2650. name: 'productLaunchAuditList',
  2651. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2652. meta: {
  2653. title: '产品上线审核列表',
  2654. icon: 'rise',
  2655. hidden: true,
  2656. permission: 'M_productLaunchAuditList'
  2657. }
  2658. }
  2659. ]
  2660. },
  2661. {
  2662. path: '/productManagement/productOfflineAudit',
  2663. redirect: '/productManagement/productOfflineAudit/list',
  2664. name: 'productOfflineAudit',
  2665. component: BlankLayout,
  2666. meta: {
  2667. title: '产品下线审核',
  2668. icon: 'fall',
  2669. permission: 'M_productOfflineAuditList'
  2670. },
  2671. hideChildrenInMenu: true,
  2672. children: [
  2673. {
  2674. path: 'list',
  2675. name: 'productOfflineAuditList',
  2676. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2677. meta: {
  2678. title: '产品下线审核列表',
  2679. icon: 'fall',
  2680. hidden: true,
  2681. permission: 'M_productOfflineAuditList'
  2682. }
  2683. }
  2684. ]
  2685. },
  2686. {
  2687. path: '/productManagement/productNotOnline',
  2688. redirect: '/productManagement/productNotOnline/list',
  2689. name: 'productNotOnline',
  2690. component: BlankLayout,
  2691. meta: {
  2692. title: '产品状态信息',
  2693. icon: 'fall',
  2694. permission: 'M_productNotOnlineList'
  2695. },
  2696. hideChildrenInMenu: true,
  2697. children: [
  2698. {
  2699. path: 'list',
  2700. name: 'productNotOnlineList',
  2701. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
  2702. meta: {
  2703. title: '产品状态信息列表',
  2704. icon: 'fall',
  2705. hidden: true,
  2706. permission: 'M_productNotOnlineList'
  2707. }
  2708. }
  2709. ]
  2710. },
  2711. {
  2712. path: '/productManagement/priceChangeRecord',
  2713. redirect: '/productManagement/priceChangeRecord/list',
  2714. name: 'priceChangeRecord',
  2715. component: BlankLayout,
  2716. meta: {
  2717. title: '价格变更记录',
  2718. icon: 'profile',
  2719. permission: 'M_priceChangeRecordList'
  2720. },
  2721. hideChildrenInMenu: true,
  2722. children: [
  2723. {
  2724. path: 'list',
  2725. name: 'priceChangeRecordList',
  2726. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2727. meta: {
  2728. title: '价格变更记录列表',
  2729. icon: 'profile',
  2730. hidden: true,
  2731. permission: 'M_priceChangeRecordList'
  2732. }
  2733. }
  2734. ]
  2735. },
  2736. {
  2737. path: '/productManagement/productUniversal',
  2738. redirect: '/productManagement/productUniversal/list',
  2739. name: 'productUniversal',
  2740. component: BlankLayout,
  2741. meta: {
  2742. title: '通用产品管理',
  2743. icon: 'deployment-unit',
  2744. permission: 'M_productUniversalList'
  2745. },
  2746. hideChildrenInMenu: true,
  2747. children: [
  2748. {
  2749. path: 'list',
  2750. name: 'productUniversalList',
  2751. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2752. meta: {
  2753. title: '通用产品列表',
  2754. icon: 'deployment-unit',
  2755. hidden: true,
  2756. permission: 'M_productUniversalList'
  2757. }
  2758. }
  2759. ]
  2760. },
  2761. {
  2762. path: '/productManagement/productLevel',
  2763. redirect: '/productManagement/productLevel/list',
  2764. name: 'productLevel',
  2765. component: BlankLayout,
  2766. meta: {
  2767. title: '产品级别管理',
  2768. icon: 'fund',
  2769. permission: 'M_productLevelList'
  2770. },
  2771. hideChildrenInMenu: true,
  2772. children: [
  2773. {
  2774. path: 'list',
  2775. name: 'productLevelList',
  2776. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2777. meta: {
  2778. title: '产品级别列表',
  2779. icon: 'fund',
  2780. hidden: true,
  2781. permission: 'M_productLevelList'
  2782. }
  2783. }
  2784. ]
  2785. },
  2786. {
  2787. path: '/productManagement/productBrand',
  2788. redirect: '/productManagement/productBrand/list',
  2789. name: 'productBrand',
  2790. component: BlankLayout,
  2791. meta: {
  2792. title: '产品品牌管理',
  2793. icon: 'file-ppt',
  2794. permission: 'M_productBrandList'
  2795. },
  2796. hideChildrenInMenu: true,
  2797. children: [
  2798. {
  2799. path: 'list',
  2800. name: 'productBrandList',
  2801. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2802. meta: {
  2803. title: '产品品牌列表',
  2804. icon: 'file-ppt',
  2805. hidden: true,
  2806. permission: 'M_productBrandList'
  2807. }
  2808. }
  2809. ]
  2810. },
  2811. {
  2812. path: '/productManagement/productCategory',
  2813. redirect: '/productManagement/productCategory/list',
  2814. name: 'productCategory',
  2815. component: BlankLayout,
  2816. meta: {
  2817. title: '产品分类管理',
  2818. icon: 'radar-chart',
  2819. permission: 'M_productCategoryList'
  2820. },
  2821. hideChildrenInMenu: true,
  2822. children: [
  2823. {
  2824. path: 'list',
  2825. name: 'productCategoryList',
  2826. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2827. meta: {
  2828. title: '产品分类列表',
  2829. icon: 'radar-chart',
  2830. hidden: true,
  2831. permission: 'M_productCategoryList'
  2832. }
  2833. }
  2834. ]
  2835. },
  2836. {
  2837. path: '/productManagement/shelfNoManage',
  2838. redirect: '/productManagement/shelfNoManage/list',
  2839. name: 'shelfNoManage',
  2840. component: BlankLayout,
  2841. meta: {
  2842. title: '货位编号管理',
  2843. icon: 'radar-chart',
  2844. permission: 'M_shelfNoManageList'
  2845. },
  2846. hideChildrenInMenu: true,
  2847. children: [
  2848. {
  2849. path: 'list',
  2850. name: 'shelfNoManageList',
  2851. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2852. meta: {
  2853. title: '货位编号管理',
  2854. icon: 'radar-chart',
  2855. hidden: true,
  2856. permission: 'M_shelfNoManageList'
  2857. }
  2858. }
  2859. ]
  2860. }
  2861. ]
  2862. },
  2863. // 经销商管理
  2864. {
  2865. path: '/dealerManagement',
  2866. redirect: '/dealerManagement/marketingDivisionSet',
  2867. component: PageView,
  2868. meta: {
  2869. title: '经销商管理',
  2870. icon: 'idcard',
  2871. permission: 'M_dealerManagement'
  2872. },
  2873. children: [
  2874. {
  2875. path: '/dealerManagement/merchantInfoManagement',
  2876. redirect: '/dealerManagement/merchantInfoManagement/list',
  2877. name: 'merchantInfoManagement',
  2878. component: BlankLayout,
  2879. meta: {
  2880. title: '经销商资料管理',
  2881. icon: 'file-text',
  2882. permission: 'M_merchantInfoManagementList'
  2883. },
  2884. hideChildrenInMenu: true,
  2885. children: [
  2886. {
  2887. path: 'list',
  2888. name: 'merchantInfoManagementList',
  2889. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  2890. meta: {
  2891. title: '经销商资料列表',
  2892. icon: 'file-text',
  2893. hidden: true,
  2894. permission: 'M_merchantInfoManagementList'
  2895. }
  2896. },
  2897. {
  2898. path: 'add',
  2899. name: 'merchantInfoManagementAdd',
  2900. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2901. meta: {
  2902. title: '新增经销商',
  2903. icon: 'file-text',
  2904. hidden: true
  2905. // permission: 'B_goodsManage_edit'
  2906. }
  2907. },
  2908. {
  2909. path: 'edit/:id',
  2910. name: 'merchantInfoManagementEdit',
  2911. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2912. meta: {
  2913. title: '编辑经销商',
  2914. icon: 'file-text',
  2915. hidden: true
  2916. // permission: 'B_goodsManage_edit'
  2917. }
  2918. },
  2919. {
  2920. path: 'permissionSetting/:sn',
  2921. name: 'merchantInfoManagementSet',
  2922. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  2923. meta: {
  2924. title: '经销权设置',
  2925. icon: 'file-text',
  2926. replaceTab: true,
  2927. hidden: true
  2928. // permission: 'B_goodsManage_edit'
  2929. }
  2930. }
  2931. ]
  2932. },
  2933. {
  2934. path: '/dealerManagement/dealerAccountManagement',
  2935. redirect: '/dealerManagement/dealerAccountManagement/list',
  2936. name: 'dealerAccountManagement',
  2937. component: BlankLayout,
  2938. meta: {
  2939. title: '经销商账号管理',
  2940. icon: 'team',
  2941. permission: 'M_dealerAccountManagementList'
  2942. },
  2943. hideChildrenInMenu: true,
  2944. children: [
  2945. {
  2946. path: 'list',
  2947. name: 'dealerAccountManagementList',
  2948. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  2949. meta: {
  2950. title: '经销商账号列表',
  2951. icon: 'team',
  2952. hidden: true,
  2953. permission: 'M_dealerAccountManagementList'
  2954. }
  2955. }
  2956. ]
  2957. },
  2958. {
  2959. path: '/dealerManagement/dealerRelationshipBinding',
  2960. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  2961. name: 'dealerRelationshipBinding',
  2962. component: BlankLayout,
  2963. meta: {
  2964. title: '经销商关系绑定',
  2965. icon: 'share-alt',
  2966. permission: 'M_dealerRelationshipBindingList'
  2967. },
  2968. hideChildrenInMenu: true,
  2969. children: [
  2970. {
  2971. path: 'list',
  2972. name: 'dealerRelationshipBindingList',
  2973. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  2974. meta: {
  2975. title: '经销商关系绑定列表',
  2976. icon: 'share-alt',
  2977. hidden: true,
  2978. permission: 'M_dealerRelationshipBindingList'
  2979. }
  2980. }
  2981. ]
  2982. },
  2983. {
  2984. path: '/dealerManagement/rebateSettings',
  2985. redirect: '/dealerManagement/rebateSettings/list',
  2986. name: 'rebateSettings',
  2987. component: BlankLayout,
  2988. meta: {
  2989. title: '差价归属设置',
  2990. icon: 'stock',
  2991. permission: 'M_rebateSettingsList'
  2992. },
  2993. hideChildrenInMenu: true,
  2994. children: [
  2995. {
  2996. path: 'list',
  2997. name: 'rebateSettingsList',
  2998. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  2999. meta: {
  3000. title: '差价归属设置列表',
  3001. icon: 'stock',
  3002. hidden: true,
  3003. permission: 'M_rebateSettingsList'
  3004. }
  3005. }
  3006. ]
  3007. },
  3008. {
  3009. path: '/dealerManagement/marketingDivisionSetNew',
  3010. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3011. name: 'marketingDivisionSetNew',
  3012. component: BlankLayout,
  3013. meta: {
  3014. title: '营销分区设置',
  3015. icon: 'setting',
  3016. permission: 'M_marketingDivisionSetList'
  3017. },
  3018. hideChildrenInMenu: true,
  3019. children: [
  3020. {
  3021. path: 'list',
  3022. name: 'marketingDivisionSetNewList',
  3023. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3024. meta: {
  3025. title: '营销分区列表',
  3026. icon: 'setting',
  3027. hidden: true,
  3028. permission: 'M_marketingDivisionSetList'
  3029. }
  3030. }
  3031. ]
  3032. },
  3033. {
  3034. path: '/dealerManagement/businessOwnerSettings',
  3035. redirect: '/dealerManagement/businessOwnerSettings/list',
  3036. name: 'businessOwnerSettings',
  3037. component: BlankLayout,
  3038. meta: {
  3039. title: '数据权限配置',
  3040. icon: 'stock',
  3041. permission: 'M_businessOwnerSettings'
  3042. },
  3043. hideChildrenInMenu: true,
  3044. children: [
  3045. {
  3046. path: 'list',
  3047. name: 'businessOwnerSettingsList',
  3048. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3049. meta: {
  3050. title: '数据权限配置列表',
  3051. icon: 'stock',
  3052. hidden: true,
  3053. permission: 'M_businessOwnerSettingsList'
  3054. }
  3055. },
  3056. {
  3057. path: 'settingsIndex',
  3058. name: 'categorySet',
  3059. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3060. meta: {
  3061. title: '管辖品类权限设置',
  3062. icon: 'user',
  3063. hidden: true,
  3064. replaceTab: true,
  3065. permission: 'M_settingsIndex'
  3066. }
  3067. }
  3068. ]
  3069. },
  3070. {
  3071. path: '/dealerManagement/dealerZoneSearch',
  3072. redirect: '/dealerManagement/dealerZoneSearch/list',
  3073. name: 'dealerZoneSearch',
  3074. component: BlankLayout,
  3075. meta: {
  3076. title: '经销商所属分区查询',
  3077. icon: 'setting',
  3078. permission: 'M_dealerZoneSearch'
  3079. },
  3080. hideChildrenInMenu: true,
  3081. children: [
  3082. {
  3083. path: 'list',
  3084. name: 'dealerZoneSearchList',
  3085. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3086. meta: {
  3087. title: '经销商所属分区查询',
  3088. icon: 'setting',
  3089. hidden: true,
  3090. permission: 'M_dealerZoneSearchList'
  3091. }
  3092. }
  3093. ]
  3094. }
  3095. ]
  3096. },
  3097. // 供应商管理
  3098. {
  3099. path: '/supplierManagement',
  3100. redirect: '/supplierManagement/supplierInfo',
  3101. component: PageView,
  3102. meta: {
  3103. title: '供应商管理',
  3104. icon: 'team',
  3105. permission: 'M_supplierManagement'
  3106. },
  3107. children: [
  3108. {
  3109. path: '/supplierManagement/supplierInfo',
  3110. redirect: '/supplierManagement/supplierInfo/list',
  3111. name: 'supplierInfo',
  3112. component: BlankLayout,
  3113. meta: {
  3114. title: '供应商列表',
  3115. icon: 'team',
  3116. permission: 'M_supplierInfoList'
  3117. },
  3118. hideChildrenInMenu: true,
  3119. children: [
  3120. {
  3121. path: 'list',
  3122. name: 'supplierInfoList',
  3123. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3124. meta: {
  3125. title: '供应商列表',
  3126. icon: 'team',
  3127. hidden: true,
  3128. permission: 'M_supplierInfoList'
  3129. }
  3130. },
  3131. {
  3132. path: 'add',
  3133. name: 'supplierInfoAdd',
  3134. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3135. meta: {
  3136. title: '新增供应商',
  3137. icon: 'team',
  3138. hidden: true
  3139. // permission: 'B_goodsManage_edit'
  3140. }
  3141. },
  3142. {
  3143. path: 'edit/:id',
  3144. name: 'supplierInfoEdit',
  3145. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3146. meta: {
  3147. title: '编辑供应商',
  3148. icon: 'team',
  3149. hidden: true
  3150. // permission: 'B_goodsManage_edit'
  3151. }
  3152. },
  3153. {
  3154. path: 'associatedProduct/:sn/:name',
  3155. name: 'associatedProduct',
  3156. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3157. meta: {
  3158. title: '关联产品',
  3159. icon: 'team',
  3160. replaceTab: true,
  3161. hidden: true
  3162. // permission: 'B_goodsManage_edit'
  3163. }
  3164. }
  3165. ]
  3166. },
  3167. {
  3168. path: '/supplierManagement/costSetting',
  3169. redirect: '/supplierManagement/costSetting/list',
  3170. name: 'costSetting',
  3171. component: BlankLayout,
  3172. meta: {
  3173. title: '成本设置',
  3174. icon: 'build',
  3175. permission: 'M_costSettingList'
  3176. },
  3177. hideChildrenInMenu: true,
  3178. children: [
  3179. {
  3180. path: 'list',
  3181. name: 'costSettingList',
  3182. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3183. meta: {
  3184. title: '成本设置列表',
  3185. icon: 'build',
  3186. hidden: true
  3187. }
  3188. }
  3189. ]
  3190. },
  3191. {
  3192. path: '/supplierManagement/costSetRecord',
  3193. redirect: '/supplierManagement/costSetRecord/list',
  3194. name: 'costSetRecord',
  3195. component: BlankLayout,
  3196. meta: {
  3197. title: '成本变更记录',
  3198. icon: 'build',
  3199. permission: 'M_costSetRecordList'
  3200. },
  3201. hideChildrenInMenu: true,
  3202. children: [
  3203. {
  3204. path: 'list',
  3205. name: 'costSetRecordList',
  3206. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3207. meta: {
  3208. title: '成本变更记录列表',
  3209. icon: 'build',
  3210. hidden: true
  3211. }
  3212. }
  3213. ]
  3214. },
  3215. {
  3216. path: '/supplierManagement/associatedProductDetails',
  3217. redirect: '/supplierManagement/associatedProductDetails/list',
  3218. name: 'associatedProductDetails',
  3219. component: BlankLayout,
  3220. meta: {
  3221. title: '关联产品明细表',
  3222. icon: 'build',
  3223. permission: 'M_associatedProductDetailsList'
  3224. },
  3225. hideChildrenInMenu: true,
  3226. children: [
  3227. {
  3228. path: 'list',
  3229. name: 'associatedProductDetailsList',
  3230. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3231. meta: {
  3232. title: '关联产品明细列表',
  3233. icon: 'build',
  3234. hidden: true,
  3235. permission: 'M_associatedProductDetailsList'
  3236. }
  3237. }
  3238. ]
  3239. }
  3240. ]
  3241. },
  3242. // 促销管理
  3243. {
  3244. path: '/promotionRulesManagement',
  3245. redirect: '/promotionRulesManagement/promotionRules',
  3246. component: PageView,
  3247. meta: {
  3248. title: '促销管理',
  3249. icon: 'rocket',
  3250. permission: 'M_promotionRulesManagement'
  3251. },
  3252. children: [
  3253. {
  3254. path: '/promotionRulesManagement/promotionRules',
  3255. redirect: '/promotionRulesManagement/promotionRules/list',
  3256. name: 'promotionRules',
  3257. component: BlankLayout,
  3258. meta: {
  3259. title: '促销规则管理',
  3260. icon: 'thunderbolt',
  3261. permission: 'M_promotionRulesList'
  3262. },
  3263. hideChildrenInMenu: true,
  3264. children: [
  3265. {
  3266. path: 'list',
  3267. name: 'promotionRulesManagementList',
  3268. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/list.vue'),
  3269. meta: {
  3270. title: '促销规则列表',
  3271. icon: 'thunderbolt',
  3272. hidden: true,
  3273. permission: 'M_promotionRulesList'
  3274. }
  3275. },
  3276. {
  3277. path: 'detail/:id/:sn',
  3278. name: 'promotionRulesManagementDetail',
  3279. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/detail.vue'),
  3280. meta: {
  3281. title: '促销规则详情',
  3282. icon: 'thunderbolt',
  3283. hidden: true
  3284. // permission: 'B_goodsManage_edit'
  3285. }
  3286. },
  3287. {
  3288. path: 'rule/:id/:sn',
  3289. name: 'promotionRulesManagementRule',
  3290. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/rule.vue'),
  3291. meta: {
  3292. title: '促销规则设置',
  3293. icon: 'thunderbolt',
  3294. replaceTab: true,
  3295. hidden: true
  3296. // permission: 'B_goodsManage_edit'
  3297. }
  3298. }
  3299. ]
  3300. },
  3301. {
  3302. path: '/promotionRulesManagement/orderStatistics',
  3303. redirect: '/promotionRulesManagement/orderStatistics/list',
  3304. name: 'orderStatistics',
  3305. component: BlankLayout,
  3306. meta: {
  3307. title: '促销订单统计',
  3308. icon: 'contacts',
  3309. permission: 'M_orderStatisticsList'
  3310. },
  3311. hideChildrenInMenu: true,
  3312. children: [
  3313. {
  3314. path: 'list',
  3315. name: 'orderStatisticsList',
  3316. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/orderStatistics/list.vue'),
  3317. meta: {
  3318. title: '订单统计列表',
  3319. icon: 'contacts',
  3320. hidden: true,
  3321. permission: 'M_orderStatisticsList'
  3322. }
  3323. }
  3324. ]
  3325. },
  3326. {
  3327. path: '/promotionRulesManagement/productStatistics',
  3328. redirect: '/promotionRulesManagement/productStatistics/list',
  3329. name: 'productStatistics',
  3330. component: BlankLayout,
  3331. meta: {
  3332. title: '促销产品统计',
  3333. icon: 'file-ppt',
  3334. permission: 'M_productStatisticsList'
  3335. },
  3336. hideChildrenInMenu: true,
  3337. children: [
  3338. {
  3339. path: 'list',
  3340. name: 'productStatisticsList',
  3341. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/productStatistics/list.vue'),
  3342. meta: {
  3343. title: '产品统计列表',
  3344. icon: 'file-ppt',
  3345. hidden: true,
  3346. permission: 'M_productStatisticsList'
  3347. }
  3348. }
  3349. ]
  3350. },
  3351. {
  3352. path: '/promotionRulesManagement/promotionManagement',
  3353. redirect: '/promotionRulesManagement/promotionManagement/list',
  3354. name: 'promotionManagement',
  3355. component: BlankLayout,
  3356. meta: {
  3357. title: '修理厂促销',
  3358. icon: 'file-ppt',
  3359. permission: 'M_promotionManagementList'
  3360. },
  3361. hideChildrenInMenu: true,
  3362. children: [
  3363. {
  3364. path: 'list',
  3365. name: 'promotionManagementList',
  3366. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3367. meta: {
  3368. title: '促销列表',
  3369. icon: 'file-ppt',
  3370. hidden: true,
  3371. permission: 'M_promotionManagementList'
  3372. }
  3373. }
  3374. ]
  3375. },
  3376. {
  3377. path: '/promotionRulesManagement/dealerPromotions',
  3378. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3379. name: 'dealerPromotionManagement',
  3380. component: BlankLayout,
  3381. meta: {
  3382. title: '经销商促销',
  3383. icon: 'setting'
  3384. // permission: 'M_dealerPromotionManagementList'
  3385. },
  3386. hideChildrenInMenu: true,
  3387. children: [
  3388. {
  3389. path: 'list',
  3390. name: 'dealerPromotionManagementList',
  3391. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3392. meta: {
  3393. title: '经销商促销',
  3394. icon: 'setting',
  3395. hidden: true
  3396. // permission: 'M_dealerPromotionManagementList'
  3397. }
  3398. },
  3399. {
  3400. path: 'detail',
  3401. name: 'dealerPromotionManagementDetail',
  3402. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3403. meta: {
  3404. title: '促销活动详情',
  3405. icon: 'thunderbolt',
  3406. hidden: true
  3407. // permission: 'B_goodsManage_edit'
  3408. }
  3409. },
  3410. {
  3411. path: 'ruleSet',
  3412. name: 'dealerPromotionManagementRule',
  3413. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3414. meta: {
  3415. title: '促销规则设置',
  3416. icon: 'thunderbolt',
  3417. replaceTab: true,
  3418. hidden: true
  3419. // permission: 'B_goodsManage_edit'
  3420. }
  3421. }
  3422. ]
  3423. }
  3424. ]
  3425. },
  3426. // 基础设置
  3427. {
  3428. path: '/basicData',
  3429. redirect: '/basicData/warehouse',
  3430. component: PageView,
  3431. meta: {
  3432. title: '基础设置',
  3433. icon: 'pushpin',
  3434. permission: 'M_basicData'
  3435. },
  3436. children: [
  3437. {
  3438. path: '/basicData/warehouse',
  3439. redirect: '/basicData/warehouse/list',
  3440. name: 'warehouse',
  3441. component: BlankLayout,
  3442. meta: {
  3443. title: '仓库管理',
  3444. icon: 'deployment-unit',
  3445. permission: 'M_warehouseList'
  3446. },
  3447. hideChildrenInMenu: true,
  3448. children: [
  3449. {
  3450. path: 'list',
  3451. name: 'warehouseList',
  3452. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3453. meta: {
  3454. title: '仓库列表',
  3455. icon: 'deployment-unit',
  3456. hidden: true,
  3457. permission: 'M_warehouseList'
  3458. }
  3459. },
  3460. {
  3461. path: '/basicData/storingLocation/:sn',
  3462. name: 'storingLocationList',
  3463. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3464. meta: {
  3465. title: '仓位列表',
  3466. icon: 'deployment-unit',
  3467. replaceTab: true,
  3468. hidden: true
  3469. // permission: 'B_goodsManage_edit'
  3470. }
  3471. }
  3472. ]
  3473. },
  3474. {
  3475. path: '/basicData/transferTypeManagement',
  3476. redirect: '/basicData/transferTypeManagement/list',
  3477. name: 'transferTypeManagement',
  3478. component: BlankLayout,
  3479. meta: {
  3480. title: '调拨类型管理',
  3481. icon: 'interaction',
  3482. permission: 'M_transferTypeManagementList'
  3483. },
  3484. hideChildrenInMenu: true,
  3485. children: [
  3486. {
  3487. path: 'list',
  3488. name: 'transferTypeManagementList',
  3489. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3490. meta: {
  3491. title: '调拨类型列表',
  3492. icon: 'interaction',
  3493. hidden: true,
  3494. permission: 'M_transferTypeManagementList'
  3495. }
  3496. }
  3497. ]
  3498. }
  3499. ]
  3500. },
  3501. // 权限管理
  3502. {
  3503. path: '/auth',
  3504. redirect: '/auth/user',
  3505. component: PageView,
  3506. meta: {
  3507. title: '权限管理',
  3508. icon: 'lock',
  3509. permission: 'M_auth_0'
  3510. },
  3511. children: [
  3512. {
  3513. path: '/auth/user',
  3514. redirect: '/auth/user/list',
  3515. name: 'powerUser',
  3516. component: BlankLayout,
  3517. meta: {
  3518. title: '用户管理',
  3519. icon: 'user',
  3520. permission: 'M_userList'
  3521. },
  3522. hideChildrenInMenu: true,
  3523. children: [
  3524. {
  3525. path: 'list',
  3526. name: 'powerUserList',
  3527. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3528. meta: {
  3529. title: '用户管理',
  3530. icon: 'user',
  3531. hidden: true,
  3532. permission: 'M_userList'
  3533. }
  3534. }
  3535. ]
  3536. },
  3537. {
  3538. path: '/auth/role',
  3539. redirect: '/auth/role/list',
  3540. name: 'powerRole',
  3541. component: BlankLayout,
  3542. meta: {
  3543. title: '角色管理',
  3544. icon: 'solution',
  3545. permission: 'M_roleList'
  3546. },
  3547. hideChildrenInMenu: true,
  3548. children: [
  3549. {
  3550. path: 'list',
  3551. name: 'powerRoleList',
  3552. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3553. meta: {
  3554. title: '角色管理',
  3555. icon: 'solution',
  3556. hidden: true,
  3557. permission: 'M_roleList'
  3558. }
  3559. }
  3560. ]
  3561. },
  3562. {
  3563. path: '/auth/adminMenus',
  3564. redirect: '/auth/adminMenus/list',
  3565. name: 'adminMenus',
  3566. component: BlankLayout,
  3567. meta: {
  3568. title: '菜单管理',
  3569. icon: 'appstore',
  3570. permission: 'M_menuList'
  3571. },
  3572. hideChildrenInMenu: true,
  3573. children: [
  3574. {
  3575. path: 'list',
  3576. name: 'adminMenusList',
  3577. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3578. meta: {
  3579. title: '菜单管理',
  3580. icon: 'appstore',
  3581. hidden: true,
  3582. permission: 'M_menuList'
  3583. }
  3584. }
  3585. ]
  3586. }
  3587. ]
  3588. },
  3589. // 系统设置
  3590. {
  3591. path: '/setting',
  3592. redirect: '/setting/dataDictionary',
  3593. component: PageView,
  3594. meta: {
  3595. title: '系统设置',
  3596. icon: 'setting',
  3597. permission: 'M_systemSet'
  3598. },
  3599. children: [
  3600. {
  3601. path: '/setting/dataDictionary',
  3602. redirect: '/setting/dataDictionary/list',
  3603. name: 'dataDictionary',
  3604. component: BlankLayout,
  3605. meta: {
  3606. title: '数据字典管理',
  3607. icon: 'database',
  3608. permission: 'M_dataD_lookup'
  3609. },
  3610. hideChildrenInMenu: true,
  3611. children: [
  3612. {
  3613. path: 'list',
  3614. name: 'powerDD',
  3615. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3616. meta: {
  3617. title: '数据字典管理',
  3618. icon: 'database',
  3619. hidden: true,
  3620. permission: 'M_dataD_lookup'
  3621. }
  3622. }
  3623. ]
  3624. },
  3625. {
  3626. path: '/setting/OperateJournal',
  3627. redirect: '/setting/OperateJournal/list',
  3628. name: 'OperateJournal',
  3629. component: BlankLayout,
  3630. meta: {
  3631. title: '操作日志',
  3632. icon: 'read',
  3633. permission: 'M_OperateJournalList'
  3634. },
  3635. hideChildrenInMenu: true,
  3636. children: [
  3637. {
  3638. path: 'list',
  3639. name: 'powerOperateJournal',
  3640. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3641. meta: {
  3642. title: '操作日志',
  3643. icon: 'read',
  3644. permission: 'M_OperateJournalList'
  3645. }
  3646. }
  3647. ]
  3648. },
  3649. {
  3650. path: '/setting/noticeManagement',
  3651. redirect: '/setting/noticeManagement/list',
  3652. name: 'noticeManagement',
  3653. component: BlankLayout,
  3654. meta: {
  3655. title: '公告管理',
  3656. icon: 'sketch',
  3657. permission: 'M_noticeManagementList'
  3658. },
  3659. hideChildrenInMenu: true,
  3660. children: [
  3661. {
  3662. path: 'list',
  3663. name: 'noticeManagementList',
  3664. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3665. meta: {
  3666. title: '公告列表',
  3667. icon: 'sketch',
  3668. hidden: true,
  3669. permission: 'M_noticeManagementList'
  3670. }
  3671. }
  3672. ]
  3673. },
  3674. {
  3675. path: '/setting/bigScreenSet',
  3676. redirect: '/setting/bigScreenSet/index',
  3677. name: 'bigScreenSet',
  3678. component: BlankLayout,
  3679. meta: {
  3680. title: '大屏参数设置',
  3681. icon: 'sketch',
  3682. permission: 'M_bigScreenSetIndex'
  3683. },
  3684. hideChildrenInMenu: true,
  3685. children: [{
  3686. path: 'index',
  3687. name: 'bigScreenSetIndex',
  3688. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3689. meta: {
  3690. title: '大屏参数设置',
  3691. icon: 'sketch',
  3692. hidden: true,
  3693. permission: 'M_bigScreenSetIndex'
  3694. }
  3695. }]
  3696. },
  3697. {
  3698. path: '/setting/erpMessageManagement',
  3699. redirect: '/setting/erpMessageManagement/list',
  3700. name: 'erpMessageManagement',
  3701. component: BlankLayout,
  3702. meta: {
  3703. title: 'ERP数据同步记录',
  3704. icon: 'sketch',
  3705. permission: 'M_erpMessageList'
  3706. },
  3707. hideChildrenInMenu: true,
  3708. children: [
  3709. {
  3710. path: 'list',
  3711. name: 'M_erpMessageList',
  3712. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3713. meta: {
  3714. title: 'ERP数据同步列表',
  3715. icon: 'sketch',
  3716. hidden: true,
  3717. permission: 'M_erpMessageList'
  3718. }
  3719. }
  3720. ]
  3721. },
  3722. {
  3723. path: '/setting/checkDingTask',
  3724. redirect: '/setting/checkDingTask/list',
  3725. name: 'checkDingTask',
  3726. component: BlankLayout,
  3727. meta: {
  3728. title: '钉钉审批',
  3729. icon: 'sketch',
  3730. permission: 'M_dingAuditUpdate'
  3731. },
  3732. hideChildrenInMenu: true,
  3733. children: [
  3734. {
  3735. path: 'list',
  3736. name: 'M_dingAuditUpdate',
  3737. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  3738. meta: {
  3739. title: '钉钉审批',
  3740. icon: 'sketch',
  3741. hidden: true,
  3742. permission: 'M_dingAuditUpdate'
  3743. }
  3744. }
  3745. ]
  3746. }
  3747. ]
  3748. }
  3749. ]
  3750. },
  3751. {
  3752. path: '*',
  3753. redirect: '/404',
  3754. hidden: true
  3755. }
  3756. ]
  3757. /**
  3758. * 基础路由
  3759. * @type { *[] }
  3760. */
  3761. export const constantRouterMap = [
  3762. {
  3763. path: '/user',
  3764. component: UserLayout,
  3765. redirect: '/user/login',
  3766. hidden: true,
  3767. children: [
  3768. {
  3769. path: 'login',
  3770. name: 'login',
  3771. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3772. },
  3773. {
  3774. path: 'register',
  3775. name: 'register',
  3776. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3777. },
  3778. {
  3779. path: 'register-result',
  3780. name: 'registerResult',
  3781. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3782. },
  3783. {
  3784. path: 'recover',
  3785. name: 'recover',
  3786. component: undefined
  3787. }
  3788. ]
  3789. },
  3790. {
  3791. path: '/bigScreen',
  3792. component: BigScreen,
  3793. redirect: '/bigScreen/realTimeSalesReport',
  3794. hidden: true,
  3795. children: [
  3796. {
  3797. path: 'realTimeSalesReport',
  3798. name: 'realTimeSalesReport',
  3799. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3800. meta: {
  3801. title: '实时销售看板'
  3802. }
  3803. },
  3804. {
  3805. path: 'fPanalysisReport',
  3806. name: 'fPanalysisReport',
  3807. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3808. meta: {
  3809. title: '加盟商/产品分析'
  3810. }
  3811. }
  3812. ]
  3813. },
  3814. {
  3815. path: '/404',
  3816. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3817. }
  3818. ]