router.config.js 112 KB

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