router.config.js 105 KB

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