router.config.js 123 KB

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