router.config.js 117 KB

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