router.config.js 133 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734
  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. permission: 'M_inventoryWarningList'
  1359. }
  1360. }
  1361. ]
  1362. },
  1363. {
  1364. path: '/inventoryManagement/intelligentReplenishment',
  1365. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1366. name: 'intelligentReplenishment',
  1367. component: BlankLayout,
  1368. meta: {
  1369. title: '智能补货',
  1370. icon: 'monitor',
  1371. permission: 'M_intelligentReplenishmentList'
  1372. },
  1373. hideChildrenInMenu: true,
  1374. children: [
  1375. {
  1376. path: 'list',
  1377. name: 'intelligentReplenishmentList',
  1378. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1379. meta: {
  1380. title: '智能补货列表',
  1381. icon: 'monitor',
  1382. hidden: true,
  1383. permission: 'M_intelligentReplenishmentList'
  1384. }
  1385. },
  1386. {
  1387. path: 'add/:sn',
  1388. name: 'intelligentReplenishmentAdd',
  1389. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1390. meta: {
  1391. title: '新增智能补货',
  1392. icon: 'monitor',
  1393. hidden: true,
  1394. permission: 'B_intelligentReplenishment_edit'
  1395. }
  1396. },
  1397. {
  1398. path: 'edit/:sn',
  1399. name: 'intelligentReplenishmentEdit',
  1400. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1401. meta: {
  1402. title: '编辑智能补货',
  1403. icon: 'monitor',
  1404. hidden: true,
  1405. permission: 'B_intelligentReplenishment_edit'
  1406. }
  1407. },
  1408. {
  1409. path: 'set',
  1410. name: 'intelligentReplenishmentSet',
  1411. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1412. meta: {
  1413. title: '基础信息设置',
  1414. icon: 'monitor',
  1415. permission: 'B_intelligentReplenishment_set',
  1416. replaceTab: true,
  1417. hidden: true
  1418. }
  1419. },
  1420. {
  1421. path: 'import',
  1422. name: 'intelligentReplenishmentImport',
  1423. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1424. meta: {
  1425. title: '确认导入',
  1426. icon: 'monitor',
  1427. replaceTab: true,
  1428. hidden: true
  1429. }
  1430. }
  1431. ]
  1432. }
  1433. ]
  1434. },
  1435. // 调拨管理
  1436. {
  1437. path: '/allocationManagement',
  1438. redirect: '/allocationManagement/transferOut',
  1439. component: PageView,
  1440. meta: {
  1441. title: '调拨管理',
  1442. icon: 'cluster',
  1443. permission: 'M_allocationManagement'
  1444. },
  1445. children: [
  1446. {
  1447. path: '/allocationManagement/transferOut',
  1448. redirect: '/allocationManagement/transferOut/list',
  1449. name: 'transferOut',
  1450. component: BlankLayout,
  1451. meta: {
  1452. title: '调拨列表',
  1453. icon: 'pull-request',
  1454. permission: 'M_transferOutList'
  1455. },
  1456. hideChildrenInMenu: true,
  1457. children: [
  1458. {
  1459. path: 'list',
  1460. name: 'transferOutList',
  1461. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1462. meta: {
  1463. title: '调拨列表',
  1464. icon: 'pull-request',
  1465. hidden: true,
  1466. permission: 'M_transferOutList'
  1467. }
  1468. },
  1469. {
  1470. path: 'add/:sn/:dealerLevel',
  1471. name: 'transferOutAdd',
  1472. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1473. meta: {
  1474. title: '新增调拨单',
  1475. icon: 'pull-request',
  1476. hidden: true,
  1477. permission: 'M_transferOut_edit'
  1478. }
  1479. },
  1480. {
  1481. path: 'edit/:sn/:dealerLevel',
  1482. name: 'transferOutEdit',
  1483. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1484. meta: {
  1485. title: '编辑调拨单',
  1486. icon: 'pull-request',
  1487. hidden: true,
  1488. permission: 'M_transferOut_edit'
  1489. }
  1490. },
  1491. {
  1492. path: 'detail/:sn',
  1493. name: 'transferOutDetail',
  1494. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1495. meta: {
  1496. title: '调拨单详情',
  1497. icon: 'pull-request',
  1498. hidden: true,
  1499. replaceTab: true,
  1500. permission: 'M_transferOut_detail'
  1501. }
  1502. }
  1503. ]
  1504. },
  1505. {
  1506. path: '/allocationManagement/transfersPrint',
  1507. redirect: '/allocationManagement/transfersPrint/list',
  1508. name: 'transfersPrint',
  1509. component: BlankLayout,
  1510. meta: {
  1511. title: '调拨打印',
  1512. icon: 'pull-request',
  1513. permission: 'M_transfersPrintList'
  1514. },
  1515. hideChildrenInMenu: true,
  1516. children: [
  1517. {
  1518. path: 'list',
  1519. name: 'transfersPrintList',
  1520. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1521. meta: {
  1522. title: '调拨打印',
  1523. icon: 'pull-request',
  1524. hidden: true,
  1525. permission: 'M_transfersPrintList'
  1526. }
  1527. }
  1528. ]
  1529. },
  1530. {
  1531. path: '/allocationManagement/matchSendOutOrder',
  1532. redirect: '/allocationManagement/matchSendOutOrder/list',
  1533. name: 'matchSendOutOrderAllocation',
  1534. component: BlankLayout,
  1535. meta: {
  1536. title: '调拨发货对单',
  1537. icon: 'vertical-align-bottom',
  1538. permission: 'M_matchSendOutOrderAllocationList'
  1539. },
  1540. hideChildrenInMenu: true,
  1541. children: [
  1542. {
  1543. path: 'list',
  1544. name: 'matchSendOutOrderAllocationList',
  1545. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1546. meta: {
  1547. title: '调拨发货对单',
  1548. icon: 'vertical-align-bottom',
  1549. hidden: true,
  1550. permission: 'M_matchSendOutOrderAllocationList'
  1551. }
  1552. }
  1553. ]
  1554. },
  1555. {
  1556. path: '/allocationManagement/transferReturn',
  1557. redirect: '/allocationManagement/transferReturn/list',
  1558. name: 'transferReturn',
  1559. component: BlankLayout,
  1560. meta: {
  1561. title: '调拨退货列表',
  1562. icon: 'pull-request',
  1563. permission: 'M_transferReturnList'
  1564. },
  1565. hideChildrenInMenu: true,
  1566. children: [
  1567. {
  1568. path: 'list',
  1569. name: 'transferReturnList',
  1570. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1571. meta: {
  1572. title: '调拨退货列表',
  1573. icon: 'pull-request',
  1574. hidden: true,
  1575. permission: 'M_transferReturnList'
  1576. }
  1577. },
  1578. {
  1579. path: 'editGrap/:sn/:targetType',
  1580. name: 'transferReturnGrpEdit',
  1581. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1582. meta: {
  1583. title: '编辑调拨退货单(抓单)',
  1584. icon: 'pull-request',
  1585. hidden: true,
  1586. permission: 'B_transferReturnEdit'
  1587. }
  1588. },
  1589. {
  1590. path: 'edit/:sn/:targetType/:dealerLevel',
  1591. name: 'transferReturnEdit',
  1592. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1593. meta: {
  1594. title: '编辑调拨退货单(不抓单)',
  1595. icon: 'pull-request',
  1596. hidden: true,
  1597. permission: 'B_transferReturnEdit'
  1598. }
  1599. },
  1600. {
  1601. path: 'detail/:sn',
  1602. name: 'transferReturnDetail',
  1603. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1604. meta: {
  1605. title: '调拨退货单详情',
  1606. icon: 'pull-request',
  1607. replaceTab: true,
  1608. hidden: true,
  1609. permission: 'M_transferReturnDetail'
  1610. }
  1611. },
  1612. {
  1613. path: 'check/:sn/:grabFlag',
  1614. name: 'transferReturnCheck',
  1615. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1616. meta: {
  1617. title: '调拨退货品检',
  1618. icon: 'fund',
  1619. replaceTab: true,
  1620. hidden: true,
  1621. permission: 'M_transferReturnCheck'
  1622. }
  1623. }
  1624. ]
  1625. },
  1626. {
  1627. path: '/allocationManagement/allocateReturnConfirmation',
  1628. redirect: '/allocationManagement/allocateReturnConfirmation/list',
  1629. name: 'allocateReturnConfirmation',
  1630. component: BlankLayout,
  1631. meta: {
  1632. title: '调拨退货确认',
  1633. icon: 'vertical-align-top',
  1634. permission: 'M_allocateReturnConfirmationList'
  1635. },
  1636. hideChildrenInMenu: true,
  1637. children: [
  1638. {
  1639. path: 'list',
  1640. name: 'allocateReturnConfirmationList',
  1641. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocateReturnConfirmation/list.vue'),
  1642. meta: {
  1643. title: '调拨退货确认列表',
  1644. icon: 'vertical-align-top',
  1645. hidden: true,
  1646. permission: 'M_allocateReturnConfirmationList'
  1647. }
  1648. }
  1649. ]
  1650. },
  1651. {
  1652. path: '/allocationManagement/allocationList',
  1653. redirect: '/allocationManagement/allocationList/list',
  1654. name: 'allocationList',
  1655. component: BlankLayout,
  1656. meta: {
  1657. title: '调拨一览表',
  1658. icon: 'vertical-align-top',
  1659. permission: 'M_allocationList'
  1660. },
  1661. hideChildrenInMenu: true,
  1662. children: [
  1663. {
  1664. path: 'list',
  1665. name: 'allocationMainList',
  1666. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/allocationList/list.vue'),
  1667. meta: {
  1668. title: '调拨一览表',
  1669. icon: 'vertical-align-top',
  1670. hidden: true,
  1671. permission: 'M_allocationList'
  1672. }
  1673. }
  1674. ]
  1675. }
  1676. ]
  1677. },
  1678. // 报表
  1679. {
  1680. path: '/reportData',
  1681. redirect: '/reportData/salesOrderTotal',
  1682. component: PageView,
  1683. meta: {
  1684. title: '报表',
  1685. icon: 'project',
  1686. permission: 'M_reportData'
  1687. },
  1688. children: [
  1689. {
  1690. path: '/reportData/salesOrderTotal',
  1691. redirect: '/reportData/salesOrderTotal/list',
  1692. name: 'salesOrderTotal',
  1693. component: BlankLayout,
  1694. meta: {
  1695. title: '销售(开单统计)',
  1696. icon: 'profile',
  1697. permission: 'M_salesOrderTotalList'
  1698. },
  1699. hideChildrenInMenu: true,
  1700. children: [
  1701. {
  1702. path: 'list',
  1703. name: 'salesOrderTotalList',
  1704. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1705. meta: {
  1706. title: '销售(开单统计)列表',
  1707. icon: 'profile',
  1708. hidden: true,
  1709. permission: 'M_salesOrderTotalList'
  1710. }
  1711. }
  1712. ]
  1713. },
  1714. {
  1715. path: '/reportData/salesDetails',
  1716. redirect: '/reportData/salesDetails/list',
  1717. name: 'salesDetails',
  1718. component: BlankLayout,
  1719. meta: {
  1720. title: '销售明细(开单统计)',
  1721. icon: 'profile',
  1722. permission: 'M_salesDetailsList'
  1723. },
  1724. hideChildrenInMenu: true,
  1725. children: [
  1726. {
  1727. path: 'list',
  1728. name: 'salesDetailsList',
  1729. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1730. meta: {
  1731. title: '销售明细列表',
  1732. icon: 'profile',
  1733. hidden: true,
  1734. permission: 'M_salesDetailsList'
  1735. }
  1736. }
  1737. ]
  1738. },
  1739. {
  1740. path: '/reportData/actualSalesReport',
  1741. redirect: '/reportData/actualSalesReport/list',
  1742. name: 'actualSalesReport',
  1743. component: BlankLayout,
  1744. meta: {
  1745. title: '实售销售报表',
  1746. icon: 'profile',
  1747. permission: 'M_actualSalesReportList'
  1748. },
  1749. hideChildrenInMenu: true,
  1750. children: [
  1751. {
  1752. path: 'list',
  1753. name: 'actualSalesReportList',
  1754. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1755. meta: {
  1756. title: '实售销售列表',
  1757. icon: 'profile',
  1758. hidden: true,
  1759. permission: 'M_actualSalesReportList'
  1760. }
  1761. }
  1762. ]
  1763. },
  1764. {
  1765. path: '/reportData/salesAmountReport',
  1766. redirect: '/reportData/salesAmountReport/list',
  1767. name: 'salesAmountReport',
  1768. component: BlankLayout,
  1769. meta: {
  1770. title: '开单销售报表',
  1771. icon: 'profile',
  1772. permission: 'M_salesAmountReportList'
  1773. },
  1774. hideChildrenInMenu: true,
  1775. children: [{
  1776. path: 'list',
  1777. name: 'salesAmountReportList',
  1778. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1779. meta: {
  1780. title: '开单销售报表列表',
  1781. icon: 'profile',
  1782. hidden: true,
  1783. permission: 'M_salesAmountReportList'
  1784. }
  1785. }]
  1786. },
  1787. {
  1788. path: '/reportData/salesSlipReport',
  1789. redirect: '/reportData/salesSlipReport/list',
  1790. name: 'salesSlipReport',
  1791. component: BlankLayout,
  1792. meta: {
  1793. title: '开单销售单报表',
  1794. icon: 'profile',
  1795. permission: 'M_salesSlipReportList'
  1796. },
  1797. hideChildrenInMenu: true,
  1798. children: [{
  1799. path: 'list',
  1800. name: 'salesSlipReportList',
  1801. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1802. meta: {
  1803. title: '开单销售单报表列表',
  1804. icon: 'profile',
  1805. hidden: true,
  1806. permission: 'M_salesSlipReportList'
  1807. }
  1808. }]
  1809. },
  1810. {
  1811. path: '/reportData/promotionSalesRealTimeReport',
  1812. redirect: '/reportData/promotionSalesRealTimeReport/index',
  1813. name: 'promotionSalesRealTimeReport',
  1814. component: BlankLayout,
  1815. meta: {
  1816. title: '促销销售单报表',
  1817. icon: 'profile',
  1818. permission: 'M_promotionSalesRealTimeReportList'
  1819. },
  1820. hideChildrenInMenu: true,
  1821. children: [
  1822. {
  1823. path: 'index',
  1824. name: 'promotionSalesRealTimeReportIndex',
  1825. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  1826. meta: {
  1827. title: '促销销售单报表',
  1828. icon: 'profile',
  1829. hidden: true,
  1830. permission: 'M_promotionSalesRealTimeReportList'
  1831. }
  1832. }
  1833. ]
  1834. },
  1835. {
  1836. path: '/reportData/allocationOrderTotal',
  1837. redirect: '/reportData/allocationOrderTotal/list',
  1838. name: 'allocationOrderTotal',
  1839. component: BlankLayout,
  1840. meta: {
  1841. title: '调拨开单统计',
  1842. icon: 'profile',
  1843. permission: 'M_allocationOrderTotalList'
  1844. },
  1845. hideChildrenInMenu: true,
  1846. children: [
  1847. {
  1848. path: 'list',
  1849. name: 'allocationOrderTotalList',
  1850. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1851. meta: {
  1852. title: '调拨开单列表',
  1853. icon: 'profile',
  1854. hidden: true,
  1855. permission: 'M_allocationOrderTotalList'
  1856. }
  1857. }
  1858. ]
  1859. },
  1860. {
  1861. path: '/reportData/allocationDetails',
  1862. redirect: '/reportData/allocationDetails/list',
  1863. name: 'allocationDetails',
  1864. component: BlankLayout,
  1865. meta: {
  1866. title: '调拨明细',
  1867. icon: 'profile',
  1868. permission: 'M_allocationDetailsList'
  1869. },
  1870. hideChildrenInMenu: true,
  1871. children: [
  1872. {
  1873. path: 'list',
  1874. name: 'allocationDetailsList',
  1875. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1876. meta: {
  1877. title: '调拨明细列表',
  1878. icon: 'profile',
  1879. hidden: true,
  1880. permission: 'M_allocationDetailsList'
  1881. }
  1882. }
  1883. ]
  1884. },
  1885. {
  1886. path: '/reportData/urchaseReturn',
  1887. redirect: '/reportData/urchaseReturn/list',
  1888. name: 'urchaseReturnList',
  1889. component: BlankLayout,
  1890. meta: {
  1891. title: '采购退货单报表',
  1892. icon: 'profile',
  1893. permission: 'M_urchaseReturn'
  1894. },
  1895. hideChildrenInMenu: true,
  1896. children: [
  1897. {
  1898. path: 'list',
  1899. name: 'urchaseReturnList',
  1900. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  1901. meta: {
  1902. title: '采购退货单报表列表',
  1903. icon: 'profile',
  1904. hidden: true,
  1905. permission: 'M_urchaseReturnList'
  1906. }
  1907. }
  1908. ]
  1909. },
  1910. {
  1911. path: '/reportData/urchaseDetailReturn',
  1912. redirect: '/reportData/urchaseDetailReturn/detailList',
  1913. name: 'urchaseDetailReturnList',
  1914. component: BlankLayout,
  1915. meta: {
  1916. title: '采购退货单明细报表',
  1917. icon: 'profile',
  1918. permission: 'M_urchaseDetailReturn'
  1919. },
  1920. hideChildrenInMenu: true,
  1921. children: [
  1922. {
  1923. path: 'detailList',
  1924. name: 'urchaseDetailReturnList',
  1925. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  1926. meta: {
  1927. title: '采购退货单明细报表列表',
  1928. icon: 'profile',
  1929. hidden: true,
  1930. permission: 'M_urchaseDetailReturnList'
  1931. }
  1932. }
  1933. ]
  1934. },
  1935. {
  1936. path: '/reportData/salesReturnsReport',
  1937. redirect: '/reportData/salesReturnsReport/list',
  1938. name: 'salesReturnsReport',
  1939. component: BlankLayout,
  1940. meta: {
  1941. title: '销售退货单报表',
  1942. icon: 'profile',
  1943. permission: 'M_salesReturnsReportList'
  1944. },
  1945. hideChildrenInMenu: true,
  1946. children: [
  1947. {
  1948. path: 'list',
  1949. name: 'salesReturnsReportList',
  1950. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  1951. meta: {
  1952. title: '销售退货单报表列表',
  1953. icon: 'profile',
  1954. hidden: true,
  1955. permission: 'M_salesReturnsReportList'
  1956. }
  1957. }
  1958. ]
  1959. },
  1960. {
  1961. path: '/reportData/salesReturnDetailReport',
  1962. redirect: '/reportData/salesReturnDetailReport/list',
  1963. name: 'salesReturnDetailReport',
  1964. component: BlankLayout,
  1965. meta: {
  1966. title: '销售退货明细报表',
  1967. icon: 'profile',
  1968. permission: 'M_salesReturnDetailReportList'
  1969. },
  1970. hideChildrenInMenu: true,
  1971. children: [{
  1972. path: 'list',
  1973. name: 'salesReturnDetailReportList',
  1974. component: () => import(/* webpackChunkName: "reportData" */
  1975. '@/views/reportData/salesReturnDetailReport/list.vue'),
  1976. meta: {
  1977. title: '销售退货明细报表列表',
  1978. icon: 'profile',
  1979. hidden: true,
  1980. permission: 'M_salesReturnDetailReportList'
  1981. }
  1982. }]
  1983. },
  1984. {
  1985. path: '/reportData/transferReturnReport',
  1986. redirect: '/reportData/transferReturnReport/list',
  1987. name: 'transferReturnReport',
  1988. component: BlankLayout,
  1989. meta: {
  1990. title: '调拨退货单报表',
  1991. icon: 'profile',
  1992. permission: 'M_transferReturnReportList'
  1993. },
  1994. hideChildrenInMenu: true,
  1995. children: [
  1996. {
  1997. path: 'list',
  1998. name: 'transferReturnReportList',
  1999. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  2000. meta: {
  2001. title: '调拨退货单报表列表',
  2002. icon: 'profile',
  2003. hidden: true,
  2004. permission: 'M_transferReturnReportList'
  2005. }
  2006. }
  2007. ]
  2008. },
  2009. {
  2010. path: '/reportData/transferReturnDetailReport',
  2011. redirect: '/reportData/transferReturnDetailReport/list',
  2012. name: 'transferReturnDetailReport',
  2013. component: BlankLayout,
  2014. meta: {
  2015. title: '调拨退货单明细报表',
  2016. icon: 'profile',
  2017. permission: 'M_transferReturnDetailReportList'
  2018. },
  2019. hideChildrenInMenu: true,
  2020. children: [{
  2021. path: 'list',
  2022. name: 'transferReturnDetailReportList',
  2023. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  2024. meta: {
  2025. title: '调拨退货单明细报表列表',
  2026. icon: 'profile',
  2027. hidden: true,
  2028. permission: 'M_transferReturnDetailReportList'
  2029. }
  2030. }]
  2031. },
  2032. {
  2033. path: '/reportData/salesReturnReport',
  2034. redirect: '/reportData/salesReturnReport/list',
  2035. name: 'salesReturnReport',
  2036. component: BlankLayout,
  2037. meta: {
  2038. title: '实售退货报表',
  2039. icon: 'profile',
  2040. permission: 'M_salesReturnReportList'
  2041. },
  2042. hideChildrenInMenu: true,
  2043. children: [
  2044. {
  2045. path: 'list',
  2046. name: 'salesReturnReportList',
  2047. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  2048. meta: {
  2049. title: '实售退货列表',
  2050. icon: 'profile',
  2051. hidden: true,
  2052. permission: 'M_salesReturnReportList'
  2053. }
  2054. }
  2055. ]
  2056. },
  2057. {
  2058. path: '/reportData/billingReturnReport',
  2059. redirect: '/reportData/billingReturnReport/list',
  2060. name: 'billingReturnReport',
  2061. component: BlankLayout,
  2062. meta: {
  2063. title: '开单退货报表',
  2064. icon: 'profile',
  2065. permission: 'M_billingReturnReportList'
  2066. },
  2067. hideChildrenInMenu: true,
  2068. children: [
  2069. {
  2070. path: 'list',
  2071. name: 'billingReturnReportList',
  2072. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  2073. meta: {
  2074. title: '开单退货列表',
  2075. icon: 'profile',
  2076. hidden: true,
  2077. permission: 'M_billingReturnReportList'
  2078. }
  2079. }
  2080. ]
  2081. },
  2082. {
  2083. path: '/reportData/returnSlipReport',
  2084. redirect: '/reportData/returnSlipReport/list',
  2085. name: 'returnSlipReport',
  2086. component: BlankLayout,
  2087. meta: {
  2088. title: '开单退货单报表',
  2089. icon: 'profile',
  2090. permission: 'M_returnSlipReportList'
  2091. },
  2092. hideChildrenInMenu: true,
  2093. children: [{
  2094. path: 'list',
  2095. name: 'returnSlipReportList',
  2096. component: () => import(/* webpackChunkName: "reportData" */
  2097. '@/views/reportData/returnSlipReport/list.vue'),
  2098. meta: {
  2099. title: '开单退货单报表列表',
  2100. icon: 'profile',
  2101. hidden: true,
  2102. permission: 'M_returnSlipReportList'
  2103. }
  2104. }]
  2105. },
  2106. {
  2107. path: '/reportData/billingBackReport',
  2108. redirect: '/reportData/billingBackReport/list',
  2109. name: 'billingBackReport',
  2110. component: BlankLayout,
  2111. meta: {
  2112. title: '开单采退报表',
  2113. icon: 'profile',
  2114. permission: 'M_billingBackReport'
  2115. },
  2116. hideChildrenInMenu: true,
  2117. children: [{
  2118. path: 'list',
  2119. name: 'billingBackReportList',
  2120. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2121. meta: {
  2122. title: '开单采退报表列表',
  2123. icon: 'profile',
  2124. hidden: true,
  2125. permission: 'M_billingBackReportList'
  2126. }
  2127. }]
  2128. },
  2129. {
  2130. path: '/reportData/billingOrderReport',
  2131. redirect: '/reportData/billingOrderReport/list',
  2132. name: 'billingOrderReport',
  2133. component: BlankLayout,
  2134. meta: {
  2135. title: '开单采退单报表',
  2136. icon: 'profile',
  2137. permission: 'M_billingOrderReport'
  2138. },
  2139. hideChildrenInMenu: true,
  2140. children: [{
  2141. path: 'list',
  2142. name: 'billingOrderReportList',
  2143. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2144. meta: {
  2145. title: '开单采退单报表列表',
  2146. icon: 'profile',
  2147. hidden: true,
  2148. permission: 'M_billingOrderReportList'
  2149. }
  2150. }]
  2151. },
  2152. {
  2153. path: '/reportData/hPriceDifferenceDetailReport',
  2154. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2155. name: 'hPriceDifferenceDetailReport',
  2156. component: BlankLayout,
  2157. meta: {
  2158. title: '总部差价明细报表',
  2159. icon: 'profile',
  2160. permission: 'M_hPriceDifferenceDetailReportList'
  2161. },
  2162. hideChildrenInMenu: true,
  2163. children: [
  2164. {
  2165. path: 'list',
  2166. name: 'hPriceDifferenceDetailReportList',
  2167. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2168. meta: {
  2169. title: '总部差价明细列表',
  2170. icon: 'profile',
  2171. hidden: true,
  2172. permission: 'M_hPriceDifferenceDetailReportList'
  2173. }
  2174. }
  2175. ]
  2176. },
  2177. {
  2178. path: '/reportData/priceDifferenceDetailReport',
  2179. redirect: '/reportData/priceDifferenceDetailReport/list',
  2180. name: 'priceDifferenceDetailReport',
  2181. component: BlankLayout,
  2182. meta: {
  2183. title: '差价明细报表',
  2184. icon: 'profile',
  2185. permission: 'M_priceDifferenceDetailReportList'
  2186. },
  2187. hideChildrenInMenu: true,
  2188. children: [
  2189. {
  2190. path: 'list',
  2191. name: 'priceDifferenceDetailReportList',
  2192. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2193. meta: {
  2194. title: '差价明细列表',
  2195. icon: 'profile',
  2196. hidden: true,
  2197. permission: 'M_priceDifferenceDetailReportList'
  2198. }
  2199. }
  2200. ]
  2201. },
  2202. {
  2203. path: '/reportData/regionTypeSalesReport',
  2204. redirect: '/reportData/regionTypeSalesReport/list',
  2205. name: 'regionTypeSalesReport',
  2206. component: BlankLayout,
  2207. meta: {
  2208. title: '各分区品类实售明细',
  2209. icon: 'profile',
  2210. permission: 'M_regionTypeSalesReportList'
  2211. },
  2212. hideChildrenInMenu: true,
  2213. children: [
  2214. {
  2215. path: 'list',
  2216. name: 'regionTypeSalesReportList',
  2217. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2218. meta: {
  2219. title: '各分区品类实售明细',
  2220. icon: 'profile',
  2221. hidden: true,
  2222. permission: 'M_regionTypeSalesReportList'
  2223. }
  2224. }
  2225. ]
  2226. },
  2227. {
  2228. path: '/reportData/warehousingOrder',
  2229. redirect: '/reportData/warehousingOrder/list',
  2230. name: 'warehousingOrder',
  2231. component: BlankLayout,
  2232. meta: {
  2233. title: '入库单报表',
  2234. icon: 'profile',
  2235. permission: 'M_warehousingOrderList'
  2236. },
  2237. hideChildrenInMenu: true,
  2238. children: [
  2239. {
  2240. path: 'list',
  2241. name: 'warehousingOrderList',
  2242. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2243. meta: {
  2244. title: '入库单报表列表',
  2245. icon: 'profile',
  2246. hidden: true,
  2247. permission: 'M_warehousingOrderList'
  2248. }
  2249. }
  2250. ]
  2251. },
  2252. {
  2253. path: '/reportData/warehousingOrderDetail',
  2254. redirect: '/reportData/warehousingOrderDetail/list',
  2255. name: 'warehousingOrderDetail',
  2256. component: BlankLayout,
  2257. meta: {
  2258. title: '入库单明细报表',
  2259. icon: 'profile',
  2260. permission: 'M_warehousingOrderDetailList'
  2261. },
  2262. hideChildrenInMenu: true,
  2263. children: [
  2264. {
  2265. path: 'list',
  2266. name: 'warehousingOrderDetailList',
  2267. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2268. meta: {
  2269. title: '入库单明细报表列表',
  2270. icon: 'profile',
  2271. hidden: true,
  2272. permission: 'M_warehousingOrderDetailList'
  2273. }
  2274. }
  2275. ]
  2276. },
  2277. {
  2278. path: '/reportData/salesPresentation',
  2279. redirect: '/reportData/salesPresentation/list',
  2280. name: 'salesPresentation',
  2281. component: BlankLayout,
  2282. meta: {
  2283. title: '销售交单报表',
  2284. icon: 'profile',
  2285. permission: 'M_salesPresentationList'
  2286. },
  2287. hideChildrenInMenu: true,
  2288. children: [
  2289. {
  2290. path: 'list',
  2291. name: 'salesPresentationList',
  2292. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2293. meta: {
  2294. title: '销售交单报表列表',
  2295. icon: 'profile',
  2296. hidden: true,
  2297. permission: 'M_salesPresentationList'
  2298. }
  2299. }
  2300. ]
  2301. },
  2302. {
  2303. path: '/reportData/allocationPresentation',
  2304. redirect: '/reportData/allocationPresentation/list',
  2305. name: 'allocationPresentation',
  2306. component: BlankLayout,
  2307. meta: {
  2308. title: '调拨交单报表',
  2309. icon: 'profile',
  2310. permission: 'M_allocationPresentationList'
  2311. },
  2312. hideChildrenInMenu: true,
  2313. children: [
  2314. {
  2315. path: 'list',
  2316. name: 'allocationPresentationList',
  2317. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2318. meta: {
  2319. title: '调拨交单报表列表',
  2320. icon: 'profile',
  2321. hidden: true,
  2322. permission: 'M_allocationPresentationList'
  2323. }
  2324. }
  2325. ]
  2326. },
  2327. {
  2328. path: '/reportData/returnGoodsPresentation',
  2329. redirect: '/reportData/returnGoodsPresentation/list',
  2330. name: 'returnGoodsPresentation',
  2331. component: BlankLayout,
  2332. meta: {
  2333. title: '退货交单报表',
  2334. icon: 'profile',
  2335. permission: 'M_returnGoodsPresentationList'
  2336. },
  2337. hideChildrenInMenu: true,
  2338. children: [
  2339. {
  2340. path: 'list',
  2341. name: 'returnGoodsPresentationList',
  2342. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2343. meta: {
  2344. title: '退货交单报表列表',
  2345. icon: 'profile',
  2346. hidden: true,
  2347. permission: 'M_returnGoodsPresentationList'
  2348. }
  2349. }
  2350. ]
  2351. },
  2352. {
  2353. path: '/reportData/expenseAccountBearerReport',
  2354. redirect: '/reportData/expenseAccountBearerReport/list',
  2355. name: 'expenseAccountBearerReport',
  2356. component: BlankLayout,
  2357. meta: {
  2358. title: '费用汇总报表(按承担方)',
  2359. icon: 'profile',
  2360. permission: 'M_expenseAccountBearerReportList'
  2361. },
  2362. hideChildrenInMenu: true,
  2363. children: [
  2364. {
  2365. path: 'list',
  2366. name: 'expenseAccountBearerReportList',
  2367. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2368. meta: {
  2369. title: '费用汇总报表(按承担方)',
  2370. icon: 'profile',
  2371. hidden: true,
  2372. permission: 'M_expenseAccountBearerReportList'
  2373. }
  2374. }
  2375. ]
  2376. },
  2377. {
  2378. path: '/reportData/expenseAccountCategoryReport',
  2379. redirect: '/reportData/expenseAccountCategoryReport/list',
  2380. name: 'expenseAccountCategoryReport',
  2381. component: BlankLayout,
  2382. meta: {
  2383. title: '费用汇总报表(按品类)',
  2384. icon: 'profile',
  2385. permission: 'M_expenseAccountCategoryReportList'
  2386. },
  2387. hideChildrenInMenu: true,
  2388. children: [
  2389. {
  2390. path: 'list',
  2391. name: 'expenseAccountCategoryReportList',
  2392. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2393. meta: {
  2394. title: '费用汇总报表(按品类)',
  2395. icon: 'profile',
  2396. hidden: true,
  2397. permission: 'M_expenseAccountCategoryReportList'
  2398. }
  2399. }
  2400. ]
  2401. },
  2402. {
  2403. path: '/reportData/receivedSendStorageReport',
  2404. redirect: '/reportData/receivedSendStorageReport/index',
  2405. name: 'receivedSendStorageReport',
  2406. component: BlankLayout,
  2407. meta: {
  2408. title: '收发存报表',
  2409. icon: 'profile',
  2410. permission: 'M_receivedSendStorageReport'
  2411. },
  2412. hideChildrenInMenu: true,
  2413. children: [
  2414. {
  2415. path: 'index',
  2416. name: 'receivedSendStorageReportIndex',
  2417. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2418. meta: {
  2419. title: '收发存报表',
  2420. icon: 'profile',
  2421. hidden: true,
  2422. permission: 'M_receivedSendStorageReportList'
  2423. }
  2424. }
  2425. ]
  2426. },
  2427. {
  2428. path: '/productRebateReport/index',
  2429. redirect: '/productRebateReport/index/list',
  2430. name: 'productRebateReportList',
  2431. component: BlankLayout,
  2432. meta: {
  2433. title: '产品返利明细表',
  2434. icon: 'profile',
  2435. permission: 'M_productRebateReportList'
  2436. },
  2437. hideChildrenInMenu: true,
  2438. children: [
  2439. {
  2440. path: 'list',
  2441. name: 'productRebateReportList',
  2442. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2443. meta: {
  2444. title: '产品返利明细表',
  2445. icon: 'profile',
  2446. hidden: true,
  2447. permission: 'M_productRebateReportList'
  2448. }
  2449. }
  2450. ]
  2451. }
  2452. // {
  2453. // path: '/reportData/allCountryCostReport',
  2454. // redirect: '/reportData/allCountryCostReport/list',
  2455. // name: 'allCountryCostReport',
  2456. // component: BlankLayout,
  2457. // meta: {
  2458. // title: '全国费用统计报表',
  2459. // icon: 'profile'
  2460. // // permission: 'M_nationalCustomerCostStatisticsList'
  2461. // },
  2462. // hideChildrenInMenu: true,
  2463. // children: [
  2464. // {
  2465. // path: 'list',
  2466. // name: 'allCountryCostReportList',
  2467. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2468. // meta: {
  2469. // title: '全国费用统计报表',
  2470. // icon: 'profile',
  2471. // hidden: true
  2472. // // permission: 'M_nationalCustomerCostStatisticsList'
  2473. // }
  2474. // }
  2475. // ]
  2476. // }
  2477. ]
  2478. },
  2479. // 数据导出
  2480. {
  2481. path: '/dataExport',
  2482. redirect: '/dataExport/exportSales',
  2483. component: PageView,
  2484. meta: {
  2485. title: '数据导出',
  2486. icon: 'database',
  2487. permission: 'M_dataExport'
  2488. },
  2489. children: [
  2490. {
  2491. path: '/dataExport/exportSales',
  2492. redirect: '/dataExport/exportSales/list',
  2493. name: 'exportSales',
  2494. component: BlankLayout,
  2495. meta: {
  2496. title: '导出销售',
  2497. icon: 'gold',
  2498. permission: 'M_exportSales'
  2499. },
  2500. hideChildrenInMenu: true,
  2501. children: [
  2502. {
  2503. path: 'list',
  2504. name: 'exportSalesList',
  2505. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2506. meta: {
  2507. title: '导出销售',
  2508. icon: 'gold',
  2509. hidden: true,
  2510. permission: 'M_exportSales'
  2511. }
  2512. }
  2513. ]
  2514. },
  2515. {
  2516. path: '/dataExport/exportCheck',
  2517. redirect: '/dataExport/exportCheck/list',
  2518. name: 'exportCheck',
  2519. component: BlankLayout,
  2520. meta: {
  2521. title: '导出盘点',
  2522. icon: 'gold',
  2523. permission: 'M_exportCheck'
  2524. },
  2525. hideChildrenInMenu: true,
  2526. children: [
  2527. {
  2528. path: 'list',
  2529. name: 'exportCheckList',
  2530. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2531. meta: {
  2532. title: '导出盘点',
  2533. icon: 'gold',
  2534. hidden: true,
  2535. permission: 'M_exportCheck'
  2536. }
  2537. }
  2538. ]
  2539. }
  2540. ]
  2541. },
  2542. // 产品管理
  2543. {
  2544. path: '/productManagement',
  2545. redirect: '/productManagement/productInfo',
  2546. component: PageView,
  2547. meta: {
  2548. title: '产品管理',
  2549. icon: 'shopping',
  2550. permission: 'M_productManagement'
  2551. },
  2552. children: [
  2553. {
  2554. path: '/productManagement/productInfo',
  2555. redirect: '/productManagement/productInfo/list',
  2556. name: 'productInfo',
  2557. component: BlankLayout,
  2558. meta: {
  2559. title: '产品列表',
  2560. icon: 'gold',
  2561. permission: 'M_productInfoList'
  2562. },
  2563. hideChildrenInMenu: true,
  2564. children: [
  2565. {
  2566. path: 'list',
  2567. name: 'productInfoList',
  2568. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2569. meta: {
  2570. title: '产品列表',
  2571. icon: 'gold',
  2572. hidden: true,
  2573. permission: 'M_productInfoList'
  2574. }
  2575. },
  2576. {
  2577. path: 'add',
  2578. name: 'productInfoAdd',
  2579. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2580. meta: {
  2581. title: '新增产品',
  2582. icon: 'gold',
  2583. hidden: true
  2584. // permission: 'B_goodsManage_edit'
  2585. }
  2586. },
  2587. {
  2588. path: 'edit/:id/:sn',
  2589. name: 'productInfoEdit',
  2590. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2591. meta: {
  2592. title: '编辑产品',
  2593. icon: 'gold',
  2594. hidden: true
  2595. // permission: 'B_goodsManage_edit'
  2596. }
  2597. }
  2598. ]
  2599. },
  2600. {
  2601. path: '/productManagement/productPricing',
  2602. redirect: '/productManagement/productPricing/list',
  2603. name: 'productPricing',
  2604. component: BlankLayout,
  2605. meta: {
  2606. title: '产品定价',
  2607. icon: 'transaction',
  2608. permission: 'M_productPricingList'
  2609. },
  2610. hideChildrenInMenu: true,
  2611. children: [
  2612. {
  2613. path: 'list',
  2614. name: 'productPricingList',
  2615. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2616. meta: {
  2617. title: '产品定价列表',
  2618. icon: 'transaction',
  2619. hidden: true,
  2620. permission: 'M_productPricingList'
  2621. }
  2622. }
  2623. ]
  2624. },
  2625. {
  2626. path: '/productManagement/productLaunchAudit',
  2627. redirect: '/productManagement/productLaunchAudit/list',
  2628. name: 'productLaunchAudit',
  2629. component: BlankLayout,
  2630. meta: {
  2631. title: '产品上线审核',
  2632. icon: 'rise',
  2633. permission: 'M_productLaunchAuditList'
  2634. },
  2635. hideChildrenInMenu: true,
  2636. children: [
  2637. {
  2638. path: 'list',
  2639. name: 'productLaunchAuditList',
  2640. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2641. meta: {
  2642. title: '产品上线审核列表',
  2643. icon: 'rise',
  2644. hidden: true,
  2645. permission: 'M_productLaunchAuditList'
  2646. }
  2647. }
  2648. ]
  2649. },
  2650. {
  2651. path: '/productManagement/newProduct',
  2652. redirect: '/productManagement/newProduct/list/onlineInfo/1',
  2653. name: 'productLaunchInfo',
  2654. component: BlankLayout,
  2655. meta: {
  2656. title: '产品上线信息',
  2657. icon: 'rise'
  2658. // permission: 'M_productLaunchInfoList'
  2659. },
  2660. hideChildrenInMenu: true,
  2661. children: [
  2662. {
  2663. path: 'list/:type/:onlineFalg',
  2664. name: 'productLaunchInfoList',
  2665. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list.vue'),
  2666. meta: {
  2667. title: '产品上线信息列表',
  2668. icon: 'rise',
  2669. hidden: true
  2670. // permission: 'M_productLaunchInfoList'
  2671. }
  2672. }
  2673. ]
  2674. },
  2675. {
  2676. path: '/productManagement/productOfflineAudit',
  2677. redirect: '/productManagement/productOfflineAudit/list',
  2678. name: 'productOfflineAudit',
  2679. component: BlankLayout,
  2680. meta: {
  2681. title: '产品下线审核',
  2682. icon: 'fall',
  2683. permission: 'M_productOfflineAuditList'
  2684. },
  2685. hideChildrenInMenu: true,
  2686. children: [
  2687. {
  2688. path: 'list',
  2689. name: 'productOfflineAuditList',
  2690. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2691. meta: {
  2692. title: '产品下线审核列表',
  2693. icon: 'fall',
  2694. hidden: true,
  2695. permission: 'M_productOfflineAuditList'
  2696. }
  2697. }
  2698. ]
  2699. },
  2700. {
  2701. path: '/productManagement/productNotOnline',
  2702. redirect: '/productManagement/productNotOnline/list',
  2703. name: 'productNotOnline',
  2704. component: BlankLayout,
  2705. meta: {
  2706. title: '产品状态信息',
  2707. icon: 'fall',
  2708. permission: 'M_productNotOnlineList'
  2709. },
  2710. hideChildrenInMenu: true,
  2711. children: [
  2712. {
  2713. path: 'list',
  2714. name: 'productNotOnlineList',
  2715. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productNotOnline/list.vue'),
  2716. meta: {
  2717. title: '产品状态信息列表',
  2718. icon: 'fall',
  2719. hidden: true,
  2720. permission: 'M_productNotOnlineList'
  2721. }
  2722. }
  2723. ]
  2724. },
  2725. {
  2726. path: '/productManagement/priceChangeRecord',
  2727. redirect: '/productManagement/priceChangeRecord/list',
  2728. name: 'priceChangeRecord',
  2729. component: BlankLayout,
  2730. meta: {
  2731. title: '价格变更记录',
  2732. icon: 'profile',
  2733. permission: 'M_priceChangeRecordList'
  2734. },
  2735. hideChildrenInMenu: true,
  2736. children: [
  2737. {
  2738. path: 'list',
  2739. name: 'priceChangeRecordList',
  2740. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2741. meta: {
  2742. title: '价格变更记录列表',
  2743. icon: 'profile',
  2744. hidden: true,
  2745. permission: 'M_priceChangeRecordList'
  2746. }
  2747. }
  2748. ]
  2749. },
  2750. {
  2751. path: '/productManagement/productUniversal',
  2752. redirect: '/productManagement/productUniversal/list',
  2753. name: 'productUniversal',
  2754. component: BlankLayout,
  2755. meta: {
  2756. title: '通用产品管理',
  2757. icon: 'deployment-unit',
  2758. permission: 'M_productUniversalList'
  2759. },
  2760. hideChildrenInMenu: true,
  2761. children: [
  2762. {
  2763. path: 'list',
  2764. name: 'productUniversalList',
  2765. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2766. meta: {
  2767. title: '通用产品列表',
  2768. icon: 'deployment-unit',
  2769. hidden: true,
  2770. permission: 'M_productUniversalList'
  2771. }
  2772. }
  2773. ]
  2774. },
  2775. {
  2776. path: '/productManagement/productLevel',
  2777. redirect: '/productManagement/productLevel/list',
  2778. name: 'productLevel',
  2779. component: BlankLayout,
  2780. meta: {
  2781. title: '产品级别管理',
  2782. icon: 'fund',
  2783. permission: 'M_productLevelList'
  2784. },
  2785. hideChildrenInMenu: true,
  2786. children: [
  2787. {
  2788. path: 'list',
  2789. name: 'productLevelList',
  2790. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2791. meta: {
  2792. title: '产品级别列表',
  2793. icon: 'fund',
  2794. hidden: true,
  2795. permission: 'M_productLevelList'
  2796. }
  2797. }
  2798. ]
  2799. },
  2800. {
  2801. path: '/productManagement/productBrand',
  2802. redirect: '/productManagement/productBrand/list',
  2803. name: 'productBrand',
  2804. component: BlankLayout,
  2805. meta: {
  2806. title: '产品品牌管理',
  2807. icon: 'file-ppt',
  2808. permission: 'M_productBrandList'
  2809. },
  2810. hideChildrenInMenu: true,
  2811. children: [
  2812. {
  2813. path: 'list',
  2814. name: 'productBrandList',
  2815. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2816. meta: {
  2817. title: '产品品牌列表',
  2818. icon: 'file-ppt',
  2819. hidden: true,
  2820. permission: 'M_productBrandList'
  2821. }
  2822. }
  2823. ]
  2824. },
  2825. {
  2826. path: '/productManagement/productCategory',
  2827. redirect: '/productManagement/productCategory/list',
  2828. name: 'productCategory',
  2829. component: BlankLayout,
  2830. meta: {
  2831. title: '产品分类管理',
  2832. icon: 'radar-chart',
  2833. permission: 'M_productCategoryList'
  2834. },
  2835. hideChildrenInMenu: true,
  2836. children: [
  2837. {
  2838. path: 'list',
  2839. name: 'productCategoryList',
  2840. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2841. meta: {
  2842. title: '产品分类列表',
  2843. icon: 'radar-chart',
  2844. hidden: true,
  2845. permission: 'M_productCategoryList'
  2846. }
  2847. }
  2848. ]
  2849. },
  2850. {
  2851. path: '/productManagement/shelfNoManage',
  2852. redirect: '/productManagement/shelfNoManage/list',
  2853. name: 'shelfNoManage',
  2854. component: BlankLayout,
  2855. meta: {
  2856. title: '货位编号管理',
  2857. icon: 'radar-chart',
  2858. permission: 'M_shelfNoManageList'
  2859. },
  2860. hideChildrenInMenu: true,
  2861. children: [
  2862. {
  2863. path: 'list',
  2864. name: 'shelfNoManageList',
  2865. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2866. meta: {
  2867. title: '货位编号管理',
  2868. icon: 'radar-chart',
  2869. hidden: true,
  2870. permission: 'M_shelfNoManageList'
  2871. }
  2872. }
  2873. ]
  2874. }
  2875. ]
  2876. },
  2877. // 经销商管理
  2878. {
  2879. path: '/dealerManagement',
  2880. redirect: '/dealerManagement/marketingDivisionSet',
  2881. component: PageView,
  2882. meta: {
  2883. title: '经销商管理',
  2884. icon: 'idcard',
  2885. permission: 'M_dealerManagement'
  2886. },
  2887. children: [
  2888. {
  2889. path: '/dealerManagement/merchantInfoManagement',
  2890. redirect: '/dealerManagement/merchantInfoManagement/list',
  2891. name: 'merchantInfoManagement',
  2892. component: BlankLayout,
  2893. meta: {
  2894. title: '经销商资料管理',
  2895. icon: 'file-text',
  2896. permission: 'M_merchantInfoManagementList'
  2897. },
  2898. hideChildrenInMenu: true,
  2899. children: [
  2900. {
  2901. path: 'list',
  2902. name: 'merchantInfoManagementList',
  2903. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  2904. meta: {
  2905. title: '经销商资料列表',
  2906. icon: 'file-text',
  2907. hidden: true,
  2908. permission: 'M_merchantInfoManagementList'
  2909. }
  2910. },
  2911. {
  2912. path: 'add',
  2913. name: 'merchantInfoManagementAdd',
  2914. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2915. meta: {
  2916. title: '新增经销商',
  2917. icon: 'file-text',
  2918. hidden: true
  2919. // permission: 'B_goodsManage_edit'
  2920. }
  2921. },
  2922. {
  2923. path: 'edit/:id',
  2924. name: 'merchantInfoManagementEdit',
  2925. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2926. meta: {
  2927. title: '编辑经销商',
  2928. icon: 'file-text',
  2929. hidden: true
  2930. // permission: 'B_goodsManage_edit'
  2931. }
  2932. },
  2933. {
  2934. path: 'permissionSetting/:sn',
  2935. name: 'merchantInfoManagementSet',
  2936. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  2937. meta: {
  2938. title: '经销权设置',
  2939. icon: 'file-text',
  2940. replaceTab: true,
  2941. hidden: true
  2942. // permission: 'B_goodsManage_edit'
  2943. }
  2944. }
  2945. ]
  2946. },
  2947. {
  2948. path: '/dealerManagement/dealerAccountManagement',
  2949. redirect: '/dealerManagement/dealerAccountManagement/list',
  2950. name: 'dealerAccountManagement',
  2951. component: BlankLayout,
  2952. meta: {
  2953. title: '经销商账号管理',
  2954. icon: 'team',
  2955. permission: 'M_dealerAccountManagementList'
  2956. },
  2957. hideChildrenInMenu: true,
  2958. children: [
  2959. {
  2960. path: 'list',
  2961. name: 'dealerAccountManagementList',
  2962. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  2963. meta: {
  2964. title: '经销商账号列表',
  2965. icon: 'team',
  2966. hidden: true,
  2967. permission: 'M_dealerAccountManagementList'
  2968. }
  2969. }
  2970. ]
  2971. },
  2972. {
  2973. path: '/dealerManagement/dealerRelationshipBinding',
  2974. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  2975. name: 'dealerRelationshipBinding',
  2976. component: BlankLayout,
  2977. meta: {
  2978. title: '经销商关系绑定',
  2979. icon: 'share-alt',
  2980. permission: 'M_dealerRelationshipBindingList'
  2981. },
  2982. hideChildrenInMenu: true,
  2983. children: [
  2984. {
  2985. path: 'list',
  2986. name: 'dealerRelationshipBindingList',
  2987. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  2988. meta: {
  2989. title: '经销商关系绑定列表',
  2990. icon: 'share-alt',
  2991. hidden: true,
  2992. permission: 'M_dealerRelationshipBindingList'
  2993. }
  2994. }
  2995. ]
  2996. },
  2997. {
  2998. path: '/dealerManagement/rebateSettings',
  2999. redirect: '/dealerManagement/rebateSettings/list',
  3000. name: 'rebateSettings',
  3001. component: BlankLayout,
  3002. meta: {
  3003. title: '差价归属设置',
  3004. icon: 'stock',
  3005. permission: 'M_rebateSettingsList'
  3006. },
  3007. hideChildrenInMenu: true,
  3008. children: [
  3009. {
  3010. path: 'list',
  3011. name: 'rebateSettingsList',
  3012. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  3013. meta: {
  3014. title: '差价归属设置列表',
  3015. icon: 'stock',
  3016. hidden: true,
  3017. permission: 'M_rebateSettingsList'
  3018. }
  3019. }
  3020. ]
  3021. },
  3022. {
  3023. path: '/dealerManagement/marketingDivisionSetNew',
  3024. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  3025. name: 'marketingDivisionSetNew',
  3026. component: BlankLayout,
  3027. meta: {
  3028. title: '营销分区设置',
  3029. icon: 'setting',
  3030. permission: 'M_marketingDivisionSetList'
  3031. },
  3032. hideChildrenInMenu: true,
  3033. children: [
  3034. {
  3035. path: 'list',
  3036. name: 'marketingDivisionSetNewList',
  3037. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  3038. meta: {
  3039. title: '营销分区列表',
  3040. icon: 'setting',
  3041. hidden: true,
  3042. permission: 'M_marketingDivisionSetList'
  3043. }
  3044. }
  3045. ]
  3046. },
  3047. {
  3048. path: '/dealerManagement/businessOwnerSettings',
  3049. redirect: '/dealerManagement/businessOwnerSettings/list',
  3050. name: 'businessOwnerSettings',
  3051. component: BlankLayout,
  3052. meta: {
  3053. title: '数据权限配置',
  3054. icon: 'stock',
  3055. permission: 'M_businessOwnerSettings'
  3056. },
  3057. hideChildrenInMenu: true,
  3058. children: [
  3059. {
  3060. path: 'list',
  3061. name: 'businessOwnerSettingsList',
  3062. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  3063. meta: {
  3064. title: '数据权限配置列表',
  3065. icon: 'stock',
  3066. hidden: true,
  3067. permission: 'M_businessOwnerSettingsList'
  3068. }
  3069. },
  3070. {
  3071. path: 'settingsIndex',
  3072. name: 'categorySet',
  3073. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  3074. meta: {
  3075. title: '管辖品类权限设置',
  3076. icon: 'user',
  3077. hidden: true,
  3078. replaceTab: true,
  3079. permission: 'M_settingsIndex'
  3080. }
  3081. }
  3082. ]
  3083. },
  3084. {
  3085. path: '/dealerManagement/dealerZoneSearch',
  3086. redirect: '/dealerManagement/dealerZoneSearch/list',
  3087. name: 'dealerZoneSearch',
  3088. component: BlankLayout,
  3089. meta: {
  3090. title: '经销商所属分区查询',
  3091. icon: 'setting',
  3092. permission: 'M_dealerZoneSearch'
  3093. },
  3094. hideChildrenInMenu: true,
  3095. children: [
  3096. {
  3097. path: 'list',
  3098. name: 'dealerZoneSearchList',
  3099. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  3100. meta: {
  3101. title: '经销商所属分区查询',
  3102. icon: 'setting',
  3103. hidden: true,
  3104. permission: 'M_dealerZoneSearchList'
  3105. }
  3106. }
  3107. ]
  3108. }
  3109. ]
  3110. },
  3111. // 供应商管理
  3112. {
  3113. path: '/supplierManagement',
  3114. redirect: '/supplierManagement/supplierInfo',
  3115. component: PageView,
  3116. meta: {
  3117. title: '供应商管理',
  3118. icon: 'team',
  3119. permission: 'M_supplierManagement'
  3120. },
  3121. children: [
  3122. {
  3123. path: '/supplierManagement/supplierInfo',
  3124. redirect: '/supplierManagement/supplierInfo/list',
  3125. name: 'supplierInfo',
  3126. component: BlankLayout,
  3127. meta: {
  3128. title: '供应商列表',
  3129. icon: 'team',
  3130. permission: 'M_supplierInfoList'
  3131. },
  3132. hideChildrenInMenu: true,
  3133. children: [
  3134. {
  3135. path: 'list',
  3136. name: 'supplierInfoList',
  3137. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3138. meta: {
  3139. title: '供应商列表',
  3140. icon: 'team',
  3141. hidden: true,
  3142. permission: 'M_supplierInfoList'
  3143. }
  3144. },
  3145. {
  3146. path: 'add',
  3147. name: 'supplierInfoAdd',
  3148. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3149. meta: {
  3150. title: '新增供应商',
  3151. icon: 'team',
  3152. hidden: true
  3153. // permission: 'B_goodsManage_edit'
  3154. }
  3155. },
  3156. {
  3157. path: 'edit/:id',
  3158. name: 'supplierInfoEdit',
  3159. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3160. meta: {
  3161. title: '编辑供应商',
  3162. icon: 'team',
  3163. hidden: true
  3164. // permission: 'B_goodsManage_edit'
  3165. }
  3166. },
  3167. {
  3168. path: 'associatedProduct/:sn/:name',
  3169. name: 'associatedProduct',
  3170. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3171. meta: {
  3172. title: '关联产品',
  3173. icon: 'team',
  3174. replaceTab: true,
  3175. hidden: true
  3176. // permission: 'B_goodsManage_edit'
  3177. }
  3178. }
  3179. ]
  3180. },
  3181. {
  3182. path: '/supplierManagement/costSetting',
  3183. redirect: '/supplierManagement/costSetting/list',
  3184. name: 'costSetting',
  3185. component: BlankLayout,
  3186. meta: {
  3187. title: '成本设置',
  3188. icon: 'build',
  3189. permission: 'M_costSettingList'
  3190. },
  3191. hideChildrenInMenu: true,
  3192. children: [
  3193. {
  3194. path: 'list',
  3195. name: 'costSettingList',
  3196. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3197. meta: {
  3198. title: '成本设置列表',
  3199. icon: 'build',
  3200. hidden: true
  3201. }
  3202. }
  3203. ]
  3204. },
  3205. {
  3206. path: '/supplierManagement/costSetRecord',
  3207. redirect: '/supplierManagement/costSetRecord/list',
  3208. name: 'costSetRecord',
  3209. component: BlankLayout,
  3210. meta: {
  3211. title: '成本变更记录',
  3212. icon: 'build',
  3213. permission: 'M_costSetRecordList'
  3214. },
  3215. hideChildrenInMenu: true,
  3216. children: [
  3217. {
  3218. path: 'list',
  3219. name: 'costSetRecordList',
  3220. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3221. meta: {
  3222. title: '成本变更记录列表',
  3223. icon: 'build',
  3224. hidden: true
  3225. }
  3226. }
  3227. ]
  3228. },
  3229. {
  3230. path: '/supplierManagement/associatedProductDetails',
  3231. redirect: '/supplierManagement/associatedProductDetails/list',
  3232. name: 'associatedProductDetails',
  3233. component: BlankLayout,
  3234. meta: {
  3235. title: '关联产品明细表',
  3236. icon: 'build',
  3237. permission: 'M_associatedProductDetailsList'
  3238. },
  3239. hideChildrenInMenu: true,
  3240. children: [
  3241. {
  3242. path: 'list',
  3243. name: 'associatedProductDetailsList',
  3244. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3245. meta: {
  3246. title: '关联产品明细列表',
  3247. icon: 'build',
  3248. hidden: true,
  3249. permission: 'M_associatedProductDetailsList'
  3250. }
  3251. }
  3252. ]
  3253. }
  3254. ]
  3255. },
  3256. // 促销管理
  3257. {
  3258. path: '/promotionRulesManagement',
  3259. redirect: '/promotionRulesManagement/promotionRules',
  3260. component: PageView,
  3261. meta: {
  3262. title: '促销管理',
  3263. icon: 'rocket',
  3264. permission: 'M_promotionRulesManagement'
  3265. },
  3266. children: [
  3267. {
  3268. path: '/promotionRulesManagement/promotionManagement',
  3269. redirect: '/promotionRulesManagement/promotionManagement/list',
  3270. name: 'promotionManagement',
  3271. component: BlankLayout,
  3272. meta: {
  3273. title: '修理厂促销',
  3274. icon: 'file-ppt',
  3275. permission: 'M_promotionManagementList'
  3276. },
  3277. hideChildrenInMenu: true,
  3278. children: [
  3279. {
  3280. path: 'list',
  3281. name: 'promotionManagementList',
  3282. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionManagement/list.vue'),
  3283. meta: {
  3284. title: '修理厂促销列表',
  3285. icon: 'file-ppt',
  3286. hidden: true,
  3287. permission: 'M_promotionManagementList'
  3288. }
  3289. }
  3290. ]
  3291. },
  3292. {
  3293. path: '/promotionRulesManagement/dealerPromotions',
  3294. redirect: '/promotionRulesManagement/dealerPromotions/list',
  3295. name: 'dealerPromotionManagement',
  3296. component: BlankLayout,
  3297. meta: {
  3298. title: '经销商促销',
  3299. icon: 'setting',
  3300. permission: 'M_dealerPromotionManagementList'
  3301. },
  3302. hideChildrenInMenu: true,
  3303. children: [
  3304. {
  3305. path: 'list',
  3306. name: 'dealerPromotionManagementList',
  3307. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/promotionRulesManagement/dealerPromotions/list.vue'),
  3308. meta: {
  3309. title: '经销商促销',
  3310. icon: 'setting',
  3311. hidden: true,
  3312. permission: 'M_dealerPromotionManagementList'
  3313. }
  3314. },
  3315. {
  3316. path: 'detail',
  3317. name: 'dealerPromotionManagementDetail',
  3318. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3319. meta: {
  3320. title: '促销活动详情',
  3321. icon: 'thunderbolt',
  3322. hidden: true
  3323. }
  3324. },
  3325. {
  3326. path: 'ruleSet',
  3327. name: 'dealerPromotionManagementRule',
  3328. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/dealerPromotions/detail.vue'),
  3329. meta: {
  3330. title: '促销规则设置',
  3331. icon: 'thunderbolt',
  3332. replaceTab: true,
  3333. hidden: true
  3334. }
  3335. }
  3336. ]
  3337. }
  3338. ]
  3339. },
  3340. // 基础设置
  3341. {
  3342. path: '/basicData',
  3343. redirect: '/basicData/warehouse',
  3344. component: PageView,
  3345. meta: {
  3346. title: '基础设置',
  3347. icon: 'pushpin',
  3348. permission: 'M_basicData'
  3349. },
  3350. children: [
  3351. {
  3352. path: '/basicData/warehouse',
  3353. redirect: '/basicData/warehouse/list',
  3354. name: 'warehouse',
  3355. component: BlankLayout,
  3356. meta: {
  3357. title: '仓库管理',
  3358. icon: 'deployment-unit',
  3359. permission: 'M_warehouseList'
  3360. },
  3361. hideChildrenInMenu: true,
  3362. children: [
  3363. {
  3364. path: 'list',
  3365. name: 'warehouseList',
  3366. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3367. meta: {
  3368. title: '仓库列表',
  3369. icon: 'deployment-unit',
  3370. hidden: true,
  3371. permission: 'M_warehouseList'
  3372. }
  3373. },
  3374. {
  3375. path: '/basicData/storingLocation/:sn',
  3376. name: 'storingLocationList',
  3377. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3378. meta: {
  3379. title: '仓位列表',
  3380. icon: 'deployment-unit',
  3381. replaceTab: true,
  3382. hidden: true
  3383. // permission: 'B_goodsManage_edit'
  3384. }
  3385. }
  3386. ]
  3387. },
  3388. {
  3389. path: '/basicData/transferTypeManagement',
  3390. redirect: '/basicData/transferTypeManagement/list',
  3391. name: 'transferTypeManagement',
  3392. component: BlankLayout,
  3393. meta: {
  3394. title: '调拨类型管理',
  3395. icon: 'interaction',
  3396. permission: 'M_transferTypeManagementList'
  3397. },
  3398. hideChildrenInMenu: true,
  3399. children: [
  3400. {
  3401. path: 'list',
  3402. name: 'transferTypeManagementList',
  3403. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3404. meta: {
  3405. title: '调拨类型列表',
  3406. icon: 'interaction',
  3407. hidden: true,
  3408. permission: 'M_transferTypeManagementList'
  3409. }
  3410. }
  3411. ]
  3412. }
  3413. ]
  3414. },
  3415. // 权限管理
  3416. {
  3417. path: '/auth',
  3418. redirect: '/auth/user',
  3419. component: PageView,
  3420. meta: {
  3421. title: '权限管理',
  3422. icon: 'lock',
  3423. permission: 'M_auth_0'
  3424. },
  3425. children: [
  3426. {
  3427. path: '/auth/user',
  3428. redirect: '/auth/user/list',
  3429. name: 'powerUser',
  3430. component: BlankLayout,
  3431. meta: {
  3432. title: '用户管理',
  3433. icon: 'user',
  3434. permission: 'M_userList'
  3435. },
  3436. hideChildrenInMenu: true,
  3437. children: [
  3438. {
  3439. path: 'list',
  3440. name: 'powerUserList',
  3441. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3442. meta: {
  3443. title: '用户管理',
  3444. icon: 'user',
  3445. hidden: true,
  3446. permission: 'M_userList'
  3447. }
  3448. }
  3449. ]
  3450. },
  3451. {
  3452. path: '/auth/role',
  3453. redirect: '/auth/role/list',
  3454. name: 'powerRole',
  3455. component: BlankLayout,
  3456. meta: {
  3457. title: '角色管理',
  3458. icon: 'solution',
  3459. permission: 'M_roleList'
  3460. },
  3461. hideChildrenInMenu: true,
  3462. children: [
  3463. {
  3464. path: 'list',
  3465. name: 'powerRoleList',
  3466. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3467. meta: {
  3468. title: '角色管理',
  3469. icon: 'solution',
  3470. hidden: true,
  3471. permission: 'M_roleList'
  3472. }
  3473. }
  3474. ]
  3475. },
  3476. {
  3477. path: '/auth/adminMenus',
  3478. redirect: '/auth/adminMenus/list',
  3479. name: 'adminMenus',
  3480. component: BlankLayout,
  3481. meta: {
  3482. title: '菜单管理',
  3483. icon: 'appstore',
  3484. permission: 'M_menuList'
  3485. },
  3486. hideChildrenInMenu: true,
  3487. children: [
  3488. {
  3489. path: 'list',
  3490. name: 'adminMenusList',
  3491. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3492. meta: {
  3493. title: '菜单管理',
  3494. icon: 'appstore',
  3495. hidden: true,
  3496. permission: 'M_menuList'
  3497. }
  3498. }
  3499. ]
  3500. }
  3501. ]
  3502. },
  3503. // 系统设置
  3504. {
  3505. path: '/setting',
  3506. redirect: '/setting/dataDictionary',
  3507. component: PageView,
  3508. meta: {
  3509. title: '系统设置',
  3510. icon: 'setting',
  3511. permission: 'M_systemSet'
  3512. },
  3513. children: [
  3514. {
  3515. path: '/setting/dataDictionary',
  3516. redirect: '/setting/dataDictionary/list',
  3517. name: 'dataDictionary',
  3518. component: BlankLayout,
  3519. meta: {
  3520. title: '数据字典管理',
  3521. icon: 'database',
  3522. permission: 'M_dataD_lookup'
  3523. },
  3524. hideChildrenInMenu: true,
  3525. children: [
  3526. {
  3527. path: 'list',
  3528. name: 'powerDD',
  3529. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3530. meta: {
  3531. title: '数据字典管理',
  3532. icon: 'database',
  3533. hidden: true,
  3534. permission: 'M_dataD_lookup'
  3535. }
  3536. }
  3537. ]
  3538. },
  3539. {
  3540. path: '/setting/OperateJournal',
  3541. redirect: '/setting/OperateJournal/list',
  3542. name: 'OperateJournal',
  3543. component: BlankLayout,
  3544. meta: {
  3545. title: '操作日志',
  3546. icon: 'read',
  3547. permission: 'M_OperateJournalList'
  3548. },
  3549. hideChildrenInMenu: true,
  3550. children: [
  3551. {
  3552. path: 'list',
  3553. name: 'powerOperateJournal',
  3554. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3555. meta: {
  3556. title: '操作日志',
  3557. icon: 'read',
  3558. permission: 'M_OperateJournalList'
  3559. }
  3560. }
  3561. ]
  3562. },
  3563. {
  3564. path: '/setting/noticeManagement',
  3565. redirect: '/setting/noticeManagement/list',
  3566. name: 'noticeManagement',
  3567. component: BlankLayout,
  3568. meta: {
  3569. title: '公告管理',
  3570. icon: 'sketch',
  3571. permission: 'M_noticeManagementList'
  3572. },
  3573. hideChildrenInMenu: true,
  3574. children: [
  3575. {
  3576. path: 'list',
  3577. name: 'noticeManagementList',
  3578. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3579. meta: {
  3580. title: '公告列表',
  3581. icon: 'sketch',
  3582. hidden: true,
  3583. permission: 'M_noticeManagementList'
  3584. }
  3585. }
  3586. ]
  3587. },
  3588. {
  3589. path: '/setting/bigScreenSet',
  3590. redirect: '/setting/bigScreenSet/index',
  3591. name: 'bigScreenSet',
  3592. component: BlankLayout,
  3593. meta: {
  3594. title: '大屏参数设置',
  3595. icon: 'sketch',
  3596. permission: 'M_bigScreenSetIndex'
  3597. },
  3598. hideChildrenInMenu: true,
  3599. children: [{
  3600. path: 'index',
  3601. name: 'bigScreenSetIndex',
  3602. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3603. meta: {
  3604. title: '大屏参数设置',
  3605. icon: 'sketch',
  3606. hidden: true,
  3607. permission: 'M_bigScreenSetIndex'
  3608. }
  3609. }]
  3610. },
  3611. {
  3612. path: '/setting/erpMessageManagement',
  3613. redirect: '/setting/erpMessageManagement/list',
  3614. name: 'erpMessageManagement',
  3615. component: BlankLayout,
  3616. meta: {
  3617. title: 'ERP数据同步记录',
  3618. icon: 'sketch',
  3619. permission: 'M_erpMessageList'
  3620. },
  3621. hideChildrenInMenu: true,
  3622. children: [
  3623. {
  3624. path: 'list',
  3625. name: 'M_erpMessageList',
  3626. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3627. meta: {
  3628. title: 'ERP数据同步列表',
  3629. icon: 'sketch',
  3630. hidden: true,
  3631. permission: 'M_erpMessageList'
  3632. }
  3633. }
  3634. ]
  3635. },
  3636. {
  3637. path: '/setting/checkDingTask',
  3638. redirect: '/setting/checkDingTask/list',
  3639. name: 'checkDingTask',
  3640. component: BlankLayout,
  3641. meta: {
  3642. title: '钉钉审批',
  3643. icon: 'sketch',
  3644. permission: 'M_dingAuditUpdate'
  3645. },
  3646. hideChildrenInMenu: true,
  3647. children: [
  3648. {
  3649. path: 'list',
  3650. name: 'M_dingAuditUpdate',
  3651. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/checkDingTask/list.vue'),
  3652. meta: {
  3653. title: '钉钉审批',
  3654. icon: 'sketch',
  3655. hidden: true,
  3656. permission: 'M_dingAuditUpdate'
  3657. }
  3658. }
  3659. ]
  3660. }
  3661. ]
  3662. }
  3663. ]
  3664. },
  3665. {
  3666. path: '*',
  3667. redirect: '/404',
  3668. hidden: true
  3669. }
  3670. ]
  3671. /**
  3672. * 基础路由
  3673. * @type { *[] }
  3674. */
  3675. export const constantRouterMap = [
  3676. {
  3677. path: '/user',
  3678. component: UserLayout,
  3679. redirect: '/user/login',
  3680. hidden: true,
  3681. children: [
  3682. {
  3683. path: 'login',
  3684. name: 'login',
  3685. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3686. },
  3687. {
  3688. path: 'register',
  3689. name: 'register',
  3690. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3691. },
  3692. {
  3693. path: 'register-result',
  3694. name: 'registerResult',
  3695. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3696. },
  3697. {
  3698. path: 'recover',
  3699. name: 'recover',
  3700. component: undefined
  3701. }
  3702. ]
  3703. },
  3704. {
  3705. path: '/bigScreen',
  3706. component: BigScreen,
  3707. redirect: '/bigScreen/realTimeSalesReport',
  3708. hidden: true,
  3709. children: [
  3710. {
  3711. path: 'realTimeSalesReport',
  3712. name: 'realTimeSalesReport',
  3713. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3714. meta: {
  3715. title: '实时销售看板'
  3716. }
  3717. },
  3718. {
  3719. path: 'fPanalysisReport',
  3720. name: 'fPanalysisReport',
  3721. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3722. meta: {
  3723. title: '加盟商/产品分析'
  3724. }
  3725. }
  3726. ]
  3727. },
  3728. {
  3729. path: '/404',
  3730. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3731. }
  3732. ]