router.config.js 139 KB

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