router.config.js 131 KB

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