router.config.js 139 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. BlankLayout,
  6. BigScreen,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: {
  15. title: '首页'
  16. },
  17. redirect: '/home',
  18. children: [
  19. {
  20. path: '/home',
  21. name: 'home',
  22. redirect: '/home',
  23. component: PageView,
  24. meta: {
  25. title: '首页',
  26. icon: 'home'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: '/home',
  32. name: 'home',
  33. redirect: '/home',
  34. component: BlankLayout,
  35. meta: {
  36. title: '首页',
  37. icon: 'home',
  38. hidden: true
  39. },
  40. hideChildrenInMenu: true,
  41. children: [
  42. {
  43. path: '/home',
  44. name: 'home',
  45. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  46. meta: {
  47. title: '首页',
  48. icon: 'home',
  49. hidden: true
  50. }
  51. },
  52. {
  53. path: '/changePwd',
  54. name: 'changePwd',
  55. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  56. meta: {
  57. title: '修改密码',
  58. icon: 'home'
  59. },
  60. hidden: true
  61. },
  62. {
  63. path: '/notice',
  64. name: 'notice',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
  66. meta: {
  67. title: '公告',
  68. icon: 'bell'
  69. },
  70. hidden: true
  71. },
  72. {
  73. path: '/dowloadFile',
  74. name: 'dowloadFile',
  75. component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
  76. meta: {
  77. title: '下载中心',
  78. icon: 'bell'
  79. },
  80. hidden: true
  81. },
  82. // 新品列表
  83. {
  84. path: '/newProduct/list/:onlineFalg',
  85. name: 'newProductList',
  86. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  87. meta: {
  88. title: '新品信息',
  89. icon: 'home'
  90. },
  91. hidden: true
  92. },
  93. {
  94. path: '/newProduct/list/:onlineFalg',
  95. name: 'oldProductList',
  96. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  97. meta: {
  98. title: '下线产品列表',
  99. icon: 'home'
  100. },
  101. hidden: true
  102. },
  103. // 产品详情
  104. {
  105. path: '/viewProduct/:sn',
  106. name: 'viewProduct',
  107. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  108. meta: {
  109. title: '产品详情',
  110. icon: 'home'
  111. },
  112. hidden: true
  113. }
  114. ]
  115. }
  116. ]
  117. },
  118. // 销售管理
  119. {
  120. path: '/salesManagement',
  121. redirect: '/salesManagement/salesQueryNew',
  122. component: PageView,
  123. meta: {
  124. title: '销售管理',
  125. icon: 'account-book',
  126. permission: 'M_salesManagement'
  127. },
  128. children: [
  129. {
  130. path: '/salesManagement/salesQueryNew',
  131. redirect: '/salesManagement/salesQueryNew/list',
  132. name: 'salesQueryNew',
  133. component: BlankLayout,
  134. meta: {
  135. title: '销售单查询',
  136. icon: 'monitor',
  137. permission: 'M_salesQueryList'
  138. },
  139. hideChildrenInMenu: true,
  140. children: [
  141. {
  142. path: 'list',
  143. name: 'salesQueryNewList',
  144. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/list.vue'),
  145. meta: {
  146. title: '销售单列表',
  147. icon: 'monitor',
  148. hidden: true,
  149. permission: 'M_salesQueryList'
  150. }
  151. },
  152. {
  153. path: 'detail/:sn',
  154. name: 'salesNewDetail',
  155. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  156. meta: {
  157. title: '销售单详情',
  158. icon: 'monitor',
  159. hidden: true,
  160. replaceTab: true,
  161. permission: 'B_salesDetail'
  162. }
  163. },
  164. {
  165. path: 'detail/:sn',
  166. name: 'salesNewDetailAudit',
  167. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  168. meta: {
  169. title: '销售单审核',
  170. icon: 'monitor',
  171. hidden: true,
  172. replaceTab: true,
  173. permission: 'B_salesAudit'
  174. }
  175. },
  176. {
  177. path: 'add/:sn',
  178. name: 'salesNewAdd',
  179. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  180. meta: {
  181. title: '新增销售单',
  182. icon: 'monitor',
  183. hidden: true,
  184. permission: 'B_salesEdit'
  185. }
  186. },
  187. {
  188. path: 'edit/:sn',
  189. name: 'salesNewEdit',
  190. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  191. meta: {
  192. title: '编辑销售单',
  193. icon: 'monitor',
  194. hidden: true,
  195. permission: 'B_salesEdit'
  196. }
  197. },
  198. {
  199. path: 'waitDispatch/:salesBillSn',
  200. name: 'waitDispatchNew',
  201. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatchNew/edit.vue'),
  202. meta: {
  203. title: '下推销售单',
  204. icon: 'monitor',
  205. replaceTab: true,
  206. hidden: true,
  207. permission: 'B_salesDispatch'
  208. }
  209. },
  210. {
  211. path: 'waitCostOrder',
  212. name: 'waitCostOrder',
  213. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitCostOrder/list.vue'),
  214. meta: {
  215. title: '待转费用报销单',
  216. icon: 'monitor',
  217. hidden: true,
  218. permission: 'B_salesDispatch'
  219. }
  220. }
  221. ]
  222. },
  223. {
  224. path: '/salesManagement/salesOrderWarehouse',
  225. redirect: '/salesManagement/salesOrderWarehouse/list',
  226. name: 'salesOrderWarehouse',
  227. component: BlankLayout,
  228. meta: {
  229. title: '仓库销售单',
  230. icon: 'vertical-align-bottom',
  231. permission: 'M_salesOrderWarehouseList'
  232. },
  233. hideChildrenInMenu: true,
  234. children: [
  235. {
  236. path: 'list',
  237. name: 'salesOrderWarehouseList',
  238. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/list.vue'),
  239. meta: {
  240. title: '仓库销售单列表',
  241. icon: 'vertical-align-bottom',
  242. hidden: true,
  243. permission: 'M_salesOrderWarehouseList'
  244. }
  245. },
  246. {
  247. path: 'detail/:sn/:wsn',
  248. name: 'saleOrderDetail',
  249. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesOrderWarehouse/detail.vue'),
  250. meta: {
  251. title: '仓库销售单列表详情',
  252. icon: 'vertical-align-bottom',
  253. replaceTab: true,
  254. hidden: true,
  255. permission: 'B_salesOrderWarehouseDetail'
  256. }
  257. }
  258. ]
  259. },
  260. {
  261. path: '/salesManagement/pushOrderManagement',
  262. redirect: '/salesManagement/pushOrderManagement/list',
  263. name: 'pushOrderManagement',
  264. component: BlankLayout,
  265. meta: {
  266. title: '下推订单列表',
  267. icon: 'vertical-align-bottom',
  268. permission: 'M_pushOrderManagementList'
  269. },
  270. hideChildrenInMenu: true,
  271. children: [
  272. {
  273. path: 'list',
  274. name: 'pushOrderManagementList',
  275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
  276. meta: {
  277. title: '下推订单列表',
  278. icon: 'vertical-align-bottom',
  279. hidden: true,
  280. permission: 'M_pushOrderManagementList'
  281. }
  282. },
  283. {
  284. path: 'detail/:sn/:type',
  285. name: 'pushOrderDetail',
  286. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
  287. meta: {
  288. title: '下推订单详情',
  289. icon: 'vertical-align-bottom',
  290. replaceTab: true,
  291. hidden: true,
  292. permission: 'B_dispatchDetail'
  293. }
  294. }
  295. ]
  296. },
  297. {
  298. path: '/salesManagement/salesCollection',
  299. redirect: '/salesManagement/salesCollection/list',
  300. name: 'salesCollection',
  301. component: BlankLayout,
  302. meta: {
  303. title: '销售收款',
  304. icon: 'vertical-align-bottom',
  305. permission: 'M_salesCollectionList'
  306. },
  307. hideChildrenInMenu: true,
  308. children: [
  309. {
  310. path: 'list',
  311. name: 'salesCollectionList',
  312. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesCollection/list.vue'),
  313. meta: {
  314. title: '销售收款',
  315. icon: 'vertical-align-bottom',
  316. hidden: true,
  317. permission: 'M_salesCollectionList'
  318. }
  319. }
  320. ]
  321. },
  322. {
  323. path: '/salesManagement/stockPrint',
  324. redirect: '/salesManagement/stockPrint/list',
  325. name: 'stockPrint',
  326. component: BlankLayout,
  327. meta: {
  328. title: '备货打印',
  329. icon: 'vertical-align-bottom',
  330. permission: 'M_stockPrintList'
  331. },
  332. hideChildrenInMenu: true,
  333. children: [
  334. {
  335. path: 'list',
  336. name: 'stockPrintList',
  337. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/stockPrint/list.vue'),
  338. meta: {
  339. title: '备货打印',
  340. icon: 'vertical-align-bottom',
  341. hidden: true,
  342. permission: 'M_stockPrintList'
  343. }
  344. }
  345. ]
  346. },
  347. {
  348. path: '/salesManagement/receiptPrint',
  349. redirect: '/salesManagement/receiptPrint/list',
  350. name: 'receiptPrint',
  351. component: BlankLayout,
  352. meta: {
  353. title: '收款打印',
  354. icon: 'vertical-align-bottom',
  355. permission: 'M_receiptPrintList'
  356. },
  357. hideChildrenInMenu: true,
  358. children: [
  359. {
  360. path: 'list',
  361. name: 'receiptPrintList',
  362. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/receiptPrint/list.vue'),
  363. meta: {
  364. title: '收款打印',
  365. icon: 'vertical-align-bottom',
  366. hidden: true,
  367. permission: 'M_receiptPrintList'
  368. }
  369. }
  370. ]
  371. },
  372. {
  373. path: '/salesManagement/matchSendOutOrder',
  374. redirect: '/salesManagement/matchSendOutOrder/list',
  375. name: 'matchSendOutOrder',
  376. component: BlankLayout,
  377. meta: {
  378. title: '发货对单',
  379. icon: 'vertical-align-bottom',
  380. permission: 'M_matchSendOutOrderList'
  381. },
  382. hideChildrenInMenu: true,
  383. children: [
  384. {
  385. path: 'list',
  386. name: 'matchSendOutOrderList',
  387. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/matchSendOutOrder/list.vue'),
  388. meta: {
  389. title: '发货对单',
  390. icon: 'vertical-align-bottom',
  391. hidden: true,
  392. permission: 'M_matchSendOutOrderList'
  393. }
  394. }
  395. ]
  396. },
  397. {
  398. path: '/salesManagement/examineVerify',
  399. redirect: '/salesManagement/examineVerify/list',
  400. name: 'examineVerify',
  401. component: BlankLayout,
  402. meta: {
  403. title: '备货审核',
  404. icon: 'audit',
  405. permission: 'M_examineVerifyList'
  406. },
  407. hideChildrenInMenu: true,
  408. children: [
  409. {
  410. path: 'list',
  411. name: 'examineVerifyList',
  412. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
  413. meta: {
  414. title: '备货审核列表',
  415. icon: 'audit',
  416. hidden: true,
  417. permission: 'M_examineVerifyList'
  418. }
  419. }
  420. ]
  421. },
  422. {
  423. path: '/salesManagement/outboundOrder',
  424. redirect: '/salesManagement/outboundOrder/list',
  425. name: 'outboundOrder',
  426. component: BlankLayout,
  427. meta: {
  428. title: '出库',
  429. icon: 'export',
  430. permission: 'M_outboundOrderList'
  431. },
  432. hideChildrenInMenu: true,
  433. children: [
  434. {
  435. path: 'list',
  436. name: 'outboundOrderList',
  437. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
  438. meta: {
  439. title: '出库列表',
  440. icon: 'export',
  441. hidden: true,
  442. permission: 'M_outboundOrderList'
  443. }
  444. }
  445. ]
  446. },
  447. {
  448. path: '/salesManagement/sendOutOrder',
  449. redirect: '/salesManagement/sendOutOrder/list',
  450. name: 'sendOutOrder',
  451. component: BlankLayout,
  452. meta: {
  453. title: '发货单列表',
  454. icon: 'export',
  455. permission: 'M_sendOutOrderList'
  456. },
  457. hideChildrenInMenu: true,
  458. children: [
  459. {
  460. path: 'list',
  461. name: 'sendOutOrderList',
  462. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/sendOutOrder/list.vue'),
  463. meta: {
  464. title: '发货单列表',
  465. icon: 'export',
  466. hidden: true,
  467. permission: 'M_sendOutOrderList'
  468. }
  469. }
  470. ]
  471. },
  472. {
  473. path: '/salesManagement/backorder',
  474. redirect: '/salesManagement/backorder/list',
  475. name: 'backorder',
  476. component: BlankLayout,
  477. meta: {
  478. title: '销售缺货列表',
  479. icon: 'exception',
  480. permission: 'M_backorderList'
  481. },
  482. hideChildrenInMenu: true,
  483. children: [
  484. {
  485. path: 'list',
  486. name: 'backorderList',
  487. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
  488. meta: {
  489. title: '销售缺货列表',
  490. icon: 'exception',
  491. hidden: true,
  492. permission: 'M_backorderList'
  493. }
  494. }
  495. ]
  496. },
  497. {
  498. path: '/salesManagement/shortageStatisticsC',
  499. redirect: '/salesManagement/shortageStatisticsC/list',
  500. name: 'shortageStatisticsC',
  501. component: BlankLayout,
  502. meta: {
  503. title: '缺货统计(按客户)',
  504. icon: 'file-done',
  505. permission: 'M_shortageStatisticsCList'
  506. },
  507. hideChildrenInMenu: true,
  508. children: [
  509. {
  510. path: 'list',
  511. name: 'shortageStatisticsCList',
  512. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
  513. meta: {
  514. title: '缺货统计(按客户)',
  515. icon: 'file-done',
  516. hidden: true,
  517. permission: 'M_shortageStatisticsCList'
  518. }
  519. }
  520. ]
  521. },
  522. {
  523. path: '/salesManagement/shortageStatisticsP',
  524. redirect: '/salesManagement/shortageStatisticsP/list',
  525. name: 'shortageStatisticsP',
  526. component: BlankLayout,
  527. meta: {
  528. title: '缺货统计(按产品)',
  529. icon: 'file-protect',
  530. permission: 'M_shortageStatisticsPList'
  531. },
  532. hideChildrenInMenu: true,
  533. children: [
  534. {
  535. path: 'list',
  536. name: 'shortageStatisticsPList',
  537. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
  538. meta: {
  539. title: '缺货统计(按产品)',
  540. icon: 'file-protect',
  541. hidden: true,
  542. permission: 'M_shortageStatisticsPList'
  543. }
  544. }
  545. ]
  546. },
  547. {
  548. path: '/salesManagement/priceInquiry',
  549. redirect: '/salesManagement/priceInquiry/list',
  550. name: 'priceInquiry',
  551. component: BlankLayout,
  552. meta: {
  553. title: '价格查询',
  554. icon: 'file-protect',
  555. permission: 'M_priceInquiryList'
  556. },
  557. hideChildrenInMenu: true,
  558. children: [
  559. {
  560. path: 'list',
  561. name: 'priceInquiryList',
  562. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
  563. meta: {
  564. title: '价格查询列表',
  565. icon: 'file-protect',
  566. hidden: true,
  567. permission: 'M_priceInquiryList'
  568. }
  569. }
  570. ]
  571. },
  572. {
  573. path: '/salesManagement/salesList',
  574. redirect: '/salesManagement/salesList/list',
  575. name: 'salesList',
  576. component: BlankLayout,
  577. meta: {
  578. title: '销售一览表',
  579. icon: 'file-protect',
  580. permission: 'M_salesList'
  581. },
  582. hideChildrenInMenu: true,
  583. children: [
  584. {
  585. path: 'list',
  586. name: 'salesMainList',
  587. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesList/list.vue'),
  588. meta: {
  589. title: '销售一览表',
  590. icon: 'file-protect',
  591. hidden: true,
  592. permission: 'M_salesList'
  593. }
  594. }
  595. ]
  596. }
  597. ]
  598. },
  599. // 销售退货
  600. {
  601. path: '/salesReturnManagement',
  602. redirect: '/salesReturnManagement/salesReturn',
  603. component: PageView,
  604. meta: {
  605. title: '销售退货',
  606. icon: 'export',
  607. permission: 'M_salesReturnManagement'
  608. },
  609. children: [
  610. {
  611. path: '/salesReturnManagement/salesReturn',
  612. redirect: '/salesReturnManagement/salesReturn/list',
  613. name: 'salesReturn',
  614. component: BlankLayout,
  615. meta: {
  616. title: '销售退货列表',
  617. icon: 'fund',
  618. permission: 'M_salesReturnList'
  619. },
  620. hideChildrenInMenu: true,
  621. children: [
  622. {
  623. path: 'list',
  624. name: 'salesReturnList',
  625. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/list.vue'),
  626. meta: {
  627. title: '销售退货列表',
  628. icon: 'fund',
  629. hidden: true,
  630. permission: 'M_salesReturnList'
  631. }
  632. },
  633. {
  634. path: 'detail/:sn',
  635. name: 'salesReturnDetail',
  636. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/detail.vue'),
  637. meta: {
  638. title: '销售退货详情',
  639. icon: 'fund',
  640. hidden: true,
  641. permission: 'B_salesReturnDetail'
  642. }
  643. },
  644. {
  645. path: 'salesReturnEdit/:sn/:buyerSn',
  646. name: 'salesReturnEdit',
  647. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/salesReturnEdit.vue'),
  648. meta: {
  649. title: '编辑销售退货',
  650. icon: 'fund',
  651. hidden: true,
  652. permission: 'B_salesReturnEdit'
  653. }
  654. },
  655. {
  656. path: 'custConfirm/:sn/:buyerSn',
  657. name: 'custConfirm',
  658. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/custConfirm/list.vue'),
  659. meta: {
  660. title: '客服确认',
  661. icon: 'fund',
  662. replaceTab: true,
  663. hidden: true,
  664. permission: 'B_salesReturnConfirm'
  665. }
  666. }
  667. ]
  668. },
  669. {
  670. path: '/salesReturnManagement/billOfLading',
  671. redirect: '/salesReturnManagement/billOfLading/list',
  672. name: 'billOfLading',
  673. component: BlankLayout,
  674. meta: {
  675. title: '提货单列表',
  676. icon: 'fund',
  677. permission: 'M_billOfLadingList'
  678. },
  679. hideChildrenInMenu: true,
  680. children: [
  681. {
  682. path: 'list',
  683. name: 'billOfLadingList',
  684. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/list.vue'),
  685. meta: {
  686. title: '提货单列表',
  687. icon: 'fund',
  688. hidden: true,
  689. permission: 'M_billOfLadingList'
  690. }
  691. },
  692. {
  693. path: 'detail/:sn',
  694. name: 'billOfLadingDetail',
  695. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/detail.vue'),
  696. meta: {
  697. title: '提货单详情',
  698. icon: 'fund',
  699. hidden: true,
  700. permission: 'M_detailPickUp'
  701. }
  702. },
  703. {
  704. path: 'add',
  705. name: 'billOfLadingAdd',
  706. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  707. meta: {
  708. title: '新增提货单',
  709. icon: 'fund',
  710. hidden: true,
  711. permission: 'B_editPickUp'
  712. }
  713. },
  714. {
  715. path: 'edit/:sn/:wSn',
  716. name: 'billOfLadingEdit',
  717. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  718. meta: {
  719. title: '编辑提货单',
  720. icon: 'fund',
  721. hidden: true,
  722. permission: 'B_editPickUp'
  723. }
  724. }
  725. ]
  726. },
  727. {
  728. path: '/salesReturnManagement/pickUp',
  729. redirect: '/salesReturnManagement/pickUp/list',
  730. name: 'pickUp',
  731. component: BlankLayout,
  732. meta: {
  733. title: '仓库提货',
  734. icon: 'fund',
  735. permission: 'M_pickUpList'
  736. },
  737. hideChildrenInMenu: true,
  738. children: [
  739. {
  740. path: 'list',
  741. name: 'pickUpList',
  742. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/pickUp/list.vue'),
  743. meta: {
  744. title: '仓库提货列表',
  745. icon: 'fund',
  746. hidden: true,
  747. permission: 'M_pickUpList'
  748. }
  749. }
  750. ]
  751. },
  752. {
  753. path: '/salesReturnManagement/receiveCheck',
  754. redirect: '/salesReturnManagement/receiveCheck/list',
  755. name: 'receiveCheck',
  756. component: BlankLayout,
  757. meta: {
  758. title: '收货品检',
  759. icon: 'fund',
  760. permission: 'M_receiveCheckList'
  761. },
  762. hideChildrenInMenu: true,
  763. children: [
  764. {
  765. path: 'list',
  766. name: 'receiveCheckList',
  767. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/list.vue'),
  768. meta: {
  769. title: '收货品检列表',
  770. icon: 'fund',
  771. hidden: true,
  772. permission: 'M_receiveCheckList'
  773. }
  774. },
  775. {
  776. path: 'receiving/:sn/:buyerSn',
  777. name: 'salesReturnReceiving',
  778. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/receiving.vue'),
  779. meta: {
  780. title: '收货',
  781. icon: 'fund',
  782. hidden: true,
  783. replaceTab: true,
  784. permission: 'B_salesReturnReceiving'
  785. }
  786. },
  787. {
  788. path: 'checking/:sn/:buyerSn',
  789. name: 'salesReturnCheck',
  790. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/checking.vue'),
  791. meta: {
  792. title: '品检',
  793. icon: 'fund',
  794. hidden: true,
  795. replaceTab: true,
  796. permission: 'B_salesReturnCheck'
  797. }
  798. }
  799. ]
  800. },
  801. {
  802. path: '/salesReturnManagement/returnConfirmation',
  803. redirect: '/salesReturnManagement/returnConfirmation/list',
  804. name: 'returnConfirmation',
  805. component: BlankLayout,
  806. meta: {
  807. title: '销售退货确认',
  808. icon: 'vertical-align-top',
  809. permission: 'M_returnConfirmationList'
  810. },
  811. hideChildrenInMenu: true,
  812. children: [
  813. {
  814. path: 'list',
  815. name: 'returnConfirmationList',
  816. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnConfirmation/list.vue'),
  817. meta: {
  818. title: '销售退货确认列表',
  819. icon: 'vertical-align-top',
  820. hidden: true,
  821. permission: 'M_returnConfirmationList'
  822. }
  823. }
  824. ]
  825. },
  826. {
  827. path: '/salesReturnManagement/returnSchedule',
  828. redirect: '/salesReturnManagement/returnSchedule/list',
  829. name: 'returnSchedule',
  830. component: BlankLayout,
  831. meta: {
  832. title: '退货一览表',
  833. icon: 'vertical-align-top',
  834. permission: 'M_returnScheduleList'
  835. },
  836. hideChildrenInMenu: true,
  837. children: [
  838. {
  839. path: 'list',
  840. name: 'returnScheduleList',
  841. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/returnSchedule/list.vue'),
  842. meta: {
  843. title: '退货一览表',
  844. icon: 'vertical-align-top',
  845. hidden: true,
  846. permission: 'M_returnScheduleList'
  847. }
  848. }
  849. ]
  850. }
  851. ]
  852. },
  853. // 采购管理
  854. {
  855. path: '/purchasingManagement',
  856. redirect: '/purchasingManagement/purchaseOrder',
  857. component: PageView,
  858. meta: {
  859. title: '采购管理',
  860. icon: 'money-collect',
  861. permission: 'M_purchasingManagement'
  862. },
  863. children: [
  864. {
  865. path: '/purchasingManagement/bulkWarehousingOrder',
  866. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  867. name: 'bulkWarehousingOrder',
  868. component: BlankLayout,
  869. meta: {
  870. title: '散件入库',
  871. icon: 'gold',
  872. permission: 'M_bulkWarehousingOrderList'
  873. },
  874. hideChildrenInMenu: true,
  875. children: [
  876. {
  877. path: 'list',
  878. name: 'bulkWarehousingOrderList',
  879. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  880. meta: {
  881. title: '散件入库单列表',
  882. icon: 'gold',
  883. hidden: true,
  884. permission: 'M_bulkWarehousingOrderList'
  885. }
  886. },
  887. {
  888. path: 'add/:id/:sn',
  889. name: 'bulkWarehousingOrderAdd',
  890. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  891. meta: {
  892. title: '新增散件入库单',
  893. icon: 'gold',
  894. hidden: true,
  895. permission: 'B_sparePartsEdit'
  896. }
  897. },
  898. {
  899. path: 'edit/:id/:sn',
  900. name: 'bulkWarehousingOrderEdit',
  901. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  902. meta: {
  903. title: '编辑散件入库单',
  904. icon: 'gold',
  905. hidden: true,
  906. permission: 'B_sparePartsEdit'
  907. }
  908. }
  909. ]
  910. },
  911. {
  912. path: '/purchasingManagement/purchaseReturn',
  913. redirect: '/purchasingManagement/purchaseReturn/list',
  914. name: 'purchaseReturn',
  915. component: BlankLayout,
  916. meta: {
  917. title: '采购退货',
  918. icon: 'gold',
  919. permission: 'M_purchaseReturn'
  920. },
  921. hideChildrenInMenu: true,
  922. children: [
  923. {
  924. path: 'list',
  925. name: 'purchaseReturnList',
  926. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  927. meta: {
  928. title: '采购退货',
  929. icon: 'gold',
  930. hidden: true,
  931. permission: 'M_purchaseReturnList'
  932. }
  933. },
  934. {
  935. path: 'add',
  936. name: 'purchaseReturnAdd',
  937. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  938. meta: {
  939. title: '新增采购退货',
  940. icon: 'gold',
  941. hidden: true,
  942. permission: 'B_purchaseReturnEdit'
  943. }
  944. },
  945. {
  946. path: 'edit',
  947. name: 'purchaseReturnEdit',
  948. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  949. meta: {
  950. title: '编辑采购退货(不抓单)',
  951. icon: 'gold',
  952. hidden: true,
  953. permission: 'B_purchaseReturnEdit'
  954. }
  955. },
  956. {
  957. path: 'editGrab',
  958. name: 'purchaseReturnEditGrab',
  959. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  960. meta: {
  961. title: '编辑采购退货(抓单)',
  962. icon: 'gold',
  963. hidden: true,
  964. permission: 'B_purchaseReturnEdit'
  965. }
  966. }
  967. ]
  968. }
  969. ]
  970. },
  971. // 财务管理
  972. {
  973. path: '/financialManagement',
  974. redirect: '/financialManagement/warehousingConfirmation',
  975. component: PageView,
  976. meta: {
  977. title: '财务管理',
  978. icon: 'property-safety',
  979. permission: 'M_financialManagement'
  980. },
  981. children: [
  982. {
  983. path: '/financialManagement/warehousingConfirmation',
  984. redirect: '/financialManagement/warehousingConfirmation/list',
  985. name: 'warehousingConfirmation',
  986. component: BlankLayout,
  987. meta: {
  988. title: '入库确认',
  989. icon: 'vertical-align-bottom',
  990. permission: 'M_warehousingConfirmationList'
  991. },
  992. hideChildrenInMenu: true,
  993. children: [
  994. {
  995. path: 'list',
  996. name: 'warehousingConfirmationList',
  997. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  998. meta: {
  999. title: '入库确认列表',
  1000. icon: 'vertical-align-bottom',
  1001. hidden: true,
  1002. permission: 'M_warehousingConfirmationList'
  1003. }
  1004. }
  1005. ]
  1006. },
  1007. {
  1008. path: '/financialManagement/financialCollection',
  1009. redirect: '/financialManagement/financialCollection/list',
  1010. name: 'financialCollection',
  1011. component: BlankLayout,
  1012. meta: {
  1013. title: '财务收款',
  1014. icon: 'pay-circle',
  1015. permission: 'M_financialCollectionList'
  1016. },
  1017. hideChildrenInMenu: true,
  1018. children: [
  1019. {
  1020. path: 'list',
  1021. name: 'financialCollectionList',
  1022. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1023. meta: {
  1024. title: '财务收款列表',
  1025. icon: 'pay-circle',
  1026. hidden: true,
  1027. permission: 'M_financialCollectionList'
  1028. }
  1029. },
  1030. {
  1031. path: 'detail/:sn',
  1032. name: 'financialCollectionDetail',
  1033. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
  1034. meta: {
  1035. title: '财务收款详情',
  1036. icon: 'monitor',
  1037. hidden: true,
  1038. permission: 'B_fc_detail'
  1039. }
  1040. },
  1041. {
  1042. path: 'edit/:sn',
  1043. name: 'financialCollectionEdit',
  1044. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  1045. meta: {
  1046. title: '编辑财务收款',
  1047. icon: 'monitor',
  1048. hidden: true,
  1049. permission: 'B_fc_edit'
  1050. }
  1051. }
  1052. ]
  1053. },
  1054. {
  1055. path: '/financialManagement/collectionDetailStatic',
  1056. redirect: '/financialManagement/collectionDetailStatic/list',
  1057. name: 'collectionDetailStatic',
  1058. component: BlankLayout,
  1059. meta: {
  1060. title: '财务收款明细统计',
  1061. icon: 'vertical-align-top',
  1062. permission: 'M_FC_Details_list'
  1063. },
  1064. hideChildrenInMenu: true,
  1065. children: [
  1066. {
  1067. path: 'list',
  1068. name: 'collectionDetailStaticList',
  1069. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
  1070. meta: {
  1071. title: '财务收款明细统计列表',
  1072. icon: 'vertical-align-top',
  1073. hidden: true,
  1074. permission: 'M_FC_Details_list'
  1075. }
  1076. }
  1077. ]
  1078. }
  1079. ]
  1080. },
  1081. // 费用报销
  1082. {
  1083. path: '/expenseManagement',
  1084. redirect: '/expenseManagement/expenseReimbursement',
  1085. component: PageView,
  1086. meta: {
  1087. title: '费用报销',
  1088. icon: 'account-book',
  1089. permission: 'M_expenseManagement'
  1090. },
  1091. children: [
  1092. {
  1093. path: '/expenseManagement/expenseReimbursement',
  1094. redirect: '/expenseManagement/expenseReimbursement/list',
  1095. name: 'expenseReimbursement',
  1096. component: BlankLayout,
  1097. meta: {
  1098. title: '费用报销单',
  1099. icon: 'monitor',
  1100. permission: 'M_expenseReimbursementList'
  1101. },
  1102. hideChildrenInMenu: true,
  1103. children: [
  1104. {
  1105. path: 'list',
  1106. name: 'expenseReimbursementList',
  1107. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  1108. meta: {
  1109. title: '费用报销单列表',
  1110. icon: 'monitor',
  1111. hidden: true,
  1112. permission: 'M_expenseReimbursementList'
  1113. }
  1114. },
  1115. {
  1116. path: 'detail/:sn',
  1117. name: 'expenseReimbursementListDetail',
  1118. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  1119. meta: {
  1120. title: '费用报销单详情',
  1121. icon: 'monitor',
  1122. hidden: true,
  1123. permission: 'B_eRdetail'
  1124. }
  1125. },
  1126. {
  1127. path: 'edit/:sn',
  1128. name: 'expenseReimbursementEdit',
  1129. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1130. meta: {
  1131. title: '编辑费用报销单',
  1132. icon: 'monitor',
  1133. hidden: true,
  1134. permission: 'B_ERtEdit'
  1135. }
  1136. }
  1137. ]
  1138. },
  1139. {
  1140. path: '/expenseManagement/expenseReimbursementDetail',
  1141. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  1142. name: 'expenseReimbursementDetail',
  1143. component: BlankLayout,
  1144. meta: {
  1145. title: '费用报销明细统计',
  1146. icon: 'audit',
  1147. permission: 'M_expenseReimbursementDetailList'
  1148. },
  1149. hideChildrenInMenu: true,
  1150. children: [
  1151. {
  1152. path: 'list',
  1153. name: 'expenseReimbursementDetailList',
  1154. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  1155. meta: {
  1156. title: '费用报销明细统计列表',
  1157. icon: 'audit',
  1158. hidden: true,
  1159. permission: 'M_expenseReimbursementDetailList'
  1160. }
  1161. }
  1162. ]
  1163. }
  1164. ]
  1165. },
  1166. // 库存管理
  1167. {
  1168. path: '/inventoryManagement',
  1169. redirect: '/inventoryManagement/inventoryQuery',
  1170. component: PageView,
  1171. meta: {
  1172. title: '库存管理',
  1173. icon: 'shop',
  1174. permission: 'M_inventoryManagement'
  1175. },
  1176. children: [
  1177. {
  1178. path: '/inventoryManagement/inventoryQuery',
  1179. redirect: '/inventoryManagement/inventoryQuery/list',
  1180. name: 'inventoryQuery',
  1181. component: BlankLayout,
  1182. meta: {
  1183. title: '库存查询',
  1184. icon: 'monitor',
  1185. permission: 'M_inventoryQueryList'
  1186. },
  1187. hideChildrenInMenu: true,
  1188. children: [
  1189. {
  1190. path: 'list',
  1191. name: 'inventoryQueryList',
  1192. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1193. meta: {
  1194. title: '库存列表',
  1195. icon: 'monitor',
  1196. hidden: true,
  1197. permission: 'M_inventoryQueryList'
  1198. }
  1199. },
  1200. {
  1201. path: 'warehouseDetail/:sn/:warehouseSn',
  1202. name: 'inventoryQueryWarehouseDetail',
  1203. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1204. meta: {
  1205. title: '出入库明细',
  1206. icon: 'monitor',
  1207. replaceTab: true,
  1208. hidden: true,
  1209. permission: 'B_inventoryQuery_rkDetail'
  1210. }
  1211. }
  1212. ]
  1213. },
  1214. {
  1215. path: '/inventoryManagement/inventoryCheck',
  1216. redirect: '/inventoryManagement/inventoryCheck/list/0',
  1217. name: 'inventoryCheck',
  1218. component: BlankLayout,
  1219. meta: {
  1220. title: '库存盘点',
  1221. icon: 'monitor',
  1222. permission: 'M_inventoryCheckList'
  1223. },
  1224. hideChildrenInMenu: true,
  1225. children: [
  1226. {
  1227. path: 'list/:type',
  1228. name: 'inventoryCheckList',
  1229. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  1230. meta: {
  1231. title: '库存盘点列表',
  1232. icon: 'monitor',
  1233. hidden: true,
  1234. permission: 'M_inventoryCheckList'
  1235. }
  1236. },
  1237. {
  1238. path: 'detail/:sn',
  1239. name: 'inventoryCheckDetail',
  1240. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  1241. meta: {
  1242. title: '库存盘点详情',
  1243. icon: 'monitor',
  1244. hidden: true,
  1245. replaceTab: true,
  1246. permission: 'B_inventoryCheckDetail'
  1247. }
  1248. }
  1249. ]
  1250. },
  1251. {
  1252. path: '/inventoryManagement/makeInventory',
  1253. redirect: '/inventoryManagement/makeInventory/list',
  1254. name: 'makeInventory',
  1255. component: BlankLayout,
  1256. meta: {
  1257. title: '盘点人盘点',
  1258. icon: 'monitor',
  1259. permission: 'M_inventoryMakeInventoryList'
  1260. },
  1261. hideChildrenInMenu: true,
  1262. children: [
  1263. {
  1264. path: 'list',
  1265. name: 'makeInventoryList',
  1266. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  1267. meta: {
  1268. title: '盘点人盘点列表',
  1269. icon: 'monitor',
  1270. hidden: true,
  1271. permission: 'M_inventoryMakeInventoryList'
  1272. }
  1273. },
  1274. {
  1275. path: 'check/:sn',
  1276. name: 'makeInventoryCheck',
  1277. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1278. meta: {
  1279. title: '盘点人盘点',
  1280. icon: 'monitor',
  1281. hidden: true,
  1282. replaceTab: true,
  1283. permission: 'B_inventoryMakeInventoryCheck'
  1284. }
  1285. }
  1286. ]
  1287. },
  1288. {
  1289. path: '/inventoryManagement/supervisionDisk',
  1290. redirect: '/inventoryManagement/supervisionDisk/list',
  1291. name: 'supervisionDisk',
  1292. component: BlankLayout,
  1293. meta: {
  1294. title: '监盘人盘点',
  1295. icon: 'monitor',
  1296. permission: 'M_supervisionDiskList'
  1297. },
  1298. hideChildrenInMenu: true,
  1299. children: [
  1300. {
  1301. path: 'list',
  1302. name: 'supervisionDiskList',
  1303. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1304. meta: {
  1305. title: '监盘人盘点列表',
  1306. icon: 'monitor',
  1307. hidden: true,
  1308. permission: 'M_supervisionDiskList'
  1309. }
  1310. },
  1311. {
  1312. path: 'check/:sn',
  1313. name: 'supervisionDiskCheck',
  1314. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1315. meta: {
  1316. title: '监盘人监盘',
  1317. icon: 'monitor',
  1318. replaceTab: true,
  1319. hidden: true,
  1320. permission: 'B_supervisionDiskCheck'
  1321. }
  1322. }
  1323. ]
  1324. },
  1325. {
  1326. path: '/inventoryManagement/inventoryConfirmation',
  1327. redirect: '/inventoryManagement/inventoryConfirmation/list',
  1328. name: 'inventoryConfirmation',
  1329. component: BlankLayout,
  1330. meta: {
  1331. title: '盘点确认',
  1332. icon: 'monitor',
  1333. permission: 'M_inventoryConfirmationList'
  1334. },
  1335. hideChildrenInMenu: true,
  1336. children: [
  1337. {
  1338. path: 'list',
  1339. name: 'inventoryConfirmationList',
  1340. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/list.vue'),
  1341. meta: {
  1342. title: '盘点确认列表',
  1343. icon: 'monitor',
  1344. hidden: true,
  1345. permission: 'M_inventoryConfirmationList'
  1346. }
  1347. },
  1348. {
  1349. path: 'detail/:sn',
  1350. name: 'inventoryConfirmationDetail',
  1351. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/detail.vue'),
  1352. meta: {
  1353. title: '盘点确认详情',
  1354. icon: 'monitor',
  1355. hidden: true,
  1356. permission: 'B_inventoryConfirmationDetail'
  1357. }
  1358. }
  1359. ]
  1360. },
  1361. {
  1362. path: '/inventoryManagement/inventoryWarning',
  1363. redirect: '/inventoryManagement/inventoryWarning/list',
  1364. name: 'inventoryWarning',
  1365. component: BlankLayout,
  1366. meta: {
  1367. title: '库存预警',
  1368. icon: 'monitor',
  1369. permission: 'M_inventoryWarningList'
  1370. },
  1371. hideChildrenInMenu: true,
  1372. children: [
  1373. {
  1374. path: 'list',
  1375. name: 'inventoryWarningList',
  1376. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1377. meta: {
  1378. title: '库存预警列表',
  1379. icon: 'alert',
  1380. hidden: true,
  1381. permission: 'M_inventoryWarningList'
  1382. }
  1383. }
  1384. ]
  1385. },
  1386. {
  1387. path: '/inventoryManagement/intelligentReplenishment',
  1388. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1389. name: 'intelligentReplenishment',
  1390. component: BlankLayout,
  1391. meta: {
  1392. title: '智能补货',
  1393. icon: 'monitor',
  1394. permission: 'M_intelligentReplenishmentList'
  1395. },
  1396. hideChildrenInMenu: true,
  1397. children: [
  1398. {
  1399. path: 'list',
  1400. name: 'intelligentReplenishmentList',
  1401. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1402. meta: {
  1403. title: '智能补货列表',
  1404. icon: 'monitor',
  1405. hidden: true,
  1406. permission: 'M_intelligentReplenishmentList'
  1407. }
  1408. },
  1409. {
  1410. path: 'add/:sn',
  1411. name: 'intelligentReplenishmentAdd',
  1412. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1413. meta: {
  1414. title: '新增智能补货',
  1415. icon: 'monitor',
  1416. hidden: true,
  1417. permission: 'B_intelligentReplenishment_edit'
  1418. }
  1419. },
  1420. {
  1421. path: 'edit/:sn',
  1422. name: 'intelligentReplenishmentEdit',
  1423. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1424. meta: {
  1425. title: '编辑智能补货',
  1426. icon: 'monitor',
  1427. hidden: true,
  1428. permission: 'B_intelligentReplenishment_edit'
  1429. }
  1430. },
  1431. {
  1432. path: 'set',
  1433. name: 'intelligentReplenishmentSet',
  1434. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1435. meta: {
  1436. title: '基础信息设置',
  1437. icon: 'monitor',
  1438. permission: 'B_intelligentReplenishment_set',
  1439. replaceTab: true,
  1440. hidden: true
  1441. }
  1442. },
  1443. {
  1444. path: 'import',
  1445. name: 'intelligentReplenishmentImport',
  1446. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1447. meta: {
  1448. title: '确认导入',
  1449. icon: 'monitor',
  1450. replaceTab: true,
  1451. hidden: true
  1452. }
  1453. }
  1454. ]
  1455. }
  1456. ]
  1457. },
  1458. // 调拨管理
  1459. {
  1460. path: '/allocationManagement',
  1461. redirect: '/allocationManagement/transferOut',
  1462. component: PageView,
  1463. meta: {
  1464. title: '调拨管理',
  1465. icon: 'cluster',
  1466. permission: 'M_allocationManagement'
  1467. },
  1468. children: [
  1469. {
  1470. path: '/allocationManagement/transferOut',
  1471. redirect: '/allocationManagement/transferOut/list',
  1472. name: 'transferOut',
  1473. component: BlankLayout,
  1474. meta: {
  1475. title: '调拨列表',
  1476. icon: 'pull-request',
  1477. permission: 'M_transferOutList'
  1478. },
  1479. hideChildrenInMenu: true,
  1480. children: [
  1481. {
  1482. path: 'list',
  1483. name: 'transferOutList',
  1484. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1485. meta: {
  1486. title: '调拨列表',
  1487. icon: 'pull-request',
  1488. hidden: true,
  1489. permission: 'M_transferOutList'
  1490. }
  1491. },
  1492. {
  1493. path: 'add/:sn/:dealerLevel',
  1494. name: 'transferOutAdd',
  1495. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1496. meta: {
  1497. title: '新增调拨单',
  1498. icon: 'pull-request',
  1499. hidden: true,
  1500. permission: 'M_transferOut_edit'
  1501. }
  1502. },
  1503. {
  1504. path: 'edit/:sn/:dealerLevel',
  1505. name: 'transferOutEdit',
  1506. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1507. meta: {
  1508. title: '编辑调拨单',
  1509. icon: 'pull-request',
  1510. hidden: true,
  1511. permission: 'M_transferOut_edit'
  1512. }
  1513. },
  1514. {
  1515. path: 'detail/:sn',
  1516. name: 'transferOutDetail',
  1517. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1518. meta: {
  1519. title: '调拨单详情',
  1520. icon: 'pull-request',
  1521. hidden: true,
  1522. replaceTab: true,
  1523. permission: 'M_transferOut_detail'
  1524. }
  1525. }
  1526. ]
  1527. },
  1528. {
  1529. path: '/allocationManagement/transfersPrint',
  1530. redirect: '/allocationManagement/transfersPrint/list',
  1531. name: 'transfersPrint',
  1532. component: BlankLayout,
  1533. meta: {
  1534. title: '调拨打印',
  1535. icon: 'pull-request',
  1536. permission: 'M_transfersPrintList'
  1537. },
  1538. hideChildrenInMenu: true,
  1539. children: [
  1540. {
  1541. path: 'list',
  1542. name: 'transfersPrintList',
  1543. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1544. meta: {
  1545. title: '调拨打印',
  1546. icon: 'pull-request',
  1547. hidden: true,
  1548. permission: 'M_transfersPrintList'
  1549. }
  1550. }
  1551. ]
  1552. },
  1553. {
  1554. path: '/allocationManagement/matchSendOutOrder',
  1555. redirect: '/allocationManagement/matchSendOutOrder/list',
  1556. name: 'matchSendOutOrderAllocation',
  1557. component: BlankLayout,
  1558. meta: {
  1559. title: '调拨发货对单',
  1560. icon: 'vertical-align-bottom',
  1561. permission: 'M_matchSendOutOrderAllocationList'
  1562. },
  1563. hideChildrenInMenu: true,
  1564. children: [
  1565. {
  1566. path: 'list',
  1567. name: 'matchSendOutOrderAllocationList',
  1568. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1569. meta: {
  1570. title: '调拨发货对单',
  1571. icon: 'vertical-align-bottom',
  1572. hidden: true,
  1573. permission: 'M_matchSendOutOrderAllocationList'
  1574. }
  1575. }
  1576. ]
  1577. },
  1578. {
  1579. path: '/allocationManagement/transferReturn',
  1580. redirect: '/allocationManagement/transferReturn/list',
  1581. name: 'transferReturn',
  1582. component: BlankLayout,
  1583. meta: {
  1584. title: '调拨退货列表',
  1585. icon: 'pull-request',
  1586. permission: 'M_transferReturnList'
  1587. },
  1588. hideChildrenInMenu: true,
  1589. children: [
  1590. {
  1591. path: 'list',
  1592. name: 'transferReturnList',
  1593. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1594. meta: {
  1595. title: '调拨退货列表',
  1596. icon: 'pull-request',
  1597. hidden: true,
  1598. permission: 'M_transferReturnList'
  1599. }
  1600. },
  1601. {
  1602. path: 'editGrap/:sn/:targetType',
  1603. name: 'transferReturnGrpEdit',
  1604. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1605. meta: {
  1606. title: '编辑调拨退货单(抓单)',
  1607. icon: 'pull-request',
  1608. hidden: true,
  1609. permission: 'B_transferReturnEdit'
  1610. }
  1611. },
  1612. {
  1613. path: 'edit/:sn/:targetType/:dealerLevel',
  1614. name: 'transferReturnEdit',
  1615. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1616. meta: {
  1617. title: '编辑调拨退货单(不抓单)',
  1618. icon: 'pull-request',
  1619. hidden: true,
  1620. permission: 'B_transferReturnEdit'
  1621. }
  1622. },
  1623. {
  1624. path: 'detail/:sn',
  1625. name: 'transferReturnDetail',
  1626. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1627. meta: {
  1628. title: '调拨退货单详情',
  1629. icon: 'pull-request',
  1630. replaceTab: true,
  1631. hidden: true,
  1632. permission: 'M_transferReturnDetail'
  1633. }
  1634. },
  1635. {
  1636. path: 'check/:sn/:grabFlag',
  1637. name: 'transferReturnCheck',
  1638. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1639. meta: {
  1640. title: '调拨退货品检',
  1641. icon: 'fund',
  1642. replaceTab: true,
  1643. hidden: true,
  1644. permission: 'M_transferReturnCheck'
  1645. }
  1646. }
  1647. ]
  1648. },
  1649. {
  1650. path: '/allocationManagement/allocateReturnConfirmation',
  1651. redirect: '/allocationManagement/allocateReturnConfirmation/list',
  1652. name: 'allocateReturnConfirmation',
  1653. component: BlankLayout,
  1654. meta: {
  1655. title: '调拨退货确认',
  1656. icon: 'vertical-align-top',
  1657. permission: 'M_allocateReturnConfirmationList'
  1658. },
  1659. hideChildrenInMenu: true,
  1660. children: [
  1661. {
  1662. path: 'list',
  1663. name: 'allocateReturnConfirmationList',
  1664. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
  1665. meta: {
  1666. title: '调拨退货确认列表',
  1667. icon: 'vertical-align-top',
  1668. hidden: true,
  1669. permission: 'M_allocateReturnConfirmationList'
  1670. }
  1671. }
  1672. ]
  1673. },
  1674. {
  1675. path: '/allocationManagement/allocationList',
  1676. redirect: '/allocationManagement/allocationList/list',
  1677. name: 'allocationList',
  1678. component: BlankLayout,
  1679. meta: {
  1680. title: '调拨一览表',
  1681. icon: 'vertical-align-top',
  1682. permission: 'M_allocationList'
  1683. },
  1684. hideChildrenInMenu: true,
  1685. children: [
  1686. {
  1687. path: 'list',
  1688. name: 'allocationMainList',
  1689. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
  1690. meta: {
  1691. title: '调拨一览表',
  1692. icon: 'vertical-align-top',
  1693. hidden: true,
  1694. permission: 'M_allocationList'
  1695. }
  1696. }
  1697. ]
  1698. }
  1699. ]
  1700. },
  1701. // 报表
  1702. {
  1703. path: '/reportData',
  1704. redirect: '/reportData/salesOrderTotal',
  1705. component: PageView,
  1706. meta: {
  1707. title: '报表',
  1708. icon: 'project',
  1709. permission: 'M_reportData'
  1710. },
  1711. children: [
  1712. {
  1713. path: '/reportData/salesOrderTotal',
  1714. redirect: '/reportData/salesOrderTotal/list',
  1715. name: 'salesOrderTotal',
  1716. component: BlankLayout,
  1717. meta: {
  1718. title: '销售(开单统计)',
  1719. icon: 'profile',
  1720. permission: 'M_salesOrderTotalList'
  1721. },
  1722. hideChildrenInMenu: true,
  1723. children: [
  1724. {
  1725. path: 'list',
  1726. name: 'salesOrderTotalList',
  1727. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1728. meta: {
  1729. title: '销售(开单统计)列表',
  1730. icon: 'profile',
  1731. hidden: true,
  1732. permission: 'M_salesOrderTotalList'
  1733. }
  1734. }
  1735. ]
  1736. },
  1737. {
  1738. path: '/reportData/salesDetails',
  1739. redirect: '/reportData/salesDetails/list',
  1740. name: 'salesDetails',
  1741. component: BlankLayout,
  1742. meta: {
  1743. title: '销售明细(下推统计)',
  1744. icon: 'profile',
  1745. permission: 'M_salesDetailsList'
  1746. },
  1747. hideChildrenInMenu: true,
  1748. children: [
  1749. {
  1750. path: 'list',
  1751. name: 'salesDetailsList',
  1752. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1753. meta: {
  1754. title: '销售明细(下推统计)列表',
  1755. icon: 'profile',
  1756. hidden: true,
  1757. permission: 'M_salesDetailsList'
  1758. }
  1759. }
  1760. ]
  1761. },
  1762. {
  1763. path: '/reportData/actualSalesReport',
  1764. redirect: '/reportData/actualSalesReport/list',
  1765. name: 'actualSalesReport',
  1766. component: BlankLayout,
  1767. meta: {
  1768. title: '实售销售报表',
  1769. icon: 'profile',
  1770. permission: 'M_actualSalesReportList'
  1771. },
  1772. hideChildrenInMenu: true,
  1773. children: [
  1774. {
  1775. path: 'list',
  1776. name: 'actualSalesReportList',
  1777. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1778. meta: {
  1779. title: '实售销售列表',
  1780. icon: 'profile',
  1781. hidden: true,
  1782. permission: 'M_actualSalesReportList'
  1783. }
  1784. }
  1785. ]
  1786. },
  1787. {
  1788. path: '/reportData/salesAmountReport',
  1789. redirect: '/reportData/salesAmountReport/list',
  1790. name: 'salesAmountReport',
  1791. component: BlankLayout,
  1792. meta: {
  1793. title: '开单销售报表',
  1794. icon: 'profile',
  1795. permission: 'M_salesAmountReportList'
  1796. },
  1797. hideChildrenInMenu: true,
  1798. children: [{
  1799. path: 'list',
  1800. name: 'salesAmountReportList',
  1801. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1802. meta: {
  1803. title: '开单销售报表列表',
  1804. icon: 'profile',
  1805. hidden: true,
  1806. permission: 'M_salesAmountReportList'
  1807. }
  1808. }]
  1809. },
  1810. {
  1811. path: '/reportData/salesSlipReport',
  1812. redirect: '/reportData/salesSlipReport/list',
  1813. name: 'salesSlipReport',
  1814. component: BlankLayout,
  1815. meta: {
  1816. title: '开单销售单报表',
  1817. icon: 'profile',
  1818. permission: 'M_salesSlipReportList'
  1819. },
  1820. hideChildrenInMenu: true,
  1821. children: [{
  1822. path: 'list',
  1823. name: 'salesSlipReportList',
  1824. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1825. meta: {
  1826. title: '开单销售单报表列表',
  1827. icon: 'profile',
  1828. hidden: true,
  1829. permission: 'M_salesSlipReportList'
  1830. }
  1831. }]
  1832. },
  1833. {
  1834. path: '/reportData/promotionSalesRealTimeReport',
  1835. redirect: '/reportData/promotionSalesRealTimeReport/index',
  1836. name: 'promotionSalesRealTimeReport',
  1837. component: BlankLayout,
  1838. meta: {
  1839. title: '促销销售单报表',
  1840. icon: 'profile',
  1841. permission: 'M_promotionSalesRealTimeReportList'
  1842. },
  1843. hideChildrenInMenu: true,
  1844. children: [
  1845. {
  1846. path: 'index',
  1847. name: 'promotionSalesRealTimeReportIndex',
  1848. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  1849. meta: {
  1850. title: '促销销售单报表',
  1851. icon: 'profile',
  1852. hidden: true,
  1853. permission: 'M_promotionSalesRealTimeReportList'
  1854. }
  1855. }
  1856. ]
  1857. },
  1858. {
  1859. path: '/reportData/tireSalesReport',
  1860. redirect: '/reportData/tireSalesReport/list',
  1861. name: 'tireSalesReport',
  1862. component: BlankLayout,
  1863. meta: {
  1864. title: '轮胎统计报表',
  1865. icon: 'profile',
  1866. permission: 'M_tireSalesReportList'
  1867. },
  1868. hideChildrenInMenu: true,
  1869. children: [
  1870. {
  1871. path: 'list',
  1872. name: 'tireSalesReportIndex',
  1873. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/tireSalesReport/list.vue'),
  1874. meta: {
  1875. title: '轮胎统计报表',
  1876. icon: 'profile',
  1877. hidden: true,
  1878. permission: 'M_tireSalesReportList'
  1879. }
  1880. }
  1881. ]
  1882. },
  1883. {
  1884. path: '/reportData/allocationOrderTotal',
  1885. redirect: '/reportData/allocationOrderTotal/list',
  1886. name: 'allocationOrderTotal',
  1887. component: BlankLayout,
  1888. meta: {
  1889. title: '调拨开单统计',
  1890. icon: 'profile',
  1891. permission: 'M_allocationOrderTotalList'
  1892. },
  1893. hideChildrenInMenu: true,
  1894. children: [
  1895. {
  1896. path: 'list',
  1897. name: 'allocationOrderTotalList',
  1898. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1899. meta: {
  1900. title: '调拨开单列表',
  1901. icon: 'profile',
  1902. hidden: true,
  1903. permission: 'M_allocationOrderTotalList'
  1904. }
  1905. }
  1906. ]
  1907. },
  1908. {
  1909. path: '/reportData/allocationDetails',
  1910. redirect: '/reportData/allocationDetails/list',
  1911. name: 'allocationDetails',
  1912. component: BlankLayout,
  1913. meta: {
  1914. title: '调拨明细',
  1915. icon: 'profile',
  1916. permission: 'M_allocationDetailsList'
  1917. },
  1918. hideChildrenInMenu: true,
  1919. children: [
  1920. {
  1921. path: 'list',
  1922. name: 'allocationDetailsList',
  1923. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1924. meta: {
  1925. title: '调拨明细列表',
  1926. icon: 'profile',
  1927. hidden: true,
  1928. permission: 'M_allocationDetailsList'
  1929. }
  1930. }
  1931. ]
  1932. },
  1933. {
  1934. path: '/reportData/urchaseReturn',
  1935. redirect: '/reportData/urchaseReturn/list',
  1936. name: 'urchaseReturnList',
  1937. component: BlankLayout,
  1938. meta: {
  1939. title: '采购退货单报表',
  1940. icon: 'profile',
  1941. permission: 'M_urchaseReturn'
  1942. },
  1943. hideChildrenInMenu: true,
  1944. children: [
  1945. {
  1946. path: 'list',
  1947. name: 'urchaseReturnList',
  1948. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  1949. meta: {
  1950. title: '采购退货单报表列表',
  1951. icon: 'profile',
  1952. hidden: true,
  1953. permission: 'M_urchaseReturnList'
  1954. }
  1955. }
  1956. ]
  1957. },
  1958. {
  1959. path: '/reportData/urchaseDetailReturn',
  1960. redirect: '/reportData/urchaseDetailReturn/detailList',
  1961. name: 'urchaseDetailReturnList',
  1962. component: BlankLayout,
  1963. meta: {
  1964. title: '采购退货单明细报表',
  1965. icon: 'profile',
  1966. permission: 'M_urchaseDetailReturn'
  1967. },
  1968. hideChildrenInMenu: true,
  1969. children: [
  1970. {
  1971. path: 'detailList',
  1972. name: 'urchaseDetailReturnList',
  1973. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  1974. meta: {
  1975. title: '采购退货单明细报表列表',
  1976. icon: 'profile',
  1977. hidden: true,
  1978. permission: 'M_urchaseDetailReturnList'
  1979. }
  1980. }
  1981. ]
  1982. },
  1983. {
  1984. path: '/reportData/salesReturnsReport',
  1985. redirect: '/reportData/salesReturnsReport/list',
  1986. name: 'salesReturnsReport',
  1987. component: BlankLayout,
  1988. meta: {
  1989. title: '销售退货单报表',
  1990. icon: 'profile',
  1991. permission: 'M_salesReturnsReportList'
  1992. },
  1993. hideChildrenInMenu: true,
  1994. children: [
  1995. {
  1996. path: 'list',
  1997. name: 'salesReturnsReportList',
  1998. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  1999. meta: {
  2000. title: '销售退货单报表列表',
  2001. icon: 'profile',
  2002. hidden: true,
  2003. permission: 'M_salesReturnsReportList'
  2004. }
  2005. }
  2006. ]
  2007. },
  2008. {
  2009. path: '/reportData/salesReturnDetailReport',
  2010. redirect: '/reportData/salesReturnDetailReport/list',
  2011. name: 'salesReturnDetailReport',
  2012. component: BlankLayout,
  2013. meta: {
  2014. title: '销售退货明细报表',
  2015. icon: 'profile',
  2016. permission: 'M_salesReturnDetailReportList'
  2017. },
  2018. hideChildrenInMenu: true,
  2019. children: [{
  2020. path: 'list',
  2021. name: 'salesReturnDetailReportList',
  2022. component: () => import(/* webpackChunkName: "reportData" */
  2023. '@/views/reportData/salesReturnDetailReport/list.vue'),
  2024. meta: {
  2025. title: '销售退货明细报表列表',
  2026. icon: 'profile',
  2027. hidden: true,
  2028. permission: 'M_salesReturnDetailReportList'
  2029. }
  2030. }]
  2031. },
  2032. {
  2033. path: '/reportData/transferReturnReport',
  2034. redirect: '/reportData/transferReturnReport/list',
  2035. name: 'transferReturnReport',
  2036. component: BlankLayout,
  2037. meta: {
  2038. title: '调拨退货单报表',
  2039. icon: 'profile',
  2040. permission: 'M_transferReturnReportList'
  2041. },
  2042. hideChildrenInMenu: true,
  2043. children: [
  2044. {
  2045. path: 'list',
  2046. name: 'transferReturnReportList',
  2047. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  2048. meta: {
  2049. title: '调拨退货单报表列表',
  2050. icon: 'profile',
  2051. hidden: true,
  2052. permission: 'M_transferReturnReportList'
  2053. }
  2054. }
  2055. ]
  2056. },
  2057. {
  2058. path: '/reportData/transferReturnDetailReport',
  2059. redirect: '/reportData/transferReturnDetailReport/list',
  2060. name: 'transferReturnDetailReport',
  2061. component: BlankLayout,
  2062. meta: {
  2063. title: '调拨退货单明细报表',
  2064. icon: 'profile',
  2065. permission: 'M_transferReturnDetailReportList'
  2066. },
  2067. hideChildrenInMenu: true,
  2068. children: [{
  2069. path: 'list',
  2070. name: 'transferReturnDetailReportList',
  2071. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  2072. meta: {
  2073. title: '调拨退货单明细报表列表',
  2074. icon: 'profile',
  2075. hidden: true,
  2076. permission: 'M_transferReturnDetailReportList'
  2077. }
  2078. }]
  2079. },
  2080. {
  2081. path: '/reportData/salesReturnReport',
  2082. redirect: '/reportData/salesReturnReport/list',
  2083. name: 'salesReturnReport',
  2084. component: BlankLayout,
  2085. meta: {
  2086. title: '实售退货报表',
  2087. icon: 'profile',
  2088. permission: 'M_salesReturnReportList'
  2089. },
  2090. hideChildrenInMenu: true,
  2091. children: [
  2092. {
  2093. path: 'list',
  2094. name: 'salesReturnReportList',
  2095. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  2096. meta: {
  2097. title: '实售退货列表',
  2098. icon: 'profile',
  2099. hidden: true,
  2100. permission: 'M_salesReturnReportList'
  2101. }
  2102. }
  2103. ]
  2104. },
  2105. {
  2106. path: '/reportData/billingReturnReport',
  2107. redirect: '/reportData/billingReturnReport/list',
  2108. name: 'billingReturnReport',
  2109. component: BlankLayout,
  2110. meta: {
  2111. title: '开单退货报表',
  2112. icon: 'profile',
  2113. permission: 'M_billingReturnReportList'
  2114. },
  2115. hideChildrenInMenu: true,
  2116. children: [
  2117. {
  2118. path: 'list',
  2119. name: 'billingReturnReportList',
  2120. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  2121. meta: {
  2122. title: '开单退货列表',
  2123. icon: 'profile',
  2124. hidden: true,
  2125. permission: 'M_billingReturnReportList'
  2126. }
  2127. }
  2128. ]
  2129. },
  2130. {
  2131. path: '/reportData/returnSlipReport',
  2132. redirect: '/reportData/returnSlipReport/list',
  2133. name: 'returnSlipReport',
  2134. component: BlankLayout,
  2135. meta: {
  2136. title: '开单退货单报表',
  2137. icon: 'profile',
  2138. permission: 'M_returnSlipReportList'
  2139. },
  2140. hideChildrenInMenu: true,
  2141. children: [{
  2142. path: 'list',
  2143. name: 'returnSlipReportList',
  2144. component: () => import(/* webpackChunkName: "reportData" */
  2145. '@/views/reportData/returnSlipReport/list.vue'),
  2146. meta: {
  2147. title: '开单退货单报表列表',
  2148. icon: 'profile',
  2149. hidden: true,
  2150. permission: 'M_returnSlipReportList'
  2151. }
  2152. }]
  2153. },
  2154. {
  2155. path: '/reportData/billingBackReport',
  2156. redirect: '/reportData/billingBackReport/list',
  2157. name: 'billingBackReport',
  2158. component: BlankLayout,
  2159. meta: {
  2160. title: '开单采退报表',
  2161. icon: 'profile',
  2162. permission: 'M_billingBackReport'
  2163. },
  2164. hideChildrenInMenu: true,
  2165. children: [{
  2166. path: 'list',
  2167. name: 'billingBackReportList',
  2168. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2169. meta: {
  2170. title: '开单采退报表列表',
  2171. icon: 'profile',
  2172. hidden: true,
  2173. permission: 'M_billingBackReportList'
  2174. }
  2175. }]
  2176. },
  2177. {
  2178. path: '/reportData/billingOrderReport',
  2179. redirect: '/reportData/billingOrderReport/list',
  2180. name: 'billingOrderReport',
  2181. component: BlankLayout,
  2182. meta: {
  2183. title: '开单采退单报表',
  2184. icon: 'profile',
  2185. permission: 'M_billingOrderReport'
  2186. },
  2187. hideChildrenInMenu: true,
  2188. children: [{
  2189. path: 'list',
  2190. name: 'billingOrderReportList',
  2191. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2192. meta: {
  2193. title: '开单采退单报表列表',
  2194. icon: 'profile',
  2195. hidden: true,
  2196. permission: 'M_billingOrderReportList'
  2197. }
  2198. }]
  2199. },
  2200. {
  2201. path: '/reportData/hPriceDifferenceDetailReport',
  2202. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2203. name: 'hPriceDifferenceDetailReport',
  2204. component: BlankLayout,
  2205. meta: {
  2206. title: '总部差价明细报表',
  2207. icon: 'profile',
  2208. permission: 'M_hPriceDifferenceDetailReportList'
  2209. },
  2210. hideChildrenInMenu: true,
  2211. children: [
  2212. {
  2213. path: 'list',
  2214. name: 'hPriceDifferenceDetailReportList',
  2215. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2216. meta: {
  2217. title: '总部差价明细列表',
  2218. icon: 'profile',
  2219. hidden: true,
  2220. permission: 'M_hPriceDifferenceDetailReportList'
  2221. }
  2222. }
  2223. ]
  2224. },
  2225. {
  2226. path: '/reportData/priceDifferenceDetailReport',
  2227. redirect: '/reportData/priceDifferenceDetailReport/list',
  2228. name: 'priceDifferenceDetailReport',
  2229. component: BlankLayout,
  2230. meta: {
  2231. title: '差价明细报表',
  2232. icon: 'profile',
  2233. permission: 'M_priceDifferenceDetailReportList'
  2234. },
  2235. hideChildrenInMenu: true,
  2236. children: [
  2237. {
  2238. path: 'list',
  2239. name: 'priceDifferenceDetailReportList',
  2240. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2241. meta: {
  2242. title: '差价明细列表',
  2243. icon: 'profile',
  2244. hidden: true,
  2245. permission: 'M_priceDifferenceDetailReportList'
  2246. }
  2247. }
  2248. ]
  2249. },
  2250. {
  2251. path: '/reportData/regionTypeSalesReport',
  2252. redirect: '/reportData/regionTypeSalesReport/list',
  2253. name: 'regionTypeSalesReport',
  2254. component: BlankLayout,
  2255. meta: {
  2256. title: '各分区品类实售明细',
  2257. icon: 'profile',
  2258. permission: 'M_regionTypeSalesReportList'
  2259. },
  2260. hideChildrenInMenu: true,
  2261. children: [
  2262. {
  2263. path: 'list',
  2264. name: 'regionTypeSalesReportList',
  2265. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2266. meta: {
  2267. title: '各分区品类实售明细',
  2268. icon: 'profile',
  2269. hidden: true,
  2270. permission: 'M_regionTypeSalesReportList'
  2271. }
  2272. }
  2273. ]
  2274. },
  2275. {
  2276. path: '/reportData/warehousingOrder',
  2277. redirect: '/reportData/warehousingOrder/list',
  2278. name: 'warehousingOrder',
  2279. component: BlankLayout,
  2280. meta: {
  2281. title: '入库单报表',
  2282. icon: 'profile',
  2283. permission: 'M_warehousingOrderList'
  2284. },
  2285. hideChildrenInMenu: true,
  2286. children: [
  2287. {
  2288. path: 'list',
  2289. name: 'warehousingOrderList',
  2290. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2291. meta: {
  2292. title: '入库单报表列表',
  2293. icon: 'profile',
  2294. hidden: true,
  2295. permission: 'M_warehousingOrderList'
  2296. }
  2297. }
  2298. ]
  2299. },
  2300. {
  2301. path: '/reportData/warehousingOrderDetail',
  2302. redirect: '/reportData/warehousingOrderDetail/list',
  2303. name: 'warehousingOrderDetail',
  2304. component: BlankLayout,
  2305. meta: {
  2306. title: '入库单明细报表',
  2307. icon: 'profile',
  2308. permission: 'M_warehousingOrderDetailList'
  2309. },
  2310. hideChildrenInMenu: true,
  2311. children: [
  2312. {
  2313. path: 'list',
  2314. name: 'warehousingOrderDetailList',
  2315. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2316. meta: {
  2317. title: '入库单明细报表列表',
  2318. icon: 'profile',
  2319. hidden: true,
  2320. permission: 'M_warehousingOrderDetailList'
  2321. }
  2322. }
  2323. ]
  2324. },
  2325. {
  2326. path: '/reportData/salesPresentation',
  2327. redirect: '/reportData/salesPresentation/list',
  2328. name: 'salesPresentation',
  2329. component: BlankLayout,
  2330. meta: {
  2331. title: '销售交单报表',
  2332. icon: 'profile',
  2333. permission: 'M_salesPresentationList'
  2334. },
  2335. hideChildrenInMenu: true,
  2336. children: [
  2337. {
  2338. path: 'list',
  2339. name: 'salesPresentationList',
  2340. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2341. meta: {
  2342. title: '销售交单报表列表',
  2343. icon: 'profile',
  2344. hidden: true,
  2345. permission: 'M_salesPresentationList'
  2346. }
  2347. }
  2348. ]
  2349. },
  2350. {
  2351. path: '/reportData/allocationPresentation',
  2352. redirect: '/reportData/allocationPresentation/list',
  2353. name: 'allocationPresentation',
  2354. component: BlankLayout,
  2355. meta: {
  2356. title: '调拨交单报表',
  2357. icon: 'profile',
  2358. permission: 'M_allocationPresentationList'
  2359. },
  2360. hideChildrenInMenu: true,
  2361. children: [
  2362. {
  2363. path: 'list',
  2364. name: 'allocationPresentationList',
  2365. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2366. meta: {
  2367. title: '调拨交单报表列表',
  2368. icon: 'profile',
  2369. hidden: true,
  2370. permission: 'M_allocationPresentationList'
  2371. }
  2372. }
  2373. ]
  2374. },
  2375. {
  2376. path: '/reportData/returnGoodsPresentation',
  2377. redirect: '/reportData/returnGoodsPresentation/list',
  2378. name: 'returnGoodsPresentation',
  2379. component: BlankLayout,
  2380. meta: {
  2381. title: '退货交单报表',
  2382. icon: 'profile',
  2383. permission: 'M_returnGoodsPresentationList'
  2384. },
  2385. hideChildrenInMenu: true,
  2386. children: [
  2387. {
  2388. path: 'list',
  2389. name: 'returnGoodsPresentationList',
  2390. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2391. meta: {
  2392. title: '退货交单报表列表',
  2393. icon: 'profile',
  2394. hidden: true,
  2395. permission: 'M_returnGoodsPresentationList'
  2396. }
  2397. }
  2398. ]
  2399. },
  2400. {
  2401. path: '/reportData/expenseAccountBearerReport',
  2402. redirect: '/reportData/expenseAccountBearerReport/list',
  2403. name: 'expenseAccountBearerReport',
  2404. component: BlankLayout,
  2405. meta: {
  2406. title: '费用汇总报表(按承担方)',
  2407. icon: 'profile',
  2408. permission: 'M_expenseAccountBearerReportList'
  2409. },
  2410. hideChildrenInMenu: true,
  2411. children: [
  2412. {
  2413. path: 'list',
  2414. name: 'expenseAccountBearerReportList',
  2415. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2416. meta: {
  2417. title: '费用汇总报表(按承担方)',
  2418. icon: 'profile',
  2419. hidden: true,
  2420. permission: 'M_expenseAccountBearerReportList'
  2421. }
  2422. }
  2423. ]
  2424. },
  2425. {
  2426. path: '/reportData/expenseAccountCategoryReport',
  2427. redirect: '/reportData/expenseAccountCategoryReport/list',
  2428. name: 'expenseAccountCategoryReport',
  2429. component: BlankLayout,
  2430. meta: {
  2431. title: '费用汇总报表(按品类)',
  2432. icon: 'profile',
  2433. permission: 'M_expenseAccountCategoryReportList'
  2434. },
  2435. hideChildrenInMenu: true,
  2436. children: [
  2437. {
  2438. path: 'list',
  2439. name: 'expenseAccountCategoryReportList',
  2440. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2441. meta: {
  2442. title: '费用汇总报表(按品类)',
  2443. icon: 'profile',
  2444. hidden: true,
  2445. permission: 'M_expenseAccountCategoryReportList'
  2446. }
  2447. }
  2448. ]
  2449. },
  2450. {
  2451. path: '/reportData/receivedSendStorageReport',
  2452. redirect: '/reportData/receivedSendStorageReport/index',
  2453. name: 'receivedSendStorageReport',
  2454. component: BlankLayout,
  2455. meta: {
  2456. title: '收发存报表',
  2457. icon: 'profile',
  2458. permission: 'M_receivedSendStorageReport'
  2459. },
  2460. hideChildrenInMenu: true,
  2461. children: [
  2462. {
  2463. path: 'index',
  2464. name: 'receivedSendStorageReportIndex',
  2465. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2466. meta: {
  2467. title: '收发存报表',
  2468. icon: 'profile',
  2469. hidden: true,
  2470. permission: 'M_receivedSendStorageReportList'
  2471. }
  2472. }
  2473. ]
  2474. },
  2475. {
  2476. path: '/productRebateReport/index',
  2477. redirect: '/productRebateReport/index/list',
  2478. name: 'productRebateReportList',
  2479. component: BlankLayout,
  2480. meta: {
  2481. title: '产品返利明细表',
  2482. icon: 'profile',
  2483. permission: 'M_productRebateReportList'
  2484. },
  2485. hideChildrenInMenu: true,
  2486. children: [
  2487. {
  2488. path: 'list',
  2489. name: 'productRebateReportList',
  2490. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2491. meta: {
  2492. title: '产品返利明细表',
  2493. icon: 'profile',
  2494. hidden: true,
  2495. permission: 'M_productRebateReportList'
  2496. }
  2497. }
  2498. ]
  2499. }
  2500. // {
  2501. // path: '/reportData/allCountryCostReport',
  2502. // redirect: '/reportData/allCountryCostReport/list',
  2503. // name: 'allCountryCostReport',
  2504. // component: BlankLayout,
  2505. // meta: {
  2506. // title: '全国费用统计报表',
  2507. // icon: 'profile'
  2508. // // permission: 'M_nationalCustomerCostStatisticsList'
  2509. // },
  2510. // hideChildrenInMenu: true,
  2511. // children: [
  2512. // {
  2513. // path: 'list',
  2514. // name: 'allCountryCostReportList',
  2515. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2516. // meta: {
  2517. // title: '全国费用统计报表',
  2518. // icon: 'profile',
  2519. // hidden: true
  2520. // // permission: 'M_nationalCustomerCostStatisticsList'
  2521. // }
  2522. // }
  2523. // ]
  2524. // }
  2525. ]
  2526. },
  2527. // 数据导出
  2528. {
  2529. path: '/dataExport',
  2530. redirect: '/dataExport/exportSales',
  2531. component: PageView,
  2532. meta: {
  2533. title: '数据导出',
  2534. icon: 'database',
  2535. permission: 'M_dataExport'
  2536. },
  2537. children: [
  2538. {
  2539. path: '/dataExport/exportSales',
  2540. redirect: '/dataExport/exportSales/list',
  2541. name: 'exportSales',
  2542. component: BlankLayout,
  2543. meta: {
  2544. title: '导出销售',
  2545. icon: 'gold',
  2546. permission: 'M_exportSales'
  2547. },
  2548. hideChildrenInMenu: true,
  2549. children: [
  2550. {
  2551. path: 'list',
  2552. name: 'exportSalesList',
  2553. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2554. meta: {
  2555. title: '导出销售',
  2556. icon: 'gold',
  2557. hidden: true,
  2558. permission: 'M_exportSales'
  2559. }
  2560. }
  2561. ]
  2562. },
  2563. {
  2564. path: '/dataExport/exportCheck',
  2565. redirect: '/dataExport/exportCheck/list',
  2566. name: 'exportCheck',
  2567. component: BlankLayout,
  2568. meta: {
  2569. title: '导出盘点',
  2570. icon: 'gold',
  2571. permission: 'M_exportCheck'
  2572. },
  2573. hideChildrenInMenu: true,
  2574. children: [
  2575. {
  2576. path: 'list',
  2577. name: 'exportCheckList',
  2578. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2579. meta: {
  2580. title: '导出盘点',
  2581. icon: 'gold',
  2582. hidden: true,
  2583. permission: 'M_exportCheck'
  2584. }
  2585. }
  2586. ]
  2587. }
  2588. ]
  2589. },
  2590. // 产品管理
  2591. {
  2592. path: '/productManagement',
  2593. redirect: '/productManagement/productInfo',
  2594. component: PageView,
  2595. meta: {
  2596. title: '产品管理',
  2597. icon: 'shopping',
  2598. permission: 'M_productManagement'
  2599. },
  2600. children: [
  2601. {
  2602. path: '/productManagement/productInfo',
  2603. redirect: '/productManagement/productInfo/list',
  2604. name: 'productInfo',
  2605. component: BlankLayout,
  2606. meta: {
  2607. title: '产品列表',
  2608. icon: 'gold',
  2609. permission: 'M_productInfoList'
  2610. },
  2611. hideChildrenInMenu: true,
  2612. children: [
  2613. {
  2614. path: 'list',
  2615. name: 'productInfoList',
  2616. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2617. meta: {
  2618. title: '产品列表',
  2619. icon: 'gold',
  2620. hidden: true,
  2621. permission: 'M_productInfoList'
  2622. }
  2623. },
  2624. {
  2625. path: 'add',
  2626. name: 'productInfoAdd',
  2627. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2628. meta: {
  2629. title: '新增产品',
  2630. icon: 'gold',
  2631. hidden: true
  2632. // permission: 'B_goodsManage_edit'
  2633. }
  2634. },
  2635. {
  2636. path: 'edit/:id/:sn',
  2637. name: 'productInfoEdit',
  2638. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2639. meta: {
  2640. title: '编辑产品',
  2641. icon: 'gold',
  2642. hidden: true
  2643. // permission: 'B_goodsManage_edit'
  2644. }
  2645. }
  2646. ]
  2647. },
  2648. {
  2649. path: '/productManagement/productPricing',
  2650. redirect: '/productManagement/productPricing/list',
  2651. name: 'productPricing',
  2652. component: BlankLayout,
  2653. meta: {
  2654. title: '产品定价',
  2655. icon: 'transaction',
  2656. permission: 'M_productPricingList'
  2657. },
  2658. hideChildrenInMenu: true,
  2659. children: [
  2660. {
  2661. path: 'list',
  2662. name: 'productPricingList',
  2663. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2664. meta: {
  2665. title: '产品定价列表',
  2666. icon: 'transaction',
  2667. hidden: true,
  2668. permission: 'M_productPricingList'
  2669. }
  2670. }
  2671. ]
  2672. },
  2673. {
  2674. path: '/productManagement/productLaunchAudit',
  2675. redirect: '/productManagement/productLaunchAudit/list',
  2676. name: 'productLaunchAudit',
  2677. component: BlankLayout,
  2678. meta: {
  2679. title: '产品上线审核',
  2680. icon: 'rise',
  2681. permission: 'M_productLaunchAuditList'
  2682. },
  2683. hideChildrenInMenu: true,
  2684. children: [
  2685. {
  2686. path: 'list',
  2687. name: 'productLaunchAuditList',
  2688. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2689. meta: {
  2690. title: '产品上线审核列表',
  2691. icon: 'rise',
  2692. hidden: true,
  2693. permission: 'M_productLaunchAuditList'
  2694. }
  2695. }
  2696. ]
  2697. },
  2698. {
  2699. path: '/productManagement/newProduct',
  2700. redirect: '/productManagement/newProduct/list/onlineInfo/1',
  2701. name: 'productLaunchInfo',
  2702. component: BlankLayout,
  2703. meta: {
  2704. title: '产品上线信息',
  2705. icon: 'rise',
  2706. permission: 'M_productLaunchInfoList'
  2707. },
  2708. hideChildrenInMenu: true,
  2709. children: [
  2710. {
  2711. path: 'list/:type/:onlineFalg',
  2712. name: 'productLaunchInfoList',
  2713. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list.vue'),
  2714. meta: {
  2715. title: '产品上线信息列表',
  2716. icon: 'rise',
  2717. hidden: true,
  2718. permission: 'M_productLaunchInfoList'
  2719. }
  2720. }
  2721. ]
  2722. },
  2723. {
  2724. path: '/productManagement/productOfflineAudit',
  2725. redirect: '/productManagement/productOfflineAudit/list',
  2726. name: 'productOfflineAudit',
  2727. component: BlankLayout,
  2728. meta: {
  2729. title: '产品下线审核',
  2730. icon: 'fall',
  2731. permission: 'M_productOfflineAuditList'
  2732. },
  2733. hideChildrenInMenu: true,
  2734. children: [
  2735. {
  2736. path: 'list',
  2737. name: 'productOfflineAuditList',
  2738. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2739. meta: {
  2740. title: '产品下线审核列表',
  2741. icon: 'fall',
  2742. hidden: true,
  2743. permission: 'M_productOfflineAuditList'
  2744. }
  2745. }
  2746. ]
  2747. },
  2748. {
  2749. path: '/productManagement/productNotOnline',
  2750. redirect: '/productManagement/productNotOnline/list',
  2751. name: 'productNotOnline',
  2752. component: BlankLayout,
  2753. meta: {
  2754. title: '产品状态信息',
  2755. icon: 'fall',
  2756. permission: 'M_productNotOnlineList'
  2757. },
  2758. hideChildrenInMenu: true,
  2759. children: [
  2760. {
  2761. path: 'list',
  2762. name: 'productNotOnlineList',
  2763. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
  2764. meta: {
  2765. title: '产品状态信息列表',
  2766. icon: 'fall',
  2767. hidden: true,
  2768. permission: 'M_productNotOnlineList'
  2769. }
  2770. }
  2771. ]
  2772. },
  2773. {
  2774. path: '/productManagement/priceChangeRecord',
  2775. redirect: '/productManagement/priceChangeRecord/list',
  2776. name: 'priceChangeRecord',
  2777. component: BlankLayout,
  2778. meta: {
  2779. title: '价格变更记录',
  2780. icon: 'profile',
  2781. permission: 'M_priceChangeRecordList'
  2782. },
  2783. hideChildrenInMenu: true,
  2784. children: [
  2785. {
  2786. path: 'list',
  2787. name: 'priceChangeRecordList',
  2788. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2789. meta: {
  2790. title: '价格变更记录列表',
  2791. icon: 'profile',
  2792. hidden: true,
  2793. permission: 'M_priceChangeRecordList'
  2794. }
  2795. }
  2796. ]
  2797. },
  2798. {
  2799. path: '/productManagement/productUniversal',
  2800. redirect: '/productManagement/productUniversal/list',
  2801. name: 'productUniversal',
  2802. component: BlankLayout,
  2803. meta: {
  2804. title: '通用产品管理',
  2805. icon: 'deployment-unit',
  2806. permission: 'M_productUniversalList'
  2807. },
  2808. hideChildrenInMenu: true,
  2809. children: [
  2810. {
  2811. path: 'list',
  2812. name: 'productUniversalList',
  2813. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2814. meta: {
  2815. title: '通用产品列表',
  2816. icon: 'deployment-unit',
  2817. hidden: true,
  2818. permission: 'M_productUniversalList'
  2819. }
  2820. }
  2821. ]
  2822. },
  2823. {
  2824. path: '/productManagement/productLevel',
  2825. redirect: '/productManagement/productLevel/list',
  2826. name: 'productLevel',
  2827. component: BlankLayout,
  2828. meta: {
  2829. title: '产品级别管理',
  2830. icon: 'fund',
  2831. permission: 'M_productLevelList'
  2832. },
  2833. hideChildrenInMenu: true,
  2834. children: [
  2835. {
  2836. path: 'list',
  2837. name: 'productLevelList',
  2838. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2839. meta: {
  2840. title: '产品级别列表',
  2841. icon: 'fund',
  2842. hidden: true,
  2843. permission: 'M_productLevelList'
  2844. }
  2845. }
  2846. ]
  2847. },
  2848. {
  2849. path: '/productManagement/productBrand',
  2850. redirect: '/productManagement/productBrand/list',
  2851. name: 'productBrand',
  2852. component: BlankLayout,
  2853. meta: {
  2854. title: '产品品牌管理',
  2855. icon: 'file-ppt',
  2856. permission: 'M_productBrandList'
  2857. },
  2858. hideChildrenInMenu: true,
  2859. children: [
  2860. {
  2861. path: 'list',
  2862. name: 'productBrandList',
  2863. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2864. meta: {
  2865. title: '产品品牌列表',
  2866. icon: 'file-ppt',
  2867. hidden: true,
  2868. permission: 'M_productBrandList'
  2869. }
  2870. }
  2871. ]
  2872. },
  2873. {
  2874. path: '/productManagement/productCategory',
  2875. redirect: '/productManagement/productCategory/list',
  2876. name: 'productCategory',
  2877. component: BlankLayout,
  2878. meta: {
  2879. title: '产品分类管理',
  2880. icon: 'radar-chart',
  2881. permission: 'M_productCategoryList'
  2882. },
  2883. hideChildrenInMenu: true,
  2884. children: [
  2885. {
  2886. path: 'list',
  2887. name: 'productCategoryList',
  2888. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2889. meta: {
  2890. title: '产品分类列表',
  2891. icon: 'radar-chart',
  2892. hidden: true,
  2893. permission: 'M_productCategoryList'
  2894. }
  2895. }
  2896. ]
  2897. },
  2898. {
  2899. path: '/productManagement/shelfNoManage',
  2900. redirect: '/productManagement/shelfNoManage/list',
  2901. name: 'shelfNoManage',
  2902. component: BlankLayout,
  2903. meta: {
  2904. title: '货位编号管理',
  2905. icon: 'radar-chart',
  2906. permission: 'M_shelfNoManageList'
  2907. },
  2908. hideChildrenInMenu: true,
  2909. children: [
  2910. {
  2911. path: 'list',
  2912. name: 'shelfNoManageList',
  2913. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2914. meta: {
  2915. title: '货位编号管理',
  2916. icon: 'radar-chart',
  2917. hidden: true,
  2918. permission: 'M_shelfNoManageList'
  2919. }
  2920. }
  2921. ]
  2922. },
  2923. {
  2924. path: '/productManagement/productSourcePath',
  2925. redirect: '/productManagement/productSourcePath/list',
  2926. name: 'productSourcePath',
  2927. component: BlankLayout,
  2928. meta: {
  2929. title: '唯一码追溯列表',
  2930. icon: 'radar-chart',
  2931. permission: 'M_productSourcePathList'
  2932. },
  2933. hideChildrenInMenu: true,
  2934. children: [
  2935. {
  2936. path: 'list',
  2937. name: 'productSourcePathList',
  2938. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productSourcePath/list.vue'),
  2939. meta: {
  2940. title: '唯一码追溯列表',
  2941. icon: 'radar-chart',
  2942. hidden: true,
  2943. permission: 'M_productSourcePathList'
  2944. }
  2945. }
  2946. ]
  2947. }
  2948. ]
  2949. },
  2950. // 经销商管理
  2951. {
  2952. path: '/dealerManagement',
  2953. redirect: '/dealerManagement/marketingDivisionSet',
  2954. component: PageView,
  2955. meta: {
  2956. title: '经销商管理',
  2957. icon: 'idcard',
  2958. permission: 'M_dealerManagement'
  2959. },
  2960. children: [
  2961. {
  2962. path: '/dealerManagement/merchantInfoManagement',
  2963. redirect: '/dealerManagement/merchantInfoManagement/list',
  2964. name: 'merchantInfoManagement',
  2965. component: BlankLayout,
  2966. meta: {
  2967. title: '经销商资料管理',
  2968. icon: 'file-text',
  2969. permission: 'M_merchantInfoManagementList'
  2970. },
  2971. hideChildrenInMenu: true,
  2972. children: [
  2973. {
  2974. path: 'list',
  2975. name: 'merchantInfoManagementList',
  2976. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  2977. meta: {
  2978. title: '经销商资料列表',
  2979. icon: 'file-text',
  2980. hidden: true,
  2981. permission: 'M_merchantInfoManagementList'
  2982. }
  2983. },
  2984. {
  2985. path: 'add',
  2986. name: 'merchantInfoManagementAdd',
  2987. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2988. meta: {
  2989. title: '新增经销商',
  2990. icon: 'file-text',
  2991. hidden: true
  2992. // permission: 'B_goodsManage_edit'
  2993. }
  2994. },
  2995. {
  2996. path: 'edit/:id',
  2997. name: 'merchantInfoManagementEdit',
  2998. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2999. meta: {
  3000. title: '编辑经销商',
  3001. icon: 'file-text',
  3002. hidden: true
  3003. // permission: 'B_goodsManage_edit'
  3004. }
  3005. },
  3006. {
  3007. path: 'permissionSetting/:sn',
  3008. name: 'merchantInfoManagementSet',
  3009. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  3010. meta: {
  3011. title: '经销权设置',
  3012. icon: 'file-text',
  3013. replaceTab: true,
  3014. hidden: true
  3015. // permission: 'B_goodsManage_edit'
  3016. }
  3017. }
  3018. ]
  3019. },
  3020. {
  3021. path: '/dealerManagement/dealerAccountManagement',
  3022. redirect: '/dealerManagement/dealerAccountManagement/list',
  3023. name: 'dealerAccountManagement',
  3024. component: BlankLayout,
  3025. meta: {
  3026. title: '经销商账号管理',
  3027. icon: 'team',
  3028. permission: 'M_dealerAccountManagementList'
  3029. },
  3030. hideChildrenInMenu: true,
  3031. children: [
  3032. {
  3033. path: 'list',
  3034. name: 'dealerAccountManagementList',
  3035. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  3036. meta: {
  3037. title: '经销商账号列表',
  3038. icon: 'team',
  3039. hidden: true,
  3040. permission: 'M_dealerAccountManagementList'
  3041. }
  3042. }
  3043. ]
  3044. },
  3045. {
  3046. path: '/dealerManagement/dealerRelationshipBinding',
  3047. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  3048. name: 'dealerRelationshipBinding',
  3049. component: BlankLayout,
  3050. meta: {
  3051. title: '经销商关系绑定',
  3052. icon: 'share-alt',
  3053. permission: 'M_dealerRelationshipBindingList'
  3054. },
  3055. hideChildrenInMenu: true,
  3056. children: [
  3057. {
  3058. path: 'list',
  3059. name: 'dealerRelationshipBindingList',
  3060. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  3061. meta: {
  3062. title: '经销商关系绑定列表',
  3063. icon: 'share-alt',
  3064. hidden: true,
  3065. permission: 'M_dealerRelationshipBindingList'
  3066. }
  3067. }
  3068. ]
  3069. },
  3070. {
  3071. path: '/dealerManagement/rebateSettings',
  3072. redirect: '/dealerManagement/rebateSettings/list',
  3073. name: 'rebateSettings',
  3074. component: BlankLayout,
  3075. meta: {
  3076. title: '差价归属设置',
  3077. icon: 'stock',
  3078. permission: 'M_rebateSettingsList'
  3079. },
  3080. hideChildrenInMenu: true,
  3081. children: [
  3082. {
  3083. path: 'list',
  3084. name: 'rebateSettingsList',
  3085. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  3086. meta: {
  3087. title: '差价归属设置列表',
  3088. icon: 'stock',
  3089. hidden: true,
  3090. permission: 'M_rebateSettingsList'
  3091. }
  3092. }
  3093. ]
  3094. },
  3095. {
  3096. path: '/dealerManagement/provincialWarehouseManagement',
  3097. redirect: '/dealerManagement/provincialWarehouseManagement/list',
  3098. name: 'provincialWarehouse',
  3099. component: BlankLayout,
  3100. meta: {
  3101. title: '省仓管理',
  3102. icon: 'share-alt',
  3103. permission: 'M_provincialWarehouse'
  3104. },
  3105. hideChildrenInMenu: true,
  3106. children: [
  3107. {
  3108. path: 'list',
  3109. name: 'provincialWarehouseList',
  3110. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/list.vue'),
  3111. meta: {
  3112. title: '省仓管理列表',
  3113. icon: 'share-alt',
  3114. hidden: true,
  3115. permission: 'M_provincialWarehouseList'
  3116. }
  3117. },
  3118. {
  3119. path: 'relatedDealers/:sn/:name',
  3120. name: 'relatedDealersList',
  3121. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/relatedDealersList.vue'),
  3122. meta: {
  3123. title: '省仓关联经销商',
  3124. icon: 'share-alt',
  3125. hidden: true,
  3126. replaceTab: true,
  3127. permission: 'M_relatedDealersList'
  3128. }
  3129. }
  3130. ]
  3131. },
  3132. {
  3133. path: '/dealerManagement/marketingDivisionSetNew',
  3134. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3135. name: 'marketingDivisionSetNew',
  3136. component: BlankLayout,
  3137. meta: {
  3138. title: '营销分区设置',
  3139. icon: 'setting',
  3140. permission: 'M_marketingDivisionSetList'
  3141. },
  3142. hideChildrenInMenu: true,
  3143. children: [
  3144. {
  3145. path: 'list',
  3146. name: 'marketingDivisionSetNewList',
  3147. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3148. meta: {
  3149. title: '营销分区列表',
  3150. icon: 'setting',
  3151. hidden: true,
  3152. permission: 'M_marketingDivisionSetList'
  3153. }
  3154. }
  3155. ]
  3156. },
  3157. {
  3158. path: '/dealerManagement/businessOwnerSettings',
  3159. redirect: '/dealerManagement/businessOwnerSettings/list',
  3160. name: 'businessOwnerSettings',
  3161. component: BlankLayout,
  3162. meta: {
  3163. title: '数据权限配置',
  3164. icon: 'stock',
  3165. permission: 'M_businessOwnerSettings'
  3166. },
  3167. hideChildrenInMenu: true,
  3168. children: [
  3169. {
  3170. path: 'list',
  3171. name: 'businessOwnerSettingsList',
  3172. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3173. meta: {
  3174. title: '数据权限配置列表',
  3175. icon: 'stock',
  3176. hidden: true,
  3177. permission: 'M_businessOwnerSettingsList'
  3178. }
  3179. },
  3180. {
  3181. path: 'settingsIndex',
  3182. name: 'categorySet',
  3183. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3184. meta: {
  3185. title: '管辖品类权限设置',
  3186. icon: 'user',
  3187. hidden: true,
  3188. replaceTab: true,
  3189. permission: 'M_settingsIndex'
  3190. }
  3191. }
  3192. ]
  3193. },
  3194. {
  3195. path: '/dealerManagement/dealerZoneSearch',
  3196. redirect: '/dealerManagement/dealerZoneSearch/list',
  3197. name: 'dealerZoneSearch',
  3198. component: BlankLayout,
  3199. meta: {
  3200. title: '经销商所属分区查询',
  3201. icon: 'setting',
  3202. permission: 'M_dealerZoneSearch'
  3203. },
  3204. hideChildrenInMenu: true,
  3205. children: [
  3206. {
  3207. path: 'list',
  3208. name: 'dealerZoneSearchList',
  3209. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3210. meta: {
  3211. title: '经销商所属分区查询',
  3212. icon: 'setting',
  3213. hidden: true,
  3214. permission: 'M_dealerZoneSearchList'
  3215. }
  3216. }
  3217. ]
  3218. }
  3219. ]
  3220. },
  3221. // 供应商管理
  3222. {
  3223. path: '/supplierManagement',
  3224. redirect: '/supplierManagement/supplierInfo',
  3225. component: PageView,
  3226. meta: {
  3227. title: '供应商管理',
  3228. icon: 'team',
  3229. permission: 'M_supplierManagement'
  3230. },
  3231. children: [
  3232. {
  3233. path: '/supplierManagement/supplierInfo',
  3234. redirect: '/supplierManagement/supplierInfo/list',
  3235. name: 'supplierInfo',
  3236. component: BlankLayout,
  3237. meta: {
  3238. title: '供应商列表',
  3239. icon: 'team',
  3240. permission: 'M_supplierInfoList'
  3241. },
  3242. hideChildrenInMenu: true,
  3243. children: [
  3244. {
  3245. path: 'list',
  3246. name: 'supplierInfoList',
  3247. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3248. meta: {
  3249. title: '供应商列表',
  3250. icon: 'team',
  3251. hidden: true,
  3252. permission: 'M_supplierInfoList'
  3253. }
  3254. },
  3255. {
  3256. path: 'add',
  3257. name: 'supplierInfoAdd',
  3258. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3259. meta: {
  3260. title: '新增供应商',
  3261. icon: 'team',
  3262. hidden: true
  3263. // permission: 'B_goodsManage_edit'
  3264. }
  3265. },
  3266. {
  3267. path: 'edit/:id',
  3268. name: 'supplierInfoEdit',
  3269. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3270. meta: {
  3271. title: '编辑供应商',
  3272. icon: 'team',
  3273. hidden: true
  3274. // permission: 'B_goodsManage_edit'
  3275. }
  3276. },
  3277. {
  3278. path: 'associatedProduct/:sn/:name',
  3279. name: 'associatedProduct',
  3280. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3281. meta: {
  3282. title: '关联产品',
  3283. icon: 'team',
  3284. replaceTab: true,
  3285. hidden: true
  3286. // permission: 'B_goodsManage_edit'
  3287. }
  3288. }
  3289. ]
  3290. },
  3291. {
  3292. path: '/supplierManagement/costSetting',
  3293. redirect: '/supplierManagement/costSetting/list',
  3294. name: 'costSetting',
  3295. component: BlankLayout,
  3296. meta: {
  3297. title: '成本设置',
  3298. icon: 'build',
  3299. permission: 'M_costSettingList'
  3300. },
  3301. hideChildrenInMenu: true,
  3302. children: [
  3303. {
  3304. path: 'list',
  3305. name: 'costSettingList',
  3306. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3307. meta: {
  3308. title: '成本设置列表',
  3309. icon: 'build',
  3310. hidden: true
  3311. }
  3312. }
  3313. ]
  3314. },
  3315. {
  3316. path: '/supplierManagement/costSetRecord',
  3317. redirect: '/supplierManagement/costSetRecord/list',
  3318. name: 'costSetRecord',
  3319. component: BlankLayout,
  3320. meta: {
  3321. title: '成本变更记录',
  3322. icon: 'build',
  3323. permission: 'M_costSetRecordList'
  3324. },
  3325. hideChildrenInMenu: true,
  3326. children: [
  3327. {
  3328. path: 'list',
  3329. name: 'costSetRecordList',
  3330. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3331. meta: {
  3332. title: '成本变更记录列表',
  3333. icon: 'build',
  3334. hidden: true
  3335. }
  3336. }
  3337. ]
  3338. },
  3339. {
  3340. path: '/supplierManagement/associatedProductDetails',
  3341. redirect: '/supplierManagement/associatedProductDetails/list',
  3342. name: 'associatedProductDetails',
  3343. component: BlankLayout,
  3344. meta: {
  3345. title: '关联产品明细表',
  3346. icon: 'build',
  3347. permission: 'M_associatedProductDetailsList'
  3348. },
  3349. hideChildrenInMenu: true,
  3350. children: [
  3351. {
  3352. path: 'list',
  3353. name: 'associatedProductDetailsList',
  3354. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3355. meta: {
  3356. title: '关联产品明细列表',
  3357. icon: 'build',
  3358. hidden: true,
  3359. permission: 'M_associatedProductDetailsList'
  3360. }
  3361. }
  3362. ]
  3363. }
  3364. ]
  3365. },
  3366. // 促销管理
  3367. {
  3368. path: '/promotionRulesManagement',
  3369. redirect: '/promotionRulesManagement/promotionRules',
  3370. component: PageView,
  3371. meta: {
  3372. title: '促销管理',
  3373. icon: 'rocket',
  3374. permission: 'M_promotionRulesManagement'
  3375. },
  3376. children: [
  3377. {
  3378. path: '/promotionRulesManagement/promotionManagement',
  3379. redirect: '/promotionRulesManagement/promotionManagement/list',
  3380. name: 'promotionManagement',
  3381. component: BlankLayout,
  3382. meta: {
  3383. title: '修理厂促销',
  3384. icon: 'file-ppt',
  3385. permission: 'M_promotionManagementList'
  3386. },
  3387. hideChildrenInMenu: true,
  3388. children: [
  3389. {
  3390. path: 'list',
  3391. name: 'promotionManagementList',
  3392. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3393. meta: {
  3394. title: '修理厂促销列表',
  3395. icon: 'file-ppt',
  3396. hidden: true,
  3397. permission: 'M_promotionManagementList'
  3398. }
  3399. }
  3400. ]
  3401. },
  3402. {
  3403. path: '/promotionRulesManagement/dealerPromotions',
  3404. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3405. name: 'dealerPromotionManagement',
  3406. component: BlankLayout,
  3407. meta: {
  3408. title: '经销商促销',
  3409. icon: 'setting',
  3410. permission: 'M_dealerPromotionManagementList'
  3411. },
  3412. hideChildrenInMenu: true,
  3413. children: [
  3414. {
  3415. path: 'list',
  3416. name: 'dealerPromotionManagementList',
  3417. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3418. meta: {
  3419. title: '经销商促销',
  3420. icon: 'setting',
  3421. hidden: true,
  3422. permission: 'M_dealerPromotionManagementList'
  3423. }
  3424. },
  3425. {
  3426. path: 'detail',
  3427. name: 'dealerPromotionManagementDetail',
  3428. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3429. meta: {
  3430. title: '促销活动详情',
  3431. icon: 'thunderbolt',
  3432. hidden: true
  3433. }
  3434. },
  3435. {
  3436. path: 'ruleSet',
  3437. name: 'dealerPromotionManagementRule',
  3438. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3439. meta: {
  3440. title: '促销规则设置',
  3441. icon: 'thunderbolt',
  3442. replaceTab: true,
  3443. hidden: true
  3444. }
  3445. }
  3446. ]
  3447. }
  3448. ]
  3449. },
  3450. // 大屏数据
  3451. {
  3452. path: '/bigStatistics',
  3453. redirect: '/bigStatistics/realTimeSalesReport',
  3454. component: PageView,
  3455. meta: {
  3456. title: '数据统计',
  3457. icon: 'desktop',
  3458. permission: 'M_bigScreenStatistics'
  3459. },
  3460. children: [
  3461. {
  3462. path: '/bigStatistics/realTimeSalesReport',
  3463. redirect: '/bigStatistics/realTimeSalesReport/index',
  3464. name: 'bigRealTimeSalesReport',
  3465. component: BigScreen,
  3466. meta: {
  3467. title: '实时销售看板',
  3468. icon: 'deployment-unit',
  3469. permission: 'M_realTimeSalesReportIndex'
  3470. },
  3471. hideChildrenInMenu: true,
  3472. children: [
  3473. {
  3474. path: 'index',
  3475. name: 'realTimeSalesReportIndex',
  3476. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3477. meta: {
  3478. title: '实时销售看板'
  3479. }
  3480. }
  3481. ]
  3482. },
  3483. {
  3484. path: '/bigStatistics/fPanalysisReport',
  3485. redirect: '/bigStatistics/fPanalysisReport/index',
  3486. name: 'bigfPanalysisReport',
  3487. component: BigScreen,
  3488. meta: {
  3489. title: '加盟商/产品分析',
  3490. icon: 'interaction',
  3491. permission: 'M_fPanalysisReportIndex'
  3492. },
  3493. hideChildrenInMenu: true,
  3494. children: [
  3495. {
  3496. path: 'index',
  3497. name: 'fPanalysisReportIndex',
  3498. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3499. meta: {
  3500. title: '加盟商/产品分析'
  3501. }
  3502. }
  3503. ]
  3504. }
  3505. ]
  3506. },
  3507. // 基础设置
  3508. {
  3509. path: '/basicData',
  3510. redirect: '/basicData/warehouse',
  3511. component: PageView,
  3512. meta: {
  3513. title: '基础设置',
  3514. icon: 'pushpin',
  3515. permission: 'M_basicData'
  3516. },
  3517. children: [
  3518. {
  3519. path: '/basicData/warehouse',
  3520. redirect: '/basicData/warehouse/list',
  3521. name: 'warehouse',
  3522. component: BlankLayout,
  3523. meta: {
  3524. title: '仓库管理',
  3525. icon: 'deployment-unit',
  3526. permission: 'M_warehouseList'
  3527. },
  3528. hideChildrenInMenu: true,
  3529. children: [
  3530. {
  3531. path: 'list',
  3532. name: 'warehouseList',
  3533. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3534. meta: {
  3535. title: '仓库列表',
  3536. icon: 'deployment-unit',
  3537. hidden: true,
  3538. permission: 'M_warehouseList'
  3539. }
  3540. },
  3541. {
  3542. path: '/basicData/storingLocation/:sn',
  3543. name: 'storingLocationList',
  3544. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3545. meta: {
  3546. title: '仓位列表',
  3547. icon: 'deployment-unit',
  3548. replaceTab: true,
  3549. hidden: true
  3550. // permission: 'B_goodsManage_edit'
  3551. }
  3552. }
  3553. ]
  3554. },
  3555. {
  3556. path: '/basicData/transferTypeManagement',
  3557. redirect: '/basicData/transferTypeManagement/list',
  3558. name: 'transferTypeManagement',
  3559. component: BlankLayout,
  3560. meta: {
  3561. title: '调拨类型管理',
  3562. icon: 'interaction',
  3563. permission: 'M_transferTypeManagementList'
  3564. },
  3565. hideChildrenInMenu: true,
  3566. children: [
  3567. {
  3568. path: 'list',
  3569. name: 'transferTypeManagementList',
  3570. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3571. meta: {
  3572. title: '调拨类型列表',
  3573. icon: 'interaction',
  3574. hidden: true,
  3575. permission: 'M_transferTypeManagementList'
  3576. }
  3577. }
  3578. ]
  3579. }
  3580. ]
  3581. },
  3582. // 权限管理
  3583. {
  3584. path: '/auth',
  3585. redirect: '/auth/user',
  3586. component: PageView,
  3587. meta: {
  3588. title: '权限管理',
  3589. icon: 'lock',
  3590. permission: 'M_auth_0'
  3591. },
  3592. children: [
  3593. {
  3594. path: '/auth/user',
  3595. redirect: '/auth/user/list',
  3596. name: 'powerUser',
  3597. component: BlankLayout,
  3598. meta: {
  3599. title: '用户管理',
  3600. icon: 'user',
  3601. permission: 'M_userList'
  3602. },
  3603. hideChildrenInMenu: true,
  3604. children: [
  3605. {
  3606. path: 'list',
  3607. name: 'powerUserList',
  3608. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3609. meta: {
  3610. title: '用户管理',
  3611. icon: 'user',
  3612. hidden: true,
  3613. permission: 'M_userList'
  3614. }
  3615. }
  3616. ]
  3617. },
  3618. {
  3619. path: '/auth/role',
  3620. redirect: '/auth/role/list',
  3621. name: 'powerRole',
  3622. component: BlankLayout,
  3623. meta: {
  3624. title: '角色管理',
  3625. icon: 'solution',
  3626. permission: 'M_roleList'
  3627. },
  3628. hideChildrenInMenu: true,
  3629. children: [
  3630. {
  3631. path: 'list',
  3632. name: 'powerRoleList',
  3633. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3634. meta: {
  3635. title: '角色管理',
  3636. icon: 'solution',
  3637. hidden: true,
  3638. permission: 'M_roleList'
  3639. }
  3640. }
  3641. ]
  3642. },
  3643. {
  3644. path: '/auth/adminMenus',
  3645. redirect: '/auth/adminMenus/list',
  3646. name: 'adminMenus',
  3647. component: BlankLayout,
  3648. meta: {
  3649. title: '菜单管理',
  3650. icon: 'appstore',
  3651. permission: 'M_menuList'
  3652. },
  3653. hideChildrenInMenu: true,
  3654. children: [
  3655. {
  3656. path: 'list',
  3657. name: 'adminMenusList',
  3658. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3659. meta: {
  3660. title: '菜单管理',
  3661. icon: 'appstore',
  3662. hidden: true,
  3663. permission: 'M_menuList'
  3664. }
  3665. }
  3666. ]
  3667. }
  3668. ]
  3669. },
  3670. // 系统设置
  3671. {
  3672. path: '/setting',
  3673. redirect: '/setting/dataDictionary',
  3674. component: PageView,
  3675. meta: {
  3676. title: '系统设置',
  3677. icon: 'setting',
  3678. permission: 'M_systemSet'
  3679. },
  3680. children: [
  3681. {
  3682. path: '/setting/dataDictionary',
  3683. redirect: '/setting/dataDictionary/list',
  3684. name: 'dataDictionary',
  3685. component: BlankLayout,
  3686. meta: {
  3687. title: '数据字典管理',
  3688. icon: 'database',
  3689. permission: 'M_dataD_lookup'
  3690. },
  3691. hideChildrenInMenu: true,
  3692. children: [
  3693. {
  3694. path: 'list',
  3695. name: 'powerDD',
  3696. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3697. meta: {
  3698. title: '数据字典管理',
  3699. icon: 'database',
  3700. hidden: true,
  3701. permission: 'M_dataD_lookup'
  3702. }
  3703. }
  3704. ]
  3705. },
  3706. {
  3707. path: '/setting/OperateJournal',
  3708. redirect: '/setting/OperateJournal/list',
  3709. name: 'OperateJournal',
  3710. component: BlankLayout,
  3711. meta: {
  3712. title: '操作日志',
  3713. icon: 'read',
  3714. permission: 'M_OperateJournalList'
  3715. },
  3716. hideChildrenInMenu: true,
  3717. children: [
  3718. {
  3719. path: 'list',
  3720. name: 'powerOperateJournal',
  3721. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3722. meta: {
  3723. title: '操作日志',
  3724. icon: 'read',
  3725. permission: 'M_OperateJournalList'
  3726. }
  3727. }
  3728. ]
  3729. },
  3730. {
  3731. path: '/setting/noticeManagement',
  3732. redirect: '/setting/noticeManagement/list',
  3733. name: 'noticeManagement',
  3734. component: BlankLayout,
  3735. meta: {
  3736. title: '公告管理',
  3737. icon: 'sketch',
  3738. permission: 'M_noticeManagementList'
  3739. },
  3740. hideChildrenInMenu: true,
  3741. children: [
  3742. {
  3743. path: 'list',
  3744. name: 'noticeManagementList',
  3745. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3746. meta: {
  3747. title: '公告列表',
  3748. icon: 'sketch',
  3749. hidden: true,
  3750. permission: 'M_noticeManagementList'
  3751. }
  3752. }
  3753. ]
  3754. },
  3755. {
  3756. path: '/setting/bigScreenSet',
  3757. redirect: '/setting/bigScreenSet/index',
  3758. name: 'bigScreenSet',
  3759. component: BlankLayout,
  3760. meta: {
  3761. title: '大屏参数设置',
  3762. icon: 'sketch',
  3763. permission: 'M_bigScreenSetIndex'
  3764. },
  3765. hideChildrenInMenu: true,
  3766. children: [{
  3767. path: 'index',
  3768. name: 'bigScreenSetIndex',
  3769. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3770. meta: {
  3771. title: '大屏参数设置',
  3772. icon: 'sketch',
  3773. hidden: true,
  3774. permission: 'M_bigScreenSetIndex'
  3775. }
  3776. }]
  3777. },
  3778. {
  3779. path: '/setting/erpMessageManagement',
  3780. redirect: '/setting/erpMessageManagement/list',
  3781. name: 'erpMessageManagement',
  3782. component: BlankLayout,
  3783. meta: {
  3784. title: 'ERP数据同步记录',
  3785. icon: 'sketch',
  3786. permission: 'M_erpMessageList'
  3787. },
  3788. hideChildrenInMenu: true,
  3789. children: [
  3790. {
  3791. path: 'list',
  3792. name: 'M_erpMessageList',
  3793. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3794. meta: {
  3795. title: 'ERP数据同步列表',
  3796. icon: 'sketch',
  3797. hidden: true,
  3798. permission: 'M_erpMessageList'
  3799. }
  3800. }
  3801. ]
  3802. },
  3803. {
  3804. path: '/setting/checkDingTask',
  3805. redirect: '/setting/checkDingTask/list',
  3806. name: 'checkDingTask',
  3807. component: BlankLayout,
  3808. meta: {
  3809. title: '钉钉审批',
  3810. icon: 'sketch',
  3811. permission: 'M_dingAuditUpdate'
  3812. },
  3813. hideChildrenInMenu: true,
  3814. children: [
  3815. {
  3816. path: 'list',
  3817. name: 'M_dingAuditUpdate',
  3818. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  3819. meta: {
  3820. title: '钉钉审批',
  3821. icon: 'sketch',
  3822. hidden: true,
  3823. permission: 'M_dingAuditUpdate'
  3824. }
  3825. }
  3826. ]
  3827. }
  3828. ]
  3829. }
  3830. ]
  3831. },
  3832. {
  3833. path: '*',
  3834. redirect: '/404',
  3835. hidden: true
  3836. }
  3837. ]
  3838. /**
  3839. * 基础路由
  3840. * @type { *[] }
  3841. */
  3842. export const constantRouterMap = [
  3843. {
  3844. path: '/user',
  3845. component: UserLayout,
  3846. redirect: '/user/login',
  3847. hidden: true,
  3848. children: [
  3849. {
  3850. path: 'login',
  3851. name: 'login',
  3852. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3853. },
  3854. {
  3855. path: 'register',
  3856. name: 'register',
  3857. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3858. },
  3859. {
  3860. path: 'register-result',
  3861. name: 'registerResult',
  3862. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3863. },
  3864. {
  3865. path: 'recover',
  3866. name: 'recover',
  3867. component: undefined
  3868. }
  3869. ]
  3870. },
  3871. {
  3872. path: '/bigScreen',
  3873. component: BigScreen,
  3874. redirect: '/bigScreen/realTimeSalesReport',
  3875. hidden: true,
  3876. children: [
  3877. {
  3878. path: 'realTimeSalesReport',
  3879. name: 'realTimeSalesReport',
  3880. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3881. meta: {
  3882. title: '实时销售看板'
  3883. }
  3884. },
  3885. {
  3886. path: 'fPanalysisReport',
  3887. name: 'fPanalysisReport',
  3888. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3889. meta: {
  3890. title: '加盟商/产品分析'
  3891. }
  3892. }
  3893. ]
  3894. },
  3895. {
  3896. path: '/404',
  3897. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3898. }
  3899. ]