router.config.js 135 KB

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