router.config.js 132 KB

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