router.config.js 126 KB

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