router.config.js 151 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214
  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/purchaseReceipt',
  866. redirect: '/purchasingManagement/purchaseReceipt/list',
  867. name: 'purchaseReceipt',
  868. component: BlankLayout,
  869. meta: {
  870. title: '采购入库',
  871. icon: 'gold',
  872. permission: 'M_purchaseReceipt'
  873. },
  874. hideChildrenInMenu: true,
  875. children: [
  876. {
  877. path: 'list',
  878. name: 'purchaseReceiptList',
  879. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReceipt/list.vue'),
  880. meta: {
  881. title: '采购入库列表',
  882. icon: 'gold',
  883. hidden: true,
  884. permission: 'M_purchaseReceiptList'
  885. }
  886. },
  887. {
  888. path: 'edit',
  889. name: 'purchaseReceiptEdit',
  890. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReceipt/edit.vue'),
  891. meta: {
  892. title: '编辑采购入库单',
  893. icon: 'gold',
  894. hidden: true
  895. // permission: 'B_purchaseReceiptEdit'
  896. }
  897. }
  898. ]
  899. },
  900. {
  901. path: '/purchasingManagement/bulkWarehousingOrder',
  902. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  903. name: 'bulkWarehousingOrder',
  904. component: BlankLayout,
  905. meta: {
  906. title: '散件入库',
  907. icon: 'gold',
  908. permission: 'M_bulkWarehousingOrderList'
  909. },
  910. hideChildrenInMenu: true,
  911. children: [
  912. {
  913. path: 'list',
  914. name: 'bulkWarehousingOrderList',
  915. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  916. meta: {
  917. title: '散件入库单列表',
  918. icon: 'gold',
  919. hidden: true,
  920. permission: 'M_bulkWarehousingOrderList'
  921. }
  922. },
  923. {
  924. path: 'add/:id/:sn',
  925. name: 'bulkWarehousingOrderAdd',
  926. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  927. meta: {
  928. title: '新增散件入库单',
  929. icon: 'gold',
  930. hidden: true,
  931. permission: 'B_sparePartsEdit'
  932. }
  933. },
  934. {
  935. path: 'edit/:id/:sn',
  936. name: 'bulkWarehousingOrderEdit',
  937. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  938. meta: {
  939. title: '编辑散件入库单',
  940. icon: 'gold',
  941. hidden: true,
  942. permission: 'B_sparePartsEdit'
  943. }
  944. }
  945. ]
  946. },
  947. {
  948. path: '/purchasingManagement/purchaseReturn',
  949. redirect: '/purchasingManagement/purchaseReturn/list',
  950. name: 'purchaseReturn',
  951. component: BlankLayout,
  952. meta: {
  953. title: '采购退货',
  954. icon: 'gold',
  955. permission: 'M_purchaseReturn'
  956. },
  957. hideChildrenInMenu: true,
  958. children: [
  959. {
  960. path: 'list',
  961. name: 'purchaseReturnList',
  962. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  963. meta: {
  964. title: '采购退货',
  965. icon: 'gold',
  966. hidden: true,
  967. permission: 'M_purchaseReturnList'
  968. }
  969. },
  970. {
  971. path: 'add',
  972. name: 'purchaseReturnAdd',
  973. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  974. meta: {
  975. title: '新增采购退货',
  976. icon: 'gold',
  977. hidden: true,
  978. permission: 'B_purchaseReturnEdit'
  979. }
  980. },
  981. {
  982. path: 'edit',
  983. name: 'purchaseReturnEdit',
  984. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  985. meta: {
  986. title: '编辑采购退货(不抓单)',
  987. icon: 'gold',
  988. hidden: true,
  989. permission: 'B_purchaseReturnEdit'
  990. }
  991. },
  992. {
  993. path: 'editGrab',
  994. name: 'purchaseReturnEditGrab',
  995. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  996. meta: {
  997. title: '编辑采购退货(抓单)',
  998. icon: 'gold',
  999. hidden: true,
  1000. permission: 'B_purchaseReturnEdit'
  1001. }
  1002. }
  1003. ]
  1004. }
  1005. ]
  1006. },
  1007. // 财务管理
  1008. {
  1009. path: '/financialManagement',
  1010. redirect: '/financialManagement/warehousingConfirmation',
  1011. component: PageView,
  1012. meta: {
  1013. title: '财务管理',
  1014. icon: 'property-safety',
  1015. permission: 'M_financialManagement'
  1016. },
  1017. children: [
  1018. {
  1019. path: '/financialManagement/warehousingConfirmation',
  1020. redirect: '/financialManagement/warehousingConfirmation/list',
  1021. name: 'warehousingConfirmation',
  1022. component: BlankLayout,
  1023. meta: {
  1024. title: '入库确认',
  1025. icon: 'vertical-align-bottom',
  1026. permission: 'M_warehousingConfirmationList'
  1027. },
  1028. hideChildrenInMenu: true,
  1029. children: [
  1030. {
  1031. path: 'list',
  1032. name: 'warehousingConfirmationList',
  1033. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  1034. meta: {
  1035. title: '入库确认列表',
  1036. icon: 'vertical-align-bottom',
  1037. hidden: true,
  1038. permission: 'M_warehousingConfirmationList'
  1039. }
  1040. }
  1041. ]
  1042. },
  1043. {
  1044. path: '/financialManagement/financialCollection',
  1045. redirect: '/financialManagement/financialCollection/list',
  1046. name: 'financialCollection',
  1047. component: BlankLayout,
  1048. meta: {
  1049. title: '财务收款',
  1050. icon: 'pay-circle',
  1051. permission: 'M_financialCollectionList'
  1052. },
  1053. hideChildrenInMenu: true,
  1054. children: [
  1055. {
  1056. path: 'list',
  1057. name: 'financialCollectionList',
  1058. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1059. meta: {
  1060. title: '财务收款列表',
  1061. icon: 'pay-circle',
  1062. hidden: true,
  1063. permission: 'M_financialCollectionList'
  1064. }
  1065. },
  1066. {
  1067. path: 'detail/:sn',
  1068. name: 'financialCollectionDetail',
  1069. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
  1070. meta: {
  1071. title: '财务收款详情',
  1072. icon: 'monitor',
  1073. hidden: true,
  1074. permission: 'B_fc_detail'
  1075. }
  1076. },
  1077. {
  1078. path: 'edit/:sn',
  1079. name: 'financialCollectionEdit',
  1080. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  1081. meta: {
  1082. title: '编辑财务收款',
  1083. icon: 'monitor',
  1084. hidden: true,
  1085. permission: 'B_fc_edit'
  1086. }
  1087. }
  1088. ]
  1089. },
  1090. {
  1091. path: '/financialManagement/collectionDetailStatic',
  1092. redirect: '/financialManagement/collectionDetailStatic/list',
  1093. name: 'collectionDetailStatic',
  1094. component: BlankLayout,
  1095. meta: {
  1096. title: '财务收款明细统计',
  1097. icon: 'vertical-align-top',
  1098. permission: 'M_FC_Details_list'
  1099. },
  1100. hideChildrenInMenu: true,
  1101. children: [
  1102. {
  1103. path: 'list',
  1104. name: 'collectionDetailStaticList',
  1105. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
  1106. meta: {
  1107. title: '财务收款明细统计列表',
  1108. icon: 'vertical-align-top',
  1109. hidden: true,
  1110. permission: 'M_FC_Details_list'
  1111. }
  1112. }
  1113. ]
  1114. }
  1115. ]
  1116. },
  1117. // 费用报销
  1118. {
  1119. path: '/expenseManagement',
  1120. redirect: '/expenseManagement/expenseReimbursement',
  1121. component: PageView,
  1122. meta: {
  1123. title: '费用报销',
  1124. icon: 'account-book',
  1125. permission: 'M_expenseManagement'
  1126. },
  1127. children: [
  1128. {
  1129. path: '/expenseManagement/expenseReimbursement',
  1130. redirect: '/expenseManagement/expenseReimbursement/list',
  1131. name: 'expenseReimbursement',
  1132. component: BlankLayout,
  1133. meta: {
  1134. title: '费用报销单',
  1135. icon: 'monitor',
  1136. permission: 'M_expenseReimbursementList'
  1137. },
  1138. hideChildrenInMenu: true,
  1139. children: [
  1140. {
  1141. path: 'list',
  1142. name: 'expenseReimbursementList',
  1143. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  1144. meta: {
  1145. title: '费用报销单列表',
  1146. icon: 'monitor',
  1147. hidden: true,
  1148. permission: 'M_expenseReimbursementList'
  1149. }
  1150. },
  1151. {
  1152. path: 'detail/:sn',
  1153. name: 'expenseReimbursementListDetail',
  1154. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  1155. meta: {
  1156. title: '费用报销单详情',
  1157. icon: 'monitor',
  1158. hidden: true,
  1159. permission: 'B_eRdetail'
  1160. }
  1161. },
  1162. {
  1163. path: 'edit/:sn',
  1164. name: 'expenseReimbursementEdit',
  1165. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1166. meta: {
  1167. title: '编辑费用报销单',
  1168. icon: 'monitor',
  1169. hidden: true,
  1170. permission: 'B_ERtEdit'
  1171. }
  1172. }
  1173. ]
  1174. },
  1175. {
  1176. path: '/expenseManagement/expenseReimbursementDetail',
  1177. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  1178. name: 'expenseReimbursementDetail',
  1179. component: BlankLayout,
  1180. meta: {
  1181. title: '费用报销明细统计',
  1182. icon: 'audit',
  1183. permission: 'M_expenseReimbursementDetailList'
  1184. },
  1185. hideChildrenInMenu: true,
  1186. children: [
  1187. {
  1188. path: 'list',
  1189. name: 'expenseReimbursementDetailList',
  1190. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  1191. meta: {
  1192. title: '费用报销明细统计列表',
  1193. icon: 'audit',
  1194. hidden: true,
  1195. permission: 'M_expenseReimbursementDetailList'
  1196. }
  1197. }
  1198. ]
  1199. }
  1200. ]
  1201. },
  1202. // 库存管理
  1203. {
  1204. path: '/inventoryManagement',
  1205. redirect: '/inventoryManagement/inventoryQuery',
  1206. component: PageView,
  1207. meta: {
  1208. title: '库存管理',
  1209. icon: 'shop',
  1210. permission: 'M_inventoryManagement'
  1211. },
  1212. children: [
  1213. {
  1214. path: '/inventoryManagement/inventoryQuery',
  1215. redirect: '/inventoryManagement/inventoryQuery/list',
  1216. name: 'inventoryQuery',
  1217. component: BlankLayout,
  1218. meta: {
  1219. title: '库存查询',
  1220. icon: 'monitor',
  1221. permission: 'M_inventoryQueryList'
  1222. },
  1223. hideChildrenInMenu: true,
  1224. children: [
  1225. {
  1226. path: 'list',
  1227. name: 'inventoryQueryList',
  1228. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1229. meta: {
  1230. title: '库存列表',
  1231. icon: 'monitor',
  1232. hidden: true,
  1233. permission: 'M_inventoryQueryList'
  1234. }
  1235. },
  1236. {
  1237. path: 'warehouseDetail/:sn/:warehouseSn',
  1238. name: 'inventoryQueryWarehouseDetail',
  1239. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1240. meta: {
  1241. title: '出入库明细',
  1242. icon: 'monitor',
  1243. replaceTab: true,
  1244. hidden: true,
  1245. permission: 'B_inventoryQuery_rkDetail'
  1246. }
  1247. }
  1248. ]
  1249. },
  1250. {
  1251. path: '/inventoryManagement/inventoryCheck',
  1252. redirect: '/inventoryManagement/inventoryCheck/list/0',
  1253. name: 'inventoryCheck',
  1254. component: BlankLayout,
  1255. meta: {
  1256. title: '库存盘点',
  1257. icon: 'monitor',
  1258. permission: 'M_inventoryCheckList'
  1259. },
  1260. hideChildrenInMenu: true,
  1261. children: [
  1262. {
  1263. path: 'list/:type',
  1264. name: 'inventoryCheckList',
  1265. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  1266. meta: {
  1267. title: '库存盘点列表',
  1268. icon: 'monitor',
  1269. hidden: true,
  1270. permission: 'M_inventoryCheckList'
  1271. }
  1272. },
  1273. {
  1274. path: 'detail/:sn',
  1275. name: 'inventoryCheckDetail',
  1276. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  1277. meta: {
  1278. title: '库存盘点详情',
  1279. icon: 'monitor',
  1280. hidden: true,
  1281. replaceTab: true,
  1282. permission: 'B_inventoryCheckDetail'
  1283. }
  1284. }
  1285. ]
  1286. },
  1287. {
  1288. path: '/inventoryManagement/makeInventory',
  1289. redirect: '/inventoryManagement/makeInventory/list',
  1290. name: 'makeInventory',
  1291. component: BlankLayout,
  1292. meta: {
  1293. title: '盘点人盘点',
  1294. icon: 'monitor',
  1295. permission: 'M_inventoryMakeInventoryList'
  1296. },
  1297. hideChildrenInMenu: true,
  1298. children: [
  1299. {
  1300. path: 'list',
  1301. name: 'makeInventoryList',
  1302. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  1303. meta: {
  1304. title: '盘点人盘点列表',
  1305. icon: 'monitor',
  1306. hidden: true,
  1307. permission: 'M_inventoryMakeInventoryList'
  1308. }
  1309. },
  1310. {
  1311. path: 'check/:sn',
  1312. name: 'makeInventoryCheck',
  1313. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1314. meta: {
  1315. title: '盘点人盘点',
  1316. icon: 'monitor',
  1317. hidden: true,
  1318. replaceTab: true,
  1319. permission: 'B_inventoryMakeInventoryCheck'
  1320. }
  1321. }
  1322. ]
  1323. },
  1324. {
  1325. path: '/inventoryManagement/supervisionDisk',
  1326. redirect: '/inventoryManagement/supervisionDisk/list',
  1327. name: 'supervisionDisk',
  1328. component: BlankLayout,
  1329. meta: {
  1330. title: '监盘人盘点',
  1331. icon: 'monitor',
  1332. permission: 'M_supervisionDiskList'
  1333. },
  1334. hideChildrenInMenu: true,
  1335. children: [
  1336. {
  1337. path: 'list',
  1338. name: 'supervisionDiskList',
  1339. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1340. meta: {
  1341. title: '监盘人盘点列表',
  1342. icon: 'monitor',
  1343. hidden: true,
  1344. permission: 'M_supervisionDiskList'
  1345. }
  1346. },
  1347. {
  1348. path: 'check/:sn',
  1349. name: 'supervisionDiskCheck',
  1350. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1351. meta: {
  1352. title: '监盘人监盘',
  1353. icon: 'monitor',
  1354. replaceTab: true,
  1355. hidden: true,
  1356. permission: 'B_supervisionDiskCheck'
  1357. }
  1358. }
  1359. ]
  1360. },
  1361. {
  1362. path: '/inventoryManagement/inventoryConfirmation',
  1363. redirect: '/inventoryManagement/inventoryConfirmation/list',
  1364. name: 'inventoryConfirmation',
  1365. component: BlankLayout,
  1366. meta: {
  1367. title: '盘点确认',
  1368. icon: 'monitor',
  1369. permission: 'M_inventoryConfirmationList'
  1370. },
  1371. hideChildrenInMenu: true,
  1372. children: [
  1373. {
  1374. path: 'list',
  1375. name: 'inventoryConfirmationList',
  1376. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/list.vue'),
  1377. meta: {
  1378. title: '盘点确认列表',
  1379. icon: 'monitor',
  1380. hidden: true,
  1381. permission: 'M_inventoryConfirmationList'
  1382. }
  1383. },
  1384. {
  1385. path: 'detail/:sn',
  1386. name: 'inventoryConfirmationDetail',
  1387. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryConfirmation/detail.vue'),
  1388. meta: {
  1389. title: '盘点确认详情',
  1390. icon: 'monitor',
  1391. hidden: true,
  1392. permission: 'B_inventoryConfirmationDetail'
  1393. }
  1394. }
  1395. ]
  1396. },
  1397. {
  1398. path: '/inventoryManagement/inventoryWarning',
  1399. redirect: '/inventoryManagement/inventoryWarning/list',
  1400. name: 'inventoryWarning',
  1401. component: BlankLayout,
  1402. meta: {
  1403. title: '库存预警',
  1404. icon: 'monitor',
  1405. permission: 'M_inventoryWarningList'
  1406. },
  1407. hideChildrenInMenu: true,
  1408. children: [
  1409. {
  1410. path: 'list',
  1411. name: 'inventoryWarningList',
  1412. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1413. meta: {
  1414. title: '库存预警列表',
  1415. icon: 'alert',
  1416. hidden: true,
  1417. permission: 'M_inventoryWarningList'
  1418. }
  1419. }
  1420. ]
  1421. },
  1422. {
  1423. path: '/inventoryManagement/intelligentReplenishment',
  1424. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1425. name: 'intelligentReplenishment',
  1426. component: BlankLayout,
  1427. meta: {
  1428. title: '智能补货',
  1429. icon: 'monitor',
  1430. permission: 'M_intelligentReplenishmentList'
  1431. },
  1432. hideChildrenInMenu: true,
  1433. children: [
  1434. {
  1435. path: 'list',
  1436. name: 'intelligentReplenishmentList',
  1437. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1438. meta: {
  1439. title: '智能补货列表',
  1440. icon: 'monitor',
  1441. hidden: true,
  1442. permission: 'M_intelligentReplenishmentList'
  1443. }
  1444. },
  1445. {
  1446. path: 'add/:sn',
  1447. name: 'intelligentReplenishmentAdd',
  1448. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1449. meta: {
  1450. title: '新增智能补货',
  1451. icon: 'monitor',
  1452. hidden: true,
  1453. permission: 'B_intelligentReplenishment_edit'
  1454. }
  1455. },
  1456. {
  1457. path: 'edit/:sn',
  1458. name: 'intelligentReplenishmentEdit',
  1459. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1460. meta: {
  1461. title: '编辑智能补货',
  1462. icon: 'monitor',
  1463. hidden: true,
  1464. permission: 'B_intelligentReplenishment_edit'
  1465. }
  1466. },
  1467. {
  1468. path: 'set',
  1469. name: 'intelligentReplenishmentSet',
  1470. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1471. meta: {
  1472. title: '基础信息设置',
  1473. icon: 'monitor',
  1474. permission: 'B_intelligentReplenishment_set',
  1475. replaceTab: true,
  1476. hidden: true
  1477. }
  1478. },
  1479. {
  1480. path: 'import',
  1481. name: 'intelligentReplenishmentImport',
  1482. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1483. meta: {
  1484. title: '确认导入',
  1485. icon: 'monitor',
  1486. replaceTab: true,
  1487. hidden: true
  1488. }
  1489. }
  1490. ]
  1491. }
  1492. ]
  1493. },
  1494. // 调拨管理
  1495. {
  1496. path: '/allocationManagement',
  1497. redirect: '/allocationManagement/transferOut',
  1498. component: PageView,
  1499. meta: {
  1500. title: '调拨管理',
  1501. icon: 'cluster',
  1502. permission: 'M_allocationManagement'
  1503. },
  1504. children: [
  1505. {
  1506. path: '/allocationManagement/transferOut',
  1507. redirect: '/allocationManagement/transferOut/list',
  1508. name: 'transferOut',
  1509. component: BlankLayout,
  1510. meta: {
  1511. title: '调拨列表',
  1512. icon: 'pull-request',
  1513. permission: 'M_transferOutList'
  1514. },
  1515. hideChildrenInMenu: true,
  1516. children: [
  1517. {
  1518. path: 'list',
  1519. name: 'transferOutList',
  1520. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1521. meta: {
  1522. title: '调拨列表',
  1523. icon: 'pull-request',
  1524. hidden: true,
  1525. permission: 'M_transferOutList'
  1526. }
  1527. },
  1528. {
  1529. path: 'add/:sn/:dealerLevel',
  1530. name: 'transferOutAdd',
  1531. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1532. meta: {
  1533. title: '新增调拨单',
  1534. icon: 'pull-request',
  1535. hidden: true,
  1536. permission: 'M_transferOut_edit'
  1537. }
  1538. },
  1539. {
  1540. path: 'edit/:sn/:dealerLevel',
  1541. name: 'transferOutEdit',
  1542. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1543. meta: {
  1544. title: '编辑调拨单',
  1545. icon: 'pull-request',
  1546. hidden: true,
  1547. permission: 'M_transferOut_edit'
  1548. }
  1549. },
  1550. {
  1551. path: 'detail/:sn',
  1552. name: 'transferOutDetail',
  1553. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1554. meta: {
  1555. title: '调拨单详情',
  1556. icon: 'pull-request',
  1557. hidden: true,
  1558. replaceTab: true,
  1559. permission: 'M_transferOut_detail'
  1560. }
  1561. }
  1562. ]
  1563. },
  1564. {
  1565. path: '/allocationManagement/transfersPrint',
  1566. redirect: '/allocationManagement/transfersPrint/list',
  1567. name: 'transfersPrint',
  1568. component: BlankLayout,
  1569. meta: {
  1570. title: '调拨打印',
  1571. icon: 'pull-request',
  1572. permission: 'M_transfersPrintList'
  1573. },
  1574. hideChildrenInMenu: true,
  1575. children: [
  1576. {
  1577. path: 'list',
  1578. name: 'transfersPrintList',
  1579. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1580. meta: {
  1581. title: '调拨打印',
  1582. icon: 'pull-request',
  1583. hidden: true,
  1584. permission: 'M_transfersPrintList'
  1585. }
  1586. }
  1587. ]
  1588. },
  1589. {
  1590. path: '/allocationManagement/matchSendOutOrder',
  1591. redirect: '/allocationManagement/matchSendOutOrder/list',
  1592. name: 'matchSendOutOrderAllocation',
  1593. component: BlankLayout,
  1594. meta: {
  1595. title: '调拨发货对单',
  1596. icon: 'vertical-align-bottom',
  1597. permission: 'M_matchSendOutOrderAllocationList'
  1598. },
  1599. hideChildrenInMenu: true,
  1600. children: [
  1601. {
  1602. path: 'list',
  1603. name: 'matchSendOutOrderAllocationList',
  1604. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1605. meta: {
  1606. title: '调拨发货对单',
  1607. icon: 'vertical-align-bottom',
  1608. hidden: true,
  1609. permission: 'M_matchSendOutOrderAllocationList'
  1610. }
  1611. }
  1612. ]
  1613. },
  1614. {
  1615. path: '/allocationManagement/transferReturn',
  1616. redirect: '/allocationManagement/transferReturn/list',
  1617. name: 'transferReturn',
  1618. component: BlankLayout,
  1619. meta: {
  1620. title: '调拨退货列表',
  1621. icon: 'pull-request',
  1622. permission: 'M_transferReturnList'
  1623. },
  1624. hideChildrenInMenu: true,
  1625. children: [
  1626. {
  1627. path: 'list',
  1628. name: 'transferReturnList',
  1629. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1630. meta: {
  1631. title: '调拨退货列表',
  1632. icon: 'pull-request',
  1633. hidden: true,
  1634. permission: 'M_transferReturnList'
  1635. }
  1636. },
  1637. {
  1638. path: 'editGrap/:sn/:targetType',
  1639. name: 'transferReturnGrpEdit',
  1640. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1641. meta: {
  1642. title: '编辑调拨退货单(抓单)',
  1643. icon: 'pull-request',
  1644. hidden: true,
  1645. permission: 'B_transferReturnEdit'
  1646. }
  1647. },
  1648. {
  1649. path: 'edit/:sn/:targetType/:dealerLevel',
  1650. name: 'transferReturnEdit',
  1651. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1652. meta: {
  1653. title: '编辑调拨退货单(不抓单)',
  1654. icon: 'pull-request',
  1655. hidden: true,
  1656. permission: 'B_transferReturnEdit'
  1657. }
  1658. },
  1659. {
  1660. path: 'detail/:sn',
  1661. name: 'transferReturnDetail',
  1662. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1663. meta: {
  1664. title: '调拨退货单详情',
  1665. icon: 'pull-request',
  1666. replaceTab: true,
  1667. hidden: true,
  1668. permission: 'M_transferReturnDetail'
  1669. }
  1670. },
  1671. {
  1672. path: 'check/:sn/:grabFlag',
  1673. name: 'transferReturnCheck',
  1674. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1675. meta: {
  1676. title: '调拨退货品检',
  1677. icon: 'fund',
  1678. replaceTab: true,
  1679. hidden: true,
  1680. permission: 'M_transferReturnCheck'
  1681. }
  1682. }
  1683. ]
  1684. },
  1685. {
  1686. path: '/allocationManagement/allocateReturnConfirmation',
  1687. redirect: '/allocationManagement/allocateReturnConfirmation/list',
  1688. name: 'allocateReturnConfirmation',
  1689. component: BlankLayout,
  1690. meta: {
  1691. title: '调拨退货确认',
  1692. icon: 'vertical-align-top',
  1693. permission: 'M_allocateReturnConfirmationList'
  1694. },
  1695. hideChildrenInMenu: true,
  1696. children: [
  1697. {
  1698. path: 'list',
  1699. name: 'allocateReturnConfirmationList',
  1700. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
  1701. meta: {
  1702. title: '调拨退货确认列表',
  1703. icon: 'vertical-align-top',
  1704. hidden: true,
  1705. permission: 'M_allocateReturnConfirmationList'
  1706. }
  1707. }
  1708. ]
  1709. },
  1710. {
  1711. path: '/allocationManagement/allocationList',
  1712. redirect: '/allocationManagement/allocationList/list',
  1713. name: 'allocationList',
  1714. component: BlankLayout,
  1715. meta: {
  1716. title: '调拨一览表',
  1717. icon: 'vertical-align-top',
  1718. permission: 'M_allocationList'
  1719. },
  1720. hideChildrenInMenu: true,
  1721. children: [
  1722. {
  1723. path: 'list',
  1724. name: 'allocationMainList',
  1725. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
  1726. meta: {
  1727. title: '调拨一览表',
  1728. icon: 'vertical-align-top',
  1729. hidden: true,
  1730. permission: 'M_allocationList'
  1731. }
  1732. }
  1733. ]
  1734. }
  1735. ]
  1736. },
  1737. // 报表
  1738. {
  1739. path: '/reportData',
  1740. redirect: '/reportData/salesOrderTotal',
  1741. component: PageView,
  1742. meta: {
  1743. title: '报表',
  1744. icon: 'project',
  1745. permission: 'M_reportData'
  1746. },
  1747. children: [
  1748. {
  1749. path: '/reportData/salesOrderTotal',
  1750. redirect: '/reportData/salesOrderTotal/list',
  1751. name: 'salesOrderTotal',
  1752. component: BlankLayout,
  1753. meta: {
  1754. title: '销售(开单统计)',
  1755. icon: 'profile',
  1756. permission: 'M_salesOrderTotalList'
  1757. },
  1758. hideChildrenInMenu: true,
  1759. children: [
  1760. {
  1761. path: 'list',
  1762. name: 'salesOrderTotalList',
  1763. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1764. meta: {
  1765. title: '销售(开单统计)列表',
  1766. icon: 'profile',
  1767. hidden: true,
  1768. permission: 'M_salesOrderTotalList'
  1769. }
  1770. }
  1771. ]
  1772. },
  1773. {
  1774. path: '/reportData/salesDetails',
  1775. redirect: '/reportData/salesDetails/list',
  1776. name: 'salesDetails',
  1777. component: BlankLayout,
  1778. meta: {
  1779. title: '销售明细(下推统计)',
  1780. icon: 'profile',
  1781. permission: 'M_salesDetailsList'
  1782. },
  1783. hideChildrenInMenu: true,
  1784. children: [
  1785. {
  1786. path: 'list',
  1787. name: 'salesDetailsList',
  1788. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1789. meta: {
  1790. title: '销售明细(下推统计)列表',
  1791. icon: 'profile',
  1792. hidden: true,
  1793. permission: 'M_salesDetailsList'
  1794. }
  1795. }
  1796. ]
  1797. },
  1798. {
  1799. path: '/reportData/actualSalesReport',
  1800. redirect: '/reportData/actualSalesReport/list',
  1801. name: 'actualSalesReport',
  1802. component: BlankLayout,
  1803. meta: {
  1804. title: '实售销售报表',
  1805. icon: 'profile',
  1806. permission: 'M_actualSalesReportList'
  1807. },
  1808. hideChildrenInMenu: true,
  1809. children: [
  1810. {
  1811. path: 'list',
  1812. name: 'actualSalesReportList',
  1813. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1814. meta: {
  1815. title: '实售销售列表',
  1816. icon: 'profile',
  1817. hidden: true,
  1818. permission: 'M_actualSalesReportList'
  1819. }
  1820. }
  1821. ]
  1822. },
  1823. {
  1824. path: '/reportData/salesAmountReport',
  1825. redirect: '/reportData/salesAmountReport/list',
  1826. name: 'salesAmountReport',
  1827. component: BlankLayout,
  1828. meta: {
  1829. title: '开单销售报表',
  1830. icon: 'profile',
  1831. permission: 'M_salesAmountReportList'
  1832. },
  1833. hideChildrenInMenu: true,
  1834. children: [{
  1835. path: 'list',
  1836. name: 'salesAmountReportList',
  1837. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1838. meta: {
  1839. title: '开单销售报表列表',
  1840. icon: 'profile',
  1841. hidden: true,
  1842. permission: 'M_salesAmountReportList'
  1843. }
  1844. }]
  1845. },
  1846. {
  1847. path: '/reportData/salesSlipReport',
  1848. redirect: '/reportData/salesSlipReport/list',
  1849. name: 'salesSlipReport',
  1850. component: BlankLayout,
  1851. meta: {
  1852. title: '开单销售单报表',
  1853. icon: 'profile',
  1854. permission: 'M_salesSlipReportList'
  1855. },
  1856. hideChildrenInMenu: true,
  1857. children: [{
  1858. path: 'list',
  1859. name: 'salesSlipReportList',
  1860. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1861. meta: {
  1862. title: '开单销售单报表列表',
  1863. icon: 'profile',
  1864. hidden: true,
  1865. permission: 'M_salesSlipReportList'
  1866. }
  1867. }]
  1868. },
  1869. {
  1870. path: '/reportData/promotionSalesRealTimeReport',
  1871. redirect: '/reportData/promotionSalesRealTimeReport/index',
  1872. name: 'promotionSalesRealTimeReport',
  1873. component: BlankLayout,
  1874. meta: {
  1875. title: '促销销售单报表',
  1876. icon: 'profile',
  1877. permission: 'M_promotionSalesRealTimeReportList'
  1878. },
  1879. hideChildrenInMenu: true,
  1880. children: [
  1881. {
  1882. path: 'index',
  1883. name: 'promotionSalesRealTimeReportIndex',
  1884. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  1885. meta: {
  1886. title: '促销销售单报表',
  1887. icon: 'profile',
  1888. hidden: true,
  1889. permission: 'M_promotionSalesRealTimeReportList'
  1890. }
  1891. }
  1892. ]
  1893. },
  1894. {
  1895. path: '/reportData/promotionSalesOrderReport',
  1896. redirect: '/reportData/promotionSalesOrderReport/list',
  1897. name: 'promotionSalesOrderReport',
  1898. component: BlankLayout,
  1899. meta: {
  1900. title: '促销销售单报表(统计)',
  1901. icon: 'profile',
  1902. permission: 'M_promotionSalesOrderReport'
  1903. },
  1904. hideChildrenInMenu: true,
  1905. children: [{
  1906. path: 'list',
  1907. name: 'promotionSalesOrderReportList',
  1908. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesOrderReport/list.vue'),
  1909. meta: {
  1910. title: '促销销售单报表(统计)',
  1911. icon: 'profile',
  1912. hidden: true,
  1913. permission: 'M_promotionSalesOrderReportList'
  1914. }
  1915. }]
  1916. },
  1917. {
  1918. path: '/reportData/tireSalesReport',
  1919. redirect: '/reportData/tireSalesReport/index',
  1920. name: 'tireSalesReport',
  1921. component: BlankLayout,
  1922. meta: {
  1923. title: '轮胎统计报表',
  1924. icon: 'profile',
  1925. permission: 'M_tireSalesReportList'
  1926. },
  1927. hideChildrenInMenu: true,
  1928. children: [
  1929. {
  1930. path: 'index',
  1931. name: 'tireSalesReportIndex',
  1932. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/tireSalesReport/index.vue'),
  1933. meta: {
  1934. title: '轮胎统计报表',
  1935. icon: 'profile',
  1936. hidden: true,
  1937. permission: 'M_tireSalesReportList'
  1938. }
  1939. }
  1940. ]
  1941. },
  1942. {
  1943. path: '/reportData/tireFeeReport',
  1944. redirect: '/reportData/tireFeeReport/index',
  1945. name: 'tireFeeReport',
  1946. component: BlankLayout,
  1947. meta: {
  1948. title: '轮胎费用报表',
  1949. icon: 'profile',
  1950. permission: 'M_tireFeeReportList'
  1951. },
  1952. hideChildrenInMenu: true,
  1953. children: [
  1954. {
  1955. path: 'index',
  1956. name: 'tireFeeReportIndex',
  1957. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/tireFeeReport/index.vue'),
  1958. meta: {
  1959. title: '轮胎费用报表',
  1960. icon: 'profile',
  1961. hidden: true,
  1962. permission: 'M_tireFeeReportList'
  1963. }
  1964. }
  1965. ]
  1966. },
  1967. {
  1968. path: '/reportData/allocationOrderTotal',
  1969. redirect: '/reportData/allocationOrderTotal/list',
  1970. name: 'allocationOrderTotal',
  1971. component: BlankLayout,
  1972. meta: {
  1973. title: '调拨开单统计',
  1974. icon: 'profile',
  1975. permission: 'M_allocationOrderTotalList'
  1976. },
  1977. hideChildrenInMenu: true,
  1978. children: [
  1979. {
  1980. path: 'list',
  1981. name: 'allocationOrderTotalList',
  1982. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1983. meta: {
  1984. title: '调拨开单列表',
  1985. icon: 'profile',
  1986. hidden: true,
  1987. permission: 'M_allocationOrderTotalList'
  1988. }
  1989. }
  1990. ]
  1991. },
  1992. {
  1993. path: '/reportData/allocationDetails',
  1994. redirect: '/reportData/allocationDetails/list',
  1995. name: 'allocationDetails',
  1996. component: BlankLayout,
  1997. meta: {
  1998. title: '调拨明细',
  1999. icon: 'profile',
  2000. permission: 'M_allocationDetailsList'
  2001. },
  2002. hideChildrenInMenu: true,
  2003. children: [
  2004. {
  2005. path: 'list',
  2006. name: 'allocationDetailsList',
  2007. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  2008. meta: {
  2009. title: '调拨明细列表',
  2010. icon: 'profile',
  2011. hidden: true,
  2012. permission: 'M_allocationDetailsList'
  2013. }
  2014. }
  2015. ]
  2016. },
  2017. {
  2018. path: '/reportData/urchaseReturn',
  2019. redirect: '/reportData/urchaseReturn/list',
  2020. name: 'urchaseReturnList',
  2021. component: BlankLayout,
  2022. meta: {
  2023. title: '采购退货单报表',
  2024. icon: 'profile',
  2025. permission: 'M_urchaseReturn'
  2026. },
  2027. hideChildrenInMenu: true,
  2028. children: [
  2029. {
  2030. path: 'list',
  2031. name: 'urchaseReturnList',
  2032. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  2033. meta: {
  2034. title: '采购退货单报表列表',
  2035. icon: 'profile',
  2036. hidden: true,
  2037. permission: 'M_urchaseReturnList'
  2038. }
  2039. }
  2040. ]
  2041. },
  2042. {
  2043. path: '/reportData/urchaseDetailReturn',
  2044. redirect: '/reportData/urchaseDetailReturn/detailList',
  2045. name: 'urchaseDetailReturnList',
  2046. component: BlankLayout,
  2047. meta: {
  2048. title: '采购退货单明细报表',
  2049. icon: 'profile',
  2050. permission: 'M_urchaseDetailReturn'
  2051. },
  2052. hideChildrenInMenu: true,
  2053. children: [
  2054. {
  2055. path: 'detailList',
  2056. name: 'urchaseDetailReturnList',
  2057. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  2058. meta: {
  2059. title: '采购退货单明细报表列表',
  2060. icon: 'profile',
  2061. hidden: true,
  2062. permission: 'M_urchaseDetailReturnList'
  2063. }
  2064. }
  2065. ]
  2066. },
  2067. {
  2068. path: '/reportData/salesReturnsReport',
  2069. redirect: '/reportData/salesReturnsReport/list',
  2070. name: 'salesReturnsReport',
  2071. component: BlankLayout,
  2072. meta: {
  2073. title: '销售退货单报表',
  2074. icon: 'profile',
  2075. permission: 'M_salesReturnsReportList'
  2076. },
  2077. hideChildrenInMenu: true,
  2078. children: [
  2079. {
  2080. path: 'list',
  2081. name: 'salesReturnsReportList',
  2082. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  2083. meta: {
  2084. title: '销售退货单报表列表',
  2085. icon: 'profile',
  2086. hidden: true,
  2087. permission: 'M_salesReturnsReportList'
  2088. }
  2089. }
  2090. ]
  2091. },
  2092. {
  2093. path: '/reportData/salesReturnDetailReport',
  2094. redirect: '/reportData/salesReturnDetailReport/list',
  2095. name: 'salesReturnDetailReport',
  2096. component: BlankLayout,
  2097. meta: {
  2098. title: '销售退货明细报表',
  2099. icon: 'profile',
  2100. permission: 'M_salesReturnDetailReportList'
  2101. },
  2102. hideChildrenInMenu: true,
  2103. children: [{
  2104. path: 'list',
  2105. name: 'salesReturnDetailReportList',
  2106. component: () => import(/* webpackChunkName: "reportData" */
  2107. '@/views/reportData/salesReturnDetailReport/list.vue'),
  2108. meta: {
  2109. title: '销售退货明细报表列表',
  2110. icon: 'profile',
  2111. hidden: true,
  2112. permission: 'M_salesReturnDetailReportList'
  2113. }
  2114. }]
  2115. },
  2116. {
  2117. path: '/reportData/transferReturnReport',
  2118. redirect: '/reportData/transferReturnReport/list',
  2119. name: 'transferReturnReport',
  2120. component: BlankLayout,
  2121. meta: {
  2122. title: '调拨退货单报表',
  2123. icon: 'profile',
  2124. permission: 'M_transferReturnReportList'
  2125. },
  2126. hideChildrenInMenu: true,
  2127. children: [
  2128. {
  2129. path: 'list',
  2130. name: 'transferReturnReportList',
  2131. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  2132. meta: {
  2133. title: '调拨退货单报表列表',
  2134. icon: 'profile',
  2135. hidden: true,
  2136. permission: 'M_transferReturnReportList'
  2137. }
  2138. }
  2139. ]
  2140. },
  2141. {
  2142. path: '/reportData/transferReturnDetailReport',
  2143. redirect: '/reportData/transferReturnDetailReport/list',
  2144. name: 'transferReturnDetailReport',
  2145. component: BlankLayout,
  2146. meta: {
  2147. title: '调拨退货单明细报表',
  2148. icon: 'profile',
  2149. permission: 'M_transferReturnDetailReportList'
  2150. },
  2151. hideChildrenInMenu: true,
  2152. children: [{
  2153. path: 'list',
  2154. name: 'transferReturnDetailReportList',
  2155. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  2156. meta: {
  2157. title: '调拨退货单明细报表列表',
  2158. icon: 'profile',
  2159. hidden: true,
  2160. permission: 'M_transferReturnDetailReportList'
  2161. }
  2162. }]
  2163. },
  2164. {
  2165. path: '/reportData/salesReturnReport',
  2166. redirect: '/reportData/salesReturnReport/list',
  2167. name: 'salesReturnReport',
  2168. component: BlankLayout,
  2169. meta: {
  2170. title: '实售退货报表',
  2171. icon: 'profile',
  2172. permission: 'M_salesReturnReportList'
  2173. },
  2174. hideChildrenInMenu: true,
  2175. children: [
  2176. {
  2177. path: 'list',
  2178. name: 'salesReturnReportList',
  2179. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  2180. meta: {
  2181. title: '实售退货列表',
  2182. icon: 'profile',
  2183. hidden: true,
  2184. permission: 'M_salesReturnReportList'
  2185. }
  2186. }
  2187. ]
  2188. },
  2189. {
  2190. path: '/reportData/billingReturnReport',
  2191. redirect: '/reportData/billingReturnReport/list',
  2192. name: 'billingReturnReport',
  2193. component: BlankLayout,
  2194. meta: {
  2195. title: '开单退货报表',
  2196. icon: 'profile',
  2197. permission: 'M_billingReturnReportList'
  2198. },
  2199. hideChildrenInMenu: true,
  2200. children: [
  2201. {
  2202. path: 'list',
  2203. name: 'billingReturnReportList',
  2204. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  2205. meta: {
  2206. title: '开单退货列表',
  2207. icon: 'profile',
  2208. hidden: true,
  2209. permission: 'M_billingReturnReportList'
  2210. }
  2211. }
  2212. ]
  2213. },
  2214. {
  2215. path: '/reportData/returnSlipReport',
  2216. redirect: '/reportData/returnSlipReport/list',
  2217. name: 'returnSlipReport',
  2218. component: BlankLayout,
  2219. meta: {
  2220. title: '开单退货单报表',
  2221. icon: 'profile',
  2222. permission: 'M_returnSlipReportList'
  2223. },
  2224. hideChildrenInMenu: true,
  2225. children: [{
  2226. path: 'list',
  2227. name: 'returnSlipReportList',
  2228. component: () => import(/* webpackChunkName: "reportData" */
  2229. '@/views/reportData/returnSlipReport/list.vue'),
  2230. meta: {
  2231. title: '开单退货单报表列表',
  2232. icon: 'profile',
  2233. hidden: true,
  2234. permission: 'M_returnSlipReportList'
  2235. }
  2236. }]
  2237. },
  2238. {
  2239. path: '/reportData/billingBackReport',
  2240. redirect: '/reportData/billingBackReport/list',
  2241. name: 'billingBackReport',
  2242. component: BlankLayout,
  2243. meta: {
  2244. title: '开单采退报表',
  2245. icon: 'profile',
  2246. permission: 'M_billingBackReport'
  2247. },
  2248. hideChildrenInMenu: true,
  2249. children: [{
  2250. path: 'list',
  2251. name: 'billingBackReportList',
  2252. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2253. meta: {
  2254. title: '开单采退报表列表',
  2255. icon: 'profile',
  2256. hidden: true,
  2257. permission: 'M_billingBackReportList'
  2258. }
  2259. }]
  2260. },
  2261. {
  2262. path: '/reportData/billingOrderReport',
  2263. redirect: '/reportData/billingOrderReport/list',
  2264. name: 'billingOrderReport',
  2265. component: BlankLayout,
  2266. meta: {
  2267. title: '开单采退单报表',
  2268. icon: 'profile',
  2269. permission: 'M_billingOrderReport'
  2270. },
  2271. hideChildrenInMenu: true,
  2272. children: [{
  2273. path: 'list',
  2274. name: 'billingOrderReportList',
  2275. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2276. meta: {
  2277. title: '开单采退单报表列表',
  2278. icon: 'profile',
  2279. hidden: true,
  2280. permission: 'M_billingOrderReportList'
  2281. }
  2282. }]
  2283. },
  2284. {
  2285. path: '/reportData/hPriceDifferenceDetailReport',
  2286. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2287. name: 'hPriceDifferenceDetailReport',
  2288. component: BlankLayout,
  2289. meta: {
  2290. title: '总部差价明细报表',
  2291. icon: 'profile',
  2292. permission: 'M_hPriceDifferenceDetailReportList'
  2293. },
  2294. hideChildrenInMenu: true,
  2295. children: [
  2296. {
  2297. path: 'list',
  2298. name: 'hPriceDifferenceDetailReportList',
  2299. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2300. meta: {
  2301. title: '总部差价明细列表',
  2302. icon: 'profile',
  2303. hidden: true,
  2304. permission: 'M_hPriceDifferenceDetailReportList'
  2305. }
  2306. }
  2307. ]
  2308. },
  2309. {
  2310. path: '/reportData/priceDifferenceDetailReport',
  2311. redirect: '/reportData/priceDifferenceDetailReport/list',
  2312. name: 'priceDifferenceDetailReport',
  2313. component: BlankLayout,
  2314. meta: {
  2315. title: '差价明细报表',
  2316. icon: 'profile',
  2317. permission: 'M_priceDifferenceDetailReportList'
  2318. },
  2319. hideChildrenInMenu: true,
  2320. children: [
  2321. {
  2322. path: 'list',
  2323. name: 'priceDifferenceDetailReportList',
  2324. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2325. meta: {
  2326. title: '差价明细列表',
  2327. icon: 'profile',
  2328. hidden: true,
  2329. permission: 'M_priceDifferenceDetailReportList'
  2330. }
  2331. }
  2332. ]
  2333. },
  2334. {
  2335. path: '/reportData/regionTypeSalesReport',
  2336. redirect: '/reportData/regionTypeSalesReport/list',
  2337. name: 'regionTypeSalesReport',
  2338. component: BlankLayout,
  2339. meta: {
  2340. title: '各分区品类实售明细',
  2341. icon: 'profile',
  2342. permission: 'M_regionTypeSalesReportList'
  2343. },
  2344. hideChildrenInMenu: true,
  2345. children: [
  2346. {
  2347. path: 'list',
  2348. name: 'regionTypeSalesReportList',
  2349. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2350. meta: {
  2351. title: '各分区品类实售明细',
  2352. icon: 'profile',
  2353. hidden: true,
  2354. permission: 'M_regionTypeSalesReportList'
  2355. }
  2356. }
  2357. ]
  2358. },
  2359. {
  2360. path: '/reportData/warehousingOrder',
  2361. redirect: '/reportData/warehousingOrder/list',
  2362. name: 'warehousingOrder',
  2363. component: BlankLayout,
  2364. meta: {
  2365. title: '入库单报表',
  2366. icon: 'profile',
  2367. permission: 'M_warehousingOrderList'
  2368. },
  2369. hideChildrenInMenu: true,
  2370. children: [
  2371. {
  2372. path: 'list',
  2373. name: 'warehousingOrderList',
  2374. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2375. meta: {
  2376. title: '入库单报表列表',
  2377. icon: 'profile',
  2378. hidden: true,
  2379. permission: 'M_warehousingOrderList'
  2380. }
  2381. }
  2382. ]
  2383. },
  2384. {
  2385. path: '/reportData/warehousingOrderDetail',
  2386. redirect: '/reportData/warehousingOrderDetail/list',
  2387. name: 'warehousingOrderDetail',
  2388. component: BlankLayout,
  2389. meta: {
  2390. title: '入库单明细报表',
  2391. icon: 'profile',
  2392. permission: 'M_warehousingOrderDetailList'
  2393. },
  2394. hideChildrenInMenu: true,
  2395. children: [
  2396. {
  2397. path: 'list',
  2398. name: 'warehousingOrderDetailList',
  2399. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2400. meta: {
  2401. title: '入库单明细报表列表',
  2402. icon: 'profile',
  2403. hidden: true,
  2404. permission: 'M_warehousingOrderDetailList'
  2405. }
  2406. }
  2407. ]
  2408. },
  2409. {
  2410. path: '/reportData/salesPresentation',
  2411. redirect: '/reportData/salesPresentation/list',
  2412. name: 'salesPresentation',
  2413. component: BlankLayout,
  2414. meta: {
  2415. title: '销售交单报表',
  2416. icon: 'profile',
  2417. permission: 'M_salesPresentationList'
  2418. },
  2419. hideChildrenInMenu: true,
  2420. children: [
  2421. {
  2422. path: 'list',
  2423. name: 'salesPresentationList',
  2424. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2425. meta: {
  2426. title: '销售交单报表列表',
  2427. icon: 'profile',
  2428. hidden: true,
  2429. permission: 'M_salesPresentationList'
  2430. }
  2431. }
  2432. ]
  2433. },
  2434. {
  2435. path: '/reportData/allocationPresentation',
  2436. redirect: '/reportData/allocationPresentation/list',
  2437. name: 'allocationPresentation',
  2438. component: BlankLayout,
  2439. meta: {
  2440. title: '调拨交单报表',
  2441. icon: 'profile',
  2442. permission: 'M_allocationPresentationList'
  2443. },
  2444. hideChildrenInMenu: true,
  2445. children: [
  2446. {
  2447. path: 'list',
  2448. name: 'allocationPresentationList',
  2449. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2450. meta: {
  2451. title: '调拨交单报表列表',
  2452. icon: 'profile',
  2453. hidden: true,
  2454. permission: 'M_allocationPresentationList'
  2455. }
  2456. }
  2457. ]
  2458. },
  2459. {
  2460. path: '/reportData/returnGoodsPresentation',
  2461. redirect: '/reportData/returnGoodsPresentation/list',
  2462. name: 'returnGoodsPresentation',
  2463. component: BlankLayout,
  2464. meta: {
  2465. title: '退货交单报表',
  2466. icon: 'profile',
  2467. permission: 'M_returnGoodsPresentationList'
  2468. },
  2469. hideChildrenInMenu: true,
  2470. children: [
  2471. {
  2472. path: 'list',
  2473. name: 'returnGoodsPresentationList',
  2474. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2475. meta: {
  2476. title: '退货交单报表列表',
  2477. icon: 'profile',
  2478. hidden: true,
  2479. permission: 'M_returnGoodsPresentationList'
  2480. }
  2481. }
  2482. ]
  2483. },
  2484. {
  2485. path: '/reportData/expenseAccountBearerReport',
  2486. redirect: '/reportData/expenseAccountBearerReport/list',
  2487. name: 'expenseAccountBearerReport',
  2488. component: BlankLayout,
  2489. meta: {
  2490. title: '费用汇总报表(按承担方)',
  2491. icon: 'profile',
  2492. permission: 'M_expenseAccountBearerReportList'
  2493. },
  2494. hideChildrenInMenu: true,
  2495. children: [
  2496. {
  2497. path: 'list',
  2498. name: 'expenseAccountBearerReportList',
  2499. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2500. meta: {
  2501. title: '费用汇总报表(按承担方)',
  2502. icon: 'profile',
  2503. hidden: true,
  2504. permission: 'M_expenseAccountBearerReportList'
  2505. }
  2506. }
  2507. ]
  2508. },
  2509. {
  2510. path: '/reportData/expenseAccountCategoryReport',
  2511. redirect: '/reportData/expenseAccountCategoryReport/list',
  2512. name: 'expenseAccountCategoryReport',
  2513. component: BlankLayout,
  2514. meta: {
  2515. title: '费用汇总报表(按品类)',
  2516. icon: 'profile',
  2517. permission: 'M_expenseAccountCategoryReportList'
  2518. },
  2519. hideChildrenInMenu: true,
  2520. children: [
  2521. {
  2522. path: 'list',
  2523. name: 'expenseAccountCategoryReportList',
  2524. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2525. meta: {
  2526. title: '费用汇总报表(按品类)',
  2527. icon: 'profile',
  2528. hidden: true,
  2529. permission: 'M_expenseAccountCategoryReportList'
  2530. }
  2531. }
  2532. ]
  2533. },
  2534. {
  2535. path: '/reportData/receivedSendStorageReport',
  2536. redirect: '/reportData/receivedSendStorageReport/index',
  2537. name: 'receivedSendStorageReport',
  2538. component: BlankLayout,
  2539. meta: {
  2540. title: '收发存报表',
  2541. icon: 'profile',
  2542. permission: 'M_receivedSendStorageReport'
  2543. },
  2544. hideChildrenInMenu: true,
  2545. children: [
  2546. {
  2547. path: 'index',
  2548. name: 'receivedSendStorageReportIndex',
  2549. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2550. meta: {
  2551. title: '收发存报表',
  2552. icon: 'profile',
  2553. hidden: true,
  2554. permission: 'M_receivedSendStorageReportList'
  2555. }
  2556. }
  2557. ]
  2558. },
  2559. {
  2560. path: '/productRebateReport/index',
  2561. redirect: '/productRebateReport/index/list',
  2562. name: 'productRebateReportList',
  2563. component: BlankLayout,
  2564. meta: {
  2565. title: '产品返利明细表',
  2566. icon: 'profile',
  2567. permission: 'M_productRebateReportList'
  2568. },
  2569. hideChildrenInMenu: true,
  2570. children: [
  2571. {
  2572. path: 'list',
  2573. name: 'productRebateReportList',
  2574. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2575. meta: {
  2576. title: '产品返利明细表',
  2577. icon: 'profile',
  2578. hidden: true,
  2579. permission: 'M_productRebateReportList'
  2580. }
  2581. }
  2582. ]
  2583. }
  2584. // {
  2585. // path: '/reportData/allCountryCostReport',
  2586. // redirect: '/reportData/allCountryCostReport/list',
  2587. // name: 'allCountryCostReport',
  2588. // component: BlankLayout,
  2589. // meta: {
  2590. // title: '全国费用统计报表',
  2591. // icon: 'profile'
  2592. // // permission: 'M_nationalCustomerCostStatisticsList'
  2593. // },
  2594. // hideChildrenInMenu: true,
  2595. // children: [
  2596. // {
  2597. // path: 'list',
  2598. // name: 'allCountryCostReportList',
  2599. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2600. // meta: {
  2601. // title: '全国费用统计报表',
  2602. // icon: 'profile',
  2603. // hidden: true
  2604. // // permission: 'M_nationalCustomerCostStatisticsList'
  2605. // }
  2606. // }
  2607. // ]
  2608. // }
  2609. ]
  2610. },
  2611. // 数据导出
  2612. {
  2613. path: '/dataExport',
  2614. redirect: '/dataExport/exportSales',
  2615. component: PageView,
  2616. meta: {
  2617. title: '数据导出',
  2618. icon: 'database',
  2619. permission: 'M_dataExport'
  2620. },
  2621. children: [
  2622. {
  2623. path: '/dataExport/exportSales',
  2624. redirect: '/dataExport/exportSales/list',
  2625. name: 'exportSales',
  2626. component: BlankLayout,
  2627. meta: {
  2628. title: '导出销售',
  2629. icon: 'gold',
  2630. permission: 'M_exportSales'
  2631. },
  2632. hideChildrenInMenu: true,
  2633. children: [
  2634. {
  2635. path: 'list',
  2636. name: 'exportSalesList',
  2637. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2638. meta: {
  2639. title: '导出销售',
  2640. icon: 'gold',
  2641. hidden: true,
  2642. permission: 'M_exportSales'
  2643. }
  2644. }
  2645. ]
  2646. },
  2647. {
  2648. path: '/dataExport/exportCheck',
  2649. redirect: '/dataExport/exportCheck/list',
  2650. name: 'exportCheck',
  2651. component: BlankLayout,
  2652. meta: {
  2653. title: '导出盘点',
  2654. icon: 'gold',
  2655. permission: 'M_exportCheck'
  2656. },
  2657. hideChildrenInMenu: true,
  2658. children: [
  2659. {
  2660. path: 'list',
  2661. name: 'exportCheckList',
  2662. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2663. meta: {
  2664. title: '导出盘点',
  2665. icon: 'gold',
  2666. hidden: true,
  2667. permission: 'M_exportCheck'
  2668. }
  2669. }
  2670. ]
  2671. }
  2672. ]
  2673. },
  2674. // 产品管理
  2675. {
  2676. path: '/productManagement',
  2677. redirect: '/productManagement/productInfo',
  2678. component: PageView,
  2679. meta: {
  2680. title: '产品管理',
  2681. icon: 'shopping',
  2682. permission: 'M_productManagement'
  2683. },
  2684. children: [
  2685. {
  2686. path: '/productManagement/productInfo',
  2687. redirect: '/productManagement/productInfo/list',
  2688. name: 'productInfo',
  2689. component: BlankLayout,
  2690. meta: {
  2691. title: '产品列表',
  2692. icon: 'gold',
  2693. permission: 'M_productInfoList'
  2694. },
  2695. hideChildrenInMenu: true,
  2696. children: [
  2697. {
  2698. path: 'list',
  2699. name: 'productInfoList',
  2700. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2701. meta: {
  2702. title: '产品列表',
  2703. icon: 'gold',
  2704. hidden: true,
  2705. permission: 'M_productInfoList'
  2706. }
  2707. },
  2708. {
  2709. path: 'add',
  2710. name: 'productInfoAdd',
  2711. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2712. meta: {
  2713. title: '新增产品',
  2714. icon: 'gold',
  2715. hidden: true
  2716. // permission: 'B_goodsManage_edit'
  2717. }
  2718. },
  2719. {
  2720. path: 'edit/:id/:sn',
  2721. name: 'productInfoEdit',
  2722. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2723. meta: {
  2724. title: '编辑产品',
  2725. icon: 'gold',
  2726. hidden: true
  2727. // permission: 'B_goodsManage_edit'
  2728. }
  2729. }
  2730. ]
  2731. },
  2732. {
  2733. path: '/productManagement/productPricing',
  2734. redirect: '/productManagement/productPricing/list',
  2735. name: 'productPricing',
  2736. component: BlankLayout,
  2737. meta: {
  2738. title: '产品定价',
  2739. icon: 'transaction',
  2740. permission: 'M_productPricingList'
  2741. },
  2742. hideChildrenInMenu: true,
  2743. children: [
  2744. {
  2745. path: 'list',
  2746. name: 'productPricingList',
  2747. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2748. meta: {
  2749. title: '产品定价列表',
  2750. icon: 'transaction',
  2751. hidden: true,
  2752. permission: 'M_productPricingList'
  2753. }
  2754. }
  2755. ]
  2756. },
  2757. {
  2758. path: '/productManagement/productLaunchAudit',
  2759. redirect: '/productManagement/productLaunchAudit/list',
  2760. name: 'productLaunchAudit',
  2761. component: BlankLayout,
  2762. meta: {
  2763. title: '产品上线审核',
  2764. icon: 'rise',
  2765. permission: 'M_productLaunchAuditList'
  2766. },
  2767. hideChildrenInMenu: true,
  2768. children: [
  2769. {
  2770. path: 'list',
  2771. name: 'productLaunchAuditList',
  2772. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2773. meta: {
  2774. title: '产品上线审核列表',
  2775. icon: 'rise',
  2776. hidden: true,
  2777. permission: 'M_productLaunchAuditList'
  2778. }
  2779. }
  2780. ]
  2781. },
  2782. {
  2783. path: '/productManagement/newProduct',
  2784. redirect: '/productManagement/newProduct/list/onlineInfo/1',
  2785. name: 'productLaunchInfo',
  2786. component: BlankLayout,
  2787. meta: {
  2788. title: '产品上线信息',
  2789. icon: 'rise',
  2790. permission: 'M_productLaunchInfoList'
  2791. },
  2792. hideChildrenInMenu: true,
  2793. children: [
  2794. {
  2795. path: 'list/:type/:onlineFalg',
  2796. name: 'productLaunchInfoList',
  2797. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list.vue'),
  2798. meta: {
  2799. title: '产品上线信息列表',
  2800. icon: 'rise',
  2801. hidden: true,
  2802. permission: 'M_productLaunchInfoList'
  2803. }
  2804. }
  2805. ]
  2806. },
  2807. {
  2808. path: '/productManagement/productOfflineAudit',
  2809. redirect: '/productManagement/productOfflineAudit/list',
  2810. name: 'productOfflineAudit',
  2811. component: BlankLayout,
  2812. meta: {
  2813. title: '产品下线审核',
  2814. icon: 'fall',
  2815. permission: 'M_productOfflineAuditList'
  2816. },
  2817. hideChildrenInMenu: true,
  2818. children: [
  2819. {
  2820. path: 'list',
  2821. name: 'productOfflineAuditList',
  2822. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2823. meta: {
  2824. title: '产品下线审核列表',
  2825. icon: 'fall',
  2826. hidden: true,
  2827. permission: 'M_productOfflineAuditList'
  2828. }
  2829. }
  2830. ]
  2831. },
  2832. {
  2833. path: '/productManagement/productNotOnline',
  2834. redirect: '/productManagement/productNotOnline/list',
  2835. name: 'productNotOnline',
  2836. component: BlankLayout,
  2837. meta: {
  2838. title: '产品状态信息',
  2839. icon: 'fall',
  2840. permission: 'M_productNotOnlineList'
  2841. },
  2842. hideChildrenInMenu: true,
  2843. children: [
  2844. {
  2845. path: 'list',
  2846. name: 'productNotOnlineList',
  2847. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
  2848. meta: {
  2849. title: '产品状态信息列表',
  2850. icon: 'fall',
  2851. hidden: true,
  2852. permission: 'M_productNotOnlineList'
  2853. }
  2854. }
  2855. ]
  2856. },
  2857. {
  2858. path: '/productManagement/priceChangeRecord',
  2859. redirect: '/productManagement/priceChangeRecord/list',
  2860. name: 'priceChangeRecord',
  2861. component: BlankLayout,
  2862. meta: {
  2863. title: '价格变更记录',
  2864. icon: 'profile',
  2865. permission: 'M_priceChangeRecordList'
  2866. },
  2867. hideChildrenInMenu: true,
  2868. children: [
  2869. {
  2870. path: 'list',
  2871. name: 'priceChangeRecordList',
  2872. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2873. meta: {
  2874. title: '价格变更记录列表',
  2875. icon: 'profile',
  2876. hidden: true,
  2877. permission: 'M_priceChangeRecordList'
  2878. }
  2879. }
  2880. ]
  2881. },
  2882. {
  2883. path: '/productManagement/productUniversal',
  2884. redirect: '/productManagement/productUniversal/list',
  2885. name: 'productUniversal',
  2886. component: BlankLayout,
  2887. meta: {
  2888. title: '通用产品管理',
  2889. icon: 'deployment-unit',
  2890. permission: 'M_productUniversalList'
  2891. },
  2892. hideChildrenInMenu: true,
  2893. children: [
  2894. {
  2895. path: 'list',
  2896. name: 'productUniversalList',
  2897. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2898. meta: {
  2899. title: '通用产品列表',
  2900. icon: 'deployment-unit',
  2901. hidden: true,
  2902. permission: 'M_productUniversalList'
  2903. }
  2904. }
  2905. ]
  2906. },
  2907. {
  2908. path: '/productManagement/productLevel',
  2909. redirect: '/productManagement/productLevel/list',
  2910. name: 'productLevel',
  2911. component: BlankLayout,
  2912. meta: {
  2913. title: '产品级别管理',
  2914. icon: 'fund',
  2915. permission: 'M_productLevelList'
  2916. },
  2917. hideChildrenInMenu: true,
  2918. children: [
  2919. {
  2920. path: 'list',
  2921. name: 'productLevelList',
  2922. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2923. meta: {
  2924. title: '产品级别列表',
  2925. icon: 'fund',
  2926. hidden: true,
  2927. permission: 'M_productLevelList'
  2928. }
  2929. }
  2930. ]
  2931. },
  2932. {
  2933. path: '/productManagement/productBrand',
  2934. redirect: '/productManagement/productBrand/list',
  2935. name: 'productBrand',
  2936. component: BlankLayout,
  2937. meta: {
  2938. title: '产品品牌管理',
  2939. icon: 'file-ppt',
  2940. permission: 'M_productBrandList'
  2941. },
  2942. hideChildrenInMenu: true,
  2943. children: [
  2944. {
  2945. path: 'list',
  2946. name: 'productBrandList',
  2947. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2948. meta: {
  2949. title: '产品品牌列表',
  2950. icon: 'file-ppt',
  2951. hidden: true,
  2952. permission: 'M_productBrandList'
  2953. }
  2954. }
  2955. ]
  2956. },
  2957. {
  2958. path: '/productManagement/productCategory',
  2959. redirect: '/productManagement/productCategory/list',
  2960. name: 'productCategory',
  2961. component: BlankLayout,
  2962. meta: {
  2963. title: '产品分类管理',
  2964. icon: 'radar-chart',
  2965. permission: 'M_productCategoryList'
  2966. },
  2967. hideChildrenInMenu: true,
  2968. children: [
  2969. {
  2970. path: 'list',
  2971. name: 'productCategoryList',
  2972. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2973. meta: {
  2974. title: '产品分类列表',
  2975. icon: 'radar-chart',
  2976. hidden: true,
  2977. permission: 'M_productCategoryList'
  2978. }
  2979. }
  2980. ]
  2981. },
  2982. {
  2983. path: '/productManagement/shelfNoManage',
  2984. redirect: '/productManagement/shelfNoManage/list',
  2985. name: 'shelfNoManage',
  2986. component: BlankLayout,
  2987. meta: {
  2988. title: '货位编号管理',
  2989. icon: 'radar-chart',
  2990. permission: 'M_shelfNoManageList'
  2991. },
  2992. hideChildrenInMenu: true,
  2993. children: [
  2994. {
  2995. path: 'list',
  2996. name: 'shelfNoManageList',
  2997. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2998. meta: {
  2999. title: '货位编号管理',
  3000. icon: 'radar-chart',
  3001. hidden: true,
  3002. permission: 'M_shelfNoManageList'
  3003. }
  3004. }
  3005. ]
  3006. },
  3007. {
  3008. path: '/productManagement/productSourcePath',
  3009. redirect: '/productManagement/productSourcePath/list',
  3010. name: 'productSourcePath',
  3011. component: BlankLayout,
  3012. meta: {
  3013. title: '唯一码追溯列表',
  3014. icon: 'radar-chart',
  3015. permission: 'M_productSourcePathList'
  3016. },
  3017. hideChildrenInMenu: true,
  3018. children: [
  3019. {
  3020. path: 'list',
  3021. name: 'productSourcePathList',
  3022. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productSourcePath/list.vue'),
  3023. meta: {
  3024. title: '唯一码追溯列表',
  3025. icon: 'radar-chart',
  3026. hidden: true,
  3027. permission: 'M_productSourcePathList'
  3028. }
  3029. }
  3030. ]
  3031. }
  3032. ]
  3033. },
  3034. // 经销商管理
  3035. {
  3036. path: '/dealerManagement',
  3037. redirect: '/dealerManagement/marketingDivisionSet',
  3038. component: PageView,
  3039. meta: {
  3040. title: '经销商管理',
  3041. icon: 'idcard',
  3042. permission: 'M_dealerManagement'
  3043. },
  3044. children: [
  3045. {
  3046. path: '/dealerManagement/merchantInfoManagement',
  3047. redirect: '/dealerManagement/merchantInfoManagement/list',
  3048. name: 'merchantInfoManagement',
  3049. component: BlankLayout,
  3050. meta: {
  3051. title: '经销商资料管理',
  3052. icon: 'file-text',
  3053. permission: 'M_merchantInfoManagementList'
  3054. },
  3055. hideChildrenInMenu: true,
  3056. children: [
  3057. {
  3058. path: 'list',
  3059. name: 'merchantInfoManagementList',
  3060. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  3061. meta: {
  3062. title: '经销商资料列表',
  3063. icon: 'file-text',
  3064. hidden: true,
  3065. permission: 'M_merchantInfoManagementList'
  3066. }
  3067. },
  3068. {
  3069. path: 'add',
  3070. name: 'merchantInfoManagementAdd',
  3071. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3072. meta: {
  3073. title: '新增经销商',
  3074. icon: 'file-text',
  3075. hidden: true
  3076. }
  3077. },
  3078. {
  3079. path: 'edit/:id',
  3080. name: 'merchantInfoManagementEdit',
  3081. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  3082. meta: {
  3083. title: '编辑经销商',
  3084. icon: 'file-text',
  3085. hidden: true
  3086. }
  3087. },
  3088. {
  3089. path: 'permissionSetting/:sn/:name/:dealerLevel',
  3090. name: 'merchantInfoManagementSet',
  3091. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSettingNew.vue'),
  3092. meta: {
  3093. title: '经销权设置',
  3094. icon: 'file-text',
  3095. replaceTab: true,
  3096. hidden: true
  3097. }
  3098. },
  3099. {
  3100. path: 'rebateBinding/:sn',
  3101. name: 'rebateBinding',
  3102. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateBinding/list.vue'),
  3103. meta: {
  3104. title: '差价设置',
  3105. icon: 'file-text',
  3106. replaceTab: true,
  3107. hidden: true
  3108. }
  3109. }
  3110. ]
  3111. },
  3112. {
  3113. path: '/dealerManagement/dealerAccountManagement',
  3114. redirect: '/dealerManagement/dealerAccountManagement/list',
  3115. name: 'dealerAccountManagement',
  3116. component: BlankLayout,
  3117. meta: {
  3118. title: '经销商账号管理',
  3119. icon: 'team',
  3120. permission: 'M_dealerAccountManagementList'
  3121. },
  3122. hideChildrenInMenu: true,
  3123. children: [
  3124. {
  3125. path: 'list',
  3126. name: 'dealerAccountManagementList',
  3127. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  3128. meta: {
  3129. title: '经销商账号列表',
  3130. icon: 'team',
  3131. hidden: true,
  3132. permission: 'M_dealerAccountManagementList'
  3133. }
  3134. }
  3135. ]
  3136. },
  3137. // {
  3138. // path: '/dealerManagement/dealerRelationshipBinding',
  3139. // redirect: '/dealerManagement/dealerRelationshipBinding/list',
  3140. // name: 'dealerRelationshipBinding',
  3141. // component: BlankLayout,
  3142. // meta: {
  3143. // title: '经销商关系绑定',
  3144. // icon: 'share-alt',
  3145. // permission: 'M_dealerRelationshipBindingList'
  3146. // },
  3147. // hideChildrenInMenu: true,
  3148. // children: [
  3149. // {
  3150. // path: 'list',
  3151. // name: 'dealerRelationshipBindingList',
  3152. // component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  3153. // meta: {
  3154. // title: '经销商关系绑定列表',
  3155. // icon: 'share-alt',
  3156. // hidden: true,
  3157. // permission: 'M_dealerRelationshipBindingList'
  3158. // }
  3159. // }
  3160. // ]
  3161. // },
  3162. // {
  3163. // path: '/dealerManagement/rebateSettings',
  3164. // redirect: '/dealerManagement/rebateSettings/list',
  3165. // name: 'rebateSettings',
  3166. // component: BlankLayout,
  3167. // meta: {
  3168. // title: '差价归属设置',
  3169. // icon: 'stock',
  3170. // permission: 'M_rebateSettingsList'
  3171. // },
  3172. // hideChildrenInMenu: true,
  3173. // children: [
  3174. // {
  3175. // path: 'list',
  3176. // name: 'rebateSettingsList',
  3177. // component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  3178. // meta: {
  3179. // title: '差价归属设置列表',
  3180. // icon: 'stock',
  3181. // hidden: true,
  3182. // permission: 'M_rebateSettingsList'
  3183. // }
  3184. // }
  3185. // ]
  3186. // },
  3187. {
  3188. path: '/dealerManagement/provincialWarehouseManagement',
  3189. redirect: '/dealerManagement/provincialWarehouseManagement/list',
  3190. name: 'provincialWarehouse',
  3191. component: BlankLayout,
  3192. meta: {
  3193. title: '省仓管理',
  3194. icon: 'share-alt',
  3195. permission: 'M_provincialWarehouse'
  3196. },
  3197. hideChildrenInMenu: true,
  3198. children: [
  3199. {
  3200. path: 'list',
  3201. name: 'provincialWarehouseList',
  3202. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/list.vue'),
  3203. meta: {
  3204. title: '省仓管理列表',
  3205. icon: 'share-alt',
  3206. hidden: true,
  3207. permission: 'M_provincialWarehouseList'
  3208. }
  3209. },
  3210. {
  3211. path: 'relatedDealers/:sn/:name',
  3212. name: 'relatedDealersList',
  3213. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/provincialWarehouseManagement/relatedDealersList.vue'),
  3214. meta: {
  3215. title: '省仓关联经销商',
  3216. icon: 'share-alt',
  3217. hidden: true,
  3218. replaceTab: true,
  3219. permission: 'M_relatedDealersList'
  3220. }
  3221. }
  3222. ]
  3223. },
  3224. {
  3225. path: '/dealerManagement/marketingDivisionSetNew',
  3226. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3227. name: 'marketingDivisionSetNew',
  3228. component: BlankLayout,
  3229. meta: {
  3230. title: '营销分区设置',
  3231. icon: 'setting',
  3232. permission: 'M_marketingDivisionSetList'
  3233. },
  3234. hideChildrenInMenu: true,
  3235. children: [
  3236. {
  3237. path: 'list',
  3238. name: 'marketingDivisionSetNewList',
  3239. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3240. meta: {
  3241. title: '营销分区列表',
  3242. icon: 'setting',
  3243. hidden: true,
  3244. permission: 'M_marketingDivisionSetList'
  3245. }
  3246. }
  3247. ]
  3248. },
  3249. {
  3250. path: '/dealerManagement/businessOwnerSettings',
  3251. redirect: '/dealerManagement/businessOwnerSettings/list',
  3252. name: 'businessOwnerSettings',
  3253. component: BlankLayout,
  3254. meta: {
  3255. title: '数据权限配置',
  3256. icon: 'stock',
  3257. permission: 'M_businessOwnerSettings'
  3258. },
  3259. hideChildrenInMenu: true,
  3260. children: [
  3261. {
  3262. path: 'list',
  3263. name: 'businessOwnerSettingsList',
  3264. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3265. meta: {
  3266. title: '数据权限配置列表',
  3267. icon: 'stock',
  3268. hidden: true,
  3269. permission: 'M_businessOwnerSettingsList'
  3270. }
  3271. },
  3272. {
  3273. path: 'settingsIndex',
  3274. name: 'categorySet',
  3275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3276. meta: {
  3277. title: '管辖品类权限设置',
  3278. icon: 'user',
  3279. hidden: true,
  3280. replaceTab: true,
  3281. permission: 'M_settingsIndex'
  3282. }
  3283. }
  3284. ]
  3285. },
  3286. {
  3287. path: '/dealerManagement/dealerZoneSearch',
  3288. redirect: '/dealerManagement/dealerZoneSearch/list',
  3289. name: 'dealerZoneSearch',
  3290. component: BlankLayout,
  3291. meta: {
  3292. title: '经销商所属分区查询',
  3293. icon: 'setting',
  3294. permission: 'M_dealerZoneSearch'
  3295. },
  3296. hideChildrenInMenu: true,
  3297. children: [
  3298. {
  3299. path: 'list',
  3300. name: 'dealerZoneSearchList',
  3301. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3302. meta: {
  3303. title: '经销商所属分区查询',
  3304. icon: 'setting',
  3305. hidden: true,
  3306. permission: 'M_dealerZoneSearchList'
  3307. }
  3308. }
  3309. ]
  3310. }
  3311. ]
  3312. },
  3313. // 供应商管理
  3314. {
  3315. path: '/supplierManagement',
  3316. redirect: '/supplierManagement/supplierInfo',
  3317. component: PageView,
  3318. meta: {
  3319. title: '供应商管理',
  3320. icon: 'team',
  3321. permission: 'M_supplierManagement'
  3322. },
  3323. children: [
  3324. {
  3325. path: '/supplierManagement/supplierInfo',
  3326. redirect: '/supplierManagement/supplierInfo/list',
  3327. name: 'supplierInfo',
  3328. component: BlankLayout,
  3329. meta: {
  3330. title: '供应商列表',
  3331. icon: 'team',
  3332. permission: 'M_supplierInfoList'
  3333. },
  3334. hideChildrenInMenu: true,
  3335. children: [
  3336. {
  3337. path: 'list',
  3338. name: 'supplierInfoList',
  3339. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3340. meta: {
  3341. title: '供应商列表',
  3342. icon: 'team',
  3343. hidden: true,
  3344. permission: 'M_supplierInfoList'
  3345. }
  3346. },
  3347. {
  3348. path: 'add',
  3349. name: 'supplierInfoAdd',
  3350. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3351. meta: {
  3352. title: '新增供应商',
  3353. icon: 'team',
  3354. hidden: true
  3355. // permission: 'B_goodsManage_edit'
  3356. }
  3357. },
  3358. {
  3359. path: 'edit/:id',
  3360. name: 'supplierInfoEdit',
  3361. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3362. meta: {
  3363. title: '编辑供应商',
  3364. icon: 'team',
  3365. hidden: true
  3366. // permission: 'B_goodsManage_edit'
  3367. }
  3368. },
  3369. {
  3370. path: 'associatedProduct/:sn/:name',
  3371. name: 'associatedProduct',
  3372. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3373. meta: {
  3374. title: '关联产品',
  3375. icon: 'team',
  3376. replaceTab: true,
  3377. hidden: true
  3378. // permission: 'B_goodsManage_edit'
  3379. }
  3380. }
  3381. ]
  3382. },
  3383. {
  3384. path: '/supplierManagement/costSetting',
  3385. redirect: '/supplierManagement/costSetting/list',
  3386. name: 'costSetting',
  3387. component: BlankLayout,
  3388. meta: {
  3389. title: '成本设置',
  3390. icon: 'build',
  3391. permission: 'M_costSettingList'
  3392. },
  3393. hideChildrenInMenu: true,
  3394. children: [
  3395. {
  3396. path: 'list',
  3397. name: 'costSettingList',
  3398. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3399. meta: {
  3400. title: '成本设置列表',
  3401. icon: 'build',
  3402. hidden: true
  3403. }
  3404. }
  3405. ]
  3406. },
  3407. {
  3408. path: '/supplierManagement/costSetRecord',
  3409. redirect: '/supplierManagement/costSetRecord/list',
  3410. name: 'costSetRecord',
  3411. component: BlankLayout,
  3412. meta: {
  3413. title: '成本变更记录',
  3414. icon: 'build',
  3415. permission: 'M_costSetRecordList'
  3416. },
  3417. hideChildrenInMenu: true,
  3418. children: [
  3419. {
  3420. path: 'list',
  3421. name: 'costSetRecordList',
  3422. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3423. meta: {
  3424. title: '成本变更记录列表',
  3425. icon: 'build',
  3426. hidden: true
  3427. }
  3428. }
  3429. ]
  3430. },
  3431. {
  3432. path: '/supplierManagement/associatedProductDetails',
  3433. redirect: '/supplierManagement/associatedProductDetails/list',
  3434. name: 'associatedProductDetails',
  3435. component: BlankLayout,
  3436. meta: {
  3437. title: '关联产品明细表',
  3438. icon: 'build',
  3439. permission: 'M_associatedProductDetailsList'
  3440. },
  3441. hideChildrenInMenu: true,
  3442. children: [
  3443. {
  3444. path: 'list',
  3445. name: 'associatedProductDetailsList',
  3446. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3447. meta: {
  3448. title: '关联产品明细列表',
  3449. icon: 'build',
  3450. hidden: true,
  3451. permission: 'M_associatedProductDetailsList'
  3452. }
  3453. }
  3454. ]
  3455. }
  3456. ]
  3457. },
  3458. // 促销管理
  3459. {
  3460. path: '/promotionRulesManagement',
  3461. redirect: '/promotionRulesManagement/promotionRules',
  3462. component: PageView,
  3463. meta: {
  3464. title: '促销管理',
  3465. icon: 'rocket',
  3466. permission: 'M_promotionRulesManagement'
  3467. },
  3468. children: [
  3469. {
  3470. path: '/promotionRulesManagement/dealerPromotions',
  3471. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3472. name: 'dealerPromotionManagement',
  3473. component: BlankLayout,
  3474. meta: {
  3475. title: '经销商促销',
  3476. icon: 'setting',
  3477. permission: 'M_dealerPromotionManagementList'
  3478. },
  3479. hideChildrenInMenu: true,
  3480. children: [
  3481. {
  3482. path: 'list',
  3483. name: 'dealerPromotionManagementList',
  3484. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3485. meta: {
  3486. title: '经销商促销',
  3487. icon: 'setting',
  3488. hidden: true,
  3489. permission: 'M_dealerPromotionManagementList'
  3490. }
  3491. },
  3492. {
  3493. path: 'detail',
  3494. name: 'dealerPromotionManagementDetail',
  3495. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3496. meta: {
  3497. title: '促销活动详情',
  3498. icon: 'thunderbolt',
  3499. hidden: true
  3500. }
  3501. },
  3502. {
  3503. path: 'ruleSet',
  3504. name: 'dealerPromotionManagementRule',
  3505. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3506. meta: {
  3507. title: '促销规则设置',
  3508. icon: 'thunderbolt',
  3509. replaceTab: true,
  3510. hidden: true
  3511. }
  3512. }
  3513. ]
  3514. }
  3515. // {
  3516. // path: '/promotionRulesManagement/promotionManagement',
  3517. // redirect: '/promotionRulesManagement/promotionManagement/list',
  3518. // name: 'promotionManagement',
  3519. // component: BlankLayout,
  3520. // meta: {
  3521. // title: '修理厂促销',
  3522. // icon: 'file-ppt',
  3523. // permission: 'M_promotionManagementList'
  3524. // },
  3525. // hideChildrenInMenu: true,
  3526. // children: [
  3527. // {
  3528. // path: 'list',
  3529. // name: 'promotionManagementList',
  3530. // component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3531. // meta: {
  3532. // title: '修理厂促销列表',
  3533. // icon: 'file-ppt',
  3534. // hidden: true,
  3535. // permission: 'M_promotionManagementList'
  3536. // }
  3537. // },
  3538. // {
  3539. // path: 'add/:sn/:pageType',
  3540. // name: 'promotionManagementAdd',
  3541. // component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/edit.vue'),
  3542. // meta: {
  3543. // title: '新增修理厂促销',
  3544. // icon: 'file-ppt',
  3545. // hidden: true,
  3546. // permission: 'B_promotionManagementAdd'
  3547. // }
  3548. // },
  3549. // {
  3550. // path: 'edit/:sn/:pageType',
  3551. // name: 'promotionManagementEdit',
  3552. // component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/edit.vue'),
  3553. // meta: {
  3554. // title: '编辑修理厂促销',
  3555. // icon: 'file-ppt',
  3556. // hidden: true,
  3557. // permission: 'B_promotionManagementEdit'
  3558. // }
  3559. // }
  3560. // ]
  3561. // }
  3562. ]
  3563. },
  3564. // 易码通
  3565. {
  3566. path: '/easyPassManagement',
  3567. redirect: '/easyPassManagement/shoppingManagement',
  3568. component: PageView,
  3569. meta: {
  3570. title: '易码通',
  3571. icon: 'shop',
  3572. permission: 'M_shoppingManagement'
  3573. },
  3574. children: [
  3575. {
  3576. path: '/easyPassManagement/shoppingManagement',
  3577. redirect: '/easyPassManagement/shoppingManagement/list',
  3578. name: 'shoppingManagement',
  3579. component: BlankLayout,
  3580. meta: {
  3581. title: '商城类目',
  3582. icon: 'file-ppt',
  3583. permission: 'M_shoppingManagementList'
  3584. },
  3585. hideChildrenInMenu: true,
  3586. children: [
  3587. {
  3588. path: 'list',
  3589. name: 'shoppingManagementList',
  3590. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/shoppingManagement/list.vue'),
  3591. meta: {
  3592. title: '商城类目列表',
  3593. icon: 'file-ppt',
  3594. hidden: true,
  3595. permission: 'M_shoppingManagementList'
  3596. }
  3597. },
  3598. {
  3599. path: 'chooseProduct/:sn',
  3600. name: 'chooseProductList',
  3601. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/shoppingManagement/chooseProduct.vue'),
  3602. meta: {
  3603. title: '商城类目产品列表',
  3604. icon: 'file-ppt',
  3605. hidden: true,
  3606. replaceTab: true,
  3607. permission: 'B_category_chooseProduct'
  3608. }
  3609. }
  3610. ]
  3611. },
  3612. {
  3613. path: '/easyPassManagement/shoppingProducts',
  3614. redirect: '/easyPassManagement/shoppingProducts/list',
  3615. name: 'shoppingProducts',
  3616. component: BlankLayout,
  3617. meta: {
  3618. title: '商城产品',
  3619. icon: 'file-ppt',
  3620. permission: 'M_shoppingProducts'
  3621. },
  3622. hideChildrenInMenu: true,
  3623. children: [
  3624. {
  3625. path: 'list',
  3626. name: 'shoppingProductsList',
  3627. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/shoppingProducts/list.vue'),
  3628. meta: {
  3629. title: '商城产品列表',
  3630. icon: 'file-ppt',
  3631. hidden: true,
  3632. permission: 'M_shoppingProductsList'
  3633. }
  3634. }
  3635. ]
  3636. },
  3637. {
  3638. path: '/easyPassManagement/promotionalActivities',
  3639. redirect: '/easyPassManagement/promotionalActivities/list',
  3640. name: 'promotionalActivities',
  3641. component: BlankLayout,
  3642. meta: {
  3643. title: '促销活动',
  3644. icon: 'file-ppt'
  3645. // permission: 'M_promotionalActivities'
  3646. },
  3647. hideChildrenInMenu: true,
  3648. children: [
  3649. {
  3650. path: 'list',
  3651. name: 'activityList',
  3652. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/promotionalActivities/list.vue'),
  3653. meta: {
  3654. title: '促销活动列表',
  3655. icon: 'file-ppt',
  3656. hidden: true
  3657. // permission: 'M_promotionalActivitiesList'
  3658. }
  3659. },
  3660. {
  3661. path: 'add/:pageType',
  3662. name: 'promotionalAddActivity',
  3663. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/promotionalActivities/edit.vue'),
  3664. meta: {
  3665. title: '新增促销活动',
  3666. icon: 'file-ppt',
  3667. hidden: true,
  3668. replaceTab: true
  3669. // permission: 'B_promotionalActivitiesAdd'
  3670. }
  3671. },
  3672. {
  3673. path: 'edit/:pageType/:sn',
  3674. name: 'promotionalEditActivity',
  3675. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/promotionalActivities/edit.vue'),
  3676. meta: {
  3677. title: '编辑促销活动',
  3678. icon: 'file-ppt',
  3679. hidden: true,
  3680. replaceTab: true
  3681. // permission: 'B_promotionalActivitiesEdit'
  3682. }
  3683. }
  3684. ]
  3685. },
  3686. {
  3687. path: '/easyPassManagement/homepageCarouselImg',
  3688. redirect: '/easyPassManagement/homepageCarouselImg/list',
  3689. name: 'carouselImageList',
  3690. component: BlankLayout,
  3691. meta: {
  3692. title: '首页轮播图',
  3693. icon: 'file-ppt'
  3694. // permission: 'M_homepageCarouselImg'
  3695. },
  3696. hideChildrenInMenu: true,
  3697. children: [
  3698. {
  3699. path: 'list',
  3700. name: 'carouselImageList',
  3701. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/homepageCarouselImg/list.vue'),
  3702. meta: {
  3703. title: '首页轮播图列表',
  3704. icon: 'file-ppt',
  3705. hidden: true
  3706. // permission: 'M_homepageCarouselImgList'
  3707. }
  3708. },
  3709. {
  3710. path: 'add',
  3711. name: 'carouselImageAdd',
  3712. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/homepageCarouselImg/edit.vue'),
  3713. meta: {
  3714. title: '新增轮播图',
  3715. icon: 'file-ppt',
  3716. hidden: true,
  3717. replaceTab: true
  3718. // permission: 'B_homepageCarouselImgAdd'
  3719. }
  3720. },
  3721. {
  3722. path: 'edit/:sn',
  3723. name: 'carouselImageEdit',
  3724. component: () => import(/* webpackChunkName: "easyPassManagement" */ '@/views/easyPassManagement/homepageCarouselImg/edit.vue'),
  3725. meta: {
  3726. title: '编辑轮播图',
  3727. icon: 'file-ppt',
  3728. hidden: true,
  3729. replaceTab: true
  3730. // permission: 'B_homepageCarouselImgEdit'
  3731. }
  3732. }
  3733. ]
  3734. }
  3735. ]
  3736. },
  3737. // 大屏数据
  3738. {
  3739. path: '/bigStatistics',
  3740. redirect: '/bigStatistics/realTimeSalesReport',
  3741. component: PageView,
  3742. meta: {
  3743. title: '数据统计',
  3744. icon: 'desktop',
  3745. permission: 'M_bigScreenStatistics'
  3746. },
  3747. children: [
  3748. {
  3749. path: '/bigStatistics/realTimeSalesReport',
  3750. redirect: '/bigStatistics/realTimeSalesReport/index',
  3751. name: 'bigRealTimeSalesReport',
  3752. component: BigScreen,
  3753. meta: {
  3754. title: '实时销售看板',
  3755. icon: 'deployment-unit',
  3756. permission: 'M_realTimeSalesReportIndex'
  3757. },
  3758. hideChildrenInMenu: true,
  3759. children: [
  3760. {
  3761. path: 'index',
  3762. name: 'realTimeSalesReportIndex',
  3763. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3764. meta: {
  3765. title: '实时销售看板'
  3766. }
  3767. }
  3768. ]
  3769. },
  3770. {
  3771. path: '/bigStatistics/fPanalysisReport',
  3772. redirect: '/bigStatistics/fPanalysisReport/index',
  3773. name: 'bigfPanalysisReport',
  3774. component: BigScreen,
  3775. meta: {
  3776. title: '加盟商/产品分析',
  3777. icon: 'interaction',
  3778. permission: 'M_fPanalysisReportIndex'
  3779. },
  3780. hideChildrenInMenu: true,
  3781. children: [
  3782. {
  3783. path: 'index',
  3784. name: 'fPanalysisReportIndex',
  3785. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3786. meta: {
  3787. title: '加盟商/产品分析'
  3788. }
  3789. }
  3790. ]
  3791. }
  3792. ]
  3793. },
  3794. // 基础设置
  3795. {
  3796. path: '/basicData',
  3797. redirect: '/basicData/warehouse',
  3798. component: PageView,
  3799. meta: {
  3800. title: '基础设置',
  3801. icon: 'pushpin',
  3802. permission: 'M_basicData'
  3803. },
  3804. children: [
  3805. {
  3806. path: '/basicData/warehouse',
  3807. redirect: '/basicData/warehouse/list',
  3808. name: 'warehouse',
  3809. component: BlankLayout,
  3810. meta: {
  3811. title: '仓库管理',
  3812. icon: 'deployment-unit',
  3813. permission: 'M_warehouseList'
  3814. },
  3815. hideChildrenInMenu: true,
  3816. children: [
  3817. {
  3818. path: 'list',
  3819. name: 'warehouseList',
  3820. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3821. meta: {
  3822. title: '仓库列表',
  3823. icon: 'deployment-unit',
  3824. hidden: true,
  3825. permission: 'M_warehouseList'
  3826. }
  3827. },
  3828. {
  3829. path: '/basicData/storingLocation/:sn',
  3830. name: 'storingLocationList',
  3831. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3832. meta: {
  3833. title: '仓位列表',
  3834. icon: 'deployment-unit',
  3835. replaceTab: true,
  3836. hidden: true
  3837. // permission: 'B_goodsManage_edit'
  3838. }
  3839. }
  3840. ]
  3841. },
  3842. {
  3843. path: '/basicData/transferTypeManagement',
  3844. redirect: '/basicData/transferTypeManagement/list',
  3845. name: 'transferTypeManagement',
  3846. component: BlankLayout,
  3847. meta: {
  3848. title: '调拨类型管理',
  3849. icon: 'interaction',
  3850. permission: 'M_transferTypeManagementList'
  3851. },
  3852. hideChildrenInMenu: true,
  3853. children: [
  3854. {
  3855. path: 'list',
  3856. name: 'transferTypeManagementList',
  3857. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3858. meta: {
  3859. title: '调拨类型列表',
  3860. icon: 'interaction',
  3861. hidden: true,
  3862. permission: 'M_transferTypeManagementList'
  3863. }
  3864. }
  3865. ]
  3866. }
  3867. ]
  3868. },
  3869. // 权限管理
  3870. {
  3871. path: '/auth',
  3872. redirect: '/auth/user',
  3873. component: PageView,
  3874. meta: {
  3875. title: '权限管理',
  3876. icon: 'lock',
  3877. permission: 'M_auth_0'
  3878. },
  3879. children: [
  3880. {
  3881. path: '/auth/user',
  3882. redirect: '/auth/user/list',
  3883. name: 'powerUser',
  3884. component: BlankLayout,
  3885. meta: {
  3886. title: '用户管理',
  3887. icon: 'user',
  3888. permission: 'M_userList'
  3889. },
  3890. hideChildrenInMenu: true,
  3891. children: [
  3892. {
  3893. path: 'list',
  3894. name: 'powerUserList',
  3895. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3896. meta: {
  3897. title: '用户管理',
  3898. icon: 'user',
  3899. hidden: true,
  3900. permission: 'M_userList'
  3901. }
  3902. }
  3903. ]
  3904. },
  3905. {
  3906. path: '/auth/role',
  3907. redirect: '/auth/role/list',
  3908. name: 'powerRole',
  3909. component: BlankLayout,
  3910. meta: {
  3911. title: '角色管理',
  3912. icon: 'solution',
  3913. permission: 'M_roleList'
  3914. },
  3915. hideChildrenInMenu: true,
  3916. children: [
  3917. {
  3918. path: 'list',
  3919. name: 'powerRoleList',
  3920. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3921. meta: {
  3922. title: '角色管理',
  3923. icon: 'solution',
  3924. hidden: true,
  3925. permission: 'M_roleList'
  3926. }
  3927. }
  3928. ]
  3929. },
  3930. {
  3931. path: '/auth/adminMenus',
  3932. redirect: '/auth/adminMenus/list',
  3933. name: 'adminMenus',
  3934. component: BlankLayout,
  3935. meta: {
  3936. title: '菜单管理',
  3937. icon: 'appstore',
  3938. permission: 'M_menuList'
  3939. },
  3940. hideChildrenInMenu: true,
  3941. children: [
  3942. {
  3943. path: 'list',
  3944. name: 'adminMenusList',
  3945. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3946. meta: {
  3947. title: '菜单管理',
  3948. icon: 'appstore',
  3949. hidden: true,
  3950. permission: 'M_menuList'
  3951. }
  3952. }
  3953. ]
  3954. }
  3955. ]
  3956. },
  3957. // 系统设置
  3958. {
  3959. path: '/setting',
  3960. redirect: '/setting/dataDictionary',
  3961. component: PageView,
  3962. meta: {
  3963. title: '系统设置',
  3964. icon: 'setting',
  3965. permission: 'M_systemSet'
  3966. },
  3967. children: [
  3968. {
  3969. path: '/setting/dataDictionary',
  3970. redirect: '/setting/dataDictionary/list',
  3971. name: 'dataDictionary',
  3972. component: BlankLayout,
  3973. meta: {
  3974. title: '数据字典管理',
  3975. icon: 'database',
  3976. permission: 'M_dataD_lookup'
  3977. },
  3978. hideChildrenInMenu: true,
  3979. children: [
  3980. {
  3981. path: 'list',
  3982. name: 'powerDD',
  3983. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3984. meta: {
  3985. title: '数据字典管理',
  3986. icon: 'database',
  3987. hidden: true,
  3988. permission: 'M_dataD_lookup'
  3989. }
  3990. }
  3991. ]
  3992. },
  3993. {
  3994. path: '/setting/OperateJournal',
  3995. redirect: '/setting/OperateJournal/list',
  3996. name: 'OperateJournal',
  3997. component: BlankLayout,
  3998. meta: {
  3999. title: '操作日志',
  4000. icon: 'read',
  4001. permission: 'M_OperateJournalList'
  4002. },
  4003. hideChildrenInMenu: true,
  4004. children: [
  4005. {
  4006. path: 'list',
  4007. name: 'powerOperateJournal',
  4008. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  4009. meta: {
  4010. title: '操作日志',
  4011. icon: 'read',
  4012. permission: 'M_OperateJournalList'
  4013. }
  4014. }
  4015. ]
  4016. },
  4017. {
  4018. path: '/setting/noticeManagement',
  4019. redirect: '/setting/noticeManagement/list',
  4020. name: 'noticeManagement',
  4021. component: BlankLayout,
  4022. meta: {
  4023. title: '公告管理',
  4024. icon: 'sketch',
  4025. permission: 'M_noticeManagementList'
  4026. },
  4027. hideChildrenInMenu: true,
  4028. children: [
  4029. {
  4030. path: 'list',
  4031. name: 'noticeManagementList',
  4032. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  4033. meta: {
  4034. title: '公告列表',
  4035. icon: 'sketch',
  4036. hidden: true,
  4037. permission: 'M_noticeManagementList'
  4038. }
  4039. }
  4040. ]
  4041. },
  4042. {
  4043. path: '/setting/bigScreenSet',
  4044. redirect: '/setting/bigScreenSet/index',
  4045. name: 'bigScreenSet',
  4046. component: BlankLayout,
  4047. meta: {
  4048. title: '大屏参数设置',
  4049. icon: 'sketch',
  4050. permission: 'M_bigScreenSetIndex'
  4051. },
  4052. hideChildrenInMenu: true,
  4053. children: [{
  4054. path: 'index',
  4055. name: 'bigScreenSetIndex',
  4056. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  4057. meta: {
  4058. title: '大屏参数设置',
  4059. icon: 'sketch',
  4060. hidden: true,
  4061. permission: 'M_bigScreenSetIndex'
  4062. }
  4063. }]
  4064. },
  4065. {
  4066. path: '/setting/erpMessageManagement',
  4067. redirect: '/setting/erpMessageManagement/list',
  4068. name: 'erpMessageManagement',
  4069. component: BlankLayout,
  4070. meta: {
  4071. title: 'ERP数据同步记录',
  4072. icon: 'sketch',
  4073. permission: 'M_erpMessageList'
  4074. },
  4075. hideChildrenInMenu: true,
  4076. children: [
  4077. {
  4078. path: 'list',
  4079. name: 'M_erpMessageList',
  4080. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  4081. meta: {
  4082. title: 'ERP数据同步列表',
  4083. icon: 'sketch',
  4084. hidden: true,
  4085. permission: 'M_erpMessageList'
  4086. }
  4087. }
  4088. ]
  4089. },
  4090. {
  4091. path: '/setting/erpAllotSettings',
  4092. redirect: '/setting/erpAllotSettings/list',
  4093. name: 'erpAllotSettings',
  4094. component: BlankLayout,
  4095. meta: {
  4096. title: 'ERP调拨配置',
  4097. icon: 'sketch',
  4098. permission: 'M_erpAllotMessage'
  4099. },
  4100. hideChildrenInMenu: true,
  4101. children: [
  4102. {
  4103. path: 'list',
  4104. name: 'M_erpAllotSettingsList',
  4105. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpAllotSettings/list.vue'),
  4106. meta: {
  4107. title: 'ERP调拨配置',
  4108. icon: 'sketch',
  4109. hidden: true,
  4110. permission: 'M_erpAllotMessageList'
  4111. }
  4112. }
  4113. ]
  4114. },
  4115. {
  4116. path: '/setting/checkDingTask',
  4117. redirect: '/setting/checkDingTask/list',
  4118. name: 'checkDingTask',
  4119. component: BlankLayout,
  4120. meta: {
  4121. title: '钉钉审批',
  4122. icon: 'sketch',
  4123. permission: 'M_dingAuditUpdate'
  4124. },
  4125. hideChildrenInMenu: true,
  4126. children: [
  4127. {
  4128. path: 'list',
  4129. name: 'M_dingAuditUpdate',
  4130. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  4131. meta: {
  4132. title: '钉钉审批',
  4133. icon: 'sketch',
  4134. hidden: true,
  4135. permission: 'M_dingAuditUpdate'
  4136. }
  4137. }
  4138. ]
  4139. }
  4140. ]
  4141. }
  4142. ]
  4143. },
  4144. {
  4145. path: '*',
  4146. redirect: '/404',
  4147. hidden: true
  4148. }
  4149. ]
  4150. /**
  4151. * 基础路由
  4152. * @type { *[] }
  4153. */
  4154. export const constantRouterMap = [
  4155. {
  4156. path: '/user',
  4157. component: UserLayout,
  4158. redirect: '/user/login',
  4159. hidden: true,
  4160. children: [
  4161. {
  4162. path: 'login',
  4163. name: 'login',
  4164. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  4165. },
  4166. {
  4167. path: 'register',
  4168. name: 'register',
  4169. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  4170. },
  4171. {
  4172. path: 'register-result',
  4173. name: 'registerResult',
  4174. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  4175. },
  4176. {
  4177. path: 'recover',
  4178. name: 'recover',
  4179. component: undefined
  4180. }
  4181. ]
  4182. },
  4183. {
  4184. path: '/bigScreen',
  4185. component: BigScreen,
  4186. redirect: '/bigScreen/realTimeSalesReport',
  4187. hidden: true,
  4188. children: [
  4189. {
  4190. path: 'realTimeSalesReport',
  4191. name: 'realTimeSalesReport',
  4192. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  4193. meta: {
  4194. title: '实时销售看板'
  4195. }
  4196. },
  4197. {
  4198. path: 'fPanalysisReport',
  4199. name: 'fPanalysisReport',
  4200. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  4201. meta: {
  4202. title: '加盟商/产品分析'
  4203. }
  4204. }
  4205. ]
  4206. },
  4207. {
  4208. path: '/404',
  4209. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  4210. }
  4211. ]