router.config.js 126 KB

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