router.config.js 113 KB

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