router.config.js 130 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. RouteView,
  6. BlankLayout,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: { title: '首页' },
  15. redirect: '/home',
  16. children: [
  17. {
  18. path: '/home',
  19. name: 'homePage',
  20. redirect: '/home',
  21. component: PageView,
  22. meta: {
  23. title: '首页',
  24. icon: 'home'
  25. },
  26. hideChildrenInMenu: true,
  27. children: [
  28. {
  29. path: '/home',
  30. name: 'home',
  31. redirect: '/home',
  32. component: BlankLayout,
  33. meta: {
  34. title: '首页',
  35. icon: 'home',
  36. hidden: true
  37. },
  38. hideChildrenInMenu: true,
  39. children: [
  40. {
  41. path: '/home',
  42. name: 'homeIndex',
  43. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  44. meta: {
  45. title: '首页',
  46. icon: 'home',
  47. hidden: true
  48. }
  49. },
  50. {
  51. path: '/changePwd',
  52. name: 'changePwd',
  53. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  54. meta: {
  55. title: '修改密码',
  56. icon: 'home'
  57. },
  58. hidden: true
  59. },
  60. // 消息
  61. {
  62. path: '/notice',
  63. name: 'notice',
  64. component: () => import(/* webpackChunkName: "home" */ '@/views/notice/list'),
  65. meta: {
  66. title: '消息',
  67. icon: 'bell',
  68. hidden: true
  69. }
  70. },
  71. {
  72. path: '/shoppingCarList',
  73. name: 'shoppingCarList',
  74. component: () => import(/* webpackChunkName: "home" */ '@/views/shoppingCarManagement/shoppingCar/list.vue'),
  75. meta: {
  76. title: '购物车',
  77. icon: 'contacts',
  78. hidden: true
  79. }
  80. }
  81. ]
  82. }
  83. ]
  84. },
  85. // 销售管理
  86. {
  87. path: '/salesManagement',
  88. redirect: '/salesManagement/salesQuery',
  89. component: PageView,
  90. meta: {
  91. title: '销售管理',
  92. icon: 'account-book',
  93. permission: 'M_salesManage'
  94. },
  95. children: [
  96. {
  97. path: '/salesManagement/salesQuery',
  98. redirect: '/salesManagement/salesQuery/list',
  99. name: 'salesQuery',
  100. component: BlankLayout,
  101. meta: {
  102. title: '销售单',
  103. icon: 'monitor',
  104. permission: 'M_salesQueryList'
  105. },
  106. hideChildrenInMenu: true,
  107. children: [
  108. {
  109. path: 'list',
  110. name: 'salesQueryList',
  111. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  112. meta: {
  113. title: '销售单列表',
  114. icon: 'monitor',
  115. hidden: true,
  116. permission: 'M_salesQueryList'
  117. }
  118. },
  119. {
  120. path: 'detail/:sn',
  121. name: 'salesDetail',
  122. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  123. meta: {
  124. title: '销售单详情',
  125. icon: 'monitor',
  126. hidden: true,
  127. permission: 'B_salesDetail'
  128. }
  129. },
  130. {
  131. path: 'add/:id/:sn/:priceType',
  132. name: 'salesAdd',
  133. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  134. meta: {
  135. title: '新增销售单',
  136. icon: 'monitor',
  137. hidden: true,
  138. permission: 'B_salesNews'
  139. }
  140. },
  141. {
  142. path: 'edit/:id/:sn/:priceType',
  143. name: 'salesEdit',
  144. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  145. meta: {
  146. title: '编辑销售单',
  147. icon: 'monitor',
  148. hidden: true,
  149. permission: 'B_salesEdit'
  150. }
  151. }
  152. ]
  153. },
  154. {
  155. path: '/salesManagement/salesQueryNew',
  156. redirect: '/salesManagement/salesQueryNew/list',
  157. name: 'salesQueryNew',
  158. component: BlankLayout,
  159. meta: {
  160. title: '销售单(新版)',
  161. icon: 'monitor',
  162. permission: 'M_salesQueryList'
  163. },
  164. hideChildrenInMenu: true,
  165. children: [
  166. {
  167. path: 'list',
  168. name: 'salesNewList',
  169. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/list.vue'),
  170. meta: {
  171. title: '销售单列表(新版)',
  172. icon: 'monitor',
  173. hidden: true,
  174. permission: 'M_salesQueryList'
  175. }
  176. },
  177. {
  178. path: 'detail/:sn',
  179. name: 'salesNewDetail',
  180. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/detail.vue'),
  181. meta: {
  182. title: '销售单详情(新版)',
  183. icon: 'monitor',
  184. hidden: true,
  185. permission: 'B_salesDetail'
  186. }
  187. },
  188. {
  189. path: 'add/:id/:sn/:priceType',
  190. name: 'salesNewAdd',
  191. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  192. meta: {
  193. title: '新增销售单(新版)',
  194. icon: 'monitor',
  195. hidden: true,
  196. permission: 'B_salesNews'
  197. }
  198. },
  199. {
  200. path: 'edit/:id/:sn/:priceType',
  201. name: 'salesNewEdit',
  202. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQueryNew/edit.vue'),
  203. meta: {
  204. title: '编辑销售单(新版)',
  205. icon: 'monitor',
  206. hidden: true,
  207. permission: 'B_salesEdit'
  208. }
  209. }
  210. ]
  211. },
  212. {
  213. path: '/salesManagement/urgentItemsOffset',
  214. redirect: '/salesManagement/urgentItemsOffset/list',
  215. name: 'urgentItemsOffset',
  216. component: BlankLayout,
  217. meta: {
  218. title: '急件冲减',
  219. icon: 'rocket',
  220. permission: 'M_urgentItemsOffsetList'
  221. },
  222. hideChildrenInMenu: true,
  223. children: [
  224. {
  225. path: 'list',
  226. name: 'urgentItemsOffsetList',
  227. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/list.vue'),
  228. meta: {
  229. title: '急件冲减列表',
  230. icon: 'rocket',
  231. hidden: true,
  232. permission: 'M_urgentItemsOffsetList'
  233. }
  234. },
  235. {
  236. path: 'detail/:sn',
  237. name: 'urgentItemsOffsetDetail',
  238. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/detail.vue'),
  239. meta: {
  240. title: '急件冲减详情',
  241. icon: 'rocket',
  242. hidden: true,
  243. replaceTab: true,
  244. permission: 'M_urgentDetail'
  245. }
  246. }
  247. ]
  248. },
  249. {
  250. path: '/salesManagement/salesReturn',
  251. redirect: '/salesManagement/salesReturn/list',
  252. name: 'salesReturn',
  253. component: BlankLayout,
  254. meta: {
  255. title: '销售退货',
  256. icon: 'fund',
  257. permission: 'M_salesReturnList'
  258. },
  259. hideChildrenInMenu: true,
  260. children: [
  261. {
  262. path: 'list',
  263. name: 'salesReturnList',
  264. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  265. meta: {
  266. title: '退货单列表',
  267. icon: 'fund',
  268. hidden: true,
  269. permission: 'M_salesReturnList'
  270. }
  271. },
  272. {
  273. path: 'detail/:id/:sn',
  274. name: 'salesReturnDetail',
  275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  276. meta: {
  277. title: '退货单详情',
  278. icon: 'fund',
  279. hidden: true,
  280. permission: 'B_salesReturnDetail'
  281. }
  282. },
  283. {
  284. path: 'salesReturnGrabEdit/:id/:sn/:buyerSn',
  285. name: 'salesReturnGrabEdit',
  286. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  287. meta: {
  288. title: '编辑退货单(抓单)',
  289. icon: 'fund',
  290. hidden: true,
  291. permission: 'B_salesReturnEdit'
  292. }
  293. },
  294. {
  295. path: 'salesReturnEdit/:id/:sn/:buyerSn',
  296. name: 'salesReturnEdit',
  297. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  298. meta: {
  299. title: '编辑退货单(不抓单)',
  300. icon: 'fund',
  301. hidden: true,
  302. permission: 'B_salesReturnEdit'
  303. }
  304. }
  305. ]
  306. },
  307. {
  308. path: '/salesManagement/productPricing',
  309. redirect: '/salesManagement/productPricing/list',
  310. name: 'productPricing',
  311. component: BlankLayout,
  312. meta: {
  313. title: '产品报价',
  314. icon: 'file-search',
  315. permission: 'M_productPricingList'
  316. },
  317. hideChildrenInMenu: true,
  318. children: [
  319. {
  320. path: 'list',
  321. name: 'productPricingList',
  322. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/productPricing/list.vue'),
  323. meta: {
  324. title: '产品报价列表',
  325. icon: 'file-search',
  326. hidden: true,
  327. permission: 'M_productPricingList'
  328. }
  329. }
  330. ]
  331. },
  332. {
  333. path: '/salesManagement/giftRecord',
  334. redirect: '/salesManagement/giftRecord/list',
  335. name: 'giftRecord',
  336. component: BlankLayout,
  337. meta: {
  338. title: '赠品记录',
  339. icon: 'file-search',
  340. permission: 'M_giftRecordList'
  341. },
  342. hideChildrenInMenu: true,
  343. children: [
  344. {
  345. path: 'list',
  346. name: 'giftRecordList',
  347. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/giftRecord/list.vue'),
  348. meta: {
  349. title: '赠品记录列表',
  350. icon: 'file-search',
  351. hidden: true,
  352. permission: 'M_giftRecordList'
  353. }
  354. }
  355. ]
  356. },
  357. {
  358. path: '/salesManagement/salesman',
  359. redirect: '/salesManagement/salesman/list',
  360. name: 'salesman',
  361. component: BlankLayout,
  362. meta: {
  363. title: '业务员管理',
  364. icon: 'file-search',
  365. permission: 'M_salesman_list'
  366. },
  367. hideChildrenInMenu: true,
  368. children: [
  369. {
  370. path: 'list',
  371. name: 'salesmanList',
  372. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
  373. meta: {
  374. title: '业务员列表',
  375. icon: 'file-search',
  376. hidden: true,
  377. permission: 'M_salesman_list'
  378. }
  379. }
  380. ]
  381. }
  382. ]
  383. },
  384. // 数字货架
  385. {
  386. path: '/numsGoodsShelves',
  387. redirect: '/numsGoodsShelves/shelfSet',
  388. component: PageView,
  389. meta: {
  390. title: '数字货架',
  391. icon: 'hdd',
  392. permission: 'M_numsGoodsShelves'
  393. },
  394. children: [
  395. {
  396. path: '/numsGoodsShelves/approveStore',
  397. redirect: '/numsGoodsShelves/approveStore/list',
  398. name: 'approveStore',
  399. component: BlankLayout,
  400. meta: {
  401. title: '汽修厂认证审核',
  402. icon: 'monitor',
  403. permission: 'M_approveStore'
  404. },
  405. hideChildrenInMenu: true,
  406. children: [
  407. {
  408. path: 'list',
  409. name: 'approveStoreList',
  410. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/list.vue'),
  411. meta: {
  412. title: '汽修厂认证审核',
  413. icon: 'monitor',
  414. hidden: true,
  415. permission: 'M_approveStore'
  416. }
  417. },
  418. {
  419. path: 'authPass/:sn',
  420. name: 'approveStoreAuthPass',
  421. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/authPass.vue'),
  422. meta: {
  423. title: '审核通过',
  424. icon: 'monitor',
  425. hidden: true,
  426. replaceTab: true
  427. }
  428. }
  429. ]
  430. },
  431. {
  432. path: '/numsGoodsShelves/shelfSet',
  433. redirect: '/numsGoodsShelves/shelfSet/list',
  434. name: 'shelfSet',
  435. component: BlankLayout,
  436. meta: {
  437. title: '货架设置',
  438. icon: 'monitor',
  439. permission: 'M_shelfSet'
  440. },
  441. hideChildrenInMenu: true,
  442. children: [
  443. {
  444. path: 'list',
  445. name: 'shelfSetList',
  446. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/list.vue'),
  447. meta: {
  448. title: '货架设置列表',
  449. icon: 'monitor',
  450. hidden: true
  451. // permission: 'M_salesQueryList'
  452. }
  453. },
  454. {
  455. path: 'set/:sn',
  456. name: 'shelfSetting',
  457. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/set.vue'),
  458. meta: {
  459. title: '货架设置',
  460. icon: 'monitor',
  461. hidden: true,
  462. replaceTab: true
  463. }
  464. }
  465. ]
  466. },
  467. {
  468. path: '/numsGoodsShelves/shelfMonitoring',
  469. redirect: '/numsGoodsShelves/shelfMonitoring/list',
  470. name: 'shelfMonitoring',
  471. component: BlankLayout,
  472. meta: {
  473. title: '货架监控',
  474. icon: 'monitor',
  475. permission: 'M_shelfMonitoring'
  476. },
  477. hideChildrenInMenu: true,
  478. children: [
  479. {
  480. path: 'list',
  481. name: 'shelfMonitoringList',
  482. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/list.vue'),
  483. meta: {
  484. title: '货架监控列表',
  485. icon: 'monitor',
  486. hidden: true
  487. // permission: 'M_salesQueryList'
  488. }
  489. },
  490. {
  491. path: 'warehouseDetail/:shelfPlaceSn/:productSn',
  492. name: 'shelfMonitoringWarehouseDetail',
  493. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/warehouseDetail.vue'),
  494. meta: {
  495. title: '货架监控出入库明细',
  496. icon: 'monitor',
  497. hidden: true,
  498. replaceTab: true
  499. // permission: 'M_salesQueryList'
  500. }
  501. }
  502. ]
  503. },
  504. {
  505. path: '/numsGoodsShelves/shelfOrder',
  506. redirect: '/numsGoodsShelves/shelfOrder/list',
  507. name: 'shelfOrder',
  508. component: BlankLayout,
  509. meta: {
  510. title: '货架订单',
  511. icon: 'monitor',
  512. permission: 'M_shelfOrder'
  513. },
  514. hideChildrenInMenu: true,
  515. children: [
  516. {
  517. path: 'list',
  518. name: 'shelfOrderList',
  519. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfOrder/list.vue'),
  520. meta: {
  521. title: '货架订单列表',
  522. icon: 'monitor',
  523. hidden: true
  524. // permission: 'M_shelfOrderList'
  525. }
  526. },
  527. {
  528. path: 'shelfOrderDetail/:sn',
  529. name: 'shelfOrderDetail',
  530. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfOrder/detail.vue'),
  531. meta: {
  532. title: '货架订单详情',
  533. icon: 'monitor',
  534. hidden: true
  535. // permission: 'M_shelfOrderDetail'
  536. }
  537. }
  538. ]
  539. },
  540. {
  541. path: '/numsGoodsShelves/replenishmentManagement',
  542. redirect: '/numsGoodsShelves/replenishmentManagement/list',
  543. name: 'replenishmentManagement',
  544. component: BlankLayout,
  545. meta: {
  546. title: '补货管理',
  547. icon: 'monitor',
  548. permission: 'M_replenishmentManagement'
  549. },
  550. hideChildrenInMenu: true,
  551. children: [
  552. {
  553. path: 'list',
  554. name: 'replenishmentManagementList',
  555. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/replenishmentManagement/list.vue'),
  556. meta: {
  557. title: '补货管理列表',
  558. icon: 'monitor',
  559. hidden: true
  560. // permission: 'M_salesQueryList'
  561. }
  562. }
  563. ]
  564. },
  565. {
  566. path: '/numsGoodsShelves/recallManagement',
  567. redirect: '/numsGoodsShelves/recallManagement/list',
  568. name: 'recallManagement',
  569. component: BlankLayout,
  570. meta: {
  571. title: '调回管理',
  572. icon: 'monitor',
  573. permission: 'M_recallManagement'
  574. },
  575. hideChildrenInMenu: true,
  576. children: [
  577. {
  578. path: 'list',
  579. name: 'recallManagementList',
  580. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallManagement/list.vue'),
  581. meta: {
  582. title: '调回管理列表',
  583. icon: 'monitor',
  584. hidden: true
  585. // permission: 'M_salesQueryList'
  586. }
  587. }
  588. ]
  589. },
  590. {
  591. path: '/numsGoodsShelves/settlementManagement',
  592. redirect: '/numsGoodsShelves/settlementManagement/list',
  593. name: 'settlementManagement',
  594. component: BlankLayout,
  595. meta: {
  596. title: '结算管理',
  597. icon: 'monitor',
  598. permission: 'M_settlementManagement'
  599. },
  600. hideChildrenInMenu: true,
  601. children: [
  602. {
  603. path: 'list',
  604. name: 'settlementManagementList',
  605. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/settlementManagement/list.vue'),
  606. meta: {
  607. title: '结算管理列表',
  608. icon: 'monitor',
  609. hidden: true
  610. // permission: 'M_salesQueryList'
  611. }
  612. },
  613. {
  614. path: 'unDetail/:shelfSn/:settleType/:shelfName',
  615. name: 'unSettlementDetail',
  616. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/unSettlementDetail.vue'),
  617. meta: {
  618. title: '待结算明细',
  619. icon: 'monitor',
  620. hidden: true,
  621. replaceTab: true
  622. // permission: 'M_salesQueryList'
  623. }
  624. },
  625. {
  626. path: 'detail/:shelfSn/:shelfName',
  627. name: 'settlementDetail',
  628. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/settlementDetail.vue'),
  629. meta: {
  630. title: '结算历史',
  631. icon: 'monitor',
  632. hidden: true,
  633. replaceTab: true
  634. // permission: 'M_salesQueryList'
  635. }
  636. }
  637. ]
  638. },
  639. {
  640. path: '/numsGoodsShelves/withdrawalManagement',
  641. redirect: '/numsGoodsShelves/withdrawalManagement/list',
  642. name: 'ngsWithdrawalManagement',
  643. component: BlankLayout,
  644. meta: {
  645. title: '提现管理',
  646. icon: 'monitor',
  647. permission: 'M_NGS_withdrawalManagement'
  648. },
  649. hideChildrenInMenu: true,
  650. children: [
  651. {
  652. path: 'list',
  653. name: 'ngsWithdrawalManagementList',
  654. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagement/list.vue'),
  655. meta: {
  656. title: '提现管理列表',
  657. icon: 'monitor',
  658. hidden: true
  659. // permission: 'M_ngsWithdrawalManagementList'
  660. }
  661. }
  662. ]
  663. },
  664. // {
  665. // path: '/numsGoodsShelves/recallStockManagement',
  666. // redirect: '/numsGoodsShelves/recallStockManagement/list',
  667. // name: 'recallStockManagement',
  668. // component: BlankLayout,
  669. // meta: {
  670. // title: '调回入库',
  671. // icon: 'monitor',
  672. // permission: 'M_recallStockManagement'
  673. // },
  674. // hideChildrenInMenu: true,
  675. // children: [
  676. // {
  677. // path: 'list',
  678. // name: 'recallStockManagementList',
  679. // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallStockManagement/list.vue'),
  680. // meta: {
  681. // title: '调回入库列表',
  682. // icon: 'monitor',
  683. // hidden: true
  684. // // permission: 'M_salesQueryList'
  685. // }
  686. // },
  687. // {
  688. // path: 'editStock/:stockPutSn',
  689. // name: 'editStock',
  690. // component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/recallStockManagement/editStock.vue'),
  691. // meta: {
  692. // title: '编辑入库',
  693. // icon: 'monitor',
  694. // hidden: true,
  695. // replaceTab: true
  696. // // permission: 'M_salesQueryList'
  697. // }
  698. // }
  699. // ]
  700. // },
  701. {
  702. path: '/numsGoodsShelves/customerAnalysis',
  703. redirect: '/numsGoodsShelves/customerAnalysis/list',
  704. name: 'customerAnalysis',
  705. component: BlankLayout,
  706. meta: {
  707. title: '客户分析',
  708. icon: 'monitor',
  709. permission: 'M_customerAnalysis'
  710. },
  711. hideChildrenInMenu: true,
  712. children: [
  713. {
  714. path: 'list',
  715. name: 'customerAnalysisList',
  716. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/customerAnalysis/list.vue'),
  717. meta: {
  718. title: '客户分析列表',
  719. icon: 'monitor',
  720. hidden: true
  721. }
  722. }
  723. ]
  724. },
  725. {
  726. path: '/numsGoodsShelves/vinAnalysis',
  727. redirect: '/numsGoodsShelves/vinAnalysis/index',
  728. name: 'vinAnalysis',
  729. component: BlankLayout,
  730. meta: {
  731. title: 'VIN分析',
  732. icon: 'monitor',
  733. permission: 'M_vinAnalysis'
  734. },
  735. hideChildrenInMenu: true,
  736. children: [
  737. {
  738. path: 'index',
  739. name: 'vinAnalysisIndex',
  740. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/vinAnalysis/index.vue'),
  741. meta: {
  742. title: 'VIN分析列表',
  743. icon: 'monitor',
  744. hidden: true
  745. }
  746. }
  747. ]
  748. }
  749. // {
  750. // path: '/numsGoodsShelves/accountManagement',
  751. // redirect: '/numsGoodsShelves/accountManagement/list',
  752. // name: 'accountManagement',
  753. // component: BlankLayout,
  754. // meta: {
  755. // title: '账户明细',
  756. // icon: 'monitor'
  757. // // permission: 'M_salesQueryList'
  758. // },
  759. // hideChildrenInMenu: true,
  760. // children: [
  761. // {
  762. // path: 'list',
  763. // name: 'accountManagementList', // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/accountManagement/list.vue'),
  764. // meta: {
  765. // title: '账户明细列表',
  766. // icon: 'monitor',
  767. // hidden: true
  768. // // permission: 'M_salesQueryList'
  769. // }
  770. // }
  771. // ]
  772. // }
  773. ]
  774. },
  775. // 采购管理
  776. {
  777. path: '/purchasingManagement',
  778. redirect: '/purchasingManagement/purchaseOrder',
  779. component: PageView,
  780. meta: {
  781. title: '采购管理',
  782. icon: 'file-done',
  783. permission: 'M_purchasingManagement'
  784. },
  785. children: [
  786. {
  787. path: '/purchasingManagement/purchaseOrder',
  788. redirect: '/purchasingManagement/purchaseOrder/list',
  789. name: 'purchaseOrder',
  790. component: BlankLayout,
  791. meta: {
  792. title: '采购单管理',
  793. icon: 'file-done',
  794. permission: 'M_purchasingList'
  795. },
  796. hideChildrenInMenu: true,
  797. children: [
  798. {
  799. path: 'list',
  800. name: 'purchaseOrderList',
  801. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/list.vue'),
  802. meta: {
  803. title: '采购单列表',
  804. icon: 'file-done',
  805. hidden: true,
  806. permission: 'M_purchasingList'
  807. }
  808. },
  809. {
  810. path: 'add/:sn/:dealerSn',
  811. name: 'purchaseOrderAdd',
  812. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  813. meta: {
  814. title: '新增采购单',
  815. icon: 'file-done',
  816. hidden: true,
  817. permission: 'B_purchaseNew'
  818. }
  819. },
  820. {
  821. path: 'edit/:sn/:dealerSn',
  822. name: 'purchaseOrderEdit',
  823. component: () => import(/* webpackChunkName: purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  824. meta: {
  825. title: '编辑采购单',
  826. icon: 'file-done',
  827. hidden: true,
  828. permission: 'B_purchaseEdit'
  829. }
  830. },
  831. {
  832. path: 'detail/:sn',
  833. name: 'purchaseOrderDetail',
  834. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/detail.vue'),
  835. meta: {
  836. title: '采购单详情',
  837. icon: 'file-done',
  838. hidden: true,
  839. replaceTab: true,
  840. permission: 'B_purchaseDetail'
  841. }
  842. }
  843. ]
  844. },
  845. {
  846. path: '/purchasingManagement/purchaseOrderNew',
  847. redirect: '/purchasingManagement/purchaseOrderNew/list',
  848. name: 'purchaseOrderNew',
  849. component: BlankLayout,
  850. meta: {
  851. title: '采购单管理(新版)',
  852. icon: 'file-done',
  853. permission: 'M_purchasingList'
  854. },
  855. hideChildrenInMenu: true,
  856. children: [
  857. {
  858. path: 'list',
  859. name: 'purchaseOrderNewList',
  860. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/list.vue'),
  861. meta: {
  862. title: '采购单列表(新版)',
  863. icon: 'file-done',
  864. hidden: true,
  865. permission: 'M_purchasingList'
  866. }
  867. },
  868. {
  869. path: 'add/:sn/:dealerSn',
  870. name: 'purchaseOrderNewAdd',
  871. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/edit.vue'),
  872. meta: {
  873. title: '新增采购单(新版)',
  874. icon: 'file-done',
  875. hidden: true,
  876. permission: 'B_purchaseNew'
  877. }
  878. },
  879. {
  880. path: 'edit/:sn/:dealerSn',
  881. name: 'purchaseOrderNewEdit',
  882. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/edit.vue'),
  883. meta: {
  884. title: '编辑采购单(新版)',
  885. icon: 'file-done',
  886. hidden: true,
  887. permission: 'B_purchaseEdit'
  888. }
  889. },
  890. {
  891. path: 'detail/:sn',
  892. name: 'purchaseOrderNewDetail',
  893. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrderNew/detail.vue'),
  894. meta: {
  895. title: '采购单详情(新版)',
  896. icon: 'file-done',
  897. hidden: true,
  898. replaceTab: true,
  899. permission: 'B_purchaseDetail'
  900. }
  901. }
  902. ]
  903. },
  904. {
  905. path: '/purchasingManagement/signWarehousing',
  906. redirect: '/purchasingManagement/signWarehousing/list',
  907. name: 'signWarehousing',
  908. component: BlankLayout,
  909. meta: {
  910. title: '签收入库',
  911. icon: 'money-collect',
  912. permission: 'M_signWarehousingList'
  913. },
  914. hideChildrenInMenu: true,
  915. children: [
  916. {
  917. path: 'list',
  918. name: 'signWarehousingList',
  919. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/list.vue'),
  920. meta: {
  921. title: '签收入库列表',
  922. icon: 'money-collect',
  923. hidden: true,
  924. permission: 'M_signWarehousingList'
  925. }
  926. },
  927. {
  928. path: 'edit/:sn',
  929. name: 'signWarehousingEdit',
  930. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/edit.vue'),
  931. meta: {
  932. title: '签收入库',
  933. icon: 'money-collect',
  934. replaceTab: true,
  935. hidden: true
  936. }
  937. },
  938. {
  939. path: 'stockOrderDetail/:sn',
  940. name: 'signWarehousingStockOrderDetail',
  941. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/stockOrderDetail.vue'),
  942. meta: {
  943. title: '备货单详情',
  944. icon: 'money-collect',
  945. replaceTab: true,
  946. hidden: true
  947. }
  948. }
  949. ]
  950. },
  951. {
  952. path: '/purchasingManagement/purchaseReturnApplyForm',
  953. redirect: '/purchasingManagement/purchaseReturnApplyForm/list',
  954. name: 'purchaseReturnApplyForm',
  955. component: BlankLayout,
  956. meta: {
  957. title: '采购退货申请单',
  958. icon: 'money-collect',
  959. permission: 'M_purchaseReturnApplyFormList'
  960. },
  961. hideChildrenInMenu: true,
  962. children: [
  963. {
  964. path: 'list',
  965. name: 'purchaseReturnApplyFormList',
  966. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/list.vue'),
  967. meta: {
  968. title: '采购退货申请单列表',
  969. icon: 'money-collect',
  970. hidden: true,
  971. permission: 'M_purchaseReturnApplyFormList'
  972. }
  973. },
  974. {
  975. path: 'edit/:sn',
  976. name: 'purchaseReturnApplyFormEdit',
  977. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/edit.vue'),
  978. meta: {
  979. title: '编辑采购退货申请单',
  980. icon: 'money-collect',
  981. hidden: true
  982. }
  983. },
  984. {
  985. path: 'detail/:sn',
  986. name: 'purchaseReturnApplyFormDetail',
  987. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/detail.vue'),
  988. meta: {
  989. title: '采购退货申请单详情',
  990. icon: 'money-collect',
  991. hidden: true
  992. }
  993. }
  994. ]
  995. },
  996. // 采购退货-不同步
  997. {
  998. path: '/purchasingManagement/purchaseReturnOutSync',
  999. redirect: '/purchasingManagement/purchaseReturnOutSync/list',
  1000. name: 'purchaseReturnOutSync',
  1001. component: BlankLayout,
  1002. meta: {
  1003. title: '采购退货单',
  1004. icon: 'money-collect',
  1005. permission: 'M_purchaseReturn_outSnycList'
  1006. },
  1007. hideChildrenInMenu: true,
  1008. children: [
  1009. {
  1010. path: 'list',
  1011. name: 'purchaseReturnOutSyncList',
  1012. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/list.vue'),
  1013. meta: {
  1014. title: '采购退货单列表',
  1015. icon: 'money-collect',
  1016. hidden: true,
  1017. permission: 'M_purchaseReturn_outSnycList'
  1018. }
  1019. },
  1020. {
  1021. path: 'edit/:sn',
  1022. name: 'purchaseReturnOutSyncEdit',
  1023. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/edit.vue'),
  1024. meta: {
  1025. title: '采购退货单(不抓单)',
  1026. icon: 'money-collect',
  1027. hidden: true,
  1028. replaceTab: true,
  1029. permission: 'B_purchaseReturn_outSnycAdd'
  1030. }
  1031. },
  1032. {
  1033. path: 'grapEdit/:sn/:returnTargetType/:purchaseTargetSn',
  1034. name: 'purchaseReturnOutSyncGrapEdit',
  1035. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/grapEdit.vue'),
  1036. meta: {
  1037. title: '采购退货单(抓单)',
  1038. icon: 'money-collect',
  1039. hidden: true,
  1040. replaceTab: true,
  1041. permission: 'B_purchaseReturn_outSnycEdit'
  1042. }
  1043. },
  1044. {
  1045. path: 'detail/:sn/:grabFlag',
  1046. name: 'purchaseReturnOutSyncDetail',
  1047. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/detail.vue'),
  1048. meta: {
  1049. title: '采购退货详情',
  1050. icon: 'money-collect',
  1051. hidden: true,
  1052. replaceTab: true,
  1053. permission: 'B_purchaseReturn_outSnycDetail'
  1054. }
  1055. }
  1056. ]
  1057. }
  1058. ]
  1059. },
  1060. // 出库管理
  1061. {
  1062. path: '/outboundOrderManagement',
  1063. redirect: '/outboundOrderManagement/outboundOrder',
  1064. component: PageView,
  1065. meta: {
  1066. title: '出库管理',
  1067. icon: 'export',
  1068. permission: 'M_outboundList'
  1069. },
  1070. children: [
  1071. {
  1072. path: '/outboundOrderManagement/outboundOrder',
  1073. redirect: '/outboundOrderManagement/outboundOrder/list',
  1074. name: 'outboundOrder',
  1075. component: BlankLayout,
  1076. meta: {
  1077. title: '出库',
  1078. icon: 'export',
  1079. permission: 'M_outboundList'
  1080. },
  1081. hideChildrenInMenu: true,
  1082. children: [
  1083. {
  1084. path: 'list',
  1085. name: 'outboundOrderList',
  1086. component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
  1087. meta: {
  1088. title: '出库列表',
  1089. icon: 'export',
  1090. hidden: true,
  1091. permission: 'M_outboundList'
  1092. }
  1093. }
  1094. ]
  1095. }
  1096. ]
  1097. },
  1098. // 财务管理
  1099. {
  1100. path: '/financialManagement',
  1101. redirect: '/financialManagement/warehousingAudit',
  1102. component: PageView,
  1103. meta: {
  1104. title: '财务管理',
  1105. icon: 'property-safety',
  1106. permission: 'M_financial'
  1107. },
  1108. children: [
  1109. {
  1110. path: '/financialManagement/warehousingAudit',
  1111. redirect: '/financialManagement/warehousingAudit/list',
  1112. name: 'warehousingAudit',
  1113. component: BlankLayout,
  1114. meta: {
  1115. title: '入库审核',
  1116. icon: 'pull-request',
  1117. permission: 'M_warehousingAuditList'
  1118. },
  1119. hideChildrenInMenu: true,
  1120. children: [
  1121. {
  1122. path: 'list',
  1123. name: 'warehousingAuditList',
  1124. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
  1125. meta: {
  1126. title: '入库审核列表',
  1127. icon: 'pull-request',
  1128. hidden: true,
  1129. permission: 'M_warehousingAuditList'
  1130. }
  1131. },
  1132. {
  1133. path: 'detail/:sn',
  1134. name: 'warehousingAuditDetail',
  1135. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
  1136. meta: {
  1137. title: '入库审核详情',
  1138. icon: 'pull-request',
  1139. hidden: true,
  1140. permission: 'M_warehousingAudit_detail'
  1141. }
  1142. }
  1143. ]
  1144. },
  1145. {
  1146. path: '/financialManagement/inventoryCheckAudit',
  1147. redirect: '/financialManagement/inventoryCheckAudit/list',
  1148. name: 'inventoryCheckAudit',
  1149. component: BlankLayout,
  1150. meta: {
  1151. title: '盘点审核',
  1152. icon: 'laptop',
  1153. permission: 'M_inventoryCheckAuditList'
  1154. },
  1155. hideChildrenInMenu: true,
  1156. children: [
  1157. {
  1158. path: 'list',
  1159. name: 'inventoryCheckAuditList',
  1160. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
  1161. meta: {
  1162. title: '盘点审核列表',
  1163. icon: 'laptop',
  1164. hidden: true,
  1165. permission: 'M_inventoryCheckAuditList'
  1166. }
  1167. }
  1168. ]
  1169. },
  1170. {
  1171. path: '/financialManagement/financialPayment',
  1172. redirect: '/financialManagement/financialPayment/list',
  1173. name: 'financialPayment',
  1174. component: BlankLayout,
  1175. meta: {
  1176. title: '财务付款',
  1177. icon: 'pay-circle',
  1178. permission: 'M_financialPaymentList'
  1179. },
  1180. hideChildrenInMenu: true,
  1181. children: [
  1182. {
  1183. path: 'list',
  1184. name: 'financialPaymentList',
  1185. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialPayment/list.vue'),
  1186. meta: {
  1187. title: '财务付款列表',
  1188. icon: 'pay-circle',
  1189. hidden: true,
  1190. permission: 'M_financialPaymentList'
  1191. }
  1192. }
  1193. ]
  1194. },
  1195. {
  1196. path: '/financialManagement/financialCollection',
  1197. redirect: '/financialManagement/financialCollection/list',
  1198. name: 'financialCollection',
  1199. component: BlankLayout,
  1200. meta: {
  1201. title: '财务收款',
  1202. icon: 'money-collect',
  1203. permission: 'M_financialCollectionList'
  1204. },
  1205. hideChildrenInMenu: true,
  1206. children: [
  1207. {
  1208. path: 'list',
  1209. name: 'financialCollectionList',
  1210. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1211. meta: {
  1212. title: '财务收款列表',
  1213. icon: 'money-collect',
  1214. hidden: true,
  1215. permission: 'M_financialCollectionList'
  1216. }
  1217. }
  1218. ]
  1219. },
  1220. {
  1221. path: '/financialManagement/expenseManagement',
  1222. redirect: '/financialManagement/expenseManagement/list',
  1223. name: 'expenseManagement',
  1224. component: BlankLayout,
  1225. meta: {
  1226. title: '费用管理',
  1227. icon: 'pound',
  1228. permission: 'M_expenseManagementList'
  1229. },
  1230. hideChildrenInMenu: true,
  1231. children: [
  1232. {
  1233. path: 'list',
  1234. name: 'expenseManagementList',
  1235. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/list.vue'),
  1236. meta: {
  1237. title: '费用单列表',
  1238. icon: 'pound',
  1239. hidden: true,
  1240. permission: 'M_expenseManagementList'
  1241. }
  1242. },
  1243. {
  1244. path: 'add',
  1245. name: 'expenseManagementAdd',
  1246. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1247. meta: {
  1248. title: '新增费用单',
  1249. icon: 'pound',
  1250. hidden: true,
  1251. permission: 'B_expenseNew'
  1252. }
  1253. },
  1254. {
  1255. path: 'edit/:id',
  1256. name: 'expenseManagementEdit',
  1257. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1258. meta: {
  1259. title: '编辑费用单',
  1260. icon: 'pound',
  1261. hidden: true,
  1262. permission: 'B_expenseEdit'
  1263. }
  1264. }
  1265. ]
  1266. },
  1267. {
  1268. path: '/financialManagement/companyReceivablePayable',
  1269. redirect: '/financialManagement/companyReceivablePayable/list',
  1270. name: 'companyReceivablePayable',
  1271. component: BlankLayout,
  1272. meta: {
  1273. title: '单位应收应付管理',
  1274. icon: 'transaction',
  1275. permission: 'M_companyReceivablePayableList'
  1276. },
  1277. hideChildrenInMenu: true,
  1278. children: [
  1279. {
  1280. path: 'list',
  1281. name: 'companyReceivablePayableList',
  1282. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
  1283. meta: {
  1284. title: '单位应收应付列表',
  1285. icon: 'transaction',
  1286. hidden: true,
  1287. permission: 'M_companyReceivablePayableList'
  1288. }
  1289. },
  1290. {
  1291. path: 'collectionPayment/:sn/:name/:type',
  1292. name: 'companyReceivablePayableCollectionPayment',
  1293. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/collectionPayment.vue'),
  1294. meta: {
  1295. title: '编辑单位应收应付',
  1296. icon: 'transaction',
  1297. hidden: true,
  1298. permission: 'M_collectionPayment'
  1299. }
  1300. },
  1301. {
  1302. path: 'detail/:sn/:name/:type',
  1303. name: 'companyReceivablePayableDetail',
  1304. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
  1305. meta: {
  1306. title: '单位应收应付详情',
  1307. icon: 'transaction',
  1308. hidden: true,
  1309. permission: 'M_companyReceivablePayable_detail'
  1310. }
  1311. }
  1312. ]
  1313. },
  1314. {
  1315. path: '/financialManagement/companyReceivablePayableNew',
  1316. redirect: '/financialManagement/companyReceivablePayableNew/list',
  1317. name: 'companyReceivablePayableNew',
  1318. component: BlankLayout,
  1319. meta: {
  1320. title: '单位应收应付管理(新版)',
  1321. icon: 'transaction',
  1322. permission: 'M_companyReceivablePayableList'
  1323. },
  1324. hideChildrenInMenu: true,
  1325. children: [
  1326. {
  1327. path: 'list',
  1328. name: 'companyReceivablePayableNewList',
  1329. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayableNew/list.vue'),
  1330. meta: {
  1331. title: '单位应收应付列表(新版)',
  1332. icon: 'transaction',
  1333. hidden: true,
  1334. permission: 'M_companyReceivablePayableList'
  1335. }
  1336. },
  1337. {
  1338. path: 'collectionPayment/:sn/:name/:type',
  1339. name: 'companyReceivablePayableNewCollectionPayment',
  1340. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayableNew/collectionPayment.vue'),
  1341. meta: {
  1342. title: '编辑单位应收应付(新版)',
  1343. icon: 'transaction',
  1344. hidden: true,
  1345. permission: 'M_collectionPayment'
  1346. }
  1347. },
  1348. {
  1349. path: 'detail/:sn/:name/:type',
  1350. name: 'companyReceivablePayableNewDetail',
  1351. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayableNew/detail.vue'),
  1352. meta: {
  1353. title: '单位应收应付详情(新版)',
  1354. icon: 'transaction',
  1355. hidden: true,
  1356. permission: 'M_companyReceivablePayable_detail'
  1357. }
  1358. }
  1359. ]
  1360. },
  1361. {
  1362. path: '/financialManagement/companyCollectionPayment',
  1363. redirect: '/financialManagement/companyCollectionPayment/list',
  1364. name: 'companyCollectionPayment',
  1365. component: BlankLayout,
  1366. meta: {
  1367. title: '单位收付款记录',
  1368. icon: 'file-protect',
  1369. permission: 'M_companyCollectionPaymentList'
  1370. },
  1371. hideChildrenInMenu: true,
  1372. children: [
  1373. {
  1374. path: 'list',
  1375. name: 'companyCollectionPaymentList',
  1376. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
  1377. meta: {
  1378. title: '单位收付款记录列表',
  1379. icon: 'file-protect',
  1380. hidden: true,
  1381. permission: 'M_companyCollectionPaymentList'
  1382. }
  1383. },
  1384. {
  1385. path: 'detail/:id/:sn',
  1386. name: 'companyCollectionPaymentDetail',
  1387. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
  1388. meta: {
  1389. title: '单位收付款记录详情',
  1390. icon: 'file-protect',
  1391. hidden: true,
  1392. permission: 'M_companyCollectionPayment_detail'
  1393. }
  1394. }
  1395. ]
  1396. },
  1397. {
  1398. path: '/financialManagement/withdrawalManagement',
  1399. redirect: '/financialManagement/withdrawalManagement/list',
  1400. name: 'withdrawalManagement',
  1401. component: BlankLayout,
  1402. meta: {
  1403. title: '提现管理',
  1404. icon: 'dollar',
  1405. permission: 'M_withdrawalManagementList'
  1406. },
  1407. hideChildrenInMenu: true,
  1408. children: [
  1409. {
  1410. path: 'list',
  1411. name: 'withdrawalManagementList',
  1412. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/withdrawalManagement/list.vue'),
  1413. meta: {
  1414. title: '提现管理列表',
  1415. icon: 'dollar',
  1416. hidden: true,
  1417. permission: 'M_withdrawalManagementList'
  1418. }
  1419. }
  1420. ]
  1421. },
  1422. {
  1423. path: '/financialManagement/ledgerRecord',
  1424. redirect: '/financialManagement/ledgerRecord/list',
  1425. name: 'ledgerRecord',
  1426. component: BlankLayout,
  1427. meta: {
  1428. title: '分账记录',
  1429. icon: 'profile',
  1430. permission: 'M_ledgerRecordList'
  1431. },
  1432. hideChildrenInMenu: true,
  1433. children: [
  1434. {
  1435. path: 'list',
  1436. name: 'ledgerRecordList',
  1437. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/ledgerRecord/list.vue'),
  1438. meta: {
  1439. title: '分账记录列表',
  1440. icon: 'profile',
  1441. hidden: true,
  1442. permission: 'M_ledgerRecordList'
  1443. }
  1444. }
  1445. ]
  1446. },
  1447. {
  1448. path: '/financialManagement/fundAccountManagement',
  1449. redirect: '/financialManagement/fundAccountManagement/list',
  1450. name: 'fundAccountManagement',
  1451. component: BlankLayout,
  1452. meta: {
  1453. title: '资金账户管理',
  1454. icon: 'file-protect',
  1455. permission: 'M_fundAccountList'
  1456. },
  1457. hideChildrenInMenu: true,
  1458. children: [
  1459. {
  1460. path: 'list',
  1461. name: 'fundAccountList',
  1462. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/list.vue'),
  1463. meta: {
  1464. title: '资金账户列表',
  1465. icon: 'file-protect',
  1466. hidden: true,
  1467. permission: 'M_fundAccountList'
  1468. }
  1469. },
  1470. {
  1471. path: 'detail/:sn',
  1472. name: 'fundAccountDetail',
  1473. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/detail.vue'),
  1474. meta: {
  1475. title: '资金明细',
  1476. icon: 'file-protect',
  1477. hidden: true,
  1478. replaceTab: true,
  1479. permission: 'M_fundAccount_detail'
  1480. }
  1481. }
  1482. ]
  1483. }
  1484. ]
  1485. },
  1486. // 调拨管理
  1487. {
  1488. path: '/allocationManagement',
  1489. redirect: '/allocationManagement/warehouseAllocation',
  1490. component: PageView,
  1491. meta: {
  1492. title: '调拨管理',
  1493. icon: 'cluster',
  1494. permission: 'M_allocationManagement'
  1495. },
  1496. children: [
  1497. {
  1498. path: '/allocationManagement/warehouseAllocation',
  1499. redirect: '/allocationManagement/warehouseAllocation/list',
  1500. name: 'warehouseAllocation',
  1501. component: BlankLayout,
  1502. meta: {
  1503. title: '仓库调拨',
  1504. icon: 'gateway',
  1505. permission: 'M_warehouseAllocationList'
  1506. },
  1507. hideChildrenInMenu: true,
  1508. children: [
  1509. {
  1510. path: 'list',
  1511. name: 'warehouseAllocationList',
  1512. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/list.vue'),
  1513. meta: {
  1514. title: '仓库调拨列表',
  1515. icon: 'gateway',
  1516. hidden: true,
  1517. permission: 'M_warehouseAllocationList'
  1518. }
  1519. },
  1520. {
  1521. path: 'add',
  1522. name: 'warehouseAllocationAdd',
  1523. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1524. meta: {
  1525. title: '新增仓库调拨',
  1526. icon: 'gateway',
  1527. hidden: true,
  1528. permission: 'B_warehouseAllocationNews'
  1529. }
  1530. },
  1531. {
  1532. path: 'edit/:id/:sn',
  1533. name: 'warehouseAllocationEdit',
  1534. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1535. meta: {
  1536. title: '编辑仓库调拨',
  1537. icon: 'gateway',
  1538. hidden: true,
  1539. permission: 'B_warehouseAllocationEdit'
  1540. }
  1541. },
  1542. {
  1543. path: 'detail/:sn',
  1544. name: 'warehouseAllocationDetail',
  1545. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/detail.vue'),
  1546. meta: {
  1547. title: '仓库调拨详情',
  1548. icon: 'gateway',
  1549. hidden: true,
  1550. permission: 'B_warehouseAllocationDetail'
  1551. }
  1552. }
  1553. ]
  1554. },
  1555. {
  1556. path: '/allocationManagement/chainTransferIn',
  1557. redirect: '/allocationManagement/chainTransferIn/list',
  1558. name: 'chainTransferIn',
  1559. component: BlankLayout,
  1560. meta: {
  1561. title: '连锁调入',
  1562. icon: 'cluster',
  1563. permission: 'M_chainTransferInList'
  1564. },
  1565. hideChildrenInMenu: true,
  1566. children: [
  1567. {
  1568. path: 'list',
  1569. name: 'chainTransferInList',
  1570. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/list.vue'),
  1571. meta: {
  1572. title: '连锁调入列表',
  1573. icon: 'cluster',
  1574. hidden: true,
  1575. permission: 'M_chainTransferInList'
  1576. }
  1577. },
  1578. {
  1579. path: 'edit/:id/:sn',
  1580. name: 'chainTransferInEdit',
  1581. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/edit.vue'),
  1582. meta: {
  1583. title: '编辑连锁调入',
  1584. icon: 'cluster',
  1585. hidden: true,
  1586. permission: 'B_allocLinkagePutEdit'
  1587. }
  1588. },
  1589. {
  1590. path: 'detail/:sn',
  1591. name: 'chainTransferInDetail',
  1592. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/detail.vue'),
  1593. meta: {
  1594. title: '连锁调入详情',
  1595. icon: 'cluster',
  1596. hidden: true,
  1597. permission: 'B_allocLinkagePutDetail'
  1598. }
  1599. }
  1600. ]
  1601. },
  1602. {
  1603. path: '/allocationManagement/chainTransferOut',
  1604. redirect: '/allocationManagement/chainTransferOut/list',
  1605. name: 'chainTransferOut',
  1606. component: BlankLayout,
  1607. meta: {
  1608. title: '连锁调出',
  1609. icon: 'pull-request',
  1610. permission: 'M_chainTransferOutList'
  1611. },
  1612. hideChildrenInMenu: true,
  1613. children: [
  1614. {
  1615. path: 'list',
  1616. name: 'chainTransferOutList',
  1617. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/list.vue'),
  1618. meta: {
  1619. title: '连锁调出列表',
  1620. icon: 'pull-request',
  1621. hidden: true,
  1622. permission: 'M_chainTransferOutList'
  1623. }
  1624. },
  1625. {
  1626. path: 'add/:id/:sn',
  1627. name: 'chainTransferOutAdd',
  1628. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1629. meta: {
  1630. title: '新增连锁调出',
  1631. icon: 'pull-request',
  1632. hidden: true,
  1633. permission: 'B_allocLinkageOutNew'
  1634. }
  1635. },
  1636. {
  1637. path: 'edit/:id/:sn',
  1638. name: 'chainTransferOutEdit',
  1639. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1640. meta: {
  1641. title: '编辑连锁调出',
  1642. icon: 'pull-request',
  1643. hidden: true,
  1644. permission: 'B_allocLinkageOutEdit'
  1645. }
  1646. },
  1647. {
  1648. path: 'detail/:sn',
  1649. name: 'chainTransferOutDetail',
  1650. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/detail.vue'),
  1651. meta: {
  1652. title: '连锁调出详情',
  1653. icon: 'pull-request',
  1654. hidden: true,
  1655. permission: 'B_allocLinkageOutDetail'
  1656. }
  1657. }
  1658. ]
  1659. },
  1660. {
  1661. path: '/allocationManagement/storeTransferOut',
  1662. redirect: '/allocationManagement/storeTransferOut/list',
  1663. name: 'storeTransferOut',
  1664. component: BlankLayout,
  1665. meta: {
  1666. title: '店内调出',
  1667. icon: 'interaction',
  1668. permission: 'M_storeTransferOutList'
  1669. },
  1670. hideChildrenInMenu: true,
  1671. children: [
  1672. {
  1673. path: 'list',
  1674. name: 'storeTransferOutList',
  1675. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/list.vue'),
  1676. meta: {
  1677. title: '店内调出列表',
  1678. icon: 'interaction',
  1679. hidden: true,
  1680. permission: 'M_storeTransferOutList'
  1681. }
  1682. },
  1683. {
  1684. path: 'add/:id/:sn',
  1685. name: 'storeTransferOutAdd',
  1686. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1687. meta: {
  1688. title: '新增店内调出',
  1689. icon: 'interaction',
  1690. hidden: true,
  1691. permission: 'B_storeTransferOutNews'
  1692. }
  1693. },
  1694. {
  1695. path: 'edit/:id/:sn',
  1696. name: 'storeTransferOutEdit',
  1697. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1698. meta: {
  1699. title: '编辑店内调出',
  1700. icon: 'interaction',
  1701. hidden: true,
  1702. permission: 'B_storeCallOutEdit'
  1703. }
  1704. },
  1705. {
  1706. path: 'detail/:sn',
  1707. name: 'storeTransferOutDetail',
  1708. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
  1709. meta: {
  1710. title: '店内调出详情',
  1711. icon: 'interaction',
  1712. hidden: true,
  1713. permission: 'B_storeCallOutDetail'
  1714. }
  1715. }
  1716. ]
  1717. }
  1718. ]
  1719. },
  1720. // 库存管理
  1721. {
  1722. path: '/inventoryManagement',
  1723. redirect: '/inventoryManagement/inventoryQuery',
  1724. component: PageView,
  1725. meta: {
  1726. title: '库存管理',
  1727. icon: 'shop',
  1728. permission: 'M_inventory'
  1729. },
  1730. children: [
  1731. {
  1732. path: '/inventoryManagement/inventoryQuery',
  1733. redirect: '/inventoryManagement/inventoryQuery/list',
  1734. name: 'inventoryQuery',
  1735. component: BlankLayout,
  1736. meta: {
  1737. title: '库存查询',
  1738. icon: 'monitor',
  1739. permission: 'M_inventoryInventoryQueryList'
  1740. },
  1741. hideChildrenInMenu: true,
  1742. children: [
  1743. {
  1744. path: 'list',
  1745. name: 'inventoryQueryList',
  1746. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1747. meta: {
  1748. title: '库存列表',
  1749. icon: 'monitor',
  1750. hidden: true,
  1751. permission: 'M_inventoryInventoryQueryList'
  1752. }
  1753. },
  1754. {
  1755. path: 'warehouseDetail/:sn',
  1756. name: 'inventoryQueryWarehouseDetail',
  1757. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1758. meta: {
  1759. title: '出入库明细',
  1760. icon: 'monitor',
  1761. hidden: true,
  1762. replaceTab: true,
  1763. permission: 'B_inventoryInventoryQueryStock'
  1764. }
  1765. }
  1766. ]
  1767. },
  1768. {
  1769. path: '/inventoryManagement/inventoryWarning',
  1770. name: 'inventoryWarning',
  1771. redirect: '/inventoryManagement/inventoryWarning/list',
  1772. component: BlankLayout,
  1773. meta: {
  1774. title: '库存预警',
  1775. icon: 'alert',
  1776. permission: 'M_inventoryWarningList'
  1777. },
  1778. hideChildrenInMenu: true,
  1779. children: [
  1780. {
  1781. path: 'list',
  1782. name: 'inventoryWarningList',
  1783. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1784. meta: {
  1785. title: '库存预警列表',
  1786. hidden: true,
  1787. icon: 'alert',
  1788. permission: 'M_inventoryWarningList'
  1789. }
  1790. }
  1791. ]
  1792. },
  1793. {
  1794. path: '/inventoryManagement/satelliteWarehouseInventory',
  1795. name: 'satelliteWarehouseInventory',
  1796. redirect: '/inventoryManagement/satelliteWarehouseInventory/list',
  1797. component: BlankLayout,
  1798. meta: {
  1799. title: '卫星仓库存',
  1800. icon: 'flag',
  1801. permission: 'M_satelliteWarehouseInventoryList'
  1802. },
  1803. hideChildrenInMenu: true,
  1804. children: [
  1805. {
  1806. path: 'list',
  1807. name: 'satelliteWarehouseInventoryList',
  1808. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
  1809. meta: {
  1810. title: '卫星仓库存',
  1811. icon: 'flag',
  1812. permission: 'M_satelliteWarehouseInventoryList'
  1813. }
  1814. }
  1815. ]
  1816. },
  1817. {
  1818. path: '/inventoryManagement/inventoryChecking',
  1819. redirect: '/inventoryManagement/inventoryChecking/list',
  1820. name: 'inventoryChecking',
  1821. component: BlankLayout,
  1822. meta: {
  1823. title: '库存盘点',
  1824. icon: 'reconciliation',
  1825. permission: 'M_inventoryCheckingList'
  1826. },
  1827. hideChildrenInMenu: true,
  1828. children: [
  1829. {
  1830. path: 'list',
  1831. name: 'inventoryCheckingList',
  1832. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/list.vue'),
  1833. meta: {
  1834. title: '库存盘点列表',
  1835. icon: 'reconciliation',
  1836. hidden: true,
  1837. permission: 'M_inventoryCheckingList'
  1838. }
  1839. },
  1840. {
  1841. path: 'overall/:id/:sn',
  1842. name: 'inventoryCheckingOverall',
  1843. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/overall.vue'),
  1844. meta: {
  1845. title: '编辑库存盘点【全盘】',
  1846. icon: 'reconciliation',
  1847. hidden: true,
  1848. permission: 'B_inventoryCheckingEdit'
  1849. }
  1850. },
  1851. {
  1852. path: 'selfDisk/:id/:sn',
  1853. name: 'inventoryCheckingSelfDisk',
  1854. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/selfDisk.vue'),
  1855. meta: {
  1856. title: '编辑库存盘点【自选盘点】',
  1857. icon: 'reconciliation',
  1858. hidden: true,
  1859. permission: 'B_inventoryCheckingEdit'
  1860. }
  1861. },
  1862. {
  1863. path: 'makeInventory/:id/:sn',
  1864. name: 'inventoryCheckingMakeInventory',
  1865. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/makeInventory.vue'),
  1866. meta: {
  1867. title: '盘点',
  1868. icon: 'reconciliation',
  1869. hidden: true,
  1870. replaceTab: true,
  1871. permission: 'B_inventoryCheckingInventory'
  1872. }
  1873. }
  1874. ]
  1875. },
  1876. {
  1877. path: '/inventoryManagement/inventoryImport',
  1878. redirect: '/inventoryManagement/inventoryImport/list',
  1879. name: 'inventoryImport',
  1880. component: BlankLayout,
  1881. meta: {
  1882. title: '库存导入',
  1883. icon: 'frown',
  1884. permission: 'M_inventoryImport'
  1885. },
  1886. hideChildrenInMenu: true,
  1887. children: [
  1888. {
  1889. path: 'list',
  1890. name: 'inventoryImportList',
  1891. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
  1892. meta: {
  1893. title: '库存导入列表',
  1894. icon: 'frown',
  1895. hidden: true,
  1896. permission: 'M_inventoryImport'
  1897. }
  1898. }
  1899. ]
  1900. },
  1901. {
  1902. path: '/inventoryManagement/warehouse',
  1903. redirect: '/inventoryManagement/warehouse/list',
  1904. name: 'warehouse',
  1905. component: BlankLayout,
  1906. meta: {
  1907. title: '仓库管理',
  1908. icon: 'deployment-unit',
  1909. permission: 'M_inventoryWarehouseList'
  1910. },
  1911. hideChildrenInMenu: true,
  1912. children: [
  1913. {
  1914. path: 'list',
  1915. name: 'warehouseList',
  1916. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/list.vue'),
  1917. meta: {
  1918. title: '仓库列表',
  1919. icon: 'deployment-unit',
  1920. hidden: true,
  1921. permission: 'M_inventoryWarehouseList'
  1922. }
  1923. },
  1924. {
  1925. path: '/inventoryManagement/storingLocation/:sn',
  1926. name: 'storingLocationList',
  1927. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/storingLocation/list.vue'),
  1928. meta: {
  1929. title: '仓位列表',
  1930. icon: 'deployment-unit',
  1931. hidden: true,
  1932. replaceTab: true,
  1933. permission: 'M_inventoryWarehouseStoringLocationList'
  1934. }
  1935. }
  1936. ]
  1937. }
  1938. ]
  1939. },
  1940. // 散件管理
  1941. {
  1942. path: '/bulkManagement',
  1943. redirect: '/bulkManagement/purchaseOrder',
  1944. component: PageView,
  1945. meta: {
  1946. title: '散件管理',
  1947. icon: 'gold',
  1948. permission: 'M_bulkManagement'
  1949. },
  1950. children: [
  1951. {
  1952. path: '/bulkManagement/bulkWarehousingOrder',
  1953. redirect: '/bulkManagement/bulkWarehousingOrder/list',
  1954. name: 'bulkWarehousingOrder',
  1955. component: BlankLayout,
  1956. meta: {
  1957. title: '散件入库',
  1958. icon: 'gold',
  1959. permission: 'M_bulkWarehousingOrderList'
  1960. },
  1961. hideChildrenInMenu: true,
  1962. children: [
  1963. {
  1964. path: 'list',
  1965. name: 'bulkWarehousingOrderList',
  1966. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/list.vue'),
  1967. meta: {
  1968. title: '散件入库单列表',
  1969. icon: 'gold',
  1970. hidden: true,
  1971. permission: 'M_bulkWarehousingOrderList'
  1972. }
  1973. },
  1974. {
  1975. path: 'add/:id/:sn/:supplierSn',
  1976. name: 'bulkWarehousingOrderAdd',
  1977. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1978. meta: {
  1979. title: '新增散件入库单',
  1980. icon: 'gold',
  1981. hidden: true,
  1982. permission: 'B_bulkWarehousingOrder_add'
  1983. }
  1984. },
  1985. {
  1986. path: 'edit/:id/:sn/:supplierSn',
  1987. name: 'bulkWarehousingOrderEdit',
  1988. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1989. meta: {
  1990. title: '编辑散件入库单',
  1991. icon: 'gold',
  1992. hidden: true,
  1993. permission: 'B_bulkWarehousingOrder_edit'
  1994. }
  1995. },
  1996. {
  1997. path: 'detail/:id/:sn',
  1998. name: 'bulkWarehousingOrderDetail',
  1999. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/detail.vue'),
  2000. meta: {
  2001. title: '散件入库单详情',
  2002. icon: 'gold',
  2003. hidden: true,
  2004. permission: 'B_bulkWarehousingOrder_detail'
  2005. }
  2006. }
  2007. ]
  2008. },
  2009. {
  2010. path: '/bulkManagement/bulkReturnGoods',
  2011. redirect: '/bulkManagement/bulkReturnGoods/list',
  2012. name: 'bulkReturnGoods',
  2013. component: BlankLayout,
  2014. meta: {
  2015. title: '散件退货',
  2016. icon: 'frown',
  2017. permission: 'M_bulkReturnGoodsList'
  2018. },
  2019. hideChildrenInMenu: true,
  2020. children: [
  2021. {
  2022. path: 'list',
  2023. name: 'bulkReturnGoodsList',
  2024. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/list.vue'),
  2025. meta: {
  2026. title: '散件退货列表',
  2027. icon: 'frown',
  2028. hidden: true,
  2029. permission: 'M_bulkReturnGoodsList'
  2030. }
  2031. },
  2032. {
  2033. path: 'edit/:id/:sn/:supplierSn',
  2034. name: 'bulkReturnGoodsEdit',
  2035. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/edit.vue'),
  2036. meta: {
  2037. title: '编辑散件退货单(不抓单)',
  2038. icon: 'frown',
  2039. hidden: true,
  2040. permission: 'B_bulkReturnGoodsEdit'
  2041. }
  2042. },
  2043. {
  2044. path: 'grabEdit/:id/:sn/:supplierSn',
  2045. name: 'bulkReturnGoodsGrabEdit',
  2046. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/grabEdit.vue'),
  2047. meta: {
  2048. title: '编辑散件退货单(抓单)',
  2049. icon: 'frown',
  2050. hidden: true,
  2051. permission: 'B_bulkReturnGoodsEdit'
  2052. }
  2053. }
  2054. ]
  2055. },
  2056. {
  2057. path: '/bulkManagement/bulkImport',
  2058. redirect: '/bulkManagement/bulkImport/list',
  2059. name: 'bulkImport',
  2060. component: BlankLayout,
  2061. meta: {
  2062. title: '散件导入',
  2063. icon: 'frown',
  2064. permission: 'M_bulkImport'
  2065. },
  2066. hideChildrenInMenu: true,
  2067. children: [
  2068. {
  2069. path: 'list',
  2070. name: 'bulkImportList',
  2071. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkImport/list.vue'),
  2072. meta: {
  2073. title: '散件导入列表',
  2074. icon: 'frown',
  2075. hidden: true,
  2076. permission: 'M_bulkImport'
  2077. }
  2078. }
  2079. ]
  2080. }
  2081. ]
  2082. },
  2083. // 报表
  2084. {
  2085. path: '/reportData',
  2086. redirect: '/reportData/chainStockReport',
  2087. component: PageView,
  2088. meta: {
  2089. title: '报表',
  2090. icon: 'project',
  2091. permission: 'M_reportData'
  2092. },
  2093. children: [
  2094. {
  2095. path: '/reportData/salesReport',
  2096. redirect: '/reportData/salesReport/index',
  2097. name: 'salesReport',
  2098. component: BlankLayout,
  2099. meta: {
  2100. title: '销售报表',
  2101. icon: 'profile',
  2102. permission: 'M_salesReportList,M_salesDetailReportList'
  2103. },
  2104. hideChildrenInMenu: true,
  2105. children: [
  2106. {
  2107. path: 'index',
  2108. name: 'salesReportIndex',
  2109. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/index.vue'),
  2110. meta: {
  2111. title: '销售报表',
  2112. icon: 'profile',
  2113. hidden: true,
  2114. permission: 'M_salesReportList,M_salesDetailReportList'
  2115. }
  2116. },
  2117. {
  2118. path: 'list',
  2119. name: 'salesReportList',
  2120. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/list.vue'),
  2121. meta: {
  2122. title: '销售报表列表',
  2123. icon: 'profile',
  2124. hidden: true,
  2125. permission: 'M_salesReportList'
  2126. }
  2127. },
  2128. {
  2129. path: 'list',
  2130. name: 'salesDetailReportList',
  2131. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetailReport/list.vue'),
  2132. meta: {
  2133. title: '销售明细报表列表',
  2134. icon: 'profile',
  2135. hidden: true,
  2136. permission: 'M_salesDetailReportList'
  2137. }
  2138. }
  2139. ]
  2140. },
  2141. {
  2142. path: '/reportData/customerReport',
  2143. redirect: '/reportData/customerReport/list',
  2144. name: 'customerReport',
  2145. component: BlankLayout,
  2146. meta: {
  2147. title: '大客户报表',
  2148. icon: 'profile',
  2149. permission: 'M_customerReportList'
  2150. },
  2151. hideChildrenInMenu: true,
  2152. children: [
  2153. {
  2154. path: 'list',
  2155. name: 'customerReportList',
  2156. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerReport/list.vue'),
  2157. meta: {
  2158. title: '大客户报表列表',
  2159. icon: 'profile',
  2160. hidden: true,
  2161. permission: 'M_customerReportList'
  2162. }
  2163. }
  2164. ]
  2165. },
  2166. {
  2167. path: '/reportData/customerSalesDetailsReport',
  2168. redirect: '/reportData/customerSalesDetailsReport/list',
  2169. name: 'customerSalesDetailsReport',
  2170. component: BlankLayout,
  2171. meta: {
  2172. title: '客户销售明细报表',
  2173. icon: 'profile',
  2174. permission: 'M_customerSalesDetailsReport_list'
  2175. },
  2176. hideChildrenInMenu: true,
  2177. children: [
  2178. {
  2179. path: 'list',
  2180. name: 'customerSalesDetailsReportList',
  2181. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerSalesDetailsReport/list.vue'),
  2182. meta: {
  2183. title: '客户销售明细列表',
  2184. icon: 'profile',
  2185. hidden: true,
  2186. permission: 'M_customerSalesDetailsReport_list'
  2187. }
  2188. }
  2189. ]
  2190. },
  2191. {
  2192. path: '/reportData/salesReturnReport',
  2193. redirect: '/reportData/salesReturnReport/index',
  2194. name: 'salesReturnReport',
  2195. component: BlankLayout,
  2196. meta: {
  2197. title: '销售退货报表',
  2198. icon: 'profile',
  2199. permission: 'M_salesReturnReportList'
  2200. },
  2201. hideChildrenInMenu: true,
  2202. children: [
  2203. {
  2204. path: 'index',
  2205. name: 'salesReturnReportIndex',
  2206. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/index.vue'),
  2207. meta: {
  2208. title: '销售退货报表',
  2209. icon: 'profile',
  2210. hidden: true,
  2211. permission: 'M_salesReturnReportList'
  2212. }
  2213. }
  2214. ]
  2215. },
  2216. {
  2217. path: '/reportData/urgentItemsOffsetReport',
  2218. redirect: '/reportData/urgentItemsOffsetReport/index',
  2219. name: 'urgentItemsOffsetReport',
  2220. component: BlankLayout,
  2221. meta: {
  2222. title: '急件冲减报表',
  2223. icon: 'profile',
  2224. permission: 'M_urgentItemsOffsetReportList'
  2225. },
  2226. hideChildrenInMenu: true,
  2227. children: [
  2228. {
  2229. path: 'index',
  2230. name: 'urgentItemsOffsetReportIndex',
  2231. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urgentItemsOffsetReport/index.vue'),
  2232. meta: {
  2233. title: '急件冲减报表列表',
  2234. icon: 'profile',
  2235. hidden: true
  2236. }
  2237. }
  2238. ]
  2239. },
  2240. {
  2241. path: '/reportData/stockIncomeReport',
  2242. redirect: '/reportData/stockIncomeReport/list',
  2243. name: 'stockIncomeReport',
  2244. component: BlankLayout,
  2245. meta: {
  2246. title: '库存总入报表',
  2247. icon: 'profile',
  2248. permission: 'M_stockIncomeReportList'
  2249. },
  2250. hideChildrenInMenu: true,
  2251. children: [
  2252. {
  2253. path: 'list',
  2254. name: 'stockIncomeReportList',
  2255. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockIncomeReport/list.vue'),
  2256. meta: {
  2257. title: '库存总入报表列表',
  2258. icon: 'profile',
  2259. hidden: true,
  2260. permission: 'M_stockIncomeReportList'
  2261. }
  2262. }
  2263. ]
  2264. },
  2265. {
  2266. path: '/reportData/stockExpenditureReport',
  2267. redirect: '/reportData/stockExpenditureReport/list',
  2268. name: 'stockExpenditureReport',
  2269. component: BlankLayout,
  2270. meta: {
  2271. title: '库存总出报表',
  2272. icon: 'profile',
  2273. permission: 'M_stockExpenditureReportList'
  2274. },
  2275. hideChildrenInMenu: true,
  2276. children: [
  2277. {
  2278. path: 'list',
  2279. name: 'stockExpenditureReportList',
  2280. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockExpenditureReport/list.vue'),
  2281. meta: {
  2282. title: '库存总出报表列表',
  2283. icon: 'profile',
  2284. hidden: true,
  2285. permission: 'M_stockExpenditureReportList'
  2286. }
  2287. }
  2288. ]
  2289. },
  2290. {
  2291. path: '/reportData/stockImportReport',
  2292. redirect: '/reportData/stockImportReport/index',
  2293. name: 'stockImportReport',
  2294. component: BlankLayout,
  2295. meta: {
  2296. title: '库存/散件导入报表',
  2297. icon: 'profile',
  2298. permission: 'M_stockImportReportList'
  2299. },
  2300. hideChildrenInMenu: true,
  2301. children: [
  2302. {
  2303. path: 'index',
  2304. name: 'stockImportReportIndex',
  2305. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockImportReport/index.vue'),
  2306. meta: {
  2307. title: '库存/散件导入报表',
  2308. icon: 'profile',
  2309. hidden: true,
  2310. permission: 'M_stockImportReportList'
  2311. }
  2312. }
  2313. ]
  2314. },
  2315. {
  2316. path: '/reportData/receivedSendStorageReport',
  2317. redirect: '/reportData/receivedSendStorageReport/list',
  2318. name: 'receivedSendStorageReport',
  2319. component: BlankLayout,
  2320. meta: {
  2321. title: '收发存报表',
  2322. icon: 'profile',
  2323. permission: 'M_receivedSendStorageReportList'
  2324. },
  2325. hideChildrenInMenu: true,
  2326. children: [
  2327. {
  2328. path: 'list',
  2329. name: 'receivedSendStorageReportList',
  2330. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/list.vue'),
  2331. meta: {
  2332. title: '收发存报表列表',
  2333. icon: 'profile',
  2334. hidden: true,
  2335. permission: 'M_receivedSendStorageReportList'
  2336. }
  2337. }
  2338. ]
  2339. },
  2340. {
  2341. path: '/reportData/storeReceivedSendStorageReport',
  2342. redirect: '/reportData/storeReceivedSendStorageReport/list',
  2343. name: 'storeReceivedSendStorageReport',
  2344. component: BlankLayout,
  2345. meta: {
  2346. title: '门店收发存汇总报表',
  2347. icon: 'profile',
  2348. permission: 'M_storeReceivedSendStorageReport_list'
  2349. },
  2350. hideChildrenInMenu: true,
  2351. children: [
  2352. {
  2353. path: 'list',
  2354. name: 'storeReceivedSendStorageReportList',
  2355. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeReceivedSendStorageReport/list.vue'),
  2356. meta: {
  2357. title: '门店收发存汇总列表',
  2358. icon: 'profile',
  2359. hidden: true,
  2360. permission: 'M_storeReceivedSendStorageReport_list'
  2361. }
  2362. }
  2363. ]
  2364. },
  2365. {
  2366. path: '/reportData/inventoryReport',
  2367. redirect: '/reportData/inventoryReport/list',
  2368. name: 'inventoryReport',
  2369. component: BlankLayout,
  2370. meta: {
  2371. title: '盘点报表',
  2372. icon: 'profile',
  2373. permission: 'M_inventoryReportList'
  2374. },
  2375. hideChildrenInMenu: true,
  2376. children: [
  2377. {
  2378. path: 'list',
  2379. name: 'inventoryReportList',
  2380. component: () => import(/* webpackChunkName: "reportData1" */ '@/views/reportData/inventoryReport/list.vue'),
  2381. meta: {
  2382. title: '盘点报表列表',
  2383. icon: 'profile',
  2384. hidden: true,
  2385. permission: 'M_inventoryReportList'
  2386. }
  2387. }
  2388. ]
  2389. },
  2390. {
  2391. path: '/reportData/purchaseReceiptReport',
  2392. redirect: '/reportData/purchaseReceiptReport/list',
  2393. name: 'purchaseReceiptReport',
  2394. component: BlankLayout,
  2395. meta: {
  2396. title: '采购入库报表',
  2397. icon: 'profile',
  2398. permission: 'M_purchaseReceiptReportList'
  2399. },
  2400. hideChildrenInMenu: true,
  2401. children: [
  2402. {
  2403. path: 'list',
  2404. name: 'purchaseReceiptReportList',
  2405. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReceiptReport/list.vue'),
  2406. meta: {
  2407. title: '采购入库报表列表',
  2408. icon: 'profile',
  2409. hidden: true,
  2410. permission: 'M_purchaseReceiptReportList'
  2411. }
  2412. }
  2413. ]
  2414. },
  2415. {
  2416. path: '/reportData/purchaseReturnReport',
  2417. redirect: '/reportData/purchaseReturnReport/list',
  2418. name: 'purchaseReturnReport',
  2419. component: BlankLayout,
  2420. meta: {
  2421. title: '采购退货报表',
  2422. icon: 'profile',
  2423. permission: 'M_purchaseReturnReportList'
  2424. },
  2425. hideChildrenInMenu: true,
  2426. children: [
  2427. {
  2428. path: 'list',
  2429. name: 'purchaseReturnReportList',
  2430. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReturnReport/list.vue'),
  2431. meta: {
  2432. title: '采购退货报表列表',
  2433. icon: 'profile',
  2434. hidden: true,
  2435. permission: 'M_purchaseReturnReportList'
  2436. }
  2437. }
  2438. ]
  2439. },
  2440. {
  2441. path: '/reportData/bulkWarehousingReport',
  2442. redirect: '/reportData/bulkWarehousingReport/index',
  2443. name: 'bulkWarehousingReport',
  2444. component: BlankLayout,
  2445. meta: {
  2446. title: '散件入库报表',
  2447. icon: 'profile',
  2448. permission: 'M_bulkWarehousingReportList'
  2449. },
  2450. hideChildrenInMenu: true,
  2451. children: [
  2452. {
  2453. path: 'index',
  2454. name: 'bulkWarehousingReportIndex',
  2455. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/index.vue'),
  2456. meta: {
  2457. title: '散件入库报表',
  2458. icon: 'profile',
  2459. hidden: true,
  2460. permission: 'M_bulkWarehousingReportList'
  2461. }
  2462. }
  2463. ]
  2464. },
  2465. {
  2466. path: '/reportData/bulkReturnReport',
  2467. redirect: '/reportData/bulkReturnReport/index',
  2468. name: 'bulkReturnReport',
  2469. component: BlankLayout,
  2470. meta: {
  2471. title: '散件退货报表',
  2472. icon: 'profile',
  2473. permission: 'M_bulkReturnReportList'
  2474. },
  2475. hideChildrenInMenu: true,
  2476. children: [
  2477. {
  2478. path: 'index',
  2479. name: 'bulkReturnReportIndex',
  2480. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/index.vue'),
  2481. meta: {
  2482. title: '散件退货报表',
  2483. icon: 'profile',
  2484. hidden: true,
  2485. permission: 'M_bulkReturnReportList'
  2486. }
  2487. }
  2488. ]
  2489. },
  2490. {
  2491. path: '/reportData/storeTransferOutReport',
  2492. redirect: '/reportData/storeTransferOutReport/index',
  2493. name: 'storeTransferOutReport',
  2494. component: BlankLayout,
  2495. meta: {
  2496. title: '店内调出报表',
  2497. icon: 'profile',
  2498. permission: 'M_storeTransferOutReportList'
  2499. },
  2500. hideChildrenInMenu: true,
  2501. children: [
  2502. {
  2503. path: 'index',
  2504. name: 'storeTransferOutReportIndex',
  2505. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/index.vue'),
  2506. meta: {
  2507. title: '店内调出报表',
  2508. icon: 'profile',
  2509. hidden: true,
  2510. permission: 'M_storeTransferOutReportList'
  2511. }
  2512. }
  2513. ]
  2514. },
  2515. {
  2516. path: '/chainReportData/chainTransferReport',
  2517. redirect: '/chainReportData/chainTransferReport/index',
  2518. name: 'chainTransferReport',
  2519. component: BlankLayout,
  2520. meta: {
  2521. title: '连锁调入报表',
  2522. icon: 'profile',
  2523. permission: 'M_chainTransferReportList'
  2524. },
  2525. hideChildrenInMenu: true,
  2526. children: [
  2527. {
  2528. path: 'index',
  2529. name: 'chainTransferReportIndex',
  2530. component: () => import(/* webpackChunkName: "reportData" */ '@/views/chainReportData/chainTransferReport/index.vue'),
  2531. meta: {
  2532. title: '连锁调入报表列表',
  2533. icon: 'profile',
  2534. hidden: true
  2535. }
  2536. }
  2537. ]
  2538. },
  2539. {
  2540. path: '/chainReportData/chainCallReport',
  2541. redirect: '/chainReportData/chainCallReport/index',
  2542. name: 'chainCallReport',
  2543. component: BlankLayout,
  2544. meta: {
  2545. title: '连锁调出报表',
  2546. icon: 'profile',
  2547. permission: 'M_chainCallReportList'
  2548. },
  2549. hideChildrenInMenu: true,
  2550. children: [
  2551. {
  2552. path: 'index',
  2553. name: 'chainCallReportIndex',
  2554. component: () => import(/* webpackChunkName: "reportData" */ '@/views/chainReportData/chainCallReport/index.vue'),
  2555. meta: {
  2556. title: '连锁调出报表列表',
  2557. icon: 'profile',
  2558. hidden: true
  2559. }
  2560. }
  2561. ]
  2562. }
  2563. ]
  2564. },
  2565. // 连锁报表
  2566. {
  2567. path: '/chainReportData',
  2568. redirect: '/chainReportData/chainStockReport',
  2569. component: PageView,
  2570. meta: {
  2571. title: '连锁报表',
  2572. icon: 'fund',
  2573. permission: 'M_chainReportData'
  2574. },
  2575. children: [
  2576. {
  2577. path: '/chainReportData/chainSalesReport',
  2578. redirect: '/chainReportData/chainSalesReport/index',
  2579. name: 'chainSalesReport',
  2580. component: BlankLayout,
  2581. meta: {
  2582. title: '连锁销售报表',
  2583. icon: 'profile',
  2584. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2585. },
  2586. hideChildrenInMenu: true,
  2587. children: [
  2588. {
  2589. path: 'index',
  2590. name: 'chainSalesReportIndex',
  2591. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/index.vue'),
  2592. meta: {
  2593. title: '连锁销售报表',
  2594. icon: 'profile',
  2595. hidden: true,
  2596. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2597. }
  2598. },
  2599. {
  2600. path: 'list',
  2601. name: 'chainSalesReportList',
  2602. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/list.vue'),
  2603. meta: {
  2604. title: '连锁销售报表列表',
  2605. icon: 'profile',
  2606. hidden: true,
  2607. permission: 'M_chainSalesReportList'
  2608. }
  2609. },
  2610. {
  2611. path: 'detailList',
  2612. name: 'chainSalesDetailReportList',
  2613. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailReport/list.vue'),
  2614. meta: {
  2615. title: '连锁销售明细报表列表',
  2616. icon: 'profile',
  2617. hidden: true,
  2618. permission: 'M_chainSalesDetailReportList'
  2619. }
  2620. }
  2621. ]
  2622. },
  2623. {
  2624. path: '/chainReportData/chainSalesDetailsCountReport',
  2625. redirect: '/chainReportData/chainSalesDetailsCountReport/list',
  2626. name: 'chainSalesDetailsCountReport',
  2627. component: BlankLayout,
  2628. meta: {
  2629. title: '连锁销售明细合计报表',
  2630. icon: 'profile',
  2631. permission: 'M_chainSalesDetailsCountReport_list'
  2632. },
  2633. hideChildrenInMenu: true,
  2634. children: [
  2635. {
  2636. path: 'list',
  2637. name: 'chainSalesDetailsCountReportList',
  2638. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailsCountReport/list.vue'),
  2639. meta: {
  2640. title: '连锁销售明细合计列表',
  2641. icon: 'profile',
  2642. hidden: true,
  2643. permission: 'M_chainSalesDetailsCountReport_list'
  2644. }
  2645. }
  2646. ]
  2647. },
  2648. {
  2649. path: '/chainReportData/chainSalesReturnDetailReport',
  2650. redirect: '/chainReportData/chainSalesReturnDetailReport/list',
  2651. name: 'chainSalesReturnDetailReport',
  2652. component: BlankLayout,
  2653. meta: {
  2654. title: '连锁销售退货合计报表',
  2655. icon: 'profile',
  2656. permission: 'M_chainSalesReturnDetailReport_list'
  2657. },
  2658. hideChildrenInMenu: true,
  2659. children: [
  2660. {
  2661. path: 'list',
  2662. name: 'chainSalesReturnDetailReportList',
  2663. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReturnDetailReport/list.vue'),
  2664. meta: {
  2665. title: '连锁销售退货合计列表',
  2666. icon: 'profile',
  2667. hidden: true,
  2668. permission: 'M_chainSalesReturnDetailReport_list'
  2669. }
  2670. }
  2671. ]
  2672. },
  2673. {
  2674. path: '/chainReportData/chainCustomerReport',
  2675. redirect: '/chainReportData/chainCustomerReport/list',
  2676. name: 'chainCustomerReport',
  2677. component: BlankLayout,
  2678. meta: {
  2679. title: '连锁大客户报表',
  2680. icon: 'profile',
  2681. permission: 'M_chainCustomerReportList'
  2682. },
  2683. hideChildrenInMenu: true,
  2684. children: [
  2685. {
  2686. path: 'list',
  2687. name: 'chainCustomerReportList',
  2688. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainCustomerReport/list.vue'),
  2689. meta: {
  2690. title: '连锁大客户报表列表',
  2691. icon: 'profile',
  2692. hidden: true,
  2693. permission: 'M_chainCustomerReportList'
  2694. }
  2695. }
  2696. ]
  2697. },
  2698. {
  2699. path: '/chainReportData/chainStockIncomeReport',
  2700. redirect: '/chainReportData/chainStockIncomeReport/list',
  2701. name: 'chainStockIncomeReport',
  2702. component: BlankLayout,
  2703. meta: {
  2704. title: '连锁库存总入报表',
  2705. icon: 'profile',
  2706. permission: 'M_chainStockIncomeReportList'
  2707. },
  2708. hideChildrenInMenu: true,
  2709. children: [
  2710. {
  2711. path: 'list',
  2712. name: 'chainStockIncomeReportList',
  2713. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockIncomeReport/list.vue'),
  2714. meta: {
  2715. title: '连锁库存总入报表列表',
  2716. icon: 'profile',
  2717. hidden: true,
  2718. permission: 'M_chainStockIncomeReportList'
  2719. }
  2720. }
  2721. ]
  2722. },
  2723. {
  2724. path: '/chainReportData/chainStockExpenditureReport',
  2725. redirect: '/chainReportData/chainStockExpenditureReport/list',
  2726. name: 'chainStockExpenditureReport',
  2727. component: BlankLayout,
  2728. meta: {
  2729. title: '连锁库存总出报表',
  2730. icon: 'profile',
  2731. permission: 'M_chainStockExpenditureReportList'
  2732. },
  2733. hideChildrenInMenu: true,
  2734. children: [
  2735. {
  2736. path: 'list',
  2737. name: 'chainStockExpenditureReportList',
  2738. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockExpenditureReport/list.vue'),
  2739. meta: {
  2740. title: '连锁库存总出报表列表',
  2741. icon: 'profile',
  2742. hidden: true,
  2743. permission: 'M_chainStockExpenditureReportList'
  2744. }
  2745. }
  2746. ]
  2747. },
  2748. {
  2749. path: '/chainReportData/chainStockReport',
  2750. redirect: '/chainReportData/chainStockReport/list',
  2751. name: 'chainStockReport',
  2752. component: BlankLayout,
  2753. meta: {
  2754. title: '连锁库存总表',
  2755. icon: 'profile',
  2756. permission: 'M_chainStockReportList'
  2757. },
  2758. hideChildrenInMenu: true,
  2759. children: [
  2760. {
  2761. path: 'list',
  2762. name: 'chainStockReportList',
  2763. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockReport/list.vue'),
  2764. meta: {
  2765. title: '连锁库存总表列表',
  2766. icon: 'profile',
  2767. hidden: true,
  2768. permission: 'M_chainStockReportList'
  2769. }
  2770. }
  2771. ]
  2772. },
  2773. {
  2774. path: '/chainReportData/chainPurchaseReceiptReport',
  2775. redirect: '/chainReportData/chainPurchaseReceiptReport/list',
  2776. name: 'chainPurchaseReceiptReport',
  2777. component: BlankLayout,
  2778. meta: {
  2779. title: '连锁采购入库报表',
  2780. icon: 'profile',
  2781. permission: 'M_chainPurchaseReceiptReportList'
  2782. },
  2783. hideChildrenInMenu: true,
  2784. children: [
  2785. {
  2786. path: 'list',
  2787. name: 'chainPurchaseReceiptReportList',
  2788. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainPurchaseReceiptReport/list.vue'),
  2789. meta: {
  2790. title: '连锁采购入库报表列表',
  2791. icon: 'profile',
  2792. hidden: true,
  2793. permission: 'M_chainPurchaseReceiptReportList'
  2794. }
  2795. }
  2796. ]
  2797. },
  2798. {
  2799. path: '/chainReportData/chainReceivedSendStorageReport',
  2800. redirect: '/chainReportData/chainReceivedSendStorageReport/list',
  2801. name: 'chainReceivedSendStorageReport',
  2802. component: BlankLayout,
  2803. meta: {
  2804. title: '连锁收发存报表',
  2805. icon: 'profile',
  2806. permission: 'M_chainReceivedSendStorageReportList'
  2807. },
  2808. hideChildrenInMenu: true,
  2809. children: [
  2810. {
  2811. path: 'list',
  2812. name: 'chainReceivedSendStorageReportList',
  2813. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainReceivedSendStorageReport/list.vue'),
  2814. meta: {
  2815. title: '连锁收发存报表列表',
  2816. icon: 'profile',
  2817. hidden: true,
  2818. permission: 'M_chainReceivedSendStorageReportList'
  2819. }
  2820. }
  2821. ]
  2822. }
  2823. ]
  2824. },
  2825. // 客户管理
  2826. {
  2827. path: '/customerManagement',
  2828. redirect: '/customerManagement/customerInfo',
  2829. component: PageView,
  2830. meta: {
  2831. title: '客户管理',
  2832. icon: 'idcard',
  2833. permission: 'M_customerInfoList'
  2834. },
  2835. children: [
  2836. {
  2837. path: '/customerManagement/customerInfo',
  2838. redirect: '/customerManagement/customerInfo/list',
  2839. name: 'customerInfo',
  2840. component: BlankLayout,
  2841. meta: {
  2842. title: '客户管理',
  2843. icon: 'idcard',
  2844. permission: 'M_customerInfoList'
  2845. },
  2846. hideChildrenInMenu: true,
  2847. children: [
  2848. {
  2849. path: 'list',
  2850. name: 'customerInfoList',
  2851. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/list.vue'),
  2852. meta: {
  2853. title: '客户列表',
  2854. icon: 'idcard',
  2855. hidden: true,
  2856. permission: 'M_customerInfoList'
  2857. }
  2858. },
  2859. {
  2860. path: 'add',
  2861. name: 'customerInfoAdd',
  2862. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2863. meta: {
  2864. title: '新增客户',
  2865. icon: 'idcard',
  2866. hidden: true,
  2867. permission: 'B_customer_customerInfo_add'
  2868. }
  2869. },
  2870. {
  2871. path: 'edit/:id',
  2872. name: 'customerInfoEdit',
  2873. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2874. meta: {
  2875. title: '编辑客户',
  2876. icon: 'idcard',
  2877. hidden: true,
  2878. permission: 'B_customer_customerInfo_edit'
  2879. }
  2880. }
  2881. ]
  2882. },
  2883. {
  2884. path: '/customerManagement/customerMerge',
  2885. redirect: '/customerManagement/customerMerge/index',
  2886. name: 'customerMerge',
  2887. component: BlankLayout,
  2888. meta: {
  2889. title: '客户合并记录',
  2890. icon: 'profile',
  2891. permission: 'M_customerMergeList'
  2892. },
  2893. hideChildrenInMenu: true,
  2894. children: [
  2895. {
  2896. path: 'index',
  2897. name: 'customerMergeIndex',
  2898. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/customerManagement/customerMerge/index.vue'),
  2899. meta: {
  2900. title: '客户合并记录',
  2901. icon: 'profile',
  2902. hidden: true,
  2903. permission: 'M_customerMergeList'
  2904. }
  2905. }
  2906. ]
  2907. }
  2908. ]
  2909. },
  2910. // 产品管理
  2911. {
  2912. path: '/productManagement',
  2913. redirect: '/productManagement/productInfo',
  2914. component: PageView,
  2915. meta: {
  2916. title: '产品管理',
  2917. icon: 'shopping',
  2918. permission: 'M_product'
  2919. },
  2920. children: [
  2921. {
  2922. path: '/productManagement/productInfo',
  2923. redirect: '/productManagement/productInfo/list',
  2924. name: 'productInfo',
  2925. component: BlankLayout,
  2926. meta: {
  2927. title: '产品信息管理(自建)',
  2928. icon: 'file-text',
  2929. permission: 'M_dealerProductList'
  2930. },
  2931. hideChildrenInMenu: true,
  2932. children: [
  2933. {
  2934. path: 'list',
  2935. name: 'productInfoList',
  2936. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2937. meta: {
  2938. title: '产品信息列表(自建)',
  2939. icon: 'file-text',
  2940. hidden: true,
  2941. permission: 'M_dealerProductList'
  2942. }
  2943. },
  2944. {
  2945. path: 'add',
  2946. name: 'productInfoAdd',
  2947. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2948. meta: {
  2949. title: '新增产品',
  2950. icon: 'file-text',
  2951. hidden: true,
  2952. permission: 'B_product_dealerProduct_add'
  2953. }
  2954. },
  2955. {
  2956. path: 'edit/:id',
  2957. name: 'productInfoEdit',
  2958. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2959. meta: {
  2960. title: '编辑产品',
  2961. icon: 'file-text',
  2962. hidden: true,
  2963. permission: 'B_product_dealerProduct_edit'
  2964. }
  2965. }
  2966. ]
  2967. },
  2968. {
  2969. path: '/productManagement/productInfoJg',
  2970. redirect: '/productManagement/productInfoJg/list',
  2971. name: 'productInfoJg',
  2972. component: BlankLayout,
  2973. meta: {
  2974. title: '产品信息管理(箭冠)',
  2975. icon: 'file-text',
  2976. permission: 'M_productInfoList'
  2977. },
  2978. hideChildrenInMenu: true,
  2979. children: [
  2980. {
  2981. path: 'list',
  2982. name: 'productInfoJgList',
  2983. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfoJg/list.vue'),
  2984. meta: {
  2985. title: '产品信息列表(箭冠)',
  2986. icon: 'file-text',
  2987. hidden: true,
  2988. permission: 'M_productInfoList'
  2989. }
  2990. }
  2991. ]
  2992. },
  2993. {
  2994. path: '/productManagement/productOnlineInfo',
  2995. redirect: '/productManagement/productOnlineInfo/list',
  2996. name: 'productOnlineInfo',
  2997. component: BlankLayout,
  2998. meta: {
  2999. title: '产品上线信息',
  3000. icon: 'file-text',
  3001. permission: 'M_productOnlineInfoList'
  3002. },
  3003. hideChildrenInMenu: true,
  3004. children: [
  3005. {
  3006. path: 'list',
  3007. name: 'productOnlineInfoList',
  3008. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOnlineInfo/list.vue'),
  3009. meta: {
  3010. title: '产品上线信息列表',
  3011. icon: 'file-text',
  3012. hidden: true,
  3013. permission: 'M_productOnlineInfoList'
  3014. }
  3015. }
  3016. ]
  3017. },
  3018. {
  3019. path: '/productManagement/newProductList',
  3020. redirect: '/newProduct/list/:onlineFalg',
  3021. name: 'newProduct',
  3022. component: BlankLayout,
  3023. meta: {
  3024. title: '产品信息',
  3025. icon: 'sketch',
  3026. permission: 'M_newProductList'
  3027. },
  3028. hideChildrenInMenu: true,
  3029. children: [
  3030. // 新品列表-下线产品
  3031. {
  3032. path: '/newProduct/list/:onlineFalg',
  3033. name: 'newProductList',
  3034. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list'),
  3035. meta: {
  3036. title: '下线产品',
  3037. icon: 'file-text',
  3038. hidden: true
  3039. }
  3040. },
  3041. // 产品详情
  3042. {
  3043. path: '/viewProduct/:sn',
  3044. name: 'viewProduct',
  3045. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/detail'),
  3046. meta: {
  3047. title: '产品详情',
  3048. icon: 'file-text',
  3049. replaceTab: true,
  3050. hidden: true
  3051. }
  3052. }
  3053. ]
  3054. },
  3055. {
  3056. path: '/productManagement/productBrand',
  3057. redirect: '/productManagement/productBrand/list',
  3058. name: 'productBrand',
  3059. component: BlankLayout,
  3060. meta: {
  3061. title: '产品品牌管理',
  3062. icon: 'sketch',
  3063. permission: 'M_dealerProductBrandList'
  3064. },
  3065. hideChildrenInMenu: true,
  3066. children: [
  3067. {
  3068. path: 'list',
  3069. name: 'productBrandList',
  3070. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  3071. meta: {
  3072. title: '产品品牌列表',
  3073. icon: 'sketch',
  3074. hidden: true,
  3075. permission: 'M_dealerProductBrandList'
  3076. }
  3077. }
  3078. ]
  3079. },
  3080. {
  3081. path: '/productManagement/productCategory',
  3082. redirect: '/productManagement/productCategory/list',
  3083. name: 'productCategory',
  3084. component: BlankLayout,
  3085. meta: {
  3086. title: '产品分类管理',
  3087. icon: 'sliders',
  3088. permission: 'M_dealerProductTypeList'
  3089. },
  3090. hideChildrenInMenu: true,
  3091. children: [
  3092. {
  3093. path: 'list',
  3094. name: 'productCategoryList',
  3095. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  3096. meta: {
  3097. title: '产品分类列表',
  3098. icon: 'sliders',
  3099. hidden: true,
  3100. permission: 'M_dealerProductTypeList'
  3101. }
  3102. }
  3103. ]
  3104. },
  3105. {
  3106. path: '/productManagement/priceChangeRecord',
  3107. redirect: '/productManagement/priceChangeRecord/list',
  3108. name: 'priceChangeRecord',
  3109. component: BlankLayout,
  3110. meta: {
  3111. title: '价格变更记录',
  3112. icon: 'sketch',
  3113. permission: 'M_priceChangeRecordList'
  3114. },
  3115. hideChildrenInMenu: true,
  3116. children: [
  3117. {
  3118. path: 'list',
  3119. name: 'priceChangeRecordList',
  3120. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  3121. meta: {
  3122. title: '价格变更记录列表',
  3123. icon: 'sketch',
  3124. hidden: true,
  3125. permission: 'M_priceChangeRecordList'
  3126. }
  3127. }
  3128. ]
  3129. },
  3130. {
  3131. path: '/productManagement/productUniversal',
  3132. redirect: '/productManagement/productUniversal/list',
  3133. name: 'productUniversal',
  3134. component: BlankLayout,
  3135. meta: {
  3136. title: '通用产品',
  3137. icon: 'sketch',
  3138. permission: 'M_productUniversalList'
  3139. },
  3140. hideChildrenInMenu: true,
  3141. children: [
  3142. {
  3143. path: 'list',
  3144. name: 'productUniversalList',
  3145. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  3146. meta: {
  3147. title: '通用产品',
  3148. icon: 'sketch',
  3149. hidden: true,
  3150. permission: 'M_productUniversalList'
  3151. }
  3152. }
  3153. ]
  3154. }
  3155. ]
  3156. },
  3157. // 供应商管理
  3158. {
  3159. path: '/supplierManagement',
  3160. redirect: '/supplierManagement/supplierInfo',
  3161. component: PageView,
  3162. meta: {
  3163. title: '供应商管理',
  3164. icon: 'contacts',
  3165. permission: 'M_supplierInfoList'
  3166. },
  3167. children: [
  3168. {
  3169. path: '/supplierManagement/supplierInfo',
  3170. redirect: '/supplierManagement/supplierInfo/list',
  3171. name: 'supplierInfo',
  3172. component: BlankLayout,
  3173. meta: {
  3174. title: '供应商管理',
  3175. icon: 'contacts',
  3176. permission: 'M_supplierInfoList'
  3177. },
  3178. hideChildrenInMenu: true,
  3179. children: [
  3180. {
  3181. path: 'list',
  3182. name: 'supplierInfoList',
  3183. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  3184. meta: {
  3185. title: '供应商列表',
  3186. icon: 'contacts',
  3187. hidden: true,
  3188. permission: 'M_supplierInfoList'
  3189. }
  3190. }
  3191. ]
  3192. }
  3193. ]
  3194. },
  3195. // 促销管理
  3196. {
  3197. path: '/promotionManagement',
  3198. redirect: '/promotionManagement/promotionInfo',
  3199. component: PageView,
  3200. meta: {
  3201. title: '促销管理',
  3202. icon: 'contacts'
  3203. // permission: 'M_promotionInfoList'
  3204. },
  3205. children: [
  3206. {
  3207. path: '/promotionManagement/promotionInfo',
  3208. redirect: '/promotionManagement/promotionInfo/list',
  3209. name: 'promotionInfo',
  3210. component: BlankLayout,
  3211. meta: {
  3212. title: '促销活动',
  3213. icon: 'contacts'
  3214. // permission: 'M_promotionInfoList'
  3215. },
  3216. hideChildrenInMenu: true,
  3217. children: [
  3218. {
  3219. path: 'list',
  3220. name: 'promotionInfoList',
  3221. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/promotionManagement/promotionInfo/list.vue'),
  3222. meta: {
  3223. title: '促销活动列表',
  3224. icon: 'contacts',
  3225. hidden: true
  3226. // permission: 'M_promotionInfoList'
  3227. }
  3228. }
  3229. ]
  3230. }
  3231. ]
  3232. },
  3233. // 中心店/配送店管理
  3234. {
  3235. path: '/storeManagement',
  3236. redirect: '/storeManagement/bind',
  3237. component: PageView,
  3238. meta: {
  3239. title: '中心店/配送店管理',
  3240. icon: 'bank',
  3241. permission: 'M_storeManagement'
  3242. },
  3243. children: [
  3244. {
  3245. path: '/storeManagement/bind',
  3246. redirect: '/storeManagement/bind/list',
  3247. name: 'storeManagementBind',
  3248. component: BlankLayout,
  3249. meta: {
  3250. title: '中心店/配送店绑定',
  3251. icon: 'link',
  3252. permission: 'M_storeManagementBindList'
  3253. },
  3254. hideChildrenInMenu: true,
  3255. children: [
  3256. {
  3257. path: 'list',
  3258. name: 'storeManagementBindList',
  3259. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/bind/list.vue'),
  3260. meta: {
  3261. title: '中心店/配送店绑定列表',
  3262. icon: 'link',
  3263. hidden: true,
  3264. permission: 'M_storeManagementBindList'
  3265. }
  3266. }
  3267. ]
  3268. },
  3269. {
  3270. path: '/storeManagement/userAuthorization',
  3271. redirect: '/storeManagement/userAuthorization/list',
  3272. name: 'storeManagementUserAuth',
  3273. component: BlankLayout,
  3274. meta: {
  3275. title: '中心店用户授权',
  3276. icon: 'link',
  3277. permission: 'M_storeManagementUserAuthList'
  3278. },
  3279. hideChildrenInMenu: true,
  3280. children: [
  3281. {
  3282. path: 'list',
  3283. name: 'storeManagementUserAuthList',
  3284. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/userAuthorization/list.vue'),
  3285. meta: {
  3286. title: '中心店用户授权列表',
  3287. icon: 'link',
  3288. hidden: true,
  3289. permission: 'M_storeManagementUserAuthList'
  3290. }
  3291. }
  3292. ]
  3293. }
  3294. ]
  3295. },
  3296. // 基础设置
  3297. {
  3298. path: '/basicData',
  3299. redirect: '/basicData/storeTransferOutTypeManagement',
  3300. component: PageView,
  3301. meta: {
  3302. title: '基础设置',
  3303. icon: 'setting',
  3304. permission: 'M_basicData'
  3305. },
  3306. children: [
  3307. {
  3308. path: '/basicData/storeTransferOutTypeManagement',
  3309. redirect: '/basicData/storeTransferOutTypeManagement/list',
  3310. name: 'storeTransferOutTypeManagement',
  3311. component: BlankLayout,
  3312. meta: {
  3313. title: '店内调出类型管理',
  3314. icon: 'interaction',
  3315. permission: 'M_storeTransferOutTypeList'
  3316. },
  3317. hideChildrenInMenu: true,
  3318. children: [
  3319. {
  3320. path: 'list',
  3321. name: 'storeTransferOutTypeManagementList',
  3322. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/storeTransferOutTypeManagement/list.vue'),
  3323. meta: {
  3324. title: '店内调出类型管理列表',
  3325. icon: 'interaction',
  3326. hidden: true,
  3327. permission: 'M_storeTransferOutTypeList'
  3328. }
  3329. }
  3330. ]
  3331. },
  3332. {
  3333. path: '/basicData/bulkPartsTypeManagement',
  3334. redirect: '/basicData/bulkPartsTypeManagement/list',
  3335. name: 'bulkPartsTypeManagement',
  3336. component: BlankLayout,
  3337. meta: {
  3338. title: '散件入库类型管理',
  3339. icon: 'gold',
  3340. permission: 'M_bulkPartsTypeList'
  3341. },
  3342. hideChildrenInMenu: true,
  3343. children: [
  3344. {
  3345. path: 'list',
  3346. name: 'bulkPartsTypeManagementList',
  3347. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/bulkPartsTypeManagement/list.vue'),
  3348. meta: {
  3349. title: '散件入库类型列表',
  3350. icon: 'gold',
  3351. hidden: true,
  3352. permission: 'M_bulkPartsTypeList'
  3353. }
  3354. }
  3355. ]
  3356. },
  3357. {
  3358. path: '/basicData/expenseType',
  3359. redirect: '/basicData/expenseType/list',
  3360. name: 'expenseType',
  3361. component: BlankLayout,
  3362. meta: {
  3363. title: '费用类型管理',
  3364. icon: 'pay-circle',
  3365. permission: 'M_expenseTypeList'
  3366. },
  3367. hideChildrenInMenu: true,
  3368. children: [
  3369. {
  3370. path: 'list',
  3371. name: 'expenseTypeList',
  3372. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/expenseType/list.vue'),
  3373. meta: {
  3374. title: '费用类型列表',
  3375. icon: 'pay-circle',
  3376. hidden: true,
  3377. permission: 'M_expenseTypeList'
  3378. }
  3379. }
  3380. ]
  3381. },
  3382. // {
  3383. // path: '/basicData/processSettings',
  3384. // redirect: '/basicData/processSettings/setup',
  3385. // name: 'processSettings',
  3386. // component: BlankLayout,
  3387. // meta: {
  3388. // title: '业务自动化设置',
  3389. // icon: 'sliders'
  3390. // // permission: 'M_goodsManage_list'
  3391. // },
  3392. // hideChildrenInMenu: true,
  3393. // children: [
  3394. // {
  3395. // path: 'setup',
  3396. // name: 'processSettingsSetup',
  3397. // component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/processSettings/setup.vue'),
  3398. // meta: {
  3399. // title: '业务自动化设置',
  3400. // icon: 'sliders',
  3401. // hidden: true
  3402. // // permission: 'M_goodsManage_list'
  3403. // }
  3404. // }
  3405. // ]
  3406. // },
  3407. {
  3408. path: '/basicData/customerTypeManagement',
  3409. redirect: '/basicData/customerTypeManagement/list',
  3410. name: 'customerTypeManagement',
  3411. component: BlankLayout,
  3412. meta: {
  3413. title: '客户类型管理',
  3414. icon: 'idcard',
  3415. permission: 'M_customerTypeList'
  3416. },
  3417. hideChildrenInMenu: true,
  3418. children: [
  3419. {
  3420. path: 'list',
  3421. name: 'customerTypeManagementList',
  3422. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/customerTypeManagement/list.vue'),
  3423. meta: {
  3424. title: '客户类型列表',
  3425. icon: 'idcard',
  3426. hidden: true,
  3427. permission: 'M_customerTypeList'
  3428. }
  3429. }
  3430. ]
  3431. },
  3432. {
  3433. path: '/basicData/notificationManage',
  3434. redirect: '/basicData/notificationManage/list',
  3435. name: 'notificationManage',
  3436. component: BlankLayout,
  3437. meta: {
  3438. title: '消息提醒管理',
  3439. icon: 'sound',
  3440. permission: 'M_notificationManageList'
  3441. },
  3442. hideChildrenInMenu: true,
  3443. children: [
  3444. {
  3445. path: 'list',
  3446. name: 'notificationManageList',
  3447. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/notificationManage/list.vue'),
  3448. meta: {
  3449. title: '消息提醒管理',
  3450. icon: 'sound',
  3451. hidden: true,
  3452. permission: 'M_notificationManageList'
  3453. }
  3454. }
  3455. ]
  3456. },
  3457. {
  3458. path: '/basicData/systemSettings',
  3459. redirect: '/basicData/systemSettings/index',
  3460. name: 'systemSettings',
  3461. component: BlankLayout,
  3462. meta: {
  3463. title: '系统参数',
  3464. icon: 'sound',
  3465. permission: 'M_systemSettingsList'
  3466. },
  3467. hideChildrenInMenu: true,
  3468. children: [
  3469. {
  3470. path: 'index',
  3471. name: 'systemSettingsList',
  3472. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/systemSettings/index.vue'),
  3473. meta: {
  3474. title: '系统参数',
  3475. icon: 'sound',
  3476. hidden: true,
  3477. permission: 'M_systemSettingsList'
  3478. }
  3479. }
  3480. ]
  3481. }
  3482. ]
  3483. },
  3484. // auth
  3485. {
  3486. path: '/auth',
  3487. redirect: '/auth/userList',
  3488. component: PageView,
  3489. meta: {
  3490. title: '权限管理',
  3491. icon: 'key',
  3492. permission: 'M_powerMD_0'
  3493. },
  3494. children: [
  3495. {
  3496. path: '/auth/userList',
  3497. name: 'powerUser',
  3498. redirect: '/auth/userList/list',
  3499. component: BlankLayout,
  3500. meta: {
  3501. title: '用户管理',
  3502. icon: 'user',
  3503. permission: 'M_powerMD_user_list'
  3504. },
  3505. hideChildrenInMenu: true,
  3506. children: [
  3507. {
  3508. path: 'list',
  3509. name: 'powerUserList',
  3510. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3511. meta: {
  3512. title: '用户管理',
  3513. icon: 'user',
  3514. permission: 'M_powerMD_user_list'
  3515. }
  3516. }
  3517. ]
  3518. },
  3519. {
  3520. path: '/auth/roleList',
  3521. name: 'powerRole',
  3522. redirect: '/auth/roleList/list',
  3523. component: BlankLayout,
  3524. meta: {
  3525. title: '角色管理',
  3526. icon: 'solution',
  3527. permission: 'M_powerMD_role_list'
  3528. },
  3529. hideChildrenInMenu: true,
  3530. children: [
  3531. {
  3532. path: 'list',
  3533. name: 'powerRoleList',
  3534. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3535. meta: {
  3536. title: '角色管理',
  3537. icon: 'solution',
  3538. permission: 'M_powerMD_role_list'
  3539. }
  3540. }
  3541. ]
  3542. }
  3543. ]
  3544. }
  3545. ]
  3546. },
  3547. {
  3548. path: '*',
  3549. redirect: '/404',
  3550. hidden: true
  3551. }
  3552. ]
  3553. /**
  3554. * 基础路由
  3555. * @type { *[] }
  3556. */
  3557. export const constantRouterMap = [
  3558. {
  3559. path: '/user',
  3560. component: UserLayout,
  3561. redirect: '/user/login',
  3562. hidden: true,
  3563. children: [
  3564. {
  3565. path: 'login',
  3566. name: 'login',
  3567. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3568. },
  3569. {
  3570. path: 'register',
  3571. name: 'register',
  3572. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3573. },
  3574. {
  3575. path: 'register-result',
  3576. name: 'registerResult',
  3577. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3578. },
  3579. {
  3580. path: 'recover',
  3581. name: 'recover',
  3582. component: undefined
  3583. }
  3584. ]
  3585. },
  3586. {
  3587. path: '/updateBrowser',
  3588. name: 'updateBrowser',
  3589. component: () => import(/* webpackChunkName: "user" */ '@/views/exception/updateBrowser')
  3590. },
  3591. {
  3592. path: '/404',
  3593. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3594. }
  3595. ]