router.config.js 128 KB

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