router.config.js 123 KB

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