router.config.js 112 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113
  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: { title: '首页' },
  15. redirect: '/home',
  16. children: [
  17. {
  18. path: '/home',
  19. name: 'home',
  20. redirect: '/home',
  21. component: PageView,
  22. meta: {
  23. title: '首页',
  24. icon: 'home'
  25. },
  26. hideChildrenInMenu: true,
  27. children: [
  28. {
  29. path: '/home',
  30. name: 'home',
  31. redirect: '/home',
  32. component: BlankLayout,
  33. meta: {
  34. title: '首页',
  35. icon: 'home',
  36. hidden: true
  37. },
  38. hideChildrenInMenu: true,
  39. children: [
  40. {
  41. path: '/home',
  42. name: 'home',
  43. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  44. meta: {
  45. title: '首页',
  46. icon: 'home',
  47. hidden: true
  48. }
  49. },
  50. {
  51. path: '/changePwd',
  52. name: 'changePwd',
  53. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  54. meta: {
  55. title: '修改密码',
  56. icon: 'home'
  57. },
  58. hidden: true
  59. },
  60. // 公告
  61. {
  62. path: '/notice',
  63. name: 'notice',
  64. component: () => import(/* webpackChunkName: "home" */ '@/views/notice/list'),
  65. meta: {
  66. title: '公告',
  67. icon: 'bell',
  68. hidden: true
  69. }
  70. }
  71. ]
  72. }
  73. ]
  74. },
  75. // 销售管理
  76. {
  77. path: '/salesManagement',
  78. redirect: '/salesManagement/salesQuery',
  79. component: PageView,
  80. meta: {
  81. title: '销售管理',
  82. icon: 'account-book',
  83. permission: 'M_salesManage'
  84. },
  85. children: [
  86. {
  87. path: '/salesManagement/salesQuery',
  88. redirect: '/salesManagement/salesQuery/list',
  89. name: 'salesQuery',
  90. component: BlankLayout,
  91. meta: {
  92. title: '销售单',
  93. icon: 'monitor',
  94. permission: 'M_salesQueryList'
  95. },
  96. hideChildrenInMenu: true,
  97. children: [
  98. {
  99. path: 'list',
  100. name: 'salesQueryList',
  101. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  102. meta: {
  103. title: '销售单列表',
  104. icon: 'monitor',
  105. hidden: true,
  106. permission: 'M_salesQueryList'
  107. }
  108. },
  109. {
  110. path: 'detail/:sn',
  111. name: 'salesDetail',
  112. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  113. meta: {
  114. title: '销售单详情',
  115. icon: 'monitor',
  116. hidden: true,
  117. permission: 'B_salesDetail'
  118. }
  119. },
  120. {
  121. path: 'add/:id/:sn/:priceType',
  122. name: 'salesAdd',
  123. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  124. meta: {
  125. title: '新增销售单',
  126. icon: 'monitor',
  127. hidden: true,
  128. permission: 'B_salesNews'
  129. }
  130. },
  131. {
  132. path: 'edit/:id/:sn/:priceType',
  133. name: 'salesEdit',
  134. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  135. meta: {
  136. title: '编辑销售单',
  137. icon: 'monitor',
  138. hidden: true,
  139. permission: 'B_salesEdit'
  140. }
  141. }
  142. ]
  143. },
  144. {
  145. path: '/salesManagement/urgentItemsOffset',
  146. redirect: '/salesManagement/urgentItemsOffset/list',
  147. name: 'urgentItemsOffset',
  148. component: BlankLayout,
  149. meta: {
  150. title: '急件冲减',
  151. icon: 'rocket',
  152. permission: 'M_urgentItemsOffsetList'
  153. },
  154. hideChildrenInMenu: true,
  155. children: [
  156. {
  157. path: 'list',
  158. name: 'urgentItemsOffsetList',
  159. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/list.vue'),
  160. meta: {
  161. title: '急件冲减列表',
  162. icon: 'rocket',
  163. hidden: true,
  164. permission: 'M_urgentItemsOffsetList'
  165. }
  166. },
  167. {
  168. path: 'detail/:sn',
  169. name: 'urgentItemsOffsetDetail',
  170. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/detail.vue'),
  171. meta: {
  172. title: '急件冲减详情',
  173. icon: 'rocket',
  174. hidden: true,
  175. replaceTab: true,
  176. permission: 'M_urgentDetail'
  177. }
  178. }
  179. ]
  180. },
  181. {
  182. path: '/salesManagement/salesReturn',
  183. redirect: '/salesManagement/salesReturn/list',
  184. name: 'salesReturn',
  185. component: BlankLayout,
  186. meta: {
  187. title: '销售退货',
  188. icon: 'fund',
  189. permission: 'M_salesReturnList'
  190. },
  191. hideChildrenInMenu: true,
  192. children: [
  193. {
  194. path: 'list',
  195. name: 'salesReturnList',
  196. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  197. meta: {
  198. title: '退货单列表',
  199. icon: 'fund',
  200. hidden: true,
  201. permission: 'M_salesReturnList'
  202. }
  203. },
  204. {
  205. path: 'detail/:id/:sn',
  206. name: 'salesReturnDetail',
  207. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  208. meta: {
  209. title: '退货单详情',
  210. icon: 'fund',
  211. hidden: true,
  212. permission: 'B_salesReturnDetail'
  213. }
  214. },
  215. {
  216. path: 'salesReturnGrabEdit/:id/:sn/:buyerSn',
  217. name: 'salesReturnGrabEdit',
  218. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  219. meta: {
  220. title: '编辑退货单(抓单)',
  221. icon: 'fund',
  222. hidden: true,
  223. permission: 'B_salesReturnEdit'
  224. }
  225. },
  226. {
  227. path: 'salesReturnEdit/:id/:sn/:buyerSn',
  228. name: 'salesReturnEdit',
  229. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  230. meta: {
  231. title: '编辑退货单(不抓单)',
  232. icon: 'fund',
  233. hidden: true,
  234. permission: 'B_salesReturnEdit'
  235. }
  236. }
  237. ]
  238. },
  239. {
  240. path: '/salesManagement/productPricing',
  241. redirect: '/salesManagement/productPricing/list',
  242. name: 'productPricing',
  243. component: BlankLayout,
  244. meta: {
  245. title: '产品报价',
  246. icon: 'file-search',
  247. permission: 'M_productPricingList'
  248. },
  249. hideChildrenInMenu: true,
  250. children: [
  251. {
  252. path: 'list',
  253. name: 'productPricingList',
  254. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/productPricing/list.vue'),
  255. meta: {
  256. title: '产品报价列表',
  257. icon: 'file-search',
  258. hidden: true,
  259. permission: 'M_productPricingList'
  260. }
  261. }
  262. ]
  263. },
  264. {
  265. path: '/salesManagement/giftRecord',
  266. redirect: '/salesManagement/giftRecord/list',
  267. name: 'giftRecord',
  268. component: BlankLayout,
  269. meta: {
  270. title: '赠品记录',
  271. icon: 'file-search',
  272. permission: 'M_giftRecordList'
  273. },
  274. hideChildrenInMenu: true,
  275. children: [
  276. {
  277. path: 'list',
  278. name: 'giftRecordList',
  279. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/giftRecord/list.vue'),
  280. meta: {
  281. title: '赠品记录列表',
  282. icon: 'file-search',
  283. hidden: true,
  284. permission: 'M_giftRecordList'
  285. }
  286. }
  287. ]
  288. },
  289. {
  290. path: '/salesManagement/salesman',
  291. redirect: '/salesManagement/salesman/list',
  292. name: 'salesman',
  293. component: BlankLayout,
  294. meta: {
  295. title: '业务员管理',
  296. icon: 'file-search',
  297. permission: 'M_salesman_list'
  298. },
  299. hideChildrenInMenu: true,
  300. children: [
  301. {
  302. path: 'list',
  303. name: 'salesmanList',
  304. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
  305. meta: {
  306. title: '业务员列表',
  307. icon: 'file-search',
  308. hidden: true,
  309. permission: 'M_salesman_list'
  310. }
  311. }
  312. ]
  313. }
  314. ]
  315. },
  316. // 数字货架
  317. {
  318. path: '/numsGoodsShelves',
  319. redirect: '/numsGoodsShelves/shelfSet',
  320. component: PageView,
  321. meta: {
  322. title: '数字货架',
  323. icon: 'hdd',
  324. permission: 'M_numsGoodsShelves'
  325. },
  326. children: [
  327. {
  328. path: '/numsGoodsShelves/approveStore',
  329. redirect: '/numsGoodsShelves/approveStore/list',
  330. name: 'approveStore',
  331. component: BlankLayout,
  332. meta: {
  333. title: '汽修厂认证审核',
  334. icon: 'monitor',
  335. permission: 'M_approveStore'
  336. },
  337. hideChildrenInMenu: true,
  338. children: [
  339. {
  340. path: 'list',
  341. name: 'approveStoreList',
  342. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/list.vue'),
  343. meta: {
  344. title: '汽修厂认证审核',
  345. icon: 'monitor',
  346. hidden: true,
  347. permission: 'M_approveStore'
  348. }
  349. },
  350. {
  351. path: 'authPass/:sn',
  352. name: 'approveStoreAuthPass',
  353. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/authPass.vue'),
  354. meta: {
  355. title: '审核通过',
  356. icon: 'monitor',
  357. hidden: true,
  358. replaceTab: true
  359. }
  360. },
  361. ]
  362. },
  363. {
  364. path: '/numsGoodsShelves/shelfSet',
  365. redirect: '/numsGoodsShelves/shelfSet/list',
  366. name: 'shelfSet',
  367. component: BlankLayout,
  368. meta: {
  369. title: '货架设置',
  370. icon: 'monitor',
  371. permission: 'M_shelfSet'
  372. },
  373. hideChildrenInMenu: true,
  374. children: [
  375. {
  376. path: 'list',
  377. name: 'shelfSetList',
  378. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/list.vue'),
  379. meta: {
  380. title: '货架设置列表',
  381. icon: 'monitor',
  382. hidden: true
  383. // permission: 'M_salesQueryList'
  384. }
  385. },
  386. {
  387. path: 'set/:sn',
  388. name: 'shelfSetting',
  389. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/set.vue'),
  390. meta: {
  391. title: '货架设置',
  392. icon: 'monitor',
  393. hidden: true,
  394. replaceTab: true
  395. }
  396. }
  397. ]
  398. },
  399. {
  400. path: '/numsGoodsShelves/shelfMonitoring',
  401. redirect: '/numsGoodsShelves/shelfMonitoring/list',
  402. name: 'shelfMonitoring',
  403. component: BlankLayout,
  404. meta: {
  405. title: '货架监控',
  406. icon: 'monitor',
  407. permission: 'M_shelfMonitoring'
  408. },
  409. hideChildrenInMenu: true,
  410. children: [
  411. {
  412. path: 'list',
  413. name: 'shelfMonitoringList',
  414. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/list.vue'),
  415. meta: {
  416. title: '货架监控列表',
  417. icon: 'monitor',
  418. hidden: true
  419. // permission: 'M_salesQueryList'
  420. }
  421. },
  422. {
  423. path: 'warehouseDetail/:shelfPlaceSn/:productSn',
  424. name: 'shelfMonitoringWarehouseDetail',
  425. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/warehouseDetail.vue'),
  426. meta: {
  427. title: '货架监控出入库明细',
  428. icon: 'monitor',
  429. hidden: true,
  430. replaceTab: true
  431. // permission: 'M_salesQueryList'
  432. }
  433. }
  434. ]
  435. },
  436. {
  437. path: '/numsGoodsShelves/replenishmentManagement',
  438. redirect: '/numsGoodsShelves/replenishmentManagement/list',
  439. name: 'replenishmentManagement',
  440. component: BlankLayout,
  441. meta: {
  442. title: '补货管理',
  443. icon: 'monitor',
  444. permission: 'M_replenishmentManagement'
  445. },
  446. hideChildrenInMenu: true,
  447. children: [
  448. {
  449. path: 'list',
  450. name: 'replenishmentManagementList',
  451. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/replenishmentManagement/list.vue'),
  452. meta: {
  453. title: '补货管理列表',
  454. icon: 'monitor',
  455. hidden: true
  456. // permission: 'M_salesQueryList'
  457. }
  458. }
  459. ]
  460. },
  461. {
  462. path: '/numsGoodsShelves/recallManagement',
  463. redirect: '/numsGoodsShelves/recallManagement/list',
  464. name: 'recallManagement',
  465. component: BlankLayout,
  466. meta: {
  467. title: '调回管理',
  468. icon: 'monitor',
  469. permission: 'M_recallManagement'
  470. },
  471. hideChildrenInMenu: true,
  472. children: [
  473. {
  474. path: 'list',
  475. name: 'recallManagementList',
  476. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallManagement/list.vue'),
  477. meta: {
  478. title: '调回管理列表',
  479. icon: 'monitor',
  480. hidden: true
  481. // permission: 'M_salesQueryList'
  482. }
  483. }
  484. ]
  485. },
  486. {
  487. path: '/numsGoodsShelves/settlementManagement',
  488. redirect: '/numsGoodsShelves/settlementManagement/list',
  489. name: 'settlementManagement',
  490. component: BlankLayout,
  491. meta: {
  492. title: '结算管理',
  493. icon: 'monitor',
  494. permission: 'M_settlementManagement'
  495. },
  496. hideChildrenInMenu: true,
  497. children: [
  498. {
  499. path: 'list',
  500. name: 'settlementManagementList',
  501. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/settlementManagement/list.vue'),
  502. meta: {
  503. title: '结算管理列表',
  504. icon: 'monitor',
  505. hidden: true
  506. // permission: 'M_salesQueryList'
  507. }
  508. },
  509. {
  510. path: 'unDetail/:shelfSn/:settleType/:shelfName',
  511. name: 'unSettlementDetail',
  512. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/unSettlementDetail.vue'),
  513. meta: {
  514. title: '待结算明细',
  515. icon: 'monitor',
  516. hidden: true,
  517. replaceTab: true
  518. // permission: 'M_salesQueryList'
  519. }
  520. },
  521. {
  522. path: 'detail/:shelfSn/:shelfName',
  523. name: 'settlementDetail',
  524. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/settlementDetail.vue'),
  525. meta: {
  526. title: '结算历史',
  527. icon: 'monitor',
  528. hidden: true,
  529. replaceTab: true
  530. // permission: 'M_salesQueryList'
  531. }
  532. }
  533. ]
  534. },
  535. {
  536. path: '/numsGoodsShelves/withdrawalManagement',
  537. redirect: '/numsGoodsShelves/withdrawalManagement/list',
  538. name: 'ngsWithdrawalManagement',
  539. component: BlankLayout,
  540. meta: {
  541. title: '提现管理',
  542. icon: 'monitor',
  543. permission: 'M_NGS_withdrawalManagement'
  544. },
  545. hideChildrenInMenu: true,
  546. children: [
  547. {
  548. path: 'list',
  549. name: 'ngsWithdrawalManagementList',
  550. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagement/list.vue'),
  551. meta: {
  552. title: '提现管理列表',
  553. icon: 'monitor',
  554. hidden: true
  555. // permission: 'M_ngsWithdrawalManagementList'
  556. }
  557. }
  558. ]
  559. },
  560. {
  561. path: '/numsGoodsShelves/recallStockManagement',
  562. redirect: '/numsGoodsShelves/recallStockManagement/list',
  563. name: 'recallStockManagement',
  564. component: BlankLayout,
  565. meta: {
  566. title: '调回入库',
  567. icon: 'monitor',
  568. permission: 'M_recallStockManagement'
  569. },
  570. hideChildrenInMenu: true,
  571. children: [
  572. {
  573. path: 'list',
  574. name: 'recallStockManagementList',
  575. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallStockManagement/list.vue'),
  576. meta: {
  577. title: '调回入库列表',
  578. icon: 'monitor',
  579. hidden: true
  580. // permission: 'M_salesQueryList'
  581. }
  582. },
  583. {
  584. path: 'editStock/:stockPutSn',
  585. name: 'editStock',
  586. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/recallStockManagement/editStock.vue'),
  587. meta: {
  588. title: '编辑入库',
  589. icon: 'monitor',
  590. hidden: true,
  591. replaceTab: true
  592. // permission: 'M_salesQueryList'
  593. }
  594. }
  595. ]
  596. },
  597. // {
  598. // path: '/numsGoodsShelves/accountManagement',
  599. // redirect: '/numsGoodsShelves/accountManagement/list',
  600. // name: 'accountManagement',
  601. // component: BlankLayout,
  602. // meta: {
  603. // title: '账户明细',
  604. // icon: 'monitor'
  605. // // permission: 'M_salesQueryList'
  606. // },
  607. // hideChildrenInMenu: true,
  608. // children: [
  609. // {
  610. // path: 'list',
  611. // name: 'accountManagementList',
  612. // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/accountManagement/list.vue'),
  613. // meta: {
  614. // title: '账户明细列表',
  615. // icon: 'monitor',
  616. // hidden: true
  617. // // permission: 'M_salesQueryList'
  618. // }
  619. // }
  620. // ]
  621. // }
  622. ]
  623. },
  624. // 采购管理
  625. {
  626. path: '/purchasingManagement',
  627. redirect: '/purchasingManagement/purchaseOrder',
  628. component: PageView,
  629. meta: {
  630. title: '采购管理',
  631. icon: 'file-done',
  632. permission: 'M_purchasingManagement'
  633. },
  634. children: [
  635. {
  636. path: '/purchasingManagement/purchaseOrder',
  637. redirect: '/purchasingManagement/purchaseOrder/list',
  638. name: 'purchaseOrder',
  639. component: BlankLayout,
  640. meta: {
  641. title: '采购单管理',
  642. icon: 'file-done',
  643. permission: 'M_purchasingList'
  644. },
  645. hideChildrenInMenu: true,
  646. children: [
  647. {
  648. path: 'list',
  649. name: 'purchaseOrderList',
  650. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/list.vue'),
  651. meta: {
  652. title: '采购单列表',
  653. icon: 'file-done',
  654. hidden: true,
  655. permission: 'M_purchasingList'
  656. }
  657. },
  658. {
  659. path: 'add/:sn/:dealerSn',
  660. name: 'purchaseOrderAdd',
  661. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  662. meta: {
  663. title: '新增采购单',
  664. icon: 'file-done',
  665. hidden: true,
  666. permission: 'B_purchaseNew'
  667. }
  668. },
  669. {
  670. path: 'edit/:sn/:dealerSn',
  671. name: 'purchaseOrderEdit',
  672. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  673. meta: {
  674. title: '编辑采购单',
  675. icon: 'file-done',
  676. hidden: true,
  677. permission: 'B_purchaseEdit'
  678. }
  679. },
  680. {
  681. path: 'detail/:sn',
  682. name: 'purchaseOrderDetail',
  683. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/detail.vue'),
  684. meta: {
  685. title: '采购单详情',
  686. icon: 'file-done',
  687. hidden: true,
  688. replaceTab: true,
  689. permission: 'B_purchaseDetail'
  690. }
  691. },
  692. {
  693. path: 'warehousing/:sn',
  694. name: 'purchaseOrderWarehousing',
  695. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/warehousing.vue'),
  696. meta: {
  697. title: '采购入库',
  698. icon: 'file-done',
  699. hidden: true,
  700. replaceTab: true,
  701. permission: 'B_purchaseReceiving'
  702. }
  703. }
  704. ]
  705. },
  706. {
  707. path: '/purchasingManagement/signWarehousing',
  708. redirect: '/purchasingManagement/signWarehousing/list',
  709. name: 'signWarehousing',
  710. component: BlankLayout,
  711. meta: {
  712. title: '签收入库',
  713. icon: 'money-collect'
  714. // permission: 'M_signWarehousingList'
  715. },
  716. hideChildrenInMenu: true,
  717. children: [
  718. {
  719. path: 'list',
  720. name: 'signWarehousingList',
  721. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/list.vue'),
  722. meta: {
  723. title: '签收入库列表',
  724. icon: 'money-collect',
  725. hidden: true
  726. // permission: 'M_signWarehousingList'
  727. }
  728. },
  729. {
  730. path: 'edit/:sn',
  731. name: 'signWarehousingEdit',
  732. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/edit.vue'),
  733. meta: {
  734. title: '签收入库',
  735. icon: 'money-collect',
  736. replaceTab: true,
  737. hidden: true
  738. // permission: 'B_signWarehousingDetail'
  739. }
  740. },
  741. {
  742. path: 'stockOrderDetail/:sn',
  743. name: 'signWarehousingStockOrderDetail',
  744. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/stockOrderDetail.vue'),
  745. meta: {
  746. title: '备货单详情',
  747. icon: 'money-collect',
  748. replaceTab: true,
  749. hidden: true
  750. // permission: 'B_signWarehousingStockOrderDetail'
  751. }
  752. }
  753. ]
  754. },
  755. {
  756. path: '/purchasingManagement/purchaseReturnApplyForm',
  757. redirect: '/purchasingManagement/purchaseReturnApplyForm/list',
  758. name: 'purchaseReturnApplyForm',
  759. component: BlankLayout,
  760. meta: {
  761. title: '采购退货申请单',
  762. icon: 'money-collect',
  763. // permission: 'M_purchaseReturnApplyFormList'
  764. },
  765. hideChildrenInMenu: true,
  766. children: [
  767. {
  768. path: 'list',
  769. name: 'purchaseReturnApplyFormList',
  770. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/list.vue'),
  771. meta: {
  772. title: '采购退货申请单列表',
  773. icon: 'money-collect',
  774. hidden: true,
  775. // permission: 'M_purchaseReturnApplyFormList'
  776. }
  777. },
  778. {
  779. path: 'edit/:sn',
  780. name: 'purchaseReturnApplyFormEdit',
  781. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/edit.vue'),
  782. meta: {
  783. title: '编辑采购退货申请单',
  784. icon: 'money-collect',
  785. hidden: true,
  786. }
  787. },
  788. {
  789. path: 'detail/:sn',
  790. name: 'purchaseReturnApplyFormDetail',
  791. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/detail.vue'),
  792. meta: {
  793. title: '采购退货申请单详情',
  794. icon: 'money-collect',
  795. hidden: true,
  796. }
  797. }
  798. ]
  799. },
  800. // 采购退货-不同步
  801. {
  802. path: '/purchasingManagement/purchaseReturnOutSync',
  803. redirect: '/purchasingManagement/purchaseReturnOutSync/list',
  804. name: 'purchaseReturnOutSync',
  805. component: BlankLayout,
  806. meta: {
  807. title: '采购退货单',
  808. icon: 'money-collect',
  809. permission: 'M_purchaseReturn_outSnycList'
  810. },
  811. hideChildrenInMenu: true,
  812. children: [
  813. {
  814. path: 'list',
  815. name: 'purchaseReturnOutSyncList',
  816. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/list.vue'),
  817. meta: {
  818. title: '采购退货单列表',
  819. icon: 'money-collect',
  820. hidden: true,
  821. permission: 'M_purchaseReturn_outSnycList'
  822. }
  823. },
  824. {
  825. path: 'edit/:sn',
  826. name: 'purchaseReturnOutSyncEdit',
  827. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/edit.vue'),
  828. meta: {
  829. title: '采购退货单(不抓单)',
  830. icon: 'money-collect',
  831. hidden: true,
  832. replaceTab: true,
  833. permission: 'B_purchaseReturn_outSnycAdd'
  834. }
  835. },
  836. {
  837. path: 'grapEdit/:sn/:returnTargetType/:purchaseTargetSn',
  838. name: 'purchaseReturnOutSyncGrapEdit',
  839. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/grapEdit.vue'),
  840. meta: {
  841. title: '采购退货单(抓单)',
  842. icon: 'money-collect',
  843. hidden: true,
  844. replaceTab: true,
  845. permission: 'B_purchaseReturn_outSnycEdit'
  846. }
  847. },
  848. {
  849. path: 'detail/:sn/:grabFlag',
  850. name: 'purchaseReturnOutSyncDetail',
  851. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/detail.vue'),
  852. meta: {
  853. title: '采购退货详情',
  854. icon: 'money-collect',
  855. hidden: true,
  856. replaceTab: true,
  857. permission: 'B_purchaseReturn_outSnycDetail'
  858. }
  859. }
  860. ]
  861. }
  862. ]
  863. },
  864. // 出库管理
  865. {
  866. path: '/outboundOrderManagement',
  867. redirect: '/outboundOrderManagement/outboundOrder',
  868. component: PageView,
  869. meta: {
  870. title: '出库管理',
  871. icon: 'export',
  872. permission: 'M_outboundList'
  873. },
  874. children: [
  875. {
  876. path: '/outboundOrderManagement/outboundOrder',
  877. redirect: '/outboundOrderManagement/outboundOrder/list',
  878. name: 'outboundOrder',
  879. component: BlankLayout,
  880. meta: {
  881. title: '出库',
  882. icon: 'export',
  883. permission: 'M_outboundList'
  884. },
  885. hideChildrenInMenu: true,
  886. children: [
  887. {
  888. path: 'list',
  889. name: 'outboundOrderList',
  890. component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
  891. meta: {
  892. title: '出库列表',
  893. icon: 'export',
  894. hidden: true,
  895. permission: 'M_outboundList'
  896. }
  897. }
  898. ]
  899. }
  900. ]
  901. },
  902. // 财务管理
  903. {
  904. path: '/financialManagement',
  905. redirect: '/financialManagement/warehousingAudit',
  906. component: PageView,
  907. meta: {
  908. title: '财务管理',
  909. icon: 'property-safety',
  910. permission: 'M_financial'
  911. },
  912. children: [
  913. {
  914. path: '/financialManagement/warehousingAudit',
  915. redirect: '/financialManagement/warehousingAudit/list',
  916. name: 'warehousingAudit',
  917. component: BlankLayout,
  918. meta: {
  919. title: '入库审核',
  920. icon: 'pull-request',
  921. permission: 'M_warehousingAuditList'
  922. },
  923. hideChildrenInMenu: true,
  924. children: [
  925. {
  926. path: 'list',
  927. name: 'warehousingAuditList',
  928. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
  929. meta: {
  930. title: '入库审核列表',
  931. icon: 'pull-request',
  932. hidden: true,
  933. permission: 'M_warehousingAuditList'
  934. }
  935. },
  936. {
  937. path: 'detail/:sn',
  938. name: 'warehousingAuditDetail',
  939. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
  940. meta: {
  941. title: '入库审核详情',
  942. icon: 'pull-request',
  943. hidden: true,
  944. permission: 'M_warehousingAudit_detail'
  945. }
  946. }
  947. ]
  948. },
  949. {
  950. path: '/financialManagement/inventoryCheckAudit',
  951. redirect: '/financialManagement/inventoryCheckAudit/list',
  952. name: 'inventoryCheckAudit',
  953. component: BlankLayout,
  954. meta: {
  955. title: '盘点审核',
  956. icon: 'laptop',
  957. permission: 'M_inventoryCheckAuditList'
  958. },
  959. hideChildrenInMenu: true,
  960. children: [
  961. {
  962. path: 'list',
  963. name: 'inventoryCheckAuditList',
  964. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
  965. meta: {
  966. title: '盘点审核列表',
  967. icon: 'laptop',
  968. hidden: true,
  969. permission: 'M_inventoryCheckAuditList'
  970. }
  971. }
  972. ]
  973. },
  974. {
  975. path: '/financialManagement/financialPayment',
  976. redirect: '/financialManagement/financialPayment/list',
  977. name: 'financialPayment',
  978. component: BlankLayout,
  979. meta: {
  980. title: '财务付款',
  981. icon: 'pay-circle',
  982. permission: 'M_financialPaymentList'
  983. },
  984. hideChildrenInMenu: true,
  985. children: [
  986. {
  987. path: 'list',
  988. name: 'financialPaymentList',
  989. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialPayment/list.vue'),
  990. meta: {
  991. title: '财务付款列表',
  992. icon: 'pay-circle',
  993. hidden: true,
  994. permission: 'M_financialPaymentList'
  995. }
  996. }
  997. ]
  998. },
  999. {
  1000. path: '/financialManagement/financialCollection',
  1001. redirect: '/financialManagement/financialCollection/list',
  1002. name: 'financialCollection',
  1003. component: BlankLayout,
  1004. meta: {
  1005. title: '财务收款',
  1006. icon: 'money-collect',
  1007. permission: 'M_financialCollectionList'
  1008. },
  1009. hideChildrenInMenu: true,
  1010. children: [
  1011. {
  1012. path: 'list',
  1013. name: 'financialCollectionList',
  1014. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1015. meta: {
  1016. title: '财务收款列表',
  1017. icon: 'money-collect',
  1018. hidden: true,
  1019. permission: 'M_financialCollectionList'
  1020. }
  1021. }
  1022. ]
  1023. },
  1024. {
  1025. path: '/financialManagement/expenseManagement',
  1026. redirect: '/financialManagement/expenseManagement/list',
  1027. name: 'expenseManagement',
  1028. component: BlankLayout,
  1029. meta: {
  1030. title: '费用管理',
  1031. icon: 'pound',
  1032. permission: 'M_expenseManagementList'
  1033. },
  1034. hideChildrenInMenu: true,
  1035. children: [
  1036. {
  1037. path: 'list',
  1038. name: 'expenseManagementList',
  1039. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/list.vue'),
  1040. meta: {
  1041. title: '费用单列表',
  1042. icon: 'pound',
  1043. hidden: true,
  1044. permission: 'M_expenseManagementList'
  1045. }
  1046. },
  1047. {
  1048. path: 'add',
  1049. name: 'expenseManagementAdd',
  1050. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1051. meta: {
  1052. title: '新增费用单',
  1053. icon: 'pound',
  1054. hidden: true,
  1055. permission: 'B_expenseNew'
  1056. }
  1057. },
  1058. {
  1059. path: 'edit/:id',
  1060. name: 'expenseManagementEdit',
  1061. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1062. meta: {
  1063. title: '编辑费用单',
  1064. icon: 'pound',
  1065. hidden: true,
  1066. permission: 'B_expenseEdit'
  1067. }
  1068. }
  1069. ]
  1070. },
  1071. {
  1072. path: '/financialManagement/companyReceivablePayable',
  1073. redirect: '/financialManagement/companyReceivablePayable/list',
  1074. name: 'companyReceivablePayable',
  1075. component: BlankLayout,
  1076. meta: {
  1077. title: '单位应收应付管理',
  1078. icon: 'transaction',
  1079. permission: 'M_companyReceivablePayableList'
  1080. },
  1081. hideChildrenInMenu: true,
  1082. children: [
  1083. {
  1084. path: 'list',
  1085. name: 'companyReceivablePayableList',
  1086. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
  1087. meta: {
  1088. title: '单位应收应付列表',
  1089. icon: 'transaction',
  1090. hidden: true,
  1091. permission: 'M_companyReceivablePayableList'
  1092. }
  1093. },
  1094. {
  1095. path: 'collectionPayment/:sn/:name/:type',
  1096. name: 'companyReceivablePayableCollectionPayment',
  1097. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/collectionPayment.vue'),
  1098. meta: {
  1099. title: '编辑单位应收应付',
  1100. icon: 'transaction',
  1101. hidden: true,
  1102. permission: 'M_collectionPayment'
  1103. }
  1104. },
  1105. {
  1106. path: 'detail/:sn/:name/:type',
  1107. name: 'companyReceivablePayableDetail',
  1108. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
  1109. meta: {
  1110. title: '单位应收应付详情',
  1111. icon: 'transaction',
  1112. hidden: true,
  1113. permission: 'M_companyReceivablePayable_detail'
  1114. }
  1115. }
  1116. ]
  1117. },
  1118. {
  1119. path: '/financialManagement/companyCollectionPayment',
  1120. redirect: '/financialManagement/companyCollectionPayment/list',
  1121. name: 'companyCollectionPayment',
  1122. component: BlankLayout,
  1123. meta: {
  1124. title: '单位收付款记录',
  1125. icon: 'file-protect',
  1126. permission: 'M_companyCollectionPaymentList'
  1127. },
  1128. hideChildrenInMenu: true,
  1129. children: [
  1130. {
  1131. path: 'list',
  1132. name: 'companyCollectionPaymentList',
  1133. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
  1134. meta: {
  1135. title: '单位收付款记录列表',
  1136. icon: 'file-protect',
  1137. hidden: true,
  1138. permission: 'M_companyCollectionPaymentList'
  1139. }
  1140. },
  1141. {
  1142. path: 'detail/:id/:sn',
  1143. name: 'companyCollectionPaymentDetail',
  1144. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
  1145. meta: {
  1146. title: '单位收付款记录详情',
  1147. icon: 'file-protect',
  1148. hidden: true,
  1149. permission: 'M_companyCollectionPayment_detail'
  1150. }
  1151. }
  1152. ]
  1153. },
  1154. {
  1155. path: '/financialManagement/withdrawalManagement',
  1156. redirect: '/financialManagement/withdrawalManagement/list',
  1157. name: 'withdrawalManagement',
  1158. component: BlankLayout,
  1159. meta: {
  1160. title: '提现管理',
  1161. icon: 'dollar',
  1162. permission: 'M_withdrawalManagementList'
  1163. },
  1164. hideChildrenInMenu: true,
  1165. children: [
  1166. {
  1167. path: 'list',
  1168. name: 'withdrawalManagementList',
  1169. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/withdrawalManagement/list.vue'),
  1170. meta: {
  1171. title: '提现管理列表',
  1172. icon: 'dollar',
  1173. hidden: true,
  1174. permission: 'M_withdrawalManagementList'
  1175. }
  1176. }
  1177. ]
  1178. },
  1179. {
  1180. path: '/financialManagement/ledgerRecord',
  1181. redirect: '/financialManagement/ledgerRecord/list',
  1182. name: 'ledgerRecord',
  1183. component: BlankLayout,
  1184. meta: {
  1185. title: '分账记录',
  1186. icon: 'profile',
  1187. permission: 'M_ledgerRecordList'
  1188. },
  1189. hideChildrenInMenu: true,
  1190. children: [
  1191. {
  1192. path: 'list',
  1193. name: 'ledgerRecordList',
  1194. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/ledgerRecord/list.vue'),
  1195. meta: {
  1196. title: '分账记录列表',
  1197. icon: 'profile',
  1198. hidden: true,
  1199. permission: 'M_ledgerRecordList'
  1200. }
  1201. }
  1202. ]
  1203. },
  1204. {
  1205. path: '/financialManagement/fundAccountManagement',
  1206. redirect: '/financialManagement/fundAccountManagement/list',
  1207. name: 'fundAccountManagement',
  1208. component: BlankLayout,
  1209. meta: {
  1210. title: '资金账户管理',
  1211. icon: 'file-protect',
  1212. permission: 'M_fundAccountList'
  1213. },
  1214. hideChildrenInMenu: true,
  1215. children: [
  1216. {
  1217. path: 'list',
  1218. name: 'fundAccountList',
  1219. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/list.vue'),
  1220. meta: {
  1221. title: '资金账户列表',
  1222. icon: 'file-protect',
  1223. hidden: true,
  1224. permission: 'M_fundAccountList'
  1225. }
  1226. },
  1227. {
  1228. path: 'detail/:sn',
  1229. name: 'fundAccountDetail',
  1230. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/detail.vue'),
  1231. meta: {
  1232. title: '资金明细',
  1233. icon: 'file-protect',
  1234. hidden: true,
  1235. replaceTab: true,
  1236. permission: 'M_fundAccount_detail'
  1237. }
  1238. }
  1239. ]
  1240. },
  1241. ]
  1242. },
  1243. // 调拨管理
  1244. {
  1245. path: '/allocationManagement',
  1246. redirect: '/allocationManagement/warehouseAllocation',
  1247. component: PageView,
  1248. meta: {
  1249. title: '调拨管理',
  1250. icon: 'cluster',
  1251. permission: 'M_allocationManagement'
  1252. },
  1253. children: [
  1254. {
  1255. path: '/allocationManagement/warehouseAllocation',
  1256. redirect: '/allocationManagement/warehouseAllocation/list',
  1257. name: 'warehouseAllocation',
  1258. component: BlankLayout,
  1259. meta: {
  1260. title: '仓库调拨',
  1261. icon: 'gateway',
  1262. permission: 'M_warehouseAllocationList'
  1263. },
  1264. hideChildrenInMenu: true,
  1265. children: [
  1266. {
  1267. path: 'list',
  1268. name: 'warehouseAllocationList',
  1269. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/list.vue'),
  1270. meta: {
  1271. title: '仓库调拨列表',
  1272. icon: 'gateway',
  1273. hidden: true,
  1274. permission: 'M_warehouseAllocationList'
  1275. }
  1276. },
  1277. {
  1278. path: 'add',
  1279. name: 'warehouseAllocationAdd',
  1280. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1281. meta: {
  1282. title: '新增仓库调拨',
  1283. icon: 'gateway',
  1284. hidden: true,
  1285. permission: 'B_warehouseAllocationNews'
  1286. }
  1287. },
  1288. {
  1289. path: 'edit/:id/:sn',
  1290. name: 'warehouseAllocationEdit',
  1291. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1292. meta: {
  1293. title: '编辑仓库调拨',
  1294. icon: 'gateway',
  1295. hidden: true,
  1296. permission: 'B_warehouseAllocationEdit'
  1297. }
  1298. },
  1299. {
  1300. path: 'detail/:sn',
  1301. name: 'warehouseAllocationDetail',
  1302. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/detail.vue'),
  1303. meta: {
  1304. title: '仓库调拨详情',
  1305. icon: 'gateway',
  1306. hidden: true,
  1307. permission: 'B_warehouseAllocationDetail'
  1308. }
  1309. }
  1310. ]
  1311. },
  1312. {
  1313. path: '/allocationManagement/chainTransferIn',
  1314. redirect: '/allocationManagement/chainTransferIn/list',
  1315. name: 'chainTransferIn',
  1316. component: BlankLayout,
  1317. meta: {
  1318. title: '连锁调入',
  1319. icon: 'cluster',
  1320. permission: 'M_chainTransferInList'
  1321. },
  1322. hideChildrenInMenu: true,
  1323. children: [
  1324. {
  1325. path: 'list',
  1326. name: 'chainTransferInList',
  1327. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/list.vue'),
  1328. meta: {
  1329. title: '连锁调入列表',
  1330. icon: 'cluster',
  1331. hidden: true,
  1332. permission: 'M_chainTransferInList'
  1333. }
  1334. },
  1335. {
  1336. path: 'edit/:id/:sn',
  1337. name: 'chainTransferInEdit',
  1338. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/edit.vue'),
  1339. meta: {
  1340. title: '编辑连锁调入',
  1341. icon: 'cluster',
  1342. hidden: true,
  1343. permission: 'B_allocLinkagePutEdit'
  1344. }
  1345. },
  1346. {
  1347. path: 'detail/:sn',
  1348. name: 'chainTransferInDetail',
  1349. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/detail.vue'),
  1350. meta: {
  1351. title: '连锁调入详情',
  1352. icon: 'cluster',
  1353. hidden: true,
  1354. permission: 'B_allocLinkagePutDetail'
  1355. }
  1356. }
  1357. ]
  1358. },
  1359. {
  1360. path: '/allocationManagement/chainTransferOut',
  1361. redirect: '/allocationManagement/chainTransferOut/list',
  1362. name: 'chainTransferOut',
  1363. component: BlankLayout,
  1364. meta: {
  1365. title: '连锁调出',
  1366. icon: 'pull-request',
  1367. permission: 'M_chainTransferOutList'
  1368. },
  1369. hideChildrenInMenu: true,
  1370. children: [
  1371. {
  1372. path: 'list',
  1373. name: 'chainTransferOutList',
  1374. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/list.vue'),
  1375. meta: {
  1376. title: '连锁调出列表',
  1377. icon: 'pull-request',
  1378. hidden: true,
  1379. permission: 'M_chainTransferOutList'
  1380. }
  1381. },
  1382. {
  1383. path: 'add/:id/:sn',
  1384. name: 'chainTransferOutAdd',
  1385. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1386. meta: {
  1387. title: '新增连锁调出',
  1388. icon: 'pull-request',
  1389. hidden: true,
  1390. permission: 'B_allocLinkageOutNew'
  1391. }
  1392. },
  1393. {
  1394. path: 'edit/:id/:sn',
  1395. name: 'chainTransferOutEdit',
  1396. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1397. meta: {
  1398. title: '编辑连锁调出',
  1399. icon: 'pull-request',
  1400. hidden: true,
  1401. permission: 'B_allocLinkageOutEdit'
  1402. }
  1403. },
  1404. {
  1405. path: 'detail/:sn',
  1406. name: 'chainTransferOutDetail',
  1407. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/detail.vue'),
  1408. meta: {
  1409. title: '连锁调出详情',
  1410. icon: 'pull-request',
  1411. hidden: true,
  1412. permission: 'B_allocLinkageOutDetail'
  1413. }
  1414. }
  1415. ]
  1416. },
  1417. {
  1418. path: '/allocationManagement/storeTransferOut',
  1419. redirect: '/allocationManagement/storeTransferOut/list',
  1420. name: 'storeTransferOut',
  1421. component: BlankLayout,
  1422. meta: {
  1423. title: '店内调出',
  1424. icon: 'interaction',
  1425. permission: 'M_storeTransferOutList'
  1426. },
  1427. hideChildrenInMenu: true,
  1428. children: [
  1429. {
  1430. path: 'list',
  1431. name: 'storeTransferOutList',
  1432. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/list.vue'),
  1433. meta: {
  1434. title: '店内调出列表',
  1435. icon: 'interaction',
  1436. hidden: true,
  1437. permission: 'M_storeTransferOutList'
  1438. }
  1439. },
  1440. {
  1441. path: 'add/:id/:sn',
  1442. name: 'storeTransferOutAdd',
  1443. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1444. meta: {
  1445. title: '新增店内调出',
  1446. icon: 'interaction',
  1447. hidden: true,
  1448. permission: 'B_storeTransferOutNews'
  1449. }
  1450. },
  1451. {
  1452. path: 'edit/:id/:sn',
  1453. name: 'storeTransferOutEdit',
  1454. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1455. meta: {
  1456. title: '编辑店内调出',
  1457. icon: 'interaction',
  1458. hidden: true,
  1459. permission: 'B_storeCallOutEdit'
  1460. }
  1461. },
  1462. {
  1463. path: 'detail/:sn',
  1464. name: 'storeTransferOutDetail',
  1465. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
  1466. meta: {
  1467. title: '店内调出详情',
  1468. icon: 'interaction',
  1469. hidden: true,
  1470. permission: 'B_storeCallOutDetail'
  1471. }
  1472. }
  1473. ]
  1474. }
  1475. ]
  1476. },
  1477. // 库存管理
  1478. {
  1479. path: '/inventoryManagement',
  1480. redirect: '/inventoryManagement/inventoryQuery',
  1481. component: PageView,
  1482. meta: {
  1483. title: '库存管理',
  1484. icon: 'shop',
  1485. permission: 'M_inventory'
  1486. },
  1487. children: [
  1488. {
  1489. path: '/inventoryManagement/inventoryQuery',
  1490. redirect: '/inventoryManagement/inventoryQuery/list',
  1491. name: 'inventoryQuery',
  1492. component: BlankLayout,
  1493. meta: {
  1494. title: '库存查询',
  1495. icon: 'monitor',
  1496. permission: 'M_inventoryInventoryQueryList'
  1497. },
  1498. hideChildrenInMenu: true,
  1499. children: [
  1500. {
  1501. path: 'list',
  1502. name: 'inventoryQueryList',
  1503. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1504. meta: {
  1505. title: '库存列表',
  1506. icon: 'monitor',
  1507. hidden: true,
  1508. permission: 'M_inventoryInventoryQueryList'
  1509. }
  1510. },
  1511. {
  1512. path: 'warehouseDetail/:sn',
  1513. name: 'inventoryQueryWarehouseDetail',
  1514. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1515. meta: {
  1516. title: '出入库明细',
  1517. icon: 'monitor',
  1518. hidden: true,
  1519. replaceTab: true,
  1520. permission: 'B_inventoryInventoryQueryStock'
  1521. }
  1522. }
  1523. ]
  1524. },
  1525. {
  1526. path: '/inventoryManagement/inventoryWarning',
  1527. name: 'inventoryWarning',
  1528. redirect: '/inventoryManagement/inventoryWarning/list',
  1529. component: BlankLayout,
  1530. meta: {
  1531. title: '库存预警',
  1532. icon: 'alert',
  1533. permission: 'M_inventoryWarningList'
  1534. },
  1535. hideChildrenInMenu: true,
  1536. children: [
  1537. {
  1538. path: 'list',
  1539. name: 'inventoryWarningList',
  1540. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1541. meta: {
  1542. title: '库存预警',
  1543. icon: 'alert',
  1544. permission: 'M_inventoryWarningList'
  1545. }
  1546. }
  1547. ]
  1548. },
  1549. {
  1550. path: '/inventoryManagement/satelliteWarehouseInventory',
  1551. name: 'satelliteWarehouseInventory',
  1552. redirect: '/inventoryManagement/satelliteWarehouseInventory/list',
  1553. component: BlankLayout,
  1554. meta: {
  1555. title: '卫星仓库存',
  1556. icon: 'flag',
  1557. permission: 'M_satelliteWarehouseInventoryList'
  1558. },
  1559. hideChildrenInMenu: true,
  1560. children: [
  1561. {
  1562. path: 'list',
  1563. name: 'satelliteWarehouseInventoryList',
  1564. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
  1565. meta: {
  1566. title: '卫星仓库存',
  1567. icon: 'flag',
  1568. permission: 'M_satelliteWarehouseInventoryList'
  1569. }
  1570. }
  1571. ]
  1572. },
  1573. {
  1574. path: '/inventoryManagement/inventoryChecking',
  1575. redirect: '/inventoryManagement/inventoryChecking/list',
  1576. name: 'inventoryChecking',
  1577. component: BlankLayout,
  1578. meta: {
  1579. title: '库存盘点',
  1580. icon: 'reconciliation',
  1581. permission: 'M_inventoryCheckingList'
  1582. },
  1583. hideChildrenInMenu: true,
  1584. children: [
  1585. {
  1586. path: 'list',
  1587. name: 'inventoryCheckingList',
  1588. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/list.vue'),
  1589. meta: {
  1590. title: '库存盘点列表',
  1591. icon: 'reconciliation',
  1592. hidden: true,
  1593. permission: 'M_inventoryCheckingList'
  1594. }
  1595. },
  1596. {
  1597. path: 'overall/:id/:sn',
  1598. name: 'inventoryCheckingOverall',
  1599. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/overall.vue'),
  1600. meta: {
  1601. title: '编辑库存盘点【全盘】',
  1602. icon: 'reconciliation',
  1603. hidden: true,
  1604. permission: 'B_inventoryCheckingEdit'
  1605. }
  1606. },
  1607. {
  1608. path: 'selfDisk/:id/:sn',
  1609. name: 'inventoryCheckingSelfDisk',
  1610. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/selfDisk.vue'),
  1611. meta: {
  1612. title: '编辑库存盘点【自选盘点】',
  1613. icon: 'reconciliation',
  1614. hidden: true,
  1615. permission: 'B_inventoryCheckingEdit'
  1616. }
  1617. },
  1618. {
  1619. path: 'makeInventory/:id/:sn',
  1620. name: 'inventoryCheckingMakeInventory',
  1621. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/makeInventory.vue'),
  1622. meta: {
  1623. title: '盘点',
  1624. icon: 'reconciliation',
  1625. hidden: true,
  1626. replaceTab: true,
  1627. permission: 'B_inventoryCheckingInventory'
  1628. }
  1629. }
  1630. ]
  1631. },
  1632. {
  1633. path: '/inventoryManagement/inventoryImport',
  1634. redirect: '/inventoryManagement/inventoryImport/list',
  1635. name: 'inventoryImport',
  1636. component: BlankLayout,
  1637. meta: {
  1638. title: '库存导入',
  1639. icon: 'frown',
  1640. permission: 'M_inventoryImport'
  1641. },
  1642. hideChildrenInMenu: true,
  1643. children: [
  1644. {
  1645. path: 'list',
  1646. name: 'inventoryImportList',
  1647. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
  1648. meta: {
  1649. title: '库存导入列表',
  1650. icon: 'frown',
  1651. hidden: true,
  1652. permission: 'M_inventoryImport'
  1653. }
  1654. }
  1655. ]
  1656. },
  1657. {
  1658. path: '/inventoryManagement/warehouse',
  1659. redirect: '/inventoryManagement/warehouse/list',
  1660. name: 'warehouse',
  1661. component: BlankLayout,
  1662. meta: {
  1663. title: '仓库管理',
  1664. icon: 'deployment-unit',
  1665. permission: 'M_inventoryWarehouseList'
  1666. },
  1667. hideChildrenInMenu: true,
  1668. children: [
  1669. {
  1670. path: 'list',
  1671. name: 'warehouseList',
  1672. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/list.vue'),
  1673. meta: {
  1674. title: '仓库列表',
  1675. icon: 'deployment-unit',
  1676. hidden: true,
  1677. permission: 'M_inventoryWarehouseList'
  1678. }
  1679. },
  1680. {
  1681. path: '/inventoryManagement/storingLocation/:sn',
  1682. name: 'storingLocationList',
  1683. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/storingLocation/list.vue'),
  1684. meta: {
  1685. title: '仓位列表',
  1686. icon: 'deployment-unit',
  1687. hidden: true,
  1688. replaceTab: true,
  1689. permission: 'M_inventoryWarehouseStoringLocationList'
  1690. }
  1691. }
  1692. ]
  1693. }
  1694. ]
  1695. },
  1696. // 散件管理
  1697. {
  1698. path: '/bulkManagement',
  1699. redirect: '/bulkManagement/purchaseOrder',
  1700. component: PageView,
  1701. meta: {
  1702. title: '散件管理',
  1703. icon: 'gold',
  1704. permission: 'M_bulkManagement'
  1705. },
  1706. children: [
  1707. {
  1708. path: '/bulkManagement/bulkWarehousingOrder',
  1709. redirect: '/bulkManagement/bulkWarehousingOrder/list',
  1710. name: 'bulkWarehousingOrder',
  1711. component: BlankLayout,
  1712. meta: {
  1713. title: '散件入库',
  1714. icon: 'gold',
  1715. permission: 'M_bulkWarehousingOrderList'
  1716. },
  1717. hideChildrenInMenu: true,
  1718. children: [
  1719. {
  1720. path: 'list',
  1721. name: 'bulkWarehousingOrderList',
  1722. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/list.vue'),
  1723. meta: {
  1724. title: '散件入库单列表',
  1725. icon: 'gold',
  1726. hidden: true,
  1727. permission: 'M_bulkWarehousingOrderList'
  1728. }
  1729. },
  1730. {
  1731. path: 'add/:id/:sn/:supplierSn',
  1732. name: 'bulkWarehousingOrderAdd',
  1733. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1734. meta: {
  1735. title: '新增散件入库单',
  1736. icon: 'gold',
  1737. hidden: true,
  1738. permission: 'B_bulkWarehousingOrder_add'
  1739. }
  1740. },
  1741. {
  1742. path: 'edit/:id/:sn/:supplierSn',
  1743. name: 'bulkWarehousingOrderEdit',
  1744. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1745. meta: {
  1746. title: '编辑散件入库单',
  1747. icon: 'gold',
  1748. hidden: true,
  1749. permission: 'B_bulkWarehousingOrder_edit'
  1750. }
  1751. },
  1752. {
  1753. path: 'detail/:id/:sn',
  1754. name: 'bulkWarehousingOrderDetail',
  1755. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/detail.vue'),
  1756. meta: {
  1757. title: '散件入库单详情',
  1758. icon: 'gold',
  1759. hidden: true,
  1760. permission: 'B_bulkWarehousingOrder_detail'
  1761. }
  1762. }
  1763. ]
  1764. },
  1765. {
  1766. path: '/bulkManagement/bulkReturnGoods',
  1767. redirect: '/bulkManagement/bulkReturnGoods/list',
  1768. name: 'bulkReturnGoods',
  1769. component: BlankLayout,
  1770. meta: {
  1771. title: '散件退货',
  1772. icon: 'frown',
  1773. permission: 'M_bulkReturnGoodsList'
  1774. },
  1775. hideChildrenInMenu: true,
  1776. children: [
  1777. {
  1778. path: 'list',
  1779. name: 'bulkReturnGoodsList',
  1780. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/list.vue'),
  1781. meta: {
  1782. title: '散件退货列表',
  1783. icon: 'frown',
  1784. hidden: true,
  1785. permission: 'M_bulkReturnGoodsList'
  1786. }
  1787. },
  1788. {
  1789. path: 'edit/:id/:sn/:supplierSn',
  1790. name: 'bulkReturnGoodsEdit',
  1791. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/edit.vue'),
  1792. meta: {
  1793. title: '编辑散件退货单(不抓单)',
  1794. icon: 'frown',
  1795. hidden: true,
  1796. permission: 'B_bulkReturnGoodsEdit'
  1797. }
  1798. },
  1799. {
  1800. path: 'grabEdit/:id/:sn/:supplierSn',
  1801. name: 'bulkReturnGoodsGrabEdit',
  1802. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/grabEdit.vue'),
  1803. meta: {
  1804. title: '编辑散件退货单(抓单)',
  1805. icon: 'frown',
  1806. hidden: true,
  1807. permission: 'B_bulkReturnGoodsEdit'
  1808. }
  1809. }
  1810. ]
  1811. },
  1812. {
  1813. path: '/bulkManagement/bulkImport',
  1814. redirect: '/bulkManagement/bulkImport/list',
  1815. name: 'bulkImport',
  1816. component: BlankLayout,
  1817. meta: {
  1818. title: '散件导入',
  1819. icon: 'frown',
  1820. permission: 'M_bulkImport'
  1821. },
  1822. hideChildrenInMenu: true,
  1823. children: [
  1824. {
  1825. path: 'list',
  1826. name: 'bulkImportList',
  1827. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkImport/list.vue'),
  1828. meta: {
  1829. title: '散件导入列表',
  1830. icon: 'frown',
  1831. hidden: true,
  1832. permission: 'M_bulkImport'
  1833. }
  1834. }
  1835. ]
  1836. }
  1837. ]
  1838. },
  1839. // 报表
  1840. {
  1841. path: '/reportData',
  1842. redirect: '/reportData/chainStockReport',
  1843. component: PageView,
  1844. meta: {
  1845. title: '报表',
  1846. icon: 'project',
  1847. permission: 'M_reportData'
  1848. },
  1849. children: [
  1850. {
  1851. path: '/reportData/salesReport',
  1852. redirect: '/reportData/salesReport/index',
  1853. name: 'salesReport',
  1854. component: BlankLayout,
  1855. meta: {
  1856. title: '销售报表',
  1857. icon: 'profile',
  1858. permission: 'M_salesReportList,M_salesDetailReportList'
  1859. },
  1860. hideChildrenInMenu: true,
  1861. children: [
  1862. {
  1863. path: 'index',
  1864. name: 'salesReportIndex',
  1865. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/index.vue'),
  1866. meta: {
  1867. title: '销售报表',
  1868. icon: 'profile',
  1869. hidden: true,
  1870. permission: 'M_salesReportList,M_salesDetailReportList'
  1871. }
  1872. },
  1873. {
  1874. path: 'list',
  1875. name: 'salesReportList',
  1876. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/list.vue'),
  1877. meta: {
  1878. title: '销售报表列表',
  1879. icon: 'profile',
  1880. hidden: true,
  1881. permission: 'M_salesReportList'
  1882. }
  1883. },
  1884. {
  1885. path: 'list',
  1886. name: 'salesDetailReportList',
  1887. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetailReport/list.vue'),
  1888. meta: {
  1889. title: '销售明细报表列表',
  1890. icon: 'profile',
  1891. hidden: true,
  1892. permission: 'M_salesDetailReportList'
  1893. }
  1894. }
  1895. ]
  1896. },
  1897. {
  1898. path: '/reportData/customerReport',
  1899. redirect: '/reportData/customerReport/list',
  1900. name: 'customerReport',
  1901. component: BlankLayout,
  1902. meta: {
  1903. title: '大客户报表',
  1904. icon: 'profile',
  1905. permission: 'M_customerReportList'
  1906. },
  1907. hideChildrenInMenu: true,
  1908. children: [
  1909. {
  1910. path: 'list',
  1911. name: 'customerReportList',
  1912. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerReport/list.vue'),
  1913. meta: {
  1914. title: '大客户报表列表',
  1915. icon: 'profile',
  1916. hidden: true,
  1917. permission: 'M_customerReportList'
  1918. }
  1919. }
  1920. ]
  1921. },
  1922. {
  1923. path: '/reportData/customerSalesDetailsReport',
  1924. redirect: '/reportData/customerSalesDetailsReport/list',
  1925. name: 'customerSalesDetailsReport',
  1926. component: BlankLayout,
  1927. meta: {
  1928. title: '客户销售明细报表',
  1929. icon: 'profile',
  1930. permission: 'M_customerSalesDetailsReport_list'
  1931. },
  1932. hideChildrenInMenu: true,
  1933. children: [
  1934. {
  1935. path: 'list',
  1936. name: 'customerSalesDetailsReportList',
  1937. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerSalesDetailsReport/list.vue'),
  1938. meta: {
  1939. title: '客户销售明细列表',
  1940. icon: 'profile',
  1941. hidden: true,
  1942. permission: 'M_customerSalesDetailsReport_list'
  1943. }
  1944. }
  1945. ]
  1946. },
  1947. {
  1948. path: '/reportData/salesReturnReport',
  1949. redirect: '/reportData/salesReturnReport/index',
  1950. name: 'salesReturnReport',
  1951. component: BlankLayout,
  1952. meta: {
  1953. title: '销售退货报表',
  1954. icon: 'profile',
  1955. permission: 'M_salesReturnReportList'
  1956. },
  1957. hideChildrenInMenu: true,
  1958. children: [
  1959. {
  1960. path: 'index',
  1961. name: 'salesReturnReportIndex',
  1962. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/index.vue'),
  1963. meta: {
  1964. title: '销售退货报表',
  1965. icon: 'profile',
  1966. hidden: true,
  1967. permission: 'M_salesReturnReportList'
  1968. }
  1969. },
  1970. ]
  1971. },
  1972. {
  1973. path: '/reportData/stockIncomeReport',
  1974. redirect: '/reportData/stockIncomeReport/list',
  1975. name: 'stockIncomeReport',
  1976. component: BlankLayout,
  1977. meta: {
  1978. title: '库存总入报表',
  1979. icon: 'profile',
  1980. permission: 'M_stockIncomeReportList'
  1981. },
  1982. hideChildrenInMenu: true,
  1983. children: [
  1984. {
  1985. path: 'list',
  1986. name: 'stockIncomeReportList',
  1987. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockIncomeReport/list.vue'),
  1988. meta: {
  1989. title: '库存总入报表列表',
  1990. icon: 'profile',
  1991. hidden: true,
  1992. permission: 'M_stockIncomeReportList'
  1993. }
  1994. }
  1995. ]
  1996. },
  1997. {
  1998. path: '/reportData/stockExpenditureReport',
  1999. redirect: '/reportData/stockExpenditureReport/list',
  2000. name: 'stockExpenditureReport',
  2001. component: BlankLayout,
  2002. meta: {
  2003. title: '库存总出报表',
  2004. icon: 'profile',
  2005. permission: 'M_stockExpenditureReportList'
  2006. },
  2007. hideChildrenInMenu: true,
  2008. children: [
  2009. {
  2010. path: 'list',
  2011. name: 'stockExpenditureReportList',
  2012. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockExpenditureReport/list.vue'),
  2013. meta: {
  2014. title: '库存总出报表列表',
  2015. icon: 'profile',
  2016. hidden: true,
  2017. permission: 'M_stockExpenditureReportList'
  2018. }
  2019. }
  2020. ]
  2021. },
  2022. {
  2023. path: '/reportData/stockImportReport',
  2024. redirect: '/reportData/stockImportReport/index',
  2025. name: 'stockImportReport',
  2026. component: BlankLayout,
  2027. meta: {
  2028. title: '库存/散件导入报表',
  2029. icon: 'profile',
  2030. permission: 'M_stockImportReportList'
  2031. },
  2032. hideChildrenInMenu: true,
  2033. children: [
  2034. {
  2035. path: 'index',
  2036. name: 'stockImportReportIndex',
  2037. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockImportReport/index.vue'),
  2038. meta: {
  2039. title: '库存/散件导入报表',
  2040. icon: 'profile',
  2041. hidden: true,
  2042. permission: 'M_stockImportReportList'
  2043. }
  2044. },
  2045. ]
  2046. },
  2047. {
  2048. path: '/reportData/receivedSendStorageReport',
  2049. redirect: '/reportData/receivedSendStorageReport/list',
  2050. name: 'receivedSendStorageReport',
  2051. component: BlankLayout,
  2052. meta: {
  2053. title: '收发存报表',
  2054. icon: 'profile',
  2055. permission: 'M_receivedSendStorageReportList'
  2056. },
  2057. hideChildrenInMenu: true,
  2058. children: [
  2059. {
  2060. path: 'list',
  2061. name: 'receivedSendStorageReportList',
  2062. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/list.vue'),
  2063. meta: {
  2064. title: '收发存报表列表',
  2065. icon: 'profile',
  2066. hidden: true,
  2067. permission: 'M_receivedSendStorageReportList'
  2068. }
  2069. }
  2070. ]
  2071. },
  2072. {
  2073. path: '/reportData/storeReceivedSendStorageReport',
  2074. redirect: '/reportData/storeReceivedSendStorageReport/list',
  2075. name: 'storeReceivedSendStorageReport',
  2076. component: BlankLayout,
  2077. meta: {
  2078. title: '门店收发存汇总报表',
  2079. icon: 'profile',
  2080. permission: 'M_storeReceivedSendStorageReport_list'
  2081. },
  2082. hideChildrenInMenu: true,
  2083. children: [
  2084. {
  2085. path: 'list',
  2086. name: 'storeReceivedSendStorageReportList',
  2087. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeReceivedSendStorageReport/list.vue'),
  2088. meta: {
  2089. title: '门店收发存汇总列表',
  2090. icon: 'profile',
  2091. hidden: true,
  2092. permission: 'M_storeReceivedSendStorageReport_list'
  2093. }
  2094. }
  2095. ]
  2096. },
  2097. {
  2098. path: '/reportData/inventoryReport',
  2099. redirect: '/reportData/inventoryReport/list',
  2100. name: 'inventoryReport',
  2101. component: BlankLayout,
  2102. meta: {
  2103. title: '盘点报表',
  2104. icon: 'profile',
  2105. permission: 'M_inventoryReportList'
  2106. },
  2107. hideChildrenInMenu: true,
  2108. children: [
  2109. {
  2110. path: 'list',
  2111. name: 'inventoryReportList',
  2112. component: () => import(/* webpackChunkName: "reportData1" */ '@/views/reportData/inventoryReport/list.vue'),
  2113. meta: {
  2114. title: '盘点报表列表',
  2115. icon: 'profile',
  2116. hidden: true,
  2117. permission: 'M_inventoryReportList'
  2118. }
  2119. }
  2120. ]
  2121. },
  2122. {
  2123. path: '/reportData/purchaseReceiptReport',
  2124. redirect: '/reportData/purchaseReceiptReport/list',
  2125. name: 'purchaseReceiptReport',
  2126. component: BlankLayout,
  2127. meta: {
  2128. title: '采购入库报表',
  2129. icon: 'profile',
  2130. permission: 'M_purchaseReceiptReportList'
  2131. },
  2132. hideChildrenInMenu: true,
  2133. children: [
  2134. {
  2135. path: 'list',
  2136. name: 'purchaseReceiptReportList',
  2137. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReceiptReport/list.vue'),
  2138. meta: {
  2139. title: '采购入库报表列表',
  2140. icon: 'profile',
  2141. hidden: true,
  2142. permission: 'M_purchaseReceiptReportList'
  2143. }
  2144. }
  2145. ]
  2146. },
  2147. {
  2148. path: '/reportData/bulkWarehousingReport',
  2149. redirect: '/reportData/bulkWarehousingReport/index',
  2150. name: 'bulkWarehousingReport',
  2151. component: BlankLayout,
  2152. meta: {
  2153. title: '散件入库报表',
  2154. icon: 'profile',
  2155. permission: 'M_bulkWarehousingReportList'
  2156. },
  2157. hideChildrenInMenu: true,
  2158. children: [
  2159. {
  2160. path: 'index',
  2161. name: 'bulkWarehousingReportIndex',
  2162. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/index.vue'),
  2163. meta: {
  2164. title: '散件入库报表',
  2165. icon: 'profile',
  2166. hidden: true,
  2167. permission: 'M_bulkWarehousingReportList'
  2168. }
  2169. },
  2170. ]
  2171. },
  2172. {
  2173. path: '/reportData/bulkReturnReport',
  2174. redirect: '/reportData/bulkReturnReport/index',
  2175. name: 'bulkReturnReport',
  2176. component: BlankLayout,
  2177. meta: {
  2178. title: '散件退货报表',
  2179. icon: 'profile',
  2180. permission: 'M_bulkReturnReportList'
  2181. },
  2182. hideChildrenInMenu: true,
  2183. children: [
  2184. {
  2185. path: 'index',
  2186. name: 'bulkReturnReportIndex',
  2187. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/index.vue'),
  2188. meta: {
  2189. title: '散件退货报表',
  2190. icon: 'profile',
  2191. hidden: true,
  2192. permission: 'M_bulkReturnReportList'
  2193. }
  2194. },
  2195. ]
  2196. },
  2197. {
  2198. path: '/reportData/storeTransferOutReport',
  2199. redirect: '/reportData/storeTransferOutReport/index',
  2200. name: 'storeTransferOutReport',
  2201. component: BlankLayout,
  2202. meta: {
  2203. title: '店内调出报表',
  2204. icon: 'profile',
  2205. permission: 'M_storeTransferOutReportList'
  2206. },
  2207. hideChildrenInMenu: true,
  2208. children: [
  2209. {
  2210. path: 'index',
  2211. name: 'storeTransferOutReportIndex',
  2212. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/index.vue'),
  2213. meta: {
  2214. title: '店内调出报表',
  2215. icon: 'profile',
  2216. hidden: true,
  2217. permission: 'M_storeTransferOutReportList'
  2218. }
  2219. },
  2220. {
  2221. path: 'list',
  2222. name: 'storeTransferOutReportList',
  2223. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/list.vue'),
  2224. meta: {
  2225. title: '店内调出报表列表',
  2226. icon: 'profile',
  2227. hidden: true,
  2228. }
  2229. },
  2230. {
  2231. path: 'list',
  2232. name: 'storeTransferOutDetailReportList',
  2233. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/detailList.vue'),
  2234. meta: {
  2235. title: '店内调出明细报表列表',
  2236. icon: 'profile',
  2237. hidden: true,
  2238. }
  2239. }
  2240. ]
  2241. },
  2242. ]
  2243. },
  2244. // 连锁报表
  2245. {
  2246. path: '/chainReportData',
  2247. redirect: '/chainReportData/chainStockReport',
  2248. component: PageView,
  2249. meta: {
  2250. title: '连锁报表',
  2251. icon: 'fund',
  2252. permission: 'M_reportData'
  2253. },
  2254. children: [
  2255. {
  2256. path: '/chainReportData/chainSalesReport',
  2257. redirect: '/chainReportData/chainSalesReport/index',
  2258. name: 'chainSalesReport',
  2259. component: BlankLayout,
  2260. meta: {
  2261. title: '连锁销售报表',
  2262. icon: 'profile',
  2263. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2264. },
  2265. hideChildrenInMenu: true,
  2266. children: [
  2267. {
  2268. path: 'index',
  2269. name: 'chainSalesReportIndex',
  2270. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/index.vue'),
  2271. meta: {
  2272. title: '连锁销售报表',
  2273. icon: 'profile',
  2274. hidden: true,
  2275. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2276. }
  2277. },
  2278. {
  2279. path: 'list',
  2280. name: 'chainSalesReportList',
  2281. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/list.vue'),
  2282. meta: {
  2283. title: '连锁销售报表列表',
  2284. icon: 'profile',
  2285. hidden: true,
  2286. permission: 'M_chainSalesReportList'
  2287. }
  2288. },
  2289. {
  2290. path: 'detailList',
  2291. name: 'chainSalesDetailReportList',
  2292. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailReport/list.vue'),
  2293. meta: {
  2294. title: '连锁销售明细报表列表',
  2295. icon: 'profile',
  2296. hidden: true,
  2297. permission: 'M_chainSalesDetailReportList'
  2298. }
  2299. }
  2300. ]
  2301. },
  2302. {
  2303. path: '/chainReportData/chainSalesDetailsCountReport',
  2304. redirect: '/chainReportData/chainSalesDetailsCountReport/list',
  2305. name: 'chainSalesDetailsCountReport',
  2306. component: BlankLayout,
  2307. meta: {
  2308. title: '连锁销售明细合计报表',
  2309. icon: 'profile',
  2310. permission: 'M_chainSalesDetailsCountReport_list'
  2311. },
  2312. hideChildrenInMenu: true,
  2313. children: [
  2314. {
  2315. path: 'list',
  2316. name: 'chainSalesDetailsCountReportList',
  2317. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailsCountReport/list.vue'),
  2318. meta: {
  2319. title: '连锁销售明细合计列表',
  2320. icon: 'profile',
  2321. hidden: true,
  2322. permission: 'M_chainSalesDetailsCountReport_list'
  2323. }
  2324. }
  2325. ]
  2326. },
  2327. {
  2328. path: '/chainReportData/chainCustomerReport',
  2329. redirect: '/chainReportData/chainCustomerReport/list',
  2330. name: 'chainCustomerReport',
  2331. component: BlankLayout,
  2332. meta: {
  2333. title: '连锁大客户报表',
  2334. icon: 'profile',
  2335. permission: 'M_chainCustomerReportList'
  2336. },
  2337. hideChildrenInMenu: true,
  2338. children: [
  2339. {
  2340. path: 'list',
  2341. name: 'chainCustomerReportList',
  2342. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainCustomerReport/list.vue'),
  2343. meta: {
  2344. title: '连锁大客户报表列表',
  2345. icon: 'profile',
  2346. hidden: true,
  2347. permission: 'M_chainCustomerReportList'
  2348. }
  2349. }
  2350. ]
  2351. },
  2352. {
  2353. path: '/chainReportData/chainStockIncomeReport',
  2354. redirect: '/chainReportData/chainStockIncomeReport/list',
  2355. name: 'chainStockIncomeReport',
  2356. component: BlankLayout,
  2357. meta: {
  2358. title: '连锁库存总入报表',
  2359. icon: 'profile',
  2360. permission: 'M_chainStockIncomeReportList'
  2361. },
  2362. hideChildrenInMenu: true,
  2363. children: [
  2364. {
  2365. path: 'list',
  2366. name: 'chainStockIncomeReportList',
  2367. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockIncomeReport/list.vue'),
  2368. meta: {
  2369. title: '连锁库存总入报表列表',
  2370. icon: 'profile',
  2371. hidden: true,
  2372. permission: 'M_chainStockIncomeReportList'
  2373. }
  2374. }
  2375. ]
  2376. },
  2377. {
  2378. path: '/chainReportData/chainStockExpenditureReport',
  2379. redirect: '/chainReportData/chainStockExpenditureReport/list',
  2380. name: 'chainStockExpenditureReport',
  2381. component: BlankLayout,
  2382. meta: {
  2383. title: '连锁库存总出报表',
  2384. icon: 'profile',
  2385. permission: 'M_chainStockExpenditureReportList'
  2386. },
  2387. hideChildrenInMenu: true,
  2388. children: [
  2389. {
  2390. path: 'list',
  2391. name: 'chainStockExpenditureReportList',
  2392. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockExpenditureReport/list.vue'),
  2393. meta: {
  2394. title: '连锁库存总出报表列表',
  2395. icon: 'profile',
  2396. hidden: true,
  2397. permission: 'M_chainStockExpenditureReportList'
  2398. }
  2399. }
  2400. ]
  2401. },
  2402. {
  2403. path: '/chainReportData/chainStockReport',
  2404. redirect: '/chainReportData/chainStockReport/list',
  2405. name: 'chainStockReport',
  2406. component: BlankLayout,
  2407. meta: {
  2408. title: '连锁库存总表',
  2409. icon: 'profile',
  2410. permission: 'M_chainStockReportList'
  2411. },
  2412. hideChildrenInMenu: true,
  2413. children: [
  2414. {
  2415. path: 'list',
  2416. name: 'chainStockReportList',
  2417. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockReport/list.vue'),
  2418. meta: {
  2419. title: '连锁库存总表列表',
  2420. icon: 'profile',
  2421. hidden: true,
  2422. permission: 'M_chainStockReportList'
  2423. }
  2424. }
  2425. ]
  2426. },
  2427. {
  2428. path: '/chainReportData/chainPurchaseReceiptReport',
  2429. redirect: '/chainReportData/chainPurchaseReceiptReport/list',
  2430. name: 'chainPurchaseReceiptReport',
  2431. component: BlankLayout,
  2432. meta: {
  2433. title: '连锁采购入库报表',
  2434. icon: 'profile',
  2435. permission: 'M_chainPurchaseReceiptReportList'
  2436. },
  2437. hideChildrenInMenu: true,
  2438. children: [
  2439. {
  2440. path: 'list',
  2441. name: 'chainPurchaseReceiptReportList',
  2442. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainPurchaseReceiptReport/list.vue'),
  2443. meta: {
  2444. title: '连锁采购入库报表列表',
  2445. icon: 'profile',
  2446. hidden: true,
  2447. permission: 'M_chainPurchaseReceiptReportList'
  2448. }
  2449. }
  2450. ]
  2451. },
  2452. {
  2453. path: '/chainReportData/chainReceivedSendStorageReport',
  2454. redirect: '/chainReportData/chainReceivedSendStorageReport/list',
  2455. name: 'chainReceivedSendStorageReport',
  2456. component: BlankLayout,
  2457. meta: {
  2458. title: '连锁收发存报表',
  2459. icon: 'profile',
  2460. permission: 'M_chainReceivedSendStorageReportList'
  2461. },
  2462. hideChildrenInMenu: true,
  2463. children: [
  2464. {
  2465. path: 'list',
  2466. name: 'chainReceivedSendStorageReportList',
  2467. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainReceivedSendStorageReport/list.vue'),
  2468. meta: {
  2469. title: '连锁收发存报表列表',
  2470. icon: 'profile',
  2471. hidden: true,
  2472. permission: 'M_chainReceivedSendStorageReportList'
  2473. }
  2474. }
  2475. ]
  2476. }
  2477. ]
  2478. },
  2479. // 客户管理
  2480. {
  2481. path: '/customerManagement',
  2482. redirect: '/customerManagement/customerInfo',
  2483. component: PageView,
  2484. meta: {
  2485. title: '客户管理',
  2486. icon: 'idcard',
  2487. permission: 'M_customerInfoList'
  2488. },
  2489. children: [
  2490. {
  2491. path: '/customerManagement/customerInfo',
  2492. redirect: '/customerManagement/customerInfo/list',
  2493. name: 'customerInfo',
  2494. component: BlankLayout,
  2495. meta: {
  2496. title: '客户管理',
  2497. icon: 'idcard',
  2498. permission: 'M_customerInfoList'
  2499. },
  2500. hideChildrenInMenu: true,
  2501. children: [
  2502. {
  2503. path: 'list',
  2504. name: 'customerInfoList',
  2505. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/list.vue'),
  2506. meta: {
  2507. title: '客户列表',
  2508. icon: 'idcard',
  2509. hidden: true,
  2510. permission: 'M_customerInfoList'
  2511. }
  2512. },
  2513. {
  2514. path: 'add',
  2515. name: 'customerInfoAdd',
  2516. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2517. meta: {
  2518. title: '新增客户',
  2519. icon: 'idcard',
  2520. hidden: true,
  2521. permission: 'B_customer_customerInfo_add'
  2522. }
  2523. },
  2524. {
  2525. path: 'edit/:id',
  2526. name: 'customerInfoEdit',
  2527. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2528. meta: {
  2529. title: '编辑客户',
  2530. icon: 'idcard',
  2531. hidden: true,
  2532. permission: 'B_customer_customerInfo_edit'
  2533. }
  2534. }
  2535. ]
  2536. }
  2537. ]
  2538. },
  2539. // 产品管理
  2540. {
  2541. path: '/productManagement',
  2542. redirect: '/productManagement/productInfo',
  2543. component: PageView,
  2544. meta: {
  2545. title: '产品管理',
  2546. icon: 'shopping',
  2547. permission: 'M_product'
  2548. },
  2549. children: [
  2550. {
  2551. path: '/productManagement/productInfo',
  2552. redirect: '/productManagement/productInfo/list',
  2553. name: 'productInfo',
  2554. component: BlankLayout,
  2555. meta: {
  2556. title: '产品信息管理(自建)',
  2557. icon: 'file-text',
  2558. permission: 'M_dealerProductList'
  2559. },
  2560. hideChildrenInMenu: true,
  2561. children: [
  2562. {
  2563. path: 'list',
  2564. name: 'productInfoList',
  2565. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2566. meta: {
  2567. title: '产品信息列表(自建)',
  2568. icon: 'file-text',
  2569. hidden: true,
  2570. permission: 'M_dealerProductList'
  2571. }
  2572. },
  2573. {
  2574. path: 'add',
  2575. name: 'productInfoAdd',
  2576. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2577. meta: {
  2578. title: '新增产品',
  2579. icon: 'file-text',
  2580. hidden: true,
  2581. permission: 'B_product_dealerProduct_add'
  2582. }
  2583. },
  2584. {
  2585. path: 'edit/:id',
  2586. name: 'productInfoEdit',
  2587. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2588. meta: {
  2589. title: '编辑产品',
  2590. icon: 'file-text',
  2591. hidden: true,
  2592. permission: 'B_product_dealerProduct_edit'
  2593. }
  2594. }
  2595. ]
  2596. },
  2597. {
  2598. path: '/productManagement/productInfoJg',
  2599. redirect: '/productManagement/productInfoJg/list',
  2600. name: 'productInfoJg',
  2601. component: BlankLayout,
  2602. meta: {
  2603. title: '产品信息管理(箭冠)',
  2604. icon: 'file-text',
  2605. permission: 'M_productInfoList'
  2606. },
  2607. hideChildrenInMenu: true,
  2608. children: [
  2609. {
  2610. path: 'list',
  2611. name: 'productInfoJgList',
  2612. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfoJg/list.vue'),
  2613. meta: {
  2614. title: '产品信息列表(箭冠)',
  2615. icon: 'file-text',
  2616. hidden: true,
  2617. permission: 'M_productInfoList'
  2618. }
  2619. }
  2620. ]
  2621. },
  2622. {
  2623. path: '/productManagement/productOnlineInfo',
  2624. redirect: '/productManagement/productOnlineInfo/list',
  2625. name: 'productOnlineInfo',
  2626. component: BlankLayout,
  2627. meta: {
  2628. title: '产品上线信息',
  2629. icon: 'file-text',
  2630. permission: 'M_productOnlineInfoList'
  2631. },
  2632. hideChildrenInMenu: true,
  2633. children: [
  2634. {
  2635. path: 'list',
  2636. name: 'productOnlineInfoList',
  2637. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOnlineInfo/list.vue'),
  2638. meta: {
  2639. title: '产品上线信息列表',
  2640. icon: 'file-text',
  2641. hidden: true,
  2642. permission: 'M_productOnlineInfoList'
  2643. }
  2644. }
  2645. ]
  2646. },
  2647. {
  2648. path: '/productManagement/newProductList',
  2649. redirect: '/newProduct/list/:onlineFalg',
  2650. name: 'newProductList',
  2651. component: BlankLayout,
  2652. meta: {
  2653. title: '产品信息',
  2654. icon: 'sketch',
  2655. permission: 'M_newProductList'
  2656. },
  2657. hideChildrenInMenu: true,
  2658. children: [
  2659. // 新品列表-下线产品
  2660. {
  2661. path: '/newProduct/list/:onlineFalg',
  2662. name: 'newProductList',
  2663. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list'),
  2664. meta: {
  2665. title: '新品信息',
  2666. icon: 'file-text',
  2667. hidden: true
  2668. }
  2669. },
  2670. // 产品详情
  2671. {
  2672. path: '/viewProduct/:sn',
  2673. name: 'viewProduct',
  2674. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/detail'),
  2675. meta: {
  2676. title: '产品详情',
  2677. icon: 'file-text',
  2678. replaceTab: true,
  2679. hidden: true
  2680. }
  2681. }
  2682. ]
  2683. },
  2684. {
  2685. path: '/productManagement/productBrand',
  2686. redirect: '/productManagement/productBrand/list',
  2687. name: 'productBrand',
  2688. component: BlankLayout,
  2689. meta: {
  2690. title: '产品品牌管理',
  2691. icon: 'sketch',
  2692. permission: 'M_dealerProductBrandList'
  2693. },
  2694. hideChildrenInMenu: true,
  2695. children: [
  2696. {
  2697. path: 'list',
  2698. name: 'productBrandList',
  2699. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2700. meta: {
  2701. title: '产品品牌列表',
  2702. icon: 'sketch',
  2703. hidden: true,
  2704. permission: 'M_dealerProductBrandList'
  2705. }
  2706. }
  2707. ]
  2708. },
  2709. {
  2710. path: '/productManagement/productCategory',
  2711. redirect: '/productManagement/productCategory/list',
  2712. name: 'productCategory',
  2713. component: BlankLayout,
  2714. meta: {
  2715. title: '产品分类管理',
  2716. icon: 'sliders',
  2717. permission: 'M_dealerProductTypeList'
  2718. },
  2719. hideChildrenInMenu: true,
  2720. children: [
  2721. {
  2722. path: 'list',
  2723. name: 'productCategoryList',
  2724. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2725. meta: {
  2726. title: '产品分类列表',
  2727. icon: 'sliders',
  2728. hidden: true,
  2729. permission: 'M_dealerProductTypeList'
  2730. }
  2731. }
  2732. ]
  2733. },
  2734. {
  2735. path: '/productManagement/priceChangeRecord',
  2736. redirect: '/productManagement/priceChangeRecord/list',
  2737. name: 'priceChangeRecord',
  2738. component: BlankLayout,
  2739. meta: {
  2740. title: '价格变更记录',
  2741. icon: 'sketch',
  2742. permission: 'M_priceChangeRecordList'
  2743. },
  2744. hideChildrenInMenu: true,
  2745. children: [
  2746. {
  2747. path: 'list',
  2748. name: 'priceChangeRecordList',
  2749. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2750. meta: {
  2751. title: '价格变更记录列表',
  2752. icon: 'sketch',
  2753. hidden: true,
  2754. permission: 'M_priceChangeRecordList'
  2755. }
  2756. }
  2757. ]
  2758. }
  2759. ]
  2760. },
  2761. // 供应商管理
  2762. {
  2763. path: '/supplierManagement',
  2764. redirect: '/supplierManagement/supplierInfo',
  2765. component: PageView,
  2766. meta: {
  2767. title: '供应商管理',
  2768. icon: 'contacts',
  2769. permission: 'M_supplierInfoList'
  2770. },
  2771. children: [
  2772. {
  2773. path: '/supplierManagement/supplierInfo',
  2774. redirect: '/supplierManagement/supplierInfo/list',
  2775. name: 'supplierInfo',
  2776. component: BlankLayout,
  2777. meta: {
  2778. title: '供应商管理',
  2779. icon: 'contacts',
  2780. permission: 'M_supplierInfoList'
  2781. },
  2782. hideChildrenInMenu: true,
  2783. children: [
  2784. {
  2785. path: 'list',
  2786. name: 'supplierInfoList',
  2787. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  2788. meta: {
  2789. title: '供应商列表',
  2790. icon: 'contacts',
  2791. hidden: true,
  2792. permission: 'M_supplierInfoList'
  2793. }
  2794. }
  2795. ]
  2796. }
  2797. ]
  2798. },
  2799. // 中心店/配送店管理
  2800. {
  2801. path: '/storeManagement',
  2802. redirect: '/storeManagement/bind',
  2803. component: PageView,
  2804. meta: {
  2805. title: '中心店/配送店管理',
  2806. icon: 'bank',
  2807. permission: 'M_storeManagement'
  2808. },
  2809. children: [
  2810. {
  2811. path: '/storeManagement/bind',
  2812. redirect: '/storeManagement/bind/list',
  2813. name: 'storeManagementBind',
  2814. component: BlankLayout,
  2815. meta: {
  2816. title: '中心店/配送店绑定',
  2817. icon: 'link',
  2818. permission: 'M_storeManagementBindList'
  2819. },
  2820. hideChildrenInMenu: true,
  2821. children: [
  2822. {
  2823. path: 'list',
  2824. name: 'storeManagementBindList',
  2825. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/bind/list.vue'),
  2826. meta: {
  2827. title: '中心店/配送店绑定列表',
  2828. icon: 'link',
  2829. hidden: true,
  2830. permission: 'M_storeManagementBindList'
  2831. }
  2832. }
  2833. ]
  2834. },
  2835. {
  2836. path: '/storeManagement/userAuthorization',
  2837. redirect: '/storeManagement/userAuthorization/list',
  2838. name: 'storeManagementUserAuth',
  2839. component: BlankLayout,
  2840. meta: {
  2841. title: '中心店用户授权',
  2842. icon: 'link',
  2843. permission: 'M_storeManagementUserAuthList'
  2844. },
  2845. hideChildrenInMenu: true,
  2846. children: [
  2847. {
  2848. path: 'list',
  2849. name: 'storeManagementUserAuthList',
  2850. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/userAuthorization/list.vue'),
  2851. meta: {
  2852. title: '中心店用户授权列表',
  2853. icon: 'link',
  2854. hidden: true,
  2855. permission: 'M_storeManagementUserAuthList'
  2856. }
  2857. }
  2858. ]
  2859. }
  2860. ]
  2861. },
  2862. // 基础设置
  2863. {
  2864. path: '/basicData',
  2865. redirect: '/basicData/storeTransferOutTypeManagement',
  2866. component: PageView,
  2867. meta: {
  2868. title: '基础设置',
  2869. icon: 'setting',
  2870. permission: 'M_basicData'
  2871. },
  2872. children: [
  2873. {
  2874. path: '/basicData/storeTransferOutTypeManagement',
  2875. redirect: '/basicData/storeTransferOutTypeManagement/list',
  2876. name: 'storeTransferOutTypeManagement',
  2877. component: BlankLayout,
  2878. meta: {
  2879. title: '店内调出类型管理',
  2880. icon: 'interaction',
  2881. permission: 'M_storeTransferOutTypeList'
  2882. },
  2883. hideChildrenInMenu: true,
  2884. children: [
  2885. {
  2886. path: 'list',
  2887. name: 'storeTransferOutTypeManagementList',
  2888. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/storeTransferOutTypeManagement/list.vue'),
  2889. meta: {
  2890. title: '店内调出类型管理列表',
  2891. icon: 'interaction',
  2892. hidden: true,
  2893. permission: 'M_storeTransferOutTypeList'
  2894. }
  2895. }
  2896. ]
  2897. },
  2898. {
  2899. path: '/basicData/bulkPartsTypeManagement',
  2900. redirect: '/basicData/bulkPartsTypeManagement/list',
  2901. name: 'bulkPartsTypeManagement',
  2902. component: BlankLayout,
  2903. meta: {
  2904. title: '散件入库类型管理',
  2905. icon: 'gold',
  2906. permission: 'M_bulkPartsTypeList'
  2907. },
  2908. hideChildrenInMenu: true,
  2909. children: [
  2910. {
  2911. path: 'list',
  2912. name: 'bulkPartsTypeManagementList',
  2913. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/bulkPartsTypeManagement/list.vue'),
  2914. meta: {
  2915. title: '散件入库类型列表',
  2916. icon: 'gold',
  2917. hidden: true,
  2918. permission: 'M_bulkPartsTypeList'
  2919. }
  2920. }
  2921. ]
  2922. },
  2923. {
  2924. path: '/basicData/expenseType',
  2925. redirect: '/basicData/expenseType/list',
  2926. name: 'expenseType',
  2927. component: BlankLayout,
  2928. meta: {
  2929. title: '费用类型管理',
  2930. icon: 'pay-circle',
  2931. permission: 'M_expenseTypeList'
  2932. },
  2933. hideChildrenInMenu: true,
  2934. children: [
  2935. {
  2936. path: 'list',
  2937. name: 'expenseTypeList',
  2938. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/expenseType/list.vue'),
  2939. meta: {
  2940. title: '费用类型列表',
  2941. icon: 'pay-circle',
  2942. hidden: true,
  2943. permission: 'M_expenseTypeList'
  2944. }
  2945. }
  2946. ]
  2947. },
  2948. // {
  2949. // path: '/basicData/processSettings',
  2950. // redirect: '/basicData/processSettings/setup',
  2951. // name: 'processSettings',
  2952. // component: BlankLayout,
  2953. // meta: {
  2954. // title: '业务自动化设置',
  2955. // icon: 'sliders'
  2956. // // permission: 'M_goodsManage_list'
  2957. // },
  2958. // hideChildrenInMenu: true,
  2959. // children: [
  2960. // {
  2961. // path: 'setup',
  2962. // name: 'processSettingsSetup',
  2963. // component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/processSettings/setup.vue'),
  2964. // meta: {
  2965. // title: '业务自动化设置',
  2966. // icon: 'sliders',
  2967. // hidden: true
  2968. // // permission: 'M_goodsManage_list'
  2969. // }
  2970. // }
  2971. // ]
  2972. // },
  2973. {
  2974. path: '/basicData/customerTypeManagement',
  2975. redirect: '/basicData/customerTypeManagement/list',
  2976. name: 'customerTypeManagement',
  2977. component: BlankLayout,
  2978. meta: {
  2979. title: '客户类型管理',
  2980. icon: 'idcard',
  2981. permission: 'M_customerTypeList'
  2982. },
  2983. hideChildrenInMenu: true,
  2984. children: [
  2985. {
  2986. path: 'list',
  2987. name: 'customerTypeManagementList',
  2988. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/customerTypeManagement/list.vue'),
  2989. meta: {
  2990. title: '客户类型列表',
  2991. icon: 'idcard',
  2992. hidden: true,
  2993. permission: 'M_customerTypeList'
  2994. }
  2995. }
  2996. ]
  2997. }
  2998. ]
  2999. },
  3000. // auth
  3001. {
  3002. path: '/auth',
  3003. redirect: '/auth/userList',
  3004. component: PageView,
  3005. meta: {
  3006. title: '权限管理',
  3007. icon: 'key',
  3008. permission: 'M_powerMD_0'
  3009. },
  3010. children: [
  3011. {
  3012. path: '/auth/userList',
  3013. name: 'powerUser',
  3014. redirect: '/auth/userList/list',
  3015. component: BlankLayout,
  3016. meta: {
  3017. title: '用户管理',
  3018. icon: 'user',
  3019. permission: 'M_powerMD_user_list'
  3020. },
  3021. hideChildrenInMenu: true,
  3022. children: [
  3023. {
  3024. path: 'list',
  3025. name: 'powerUserList',
  3026. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3027. meta: {
  3028. title: '用户管理',
  3029. icon: 'user',
  3030. permission: 'M_powerMD_user_list'
  3031. }
  3032. }
  3033. ]
  3034. },
  3035. {
  3036. path: '/auth/roleList',
  3037. name: 'powerRole',
  3038. redirect: '/auth/roleList/list',
  3039. component: BlankLayout,
  3040. meta: {
  3041. title: '角色管理',
  3042. icon: 'solution',
  3043. permission: 'M_powerMD_role_list'
  3044. },
  3045. hideChildrenInMenu: true,
  3046. children: [
  3047. {
  3048. path: 'list',
  3049. name: 'powerRoleList',
  3050. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3051. meta: {
  3052. title: '角色管理',
  3053. icon: 'solution',
  3054. permission: 'M_powerMD_role_list'
  3055. }
  3056. }
  3057. ]
  3058. }
  3059. ]
  3060. }
  3061. ]
  3062. },
  3063. {
  3064. path: '*',
  3065. redirect: '/404',
  3066. hidden: true
  3067. }
  3068. ]
  3069. /**
  3070. * 基础路由
  3071. * @type { *[] }
  3072. */
  3073. export const constantRouterMap = [
  3074. {
  3075. path: '/user',
  3076. component: UserLayout,
  3077. redirect: '/user/login',
  3078. hidden: true,
  3079. children: [
  3080. {
  3081. path: 'login',
  3082. name: 'login',
  3083. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3084. },
  3085. {
  3086. path: 'register',
  3087. name: 'register',
  3088. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3089. },
  3090. {
  3091. path: 'register-result',
  3092. name: 'registerResult',
  3093. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3094. },
  3095. {
  3096. path: 'recover',
  3097. name: 'recover',
  3098. component: undefined
  3099. }
  3100. ]
  3101. },
  3102. {
  3103. path: '/updateBrowser',
  3104. name: 'updateBrowser',
  3105. component: () => import(/* webpackChunkName: "user" */ '@/views/exception/updateBrowser')
  3106. },
  3107. {
  3108. path: '/404',
  3109. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3110. }
  3111. ]