router.config.js 135 KB

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