router.config.js 104 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931
  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: {
  15. title: '首页'
  16. },
  17. redirect: '/home',
  18. children: [
  19. {
  20. path: '/home',
  21. name: 'home',
  22. redirect: '/home',
  23. component: PageView,
  24. meta: {
  25. title: '首页',
  26. icon: 'home'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: '/home',
  32. name: 'home',
  33. redirect: '/home',
  34. component: BlankLayout,
  35. meta: {
  36. title: '首页',
  37. icon: 'home',
  38. hidden: true
  39. },
  40. hideChildrenInMenu: true,
  41. children: [
  42. {
  43. path: '/home',
  44. name: 'home',
  45. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  46. meta: {
  47. title: '首页',
  48. icon: 'home',
  49. hidden: true
  50. }
  51. },
  52. {
  53. path: '/changePwd',
  54. name: 'changePwd',
  55. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  56. meta: {
  57. title: '修改密码',
  58. icon: 'home'
  59. },
  60. hidden: true
  61. },
  62. {
  63. path: '/notice',
  64. name: 'notice',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
  66. meta: {
  67. title: '公告',
  68. icon: 'bell'
  69. },
  70. hidden: true
  71. },
  72. {
  73. path: '/dowloadFile',
  74. name: 'dowloadFile',
  75. component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
  76. meta: {
  77. title: '下载中心',
  78. icon: 'bell'
  79. },
  80. hidden: true
  81. },
  82. // 新品列表
  83. {
  84. path: '/newProduct/list/:onlineFalg',
  85. name: 'newProductList',
  86. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  87. meta: {
  88. title: '新品信息',
  89. icon: 'home'
  90. },
  91. hidden: true
  92. },
  93. // 产品详情
  94. {
  95. path: '/viewProduct/:sn',
  96. name: 'viewProduct',
  97. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  98. meta: {
  99. title: '产品详情',
  100. icon: 'home'
  101. },
  102. hidden: true
  103. },
  104. ]
  105. }
  106. ]
  107. },
  108. // 销售管理
  109. {
  110. path: '/salesManagement',
  111. redirect: '/salesManagement/salesQuery',
  112. component: PageView,
  113. meta: {
  114. title: '销售管理',
  115. icon: 'account-book',
  116. permission: 'M_salesManagement'
  117. },
  118. children: [
  119. {
  120. path: '/salesManagement/salesQuery',
  121. redirect: '/salesManagement/salesQuery/list',
  122. name: 'salesQuery',
  123. component: BlankLayout,
  124. meta: {
  125. title: '销售单查询',
  126. icon: 'monitor',
  127. permission: 'M_salesQueryList'
  128. },
  129. hideChildrenInMenu: true,
  130. children: [
  131. {
  132. path: 'list',
  133. name: 'salesQueryList',
  134. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  135. meta: {
  136. title: '销售单列表',
  137. icon: 'monitor',
  138. hidden: true,
  139. permission: 'M_salesQueryList'
  140. }
  141. },
  142. {
  143. path: 'detail/:sn',
  144. name: 'salesDetail',
  145. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  146. meta: {
  147. title: '销售单详情',
  148. icon: 'monitor',
  149. hidden: true,
  150. replaceTab: true,
  151. // permission: 'M_salesDetail'
  152. }
  153. },
  154. {
  155. path: 'add/:sn',
  156. name: 'salesAdd',
  157. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  158. meta: {
  159. title: '新增销售单',
  160. icon: 'monitor',
  161. hidden: true
  162. // permission: 'M_salesNew'
  163. }
  164. },
  165. {
  166. path: 'edit/:sn',
  167. name: 'salesEdit',
  168. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  169. meta: {
  170. title: '编辑销售单',
  171. icon: 'monitor',
  172. hidden: true
  173. // permission: 'M_salesNew'
  174. }
  175. },
  176. {
  177. path: 'waitDispatch/:salesBillSn/:dispatchBillSn',
  178. name: 'waitDispatch',
  179. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatch/edit.vue'),
  180. meta: {
  181. title: '下推销售单',
  182. icon: 'monitor',
  183. replaceTab: true,
  184. hidden: true
  185. // permission: 'M_salesNew'
  186. }
  187. }
  188. ]
  189. },
  190. {
  191. path: '/salesManagement/pushOrderManagement',
  192. redirect: '/salesManagement/pushOrderManagement/list',
  193. name: 'pushOrderManagement',
  194. component: BlankLayout,
  195. meta: {
  196. title: '下推订单列表',
  197. icon: 'vertical-align-bottom',
  198. permission: 'M_pushOrderManagementList'
  199. },
  200. hideChildrenInMenu: true,
  201. children: [
  202. {
  203. path: 'list',
  204. name: 'pushOrderManagementList',
  205. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
  206. meta: {
  207. title: '下推订单列表',
  208. icon: 'vertical-align-bottom',
  209. hidden: true,
  210. permission: 'M_pushOrderManagementList'
  211. }
  212. },
  213. {
  214. path: 'detail/:sn/:type',
  215. name: 'pushOrderDetail',
  216. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
  217. meta: {
  218. title: '下推订单详情',
  219. icon: 'vertical-align-bottom',
  220. hidden: true
  221. // permission: 'M_outboundList'
  222. }
  223. }
  224. ]
  225. },
  226. {
  227. path: '/salesManagement/salesCollection',
  228. redirect: '/salesManagement/salesCollection/list',
  229. name: 'salesCollection',
  230. component: BlankLayout,
  231. meta: {
  232. title: '销售收款',
  233. icon: 'vertical-align-bottom',
  234. // permission: 'M_salesCollectionList'
  235. },
  236. hideChildrenInMenu: true,
  237. children: [
  238. {
  239. path: 'list',
  240. name: 'salesCollectionList',
  241. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesCollection/list.vue'),
  242. meta: {
  243. title: '销售收款',
  244. icon: 'vertical-align-bottom',
  245. hidden: true,
  246. // permission: 'M_salesCollectionList'
  247. }
  248. },
  249. ]
  250. },
  251. {
  252. path: '/salesManagement/stockPrint',
  253. redirect: '/salesManagement/stockPrint/list',
  254. name: 'stockPrint',
  255. component: BlankLayout,
  256. meta: {
  257. title: '备货打印',
  258. icon: 'vertical-align-bottom',
  259. // permission: 'M_stockPrintList'
  260. },
  261. hideChildrenInMenu: true,
  262. children: [
  263. {
  264. path: 'list',
  265. name: 'stockPrintList',
  266. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/stockPrint/list.vue'),
  267. meta: {
  268. title: '备货打印',
  269. icon: 'vertical-align-bottom',
  270. hidden: true,
  271. // permission: 'M_stockPrintList'
  272. }
  273. },
  274. ]
  275. },
  276. {
  277. path: '/salesManagement/receiptPrint',
  278. redirect: '/salesManagement/receiptPrint/list',
  279. name: 'receiptPrint',
  280. component: BlankLayout,
  281. meta: {
  282. title: '收款打印',
  283. icon: 'vertical-align-bottom',
  284. // permission: 'M_receiptPrintList'
  285. },
  286. hideChildrenInMenu: true,
  287. children: [
  288. {
  289. path: 'list',
  290. name: 'receiptPrintList',
  291. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/receiptPrint/list.vue'),
  292. meta: {
  293. title: '收款打印',
  294. icon: 'vertical-align-bottom',
  295. hidden: true,
  296. // permission: 'M_receiptPrintList'
  297. }
  298. },
  299. ]
  300. },
  301. {
  302. path: '/salesManagement/matchSendOutOrder',
  303. redirect: '/salesManagement/matchSendOutOrder/list',
  304. name: 'matchSendOutOrder',
  305. component: BlankLayout,
  306. meta: {
  307. title: '销售发货对单',
  308. icon: 'vertical-align-bottom',
  309. // permission: 'M_matchSendOutOrderList'
  310. },
  311. hideChildrenInMenu: true,
  312. children: [
  313. {
  314. path: 'list',
  315. name: 'matchSendOutOrderList',
  316. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/matchSendOutOrder/list.vue'),
  317. meta: {
  318. title: '销售发货对单',
  319. icon: 'vertical-align-bottom',
  320. hidden: true,
  321. // permission: 'M_matchSendOutOrderList'
  322. }
  323. },
  324. ]
  325. },
  326. {
  327. path: '/salesManagement/examineVerify',
  328. redirect: '/salesManagement/examineVerify/list',
  329. name: 'examineVerify',
  330. component: BlankLayout,
  331. meta: {
  332. title: '备货审核',
  333. icon: 'audit',
  334. permission: 'M_examineVerifyList'
  335. },
  336. hideChildrenInMenu: true,
  337. children: [
  338. {
  339. path: 'list',
  340. name: 'examineVerifyList',
  341. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
  342. meta: {
  343. title: '备货审核列表',
  344. icon: 'audit',
  345. hidden: true,
  346. permission: 'M_examineVerifyList'
  347. }
  348. }
  349. ]
  350. },
  351. {
  352. path: '/salesManagement/outboundOrder',
  353. redirect: '/salesManagement/outboundOrder/list',
  354. name: 'outboundOrder',
  355. component: BlankLayout,
  356. meta: {
  357. title: '出库',
  358. icon: 'export',
  359. permission: 'M_outboundOrderList'
  360. },
  361. hideChildrenInMenu: true,
  362. children: [
  363. {
  364. path: 'list',
  365. name: 'outboundOrderList',
  366. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
  367. meta: {
  368. title: '出库列表',
  369. icon: 'export',
  370. hidden: true,
  371. permission: 'M_outboundOrderList'
  372. }
  373. }
  374. ]
  375. },
  376. {
  377. path: '/salesManagement/sendOutOrder',
  378. redirect: '/salesManagement/sendOutOrder/list',
  379. name: 'sendOutOrder',
  380. component: BlankLayout,
  381. meta: {
  382. title: '发货单列表',
  383. icon: 'export',
  384. // permission: 'M_sendOutOrderList'
  385. },
  386. hideChildrenInMenu: true,
  387. children: [
  388. {
  389. path: 'list',
  390. name: 'sendOutOrderList',
  391. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/sendOutOrder/list.vue'),
  392. meta: {
  393. title: '发货单列表',
  394. icon: 'export',
  395. hidden: true,
  396. // permission: 'M_osendOutOrderList'
  397. }
  398. }
  399. ]
  400. },
  401. {
  402. path: '/salesManagement/salesReturn',
  403. redirect: '/salesManagement/salesReturn/list',
  404. name: 'salesReturn',
  405. component: BlankLayout,
  406. meta: {
  407. title: '销售退货列表',
  408. icon: 'fund',
  409. permission: 'M_salesReturnList'
  410. },
  411. hideChildrenInMenu: true,
  412. children: [
  413. {
  414. path: 'list',
  415. name: 'salesReturnList',
  416. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  417. meta: {
  418. title: '销售退货列表',
  419. icon: 'fund',
  420. hidden: true,
  421. permission: 'M_salesReturnList'
  422. }
  423. },
  424. {
  425. path: 'detail/:sn',
  426. name: 'salesReturnDetail',
  427. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  428. meta: {
  429. title: '销售退货详情',
  430. icon: 'fund',
  431. hidden: true
  432. // permission: 'M_salesReturn'
  433. }
  434. },
  435. {
  436. path: 'salesReturnGrabEdit/:sn/:buyerSn',
  437. name: 'salesReturnGrabEdit',
  438. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  439. meta: {
  440. title: '编辑销售退货(抓单)',
  441. icon: 'fund',
  442. hidden: true
  443. // permission: 'M_salesReturnGrabEdit'
  444. }
  445. },
  446. {
  447. path: 'salesReturnEdit/:sn/:buyerSn',
  448. name: 'salesReturnEdit',
  449. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  450. meta: {
  451. title: '编辑销售退货(不抓单)',
  452. icon: 'fund',
  453. hidden: true
  454. // permission: 'M_salesReturnEdit'
  455. }
  456. },
  457. {
  458. path: 'check/:sn',
  459. name: 'salesReturnCheck',
  460. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnCheck.vue'),
  461. meta: {
  462. title: '销售退货品检',
  463. icon: 'fund',
  464. replaceTab: true,
  465. hidden: true
  466. // permission: 'M_salesReturnCheck'
  467. }
  468. }
  469. ]
  470. },
  471. {
  472. path: '/salesManagement/backorder',
  473. redirect: '/salesManagement/backorder/list',
  474. name: 'backorder',
  475. component: BlankLayout,
  476. meta: {
  477. title: '销售缺货列表',
  478. icon: 'exception',
  479. permission: 'M_backorderList'
  480. },
  481. hideChildrenInMenu: true,
  482. children: [
  483. {
  484. path: 'list',
  485. name: 'backorderList',
  486. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
  487. meta: {
  488. title: '销售缺货列表',
  489. icon: 'exception',
  490. hidden: true,
  491. permission: 'M_backorderList'
  492. }
  493. }
  494. ]
  495. },
  496. {
  497. path: '/salesManagement/shortageStatisticsC',
  498. redirect: '/salesManagement/shortageStatisticsC/list',
  499. name: 'shortageStatisticsC',
  500. component: BlankLayout,
  501. meta: {
  502. title: '缺货统计(按客户)',
  503. icon: 'file-done',
  504. permission: 'M_shortageStatisticsCList'
  505. },
  506. hideChildrenInMenu: true,
  507. children: [
  508. {
  509. path: 'list',
  510. name: 'shortageStatisticsCList',
  511. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
  512. meta: {
  513. title: '缺货统计列表',
  514. icon: 'file-done',
  515. hidden: true,
  516. permission: 'M_shortageStatisticsCList'
  517. }
  518. }
  519. ]
  520. },
  521. {
  522. path: '/salesManagement/shortageStatisticsP',
  523. redirect: '/salesManagement/shortageStatisticsP/list',
  524. name: 'shortageStatisticsP',
  525. component: BlankLayout,
  526. meta: {
  527. title: '缺货统计(按产品)',
  528. icon: 'file-protect',
  529. permission: 'M_shortageStatisticsPList'
  530. },
  531. hideChildrenInMenu: true,
  532. children: [
  533. {
  534. path: 'list',
  535. name: 'shortageStatisticsPList',
  536. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
  537. meta: {
  538. title: '缺货统计列表',
  539. icon: 'file-protect',
  540. hidden: true,
  541. permission: 'M_shortageStatisticsPList'
  542. }
  543. }
  544. ]
  545. },
  546. {
  547. path: '/salesManagement/priceInquiry',
  548. redirect: '/salesManagement/priceInquiry/list',
  549. name: 'priceInquiry',
  550. component: BlankLayout,
  551. meta: {
  552. title: '价格查询',
  553. icon: 'file-protect',
  554. permission: 'M_priceInquiryList'
  555. },
  556. hideChildrenInMenu: true,
  557. children: [
  558. {
  559. path: 'list',
  560. name: 'priceInquiryList',
  561. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
  562. meta: {
  563. title: '价格查询列表',
  564. icon: 'file-protect',
  565. hidden: true,
  566. permission: 'M_priceInquiryList'
  567. }
  568. }
  569. ]
  570. }
  571. ]
  572. },
  573. // 采购管理
  574. {
  575. path: '/purchasingManagement',
  576. redirect: '/purchasingManagement/purchaseOrder',
  577. component: PageView,
  578. meta: {
  579. title: '采购管理',
  580. icon: 'money-collect',
  581. permission: 'M_purchasingManagement'
  582. },
  583. children: [
  584. {
  585. path: '/purchasingManagement/bulkWarehousingOrder',
  586. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  587. name: 'bulkWarehousingOrder',
  588. component: BlankLayout,
  589. meta: {
  590. title: '散件入库',
  591. icon: 'gold',
  592. permission: 'M_bulkWarehousingOrderList'
  593. },
  594. hideChildrenInMenu: true,
  595. children: [
  596. {
  597. path: 'list',
  598. name: 'bulkWarehousingOrderList',
  599. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  600. meta: {
  601. title: '散件入库单列表',
  602. icon: 'gold',
  603. hidden: true,
  604. permission: 'M_bulkWarehousingOrderList'
  605. }
  606. },
  607. {
  608. path: 'add/:id/:sn',
  609. name: 'bulkWarehousingOrderAdd',
  610. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  611. meta: {
  612. title: '新增散件入库单',
  613. icon: 'gold',
  614. hidden: true
  615. }
  616. },
  617. {
  618. path: 'edit/:id/:sn',
  619. name: 'bulkWarehousingOrderEdit',
  620. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  621. meta: {
  622. title: '编辑散件入库单',
  623. icon: 'gold',
  624. hidden: true
  625. }
  626. }
  627. ]
  628. }
  629. ]
  630. },
  631. // 财务管理
  632. {
  633. path: '/financialManagement',
  634. redirect: '/financialManagement/returnConfirmation',
  635. component: PageView,
  636. meta: {
  637. title: '财务管理',
  638. icon: 'property-safety',
  639. permission: 'M_financialManagement'
  640. },
  641. children: [
  642. {
  643. path: '/financialManagement/warehousingConfirmation',
  644. redirect: '/financialManagement/warehousingConfirmation/list',
  645. name: 'warehousingConfirmation',
  646. component: BlankLayout,
  647. meta: {
  648. title: '入库确认',
  649. icon: 'vertical-align-bottom',
  650. permission: 'M_warehousingConfirmationList'
  651. },
  652. hideChildrenInMenu: true,
  653. children: [
  654. {
  655. path: 'list',
  656. name: 'warehousingConfirmationList',
  657. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  658. meta: {
  659. title: '入库确认列表',
  660. icon: 'vertical-align-bottom',
  661. hidden: true,
  662. permission: 'M_warehousingConfirmationList'
  663. }
  664. }
  665. ]
  666. },
  667. {
  668. path: '/financialManagement/returnConfirmation',
  669. redirect: '/financialManagement/returnConfirmation/list',
  670. name: 'returnConfirmation',
  671. component: BlankLayout,
  672. meta: {
  673. title: '销售退货确认',
  674. icon: 'vertical-align-top',
  675. permission: 'M_returnConfirmationList'
  676. },
  677. hideChildrenInMenu: true,
  678. children: [
  679. {
  680. path: 'list',
  681. name: 'returnConfirmationList',
  682. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/returnConfirmation/list.vue'),
  683. meta: {
  684. title: '销售退货确认列表',
  685. icon: 'vertical-align-top',
  686. hidden: true,
  687. permission: 'M_returnConfirmationList'
  688. }
  689. }
  690. ]
  691. },
  692. {
  693. path: '/financialManagement/allocateReturnConfirmation',
  694. redirect: '/financialManagement/allocateReturnConfirmation/list',
  695. name: 'allocateReturnConfirmation',
  696. component: BlankLayout,
  697. meta: {
  698. title: '调拨退货确认',
  699. icon: 'vertical-align-top',
  700. permission: 'M_allocateReturnConfirmationList'
  701. },
  702. hideChildrenInMenu: true,
  703. children: [
  704. {
  705. path: 'list',
  706. name: 'allocateReturnConfirmationList',
  707. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/allocateReturnConfirmation/list.vue'),
  708. meta: {
  709. title: '调拨退货确认列表',
  710. icon: 'vertical-align-top',
  711. hidden: true,
  712. permission: 'M_allocateReturnConfirmationList'
  713. }
  714. }
  715. ]
  716. },
  717. {
  718. path: '/financialManagement/inventoryConfirmation',
  719. redirect: '/financialManagement/inventoryConfirmation/list',
  720. name: 'inventoryConfirmation',
  721. component: BlankLayout,
  722. meta: {
  723. title: '盘点确认',
  724. icon: 'monitor',
  725. permission: 'M_inventoryConfirmationList'
  726. },
  727. hideChildrenInMenu: true,
  728. children: [
  729. {
  730. path: 'list',
  731. name: 'inventoryConfirmationList',
  732. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/list.vue'),
  733. meta: {
  734. title: '盘点确认列表',
  735. icon: 'monitor',
  736. hidden: true,
  737. permission: 'M_inventoryConfirmationList'
  738. }
  739. },
  740. {
  741. path: 'detail/:sn',
  742. name: 'inventoryConfirmationDetail',
  743. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/detail.vue'),
  744. meta: {
  745. title: '盘点确认详情',
  746. icon: 'monitor',
  747. hidden: true,
  748. permission: 'B_inventoryConfirmationDetail'
  749. }
  750. }
  751. ]
  752. },
  753. {
  754. path: '/financialManagement/financialCollection',
  755. redirect: '/financialManagement/financialCollection/list',
  756. name: 'financialCollection',
  757. component: BlankLayout,
  758. meta: {
  759. title: '财务收款',
  760. icon: 'pay-circle',
  761. permission: 'M_financialCollectionList'
  762. },
  763. hideChildrenInMenu: true,
  764. children: [
  765. {
  766. path: 'list',
  767. name: 'financialCollectionList',
  768. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  769. meta: {
  770. title: '财务收款列表',
  771. icon: 'pay-circle',
  772. hidden: true,
  773. permission: 'M_financialCollectionList'
  774. }
  775. },
  776. {
  777. path: 'add',
  778. name: 'financialCollectionAdd',
  779. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  780. meta: {
  781. title: '新增财务收款',
  782. icon: 'monitor',
  783. hidden: true
  784. }
  785. },
  786. {
  787. path: 'edit/:sn',
  788. name: 'financialCollectionEdit',
  789. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  790. meta: {
  791. title: '编辑财务收款',
  792. icon: 'monitor',
  793. hidden: true
  794. }
  795. }
  796. ]
  797. }
  798. ]
  799. },
  800. // 费用报销
  801. {
  802. path: '/expenseManagement',
  803. redirect: '/expenseManagement/expenseReimbursement',
  804. component: PageView,
  805. meta: {
  806. title: '费用报销',
  807. icon: 'account-book',
  808. permission: 'M_expenseManagement'
  809. },
  810. children: [
  811. {
  812. path: '/expenseManagement/expenseReimbursement',
  813. redirect: '/expenseManagement/expenseReimbursement/list',
  814. name: 'expenseReimbursement',
  815. component: BlankLayout,
  816. meta: {
  817. title: '费用报销单',
  818. icon: 'monitor',
  819. permission: 'M_expenseReimbursementList'
  820. },
  821. hideChildrenInMenu: true,
  822. children: [
  823. {
  824. path: 'list',
  825. name: 'expenseReimbursementList',
  826. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  827. meta: {
  828. title: '费用报销单列表',
  829. icon: 'monitor',
  830. hidden: true,
  831. permission: 'M_expenseReimbursementList'
  832. }
  833. },
  834. {
  835. path: 'detail/:sn',
  836. name: 'expenseReimbursementListDetail',
  837. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  838. meta: {
  839. title: '费用报销单详情',
  840. icon: 'monitor',
  841. hidden: true
  842. }
  843. },
  844. {
  845. path: 'add',
  846. name: 'expenseReimbursementAdd',
  847. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  848. meta: {
  849. title: '新增费用报销单',
  850. icon: 'monitor',
  851. hidden: true
  852. }
  853. },
  854. {
  855. path: 'edit/:sn',
  856. name: 'expenseReimbursementEdit',
  857. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  858. meta: {
  859. title: '编辑费用报销单',
  860. icon: 'monitor',
  861. hidden: true
  862. }
  863. }
  864. ]
  865. },
  866. {
  867. path: '/expenseManagement/expenseReimbursementDetail',
  868. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  869. name: 'expenseReimbursementDetail',
  870. component: BlankLayout,
  871. meta: {
  872. title: '费用报销明细统计',
  873. icon: 'audit',
  874. permission: 'M_expenseReimbursementDetailList'
  875. },
  876. hideChildrenInMenu: true,
  877. children: [
  878. {
  879. path: 'list',
  880. name: 'expenseReimbursementDetailList',
  881. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  882. meta: {
  883. title: '费用报销明细统计列表',
  884. icon: 'audit',
  885. hidden: true,
  886. permission: 'M_expenseReimbursementDetailList'
  887. }
  888. }
  889. ]
  890. }
  891. ]
  892. },
  893. // 库存管理
  894. {
  895. path: '/inventoryManagement',
  896. redirect: '/inventoryManagement/inventoryQuery',
  897. component: PageView,
  898. meta: {
  899. title: '库存管理',
  900. icon: 'shop',
  901. permission: 'M_inventoryManagement'
  902. },
  903. children: [
  904. {
  905. path: '/inventoryManagement/inventoryQuery',
  906. redirect: '/inventoryManagement/inventoryQuery/list',
  907. name: 'inventoryQuery',
  908. component: BlankLayout,
  909. meta: {
  910. title: '库存查询',
  911. icon: 'monitor',
  912. permission: 'M_inventoryQueryList'
  913. },
  914. hideChildrenInMenu: true,
  915. children: [
  916. {
  917. path: 'list',
  918. name: 'inventoryQueryList',
  919. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  920. meta: {
  921. title: '库存列表',
  922. icon: 'monitor',
  923. hidden: true,
  924. permission: 'M_inventoryQueryList'
  925. }
  926. },
  927. {
  928. path: 'warehouseDetail/:sn',
  929. name: 'inventoryQueryWarehouseDetail',
  930. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  931. meta: {
  932. title: '出入库明细',
  933. icon: 'monitor',
  934. replaceTab: true,
  935. hidden: true
  936. // permission: 'B_goodsManage_edit'
  937. }
  938. }
  939. ]
  940. },
  941. {
  942. path: '/inventoryManagement/inventoryCheck',
  943. redirect: '/inventoryManagement/inventoryCheck/list/0',
  944. name: 'inventoryCheck',
  945. component: BlankLayout,
  946. meta: {
  947. title: '库存盘点',
  948. icon: 'monitor',
  949. permission: 'M_inventoryCheckList'
  950. },
  951. hideChildrenInMenu: true,
  952. children: [
  953. {
  954. path: 'list/:type',
  955. name: 'inventoryCheckList',
  956. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  957. meta: {
  958. title: '库存盘点列表',
  959. icon: 'monitor',
  960. hidden: true,
  961. permission: 'M_inventoryCheckList'
  962. }
  963. },
  964. {
  965. path: 'detail/:sn',
  966. name: 'inventoryCheckDetail',
  967. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  968. meta: {
  969. title: '库存盘点详情',
  970. icon: 'monitor',
  971. hidden: true,
  972. replaceTab: true,
  973. permission: 'B_inventoryCheckDetail'
  974. }
  975. }
  976. ]
  977. },
  978. {
  979. path: '/inventoryManagement/makeInventory',
  980. redirect: '/inventoryManagement/makeInventory/list',
  981. name: 'makeInventory',
  982. component: BlankLayout,
  983. meta: {
  984. title: '盘点人盘点',
  985. icon: 'monitor',
  986. permission: 'M_inventoryMakeInventoryList'
  987. },
  988. hideChildrenInMenu: true,
  989. children: [
  990. {
  991. path: 'list',
  992. name: 'makeInventoryList',
  993. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  994. meta: {
  995. title: '盘点人盘点列表',
  996. icon: 'monitor',
  997. hidden: true,
  998. permission: 'M_inventoryMakeInventoryList'
  999. }
  1000. },
  1001. {
  1002. path: 'check/:sn',
  1003. name: 'makeInventoryCheck',
  1004. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1005. meta: {
  1006. title: '盘点人盘点',
  1007. icon: 'monitor',
  1008. hidden: true,
  1009. replaceTab: true,
  1010. permission: 'B_inventoryMakeInventoryCheck'
  1011. }
  1012. }
  1013. ]
  1014. },
  1015. {
  1016. path: '/inventoryManagement/supervisionDisk',
  1017. redirect: '/inventoryManagement/supervisionDisk/list',
  1018. name: 'supervisionDisk',
  1019. component: BlankLayout,
  1020. meta: {
  1021. title: '监盘人盘点',
  1022. icon: 'monitor',
  1023. permission: 'M_supervisionDiskList'
  1024. },
  1025. hideChildrenInMenu: true,
  1026. children: [
  1027. {
  1028. path: 'list',
  1029. name: 'supervisionDiskList',
  1030. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1031. meta: {
  1032. title: '监盘人盘点列表',
  1033. icon: 'monitor',
  1034. hidden: true,
  1035. permission: 'M_supervisionDiskList'
  1036. }
  1037. },
  1038. {
  1039. path: 'check/:sn',
  1040. name: 'supervisionDiskCheck',
  1041. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1042. meta: {
  1043. title: '监盘人监盘',
  1044. icon: 'monitor',
  1045. replaceTab: true,
  1046. hidden: true,
  1047. permission: 'B_supervisionDiskCheck'
  1048. }
  1049. }
  1050. ]
  1051. },
  1052. {
  1053. path: '/inventoryManagement/inventoryWarning',
  1054. redirect: '/inventoryManagement/inventoryWarning/list',
  1055. name: 'inventoryWarning',
  1056. component: BlankLayout,
  1057. meta: {
  1058. title: '库存预警',
  1059. icon: 'monitor',
  1060. permission: 'M_inventoryWarningList'
  1061. },
  1062. hideChildrenInMenu: true,
  1063. children: [
  1064. {
  1065. path: 'list',
  1066. name: 'inventoryWarningList',
  1067. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1068. meta: {
  1069. title: '库存预警列表',
  1070. icon: 'alert',
  1071. permission: 'M_inventoryWarningList'
  1072. }
  1073. },
  1074. ]
  1075. },
  1076. {
  1077. path: '/inventoryManagement/intelligentReplenishment',
  1078. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1079. name: 'intelligentReplenishment',
  1080. component: BlankLayout,
  1081. meta: {
  1082. title: '智能补货',
  1083. icon: 'monitor',
  1084. permission: 'M_intelligentReplenishmentList'
  1085. },
  1086. hideChildrenInMenu: true,
  1087. children: [
  1088. {
  1089. path: 'list',
  1090. name: 'intelligentReplenishmentList',
  1091. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1092. meta: {
  1093. title: '智能补货列表',
  1094. icon: 'monitor',
  1095. hidden: true,
  1096. permission: 'M_intelligentReplenishmentList'
  1097. }
  1098. },
  1099. {
  1100. path: 'add/:sn',
  1101. name: 'intelligentReplenishmentAdd',
  1102. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1103. meta: {
  1104. title: '新增智能补货',
  1105. icon: 'monitor',
  1106. hidden: true
  1107. }
  1108. },
  1109. {
  1110. path: 'edit/:sn',
  1111. name: 'intelligentReplenishmentEdit',
  1112. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1113. meta: {
  1114. title: '编辑智能补货',
  1115. icon: 'monitor',
  1116. hidden: true
  1117. }
  1118. },
  1119. {
  1120. path: 'set',
  1121. name: 'intelligentReplenishmentSet',
  1122. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1123. meta: {
  1124. title: '基础信息设置',
  1125. icon: 'monitor',
  1126. hidden: true
  1127. }
  1128. },
  1129. {
  1130. path: 'import',
  1131. name: 'intelligentReplenishmentImport',
  1132. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1133. meta: {
  1134. title: '确认导入',
  1135. icon: 'monitor',
  1136. hidden: true
  1137. }
  1138. },
  1139. {
  1140. path: 'explainXsbz',
  1141. name: 'intelligentReplenishmentExplainXsbz',
  1142. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainXsbz.vue'),
  1143. meta: {
  1144. title: '销售保障法-说明',
  1145. icon: 'monitor',
  1146. hidden: true
  1147. }
  1148. },
  1149. {
  1150. path: 'explainQspj',
  1151. name: 'intelligentReplenishmentExplainQspj',
  1152. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainQspj.vue'),
  1153. meta: {
  1154. title: '趋势平均法-说明',
  1155. icon: 'monitor',
  1156. hidden: true
  1157. }
  1158. }
  1159. ]
  1160. }
  1161. ]
  1162. },
  1163. // 调拨管理
  1164. {
  1165. path: '/allocationManagement',
  1166. redirect: '/allocationManagement/transferOut',
  1167. component: PageView,
  1168. meta: {
  1169. title: '调拨管理',
  1170. icon: 'cluster',
  1171. permission: 'M_allocationManagement'
  1172. },
  1173. children: [
  1174. {
  1175. path: '/allocationManagement/transferOut',
  1176. redirect: '/allocationManagement/transferOut/list',
  1177. name: 'transferOut',
  1178. component: BlankLayout,
  1179. meta: {
  1180. title: '调拨列表',
  1181. icon: 'pull-request',
  1182. permission: 'M_transferOutList'
  1183. },
  1184. hideChildrenInMenu: true,
  1185. children: [
  1186. {
  1187. path: 'list',
  1188. name: 'transferOutList',
  1189. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1190. meta: {
  1191. title: '调拨列表',
  1192. icon: 'pull-request',
  1193. hidden: true,
  1194. permission: 'M_transferOutList'
  1195. }
  1196. },
  1197. {
  1198. path: 'add/:sn/:dealerLevel',
  1199. name: 'transferOutAdd',
  1200. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1201. meta: {
  1202. title: '新增调拨单',
  1203. icon: 'pull-request',
  1204. hidden: true
  1205. // permission: 'B_goodsManage_edit'
  1206. }
  1207. },
  1208. {
  1209. path: 'edit/:sn/:dealerLevel',
  1210. name: 'transferOutEdit',
  1211. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1212. meta: {
  1213. title: '编辑调拨单',
  1214. icon: 'pull-request',
  1215. hidden: true
  1216. // permission: 'B_goodsManage_edit'
  1217. }
  1218. },
  1219. {
  1220. path: 'detail/:sn',
  1221. name: 'transferOutDetail',
  1222. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1223. meta: {
  1224. title: '调拨单详情',
  1225. icon: 'pull-request',
  1226. hidden: true
  1227. // permission: 'B_goodsManage_edit'
  1228. }
  1229. }
  1230. ]
  1231. },
  1232. {
  1233. path: '/allocationManagement/transfersPrint',
  1234. redirect: '/allocationManagement/transfersPrint/list',
  1235. name: 'transfersPrint',
  1236. component: BlankLayout,
  1237. meta: {
  1238. title: '调拨打印',
  1239. icon: 'pull-request',
  1240. // permission: 'M_transfersPrintList'
  1241. },
  1242. hideChildrenInMenu: true,
  1243. children: [
  1244. {
  1245. path: 'list',
  1246. name: 'transfersPrintList',
  1247. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1248. meta: {
  1249. title: '调拨打印',
  1250. icon: 'pull-request',
  1251. hidden: true,
  1252. // permission: 'M_transfersPrintList'
  1253. }
  1254. },
  1255. ]
  1256. },
  1257. {
  1258. path: '/allocationManagement/matchSendOutOrder',
  1259. redirect: '/allocationManagement/matchSendOutOrder/list',
  1260. name: 'matchSendOutOrderAllocation',
  1261. component: BlankLayout,
  1262. meta: {
  1263. title: '调拨发货对单',
  1264. icon: 'vertical-align-bottom',
  1265. // permission: 'M_matchSendOutOrderAllocationList'
  1266. },
  1267. hideChildrenInMenu: true,
  1268. children: [
  1269. {
  1270. path: 'list',
  1271. name: 'matchSendOutOrderAllocationList',
  1272. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1273. meta: {
  1274. title: '调拨发货对单',
  1275. icon: 'vertical-align-bottom',
  1276. hidden: true,
  1277. // permission: 'M_matchSendOutOrderAllocationList'
  1278. }
  1279. },
  1280. ]
  1281. },
  1282. {
  1283. path: '/allocationManagement/transferReturn',
  1284. redirect: '/allocationManagement/transferReturn/list',
  1285. name: 'transferReturn',
  1286. component: BlankLayout,
  1287. meta: {
  1288. title: '调拨退货列表',
  1289. icon: 'pull-request',
  1290. permission: 'M_transferReturnList'
  1291. },
  1292. hideChildrenInMenu: true,
  1293. children: [
  1294. {
  1295. path: 'list',
  1296. name: 'transferReturnList',
  1297. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1298. meta: {
  1299. title: '调拨退货列表',
  1300. icon: 'pull-request',
  1301. hidden: true,
  1302. permission: 'M_transferReturnList'
  1303. }
  1304. },
  1305. {
  1306. path: 'editGrap/:sn/:targetType',
  1307. name: 'transferReturnGrpEdit',
  1308. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1309. meta: {
  1310. title: '编辑调拨退货单(抓单)',
  1311. icon: 'pull-request',
  1312. hidden: true
  1313. }
  1314. },
  1315. {
  1316. path: 'edit/:sn/:targetType/:dealerLevel',
  1317. name: 'transferReturnEdit',
  1318. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1319. meta: {
  1320. title: '编辑调拨退货单(不抓单)',
  1321. icon: 'pull-request',
  1322. hidden: true
  1323. }
  1324. },
  1325. {
  1326. path: 'detail/:sn',
  1327. name: 'transferReturnDetail',
  1328. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1329. meta: {
  1330. title: '调拨退货单详情',
  1331. icon: 'pull-request',
  1332. replaceTab: true,
  1333. hidden: true
  1334. }
  1335. },
  1336. {
  1337. path: 'check/:sn/:grabFlag',
  1338. name: 'transferReturnCheck',
  1339. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1340. meta: {
  1341. title: '调拨退货品检',
  1342. icon: 'fund',
  1343. replaceTab: true,
  1344. hidden: true
  1345. }
  1346. }
  1347. ]
  1348. }
  1349. ]
  1350. },
  1351. // 报表
  1352. {
  1353. path: '/reportData',
  1354. redirect: '/reportData/salesOrderTotal',
  1355. component: PageView,
  1356. meta: {
  1357. title: '报表',
  1358. icon: 'project',
  1359. permission: 'M_reportData'
  1360. },
  1361. children: [
  1362. {
  1363. path: '/reportData/salesOrderTotal',
  1364. redirect: '/reportData/salesOrderTotal/list',
  1365. name: 'salesOrderTotal',
  1366. component: BlankLayout,
  1367. meta: {
  1368. title: '销售(开单统计)',
  1369. icon: 'profile',
  1370. permission: 'M_salesOrderTotalList'
  1371. },
  1372. hideChildrenInMenu: true,
  1373. children: [
  1374. {
  1375. path: 'list',
  1376. name: 'salesOrderTotalList',
  1377. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1378. meta: {
  1379. title: '销售(开单统计)列表',
  1380. icon: 'profile',
  1381. hidden: true,
  1382. permission: 'M_salesOrderTotalList'
  1383. }
  1384. }
  1385. ]
  1386. },
  1387. {
  1388. path: '/reportData/salesDetails',
  1389. redirect: '/reportData/salesDetails/list',
  1390. name: 'salesDetails',
  1391. component: BlankLayout,
  1392. meta: {
  1393. title: '销售明细(开单统计)',
  1394. icon: 'profile',
  1395. permission: 'M_salesDetailsList'
  1396. },
  1397. hideChildrenInMenu: true,
  1398. children: [
  1399. {
  1400. path: 'list',
  1401. name: 'salesDetailsList',
  1402. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1403. meta: {
  1404. title: '销售明细列表',
  1405. icon: 'profile',
  1406. hidden: true,
  1407. permission: 'M_salesDetailsList'
  1408. }
  1409. }
  1410. ]
  1411. },
  1412. {
  1413. path: '/reportData/actualSalesReport',
  1414. redirect: '/reportData/actualSalesReport/list',
  1415. name: 'actualSalesReport',
  1416. component: BlankLayout,
  1417. meta: {
  1418. title: '实售销售报表',
  1419. icon: 'profile',
  1420. permission: 'M_actualSalesReportList'
  1421. },
  1422. hideChildrenInMenu: true,
  1423. children: [
  1424. {
  1425. path: 'list',
  1426. name: 'actualSalesReportList',
  1427. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1428. meta: {
  1429. title: '实售销售列表',
  1430. icon: 'profile',
  1431. hidden: true,
  1432. permission: 'M_actualSalesReportList'
  1433. }
  1434. }
  1435. ]
  1436. },
  1437. {
  1438. path: '/reportData/salesAmountReport',
  1439. redirect: '/reportData/salesAmountReport/list',
  1440. name: 'salesAmountReport',
  1441. component: BlankLayout,
  1442. meta: {
  1443. title: '开单销售报表',
  1444. icon: 'profile',
  1445. permission: 'M_salesAmountReportList'
  1446. },
  1447. hideChildrenInMenu: true,
  1448. children: [{
  1449. path: 'list',
  1450. name: 'salesAmountReportList',
  1451. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1452. meta: {
  1453. title: '开单销售报表列表',
  1454. icon: 'profile',
  1455. hidden: true,
  1456. permission: 'M_salesAmountReportList'
  1457. }
  1458. }]
  1459. },
  1460. {
  1461. path: '/reportData/salesSlipReport',
  1462. redirect: '/reportData/salesSlipReport/list',
  1463. name: 'salesSlipReport',
  1464. component: BlankLayout,
  1465. meta: {
  1466. title: '开单销售单报表',
  1467. icon: 'profile',
  1468. permission: 'M_salesSlipReportList'
  1469. },
  1470. hideChildrenInMenu: true,
  1471. children: [{
  1472. path: 'list',
  1473. name: 'salesSlipReportList',
  1474. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1475. meta: {
  1476. title: '开单销售单报表列表',
  1477. icon: 'profile',
  1478. hidden: true,
  1479. permission: 'M_salesSlipReportList'
  1480. }
  1481. }]
  1482. },
  1483. {
  1484. path: '/reportData/allocationOrderTotal',
  1485. redirect: '/reportData/allocationOrderTotal/list',
  1486. name: 'allocationOrderTotal',
  1487. component: BlankLayout,
  1488. meta: {
  1489. title: '调拨开单统计',
  1490. icon: 'profile',
  1491. permission: 'M_allocationOrderTotalList'
  1492. },
  1493. hideChildrenInMenu: true,
  1494. children: [
  1495. {
  1496. path: 'list',
  1497. name: 'allocationOrderTotalList',
  1498. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1499. meta: {
  1500. title: '调拨开单列表',
  1501. icon: 'profile',
  1502. hidden: true,
  1503. permission: 'M_allocationOrderTotalList'
  1504. }
  1505. }
  1506. ]
  1507. },
  1508. {
  1509. path: '/reportData/allocationDetails',
  1510. redirect: '/reportData/allocationDetails/list',
  1511. name: 'allocationDetails',
  1512. component: BlankLayout,
  1513. meta: {
  1514. title: '调拨明细',
  1515. icon: 'profile',
  1516. permission: 'M_allocationDetailsList'
  1517. },
  1518. hideChildrenInMenu: true,
  1519. children: [
  1520. {
  1521. path: 'list',
  1522. name: 'allocationDetailsList',
  1523. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1524. meta: {
  1525. title: '调拨明细列表',
  1526. icon: 'profile',
  1527. hidden: true,
  1528. permission: 'M_allocationDetailsList'
  1529. }
  1530. }
  1531. ]
  1532. },
  1533. {
  1534. path: '/reportData/salesReturnsReport',
  1535. redirect: '/reportData/salesReturnsReport/list',
  1536. name: 'salesReturnsReport',
  1537. component: BlankLayout,
  1538. meta: {
  1539. title: '销售退货单报表',
  1540. icon: 'profile',
  1541. permission: 'M_salesReturnsReportList'
  1542. },
  1543. hideChildrenInMenu: true,
  1544. children: [
  1545. {
  1546. path: 'list',
  1547. name: 'salesReturnsReportList',
  1548. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  1549. meta: {
  1550. title: '销售退货单报表列表',
  1551. icon: 'profile',
  1552. hidden: true,
  1553. permission: 'M_salesReturnsReportList'
  1554. }
  1555. }
  1556. ]
  1557. },
  1558. {
  1559. path: '/reportData/salesReturnDetailReport',
  1560. redirect: '/reportData/salesReturnDetailReport/list',
  1561. name: 'salesReturnDetailReport',
  1562. component: BlankLayout,
  1563. meta: {
  1564. title: '销售退货明细报表',
  1565. icon: 'profile',
  1566. permission: 'M_salesReturnDetailReportList'
  1567. },
  1568. hideChildrenInMenu: true,
  1569. children: [{
  1570. path: 'list',
  1571. name: 'salesReturnDetailReportList',
  1572. component: () => import(/* webpackChunkName: "reportData" */
  1573. '@/views/reportData/salesReturnDetailReport/list.vue'),
  1574. meta: {
  1575. title: '销售退货明细报表列表',
  1576. icon: 'profile',
  1577. hidden: true,
  1578. permission: 'M_salesReturnDetailReportList'
  1579. }
  1580. }]
  1581. },
  1582. {
  1583. path: '/reportData/transferReturnReport',
  1584. redirect: '/reportData/transferReturnReport/list',
  1585. name: 'transferReturnReport',
  1586. component: BlankLayout,
  1587. meta: {
  1588. title: '调拨退货单报表',
  1589. icon: 'profile',
  1590. permission: 'M_transferReturnReportList'
  1591. },
  1592. hideChildrenInMenu: true,
  1593. children: [
  1594. {
  1595. path: 'list',
  1596. name: 'transferReturnReportList',
  1597. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  1598. meta: {
  1599. title: '调拨退货单报表列表',
  1600. icon: 'profile',
  1601. hidden: true,
  1602. permission: 'M_transferReturnReportList'
  1603. }
  1604. }
  1605. ]
  1606. },
  1607. {
  1608. path: '/reportData/transferReturnDetailReport',
  1609. redirect: '/reportData/transferReturnDetailReport/list',
  1610. name: 'transferReturnDetailReport',
  1611. component: BlankLayout,
  1612. meta: {
  1613. title: '调拨退货单明细报表',
  1614. icon: 'profile',
  1615. permission: 'M_transferReturnDetailReportList'
  1616. },
  1617. hideChildrenInMenu: true,
  1618. children: [{
  1619. path: 'list',
  1620. name: 'transferReturnDetailReportList',
  1621. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  1622. meta: {
  1623. title: '调拨退货单明细报表列表',
  1624. icon: 'profile',
  1625. hidden: true,
  1626. permission: 'M_transferReturnDetailReportList'
  1627. }
  1628. }]
  1629. },
  1630. {
  1631. path: '/reportData/salesReturnReport',
  1632. redirect: '/reportData/salesReturnReport/list',
  1633. name: 'salesReturnReport',
  1634. component: BlankLayout,
  1635. meta: {
  1636. title: '实售退货报表',
  1637. icon: 'profile',
  1638. permission: 'M_salesReturnReportList'
  1639. },
  1640. hideChildrenInMenu: true,
  1641. children: [
  1642. {
  1643. path: 'list',
  1644. name: 'salesReturnReportList',
  1645. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  1646. meta: {
  1647. title: '实售退货列表',
  1648. icon: 'profile',
  1649. hidden: true,
  1650. permission: 'M_salesReturnReportList'
  1651. }
  1652. }
  1653. ]
  1654. },
  1655. {
  1656. path: '/reportData/billingReturnReport',
  1657. redirect: '/reportData/billingReturnReport/list',
  1658. name: 'billingReturnReport',
  1659. component: BlankLayout,
  1660. meta: {
  1661. title: '开单退货报表',
  1662. icon: 'profile',
  1663. permission: 'M_billingReturnReportList'
  1664. },
  1665. hideChildrenInMenu: true,
  1666. children: [
  1667. {
  1668. path: 'list',
  1669. name: 'billingReturnReportList',
  1670. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  1671. meta: {
  1672. title: '开单退货列表',
  1673. icon: 'profile',
  1674. hidden: true,
  1675. permission: 'M_billingReturnReportList'
  1676. }
  1677. }
  1678. ]
  1679. },
  1680. {
  1681. path: '/reportData/returnSlipReport',
  1682. redirect: '/reportData/returnSlipReport/list',
  1683. name: 'returnSlipReport',
  1684. component: BlankLayout,
  1685. meta: {
  1686. title: '开单退货单报表',
  1687. icon: 'profile',
  1688. permission: 'M_returnSlipReportList'
  1689. },
  1690. hideChildrenInMenu: true,
  1691. children: [{
  1692. path: 'list',
  1693. name: 'returnSlipReportList',
  1694. component: () => import(/* webpackChunkName: "reportData" */
  1695. '@/views/reportData/returnSlipReport/list.vue'),
  1696. meta: {
  1697. title: '开单退货单报表列表',
  1698. icon: 'profile',
  1699. hidden: true,
  1700. permission: 'M_returnSlipReportList'
  1701. }
  1702. }]
  1703. },
  1704. {
  1705. path: '/reportData/hPriceDifferenceDetailReport',
  1706. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  1707. name: 'hPriceDifferenceDetailReport',
  1708. component: BlankLayout,
  1709. meta: {
  1710. title: '总部差价明细报表',
  1711. icon: 'profile',
  1712. permission: 'M_hPriceDifferenceDetailReportList'
  1713. },
  1714. hideChildrenInMenu: true,
  1715. children: [
  1716. {
  1717. path: 'list',
  1718. name: 'hPriceDifferenceDetailReportList',
  1719. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  1720. meta: {
  1721. title: '总部差价明细列表',
  1722. icon: 'profile',
  1723. hidden: true,
  1724. permission: 'M_hPriceDifferenceDetailReportList'
  1725. }
  1726. }
  1727. ]
  1728. },
  1729. {
  1730. path: '/reportData/priceDifferenceDetailReport',
  1731. redirect: '/reportData/priceDifferenceDetailReport/list',
  1732. name: 'priceDifferenceDetailReport',
  1733. component: BlankLayout,
  1734. meta: {
  1735. title: '差价明细报表',
  1736. icon: 'profile',
  1737. permission: 'M_priceDifferenceDetailReportList'
  1738. },
  1739. hideChildrenInMenu: true,
  1740. children: [
  1741. {
  1742. path: 'list',
  1743. name: 'priceDifferenceDetailReportList',
  1744. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  1745. meta: {
  1746. title: '差价明细列表',
  1747. icon: 'profile',
  1748. hidden: true,
  1749. permission: 'M_priceDifferenceDetailReportList'
  1750. }
  1751. }
  1752. ]
  1753. },
  1754. {
  1755. path: '/reportData/regionTypeSalesReport',
  1756. redirect: '/reportData/regionTypeSalesReport/list',
  1757. name: 'regionTypeSalesReport',
  1758. component: BlankLayout,
  1759. meta: {
  1760. title: '各省品类实售明细',
  1761. icon: 'profile',
  1762. permission: 'M_regionTypeSalesReportList'
  1763. },
  1764. hideChildrenInMenu: true,
  1765. children: [
  1766. {
  1767. path: 'list',
  1768. name: 'regionTypeSalesReportList',
  1769. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  1770. meta: {
  1771. title: '各省品类实售明细',
  1772. icon: 'profile',
  1773. hidden: true,
  1774. permission: 'M_regionTypeSalesReportList'
  1775. }
  1776. }
  1777. ]
  1778. },
  1779. {
  1780. path: '/reportData/warehousingOrder',
  1781. redirect: '/reportData/warehousingOrder/list',
  1782. name: 'warehousingOrder',
  1783. component: BlankLayout,
  1784. meta: {
  1785. title: '入库单报表',
  1786. icon: 'profile',
  1787. permission: 'M_warehousingOrderList'
  1788. },
  1789. hideChildrenInMenu: true,
  1790. children: [
  1791. {
  1792. path: 'list',
  1793. name: 'warehousingOrderList',
  1794. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  1795. meta: {
  1796. title: '入库单报表列表',
  1797. icon: 'profile',
  1798. hidden: true,
  1799. permission: 'M_warehousingOrderList'
  1800. }
  1801. }
  1802. ]
  1803. },
  1804. {
  1805. path: '/reportData/warehousingOrderDetail',
  1806. redirect: '/reportData/warehousingOrderDetail/list',
  1807. name: 'warehousingOrderDetail',
  1808. component: BlankLayout,
  1809. meta: {
  1810. title: '入库单明细报表',
  1811. icon: 'profile',
  1812. permission: 'M_warehousingOrderDetailList'
  1813. },
  1814. hideChildrenInMenu: true,
  1815. children: [
  1816. {
  1817. path: 'list',
  1818. name: 'warehousingOrderDetailList',
  1819. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  1820. meta: {
  1821. title: '入库单明细报表列表',
  1822. icon: 'profile',
  1823. hidden: true,
  1824. permission: 'M_warehousingOrderDetailList'
  1825. }
  1826. }
  1827. ]
  1828. },
  1829. {
  1830. path: '/reportData/salesPresentation',
  1831. redirect: '/reportData/salesPresentation/list',
  1832. name: 'salesPresentation',
  1833. component: BlankLayout,
  1834. meta: {
  1835. title: '销售交单报表',
  1836. icon: 'profile',
  1837. permission: 'M_salesPresentationList'
  1838. },
  1839. hideChildrenInMenu: true,
  1840. children: [
  1841. {
  1842. path: 'list',
  1843. name: 'salesPresentationList',
  1844. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  1845. meta: {
  1846. title: '销售交单报表列表',
  1847. icon: 'profile',
  1848. hidden: true,
  1849. permission: 'M_salesPresentationList'
  1850. }
  1851. }
  1852. ]
  1853. },
  1854. {
  1855. path: '/reportData/allocationPresentation',
  1856. redirect: '/reportData/allocationPresentation/list',
  1857. name: 'allocationPresentation',
  1858. component: BlankLayout,
  1859. meta: {
  1860. title: '调拨交单报表',
  1861. icon: 'profile',
  1862. permission: 'M_allocationPresentationList'
  1863. },
  1864. hideChildrenInMenu: true,
  1865. children: [
  1866. {
  1867. path: 'list',
  1868. name: 'allocationPresentationList',
  1869. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  1870. meta: {
  1871. title: '调拨交单报表列表',
  1872. icon: 'profile',
  1873. hidden: true,
  1874. permission: 'M_allocationPresentationList'
  1875. }
  1876. }
  1877. ]
  1878. },
  1879. {
  1880. path: '/reportData/returnGoodsPresentation',
  1881. redirect: '/reportData/returnGoodsPresentation/list',
  1882. name: 'returnGoodsPresentation',
  1883. component: BlankLayout,
  1884. meta: {
  1885. title: '退货交单报表',
  1886. icon: 'profile',
  1887. permission: 'M_returnGoodsPresentationList'
  1888. },
  1889. hideChildrenInMenu: true,
  1890. children: [
  1891. {
  1892. path: 'list',
  1893. name: 'returnGoodsPresentationList',
  1894. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  1895. meta: {
  1896. title: '退货交单报表列表',
  1897. icon: 'profile',
  1898. hidden: true,
  1899. permission: 'M_returnGoodsPresentationList'
  1900. }
  1901. }
  1902. ]
  1903. }
  1904. // {
  1905. // path: '/reportData/allCountryCostReport',
  1906. // redirect: '/reportData/allCountryCostReport/list',
  1907. // name: 'allCountryCostReport',
  1908. // component: BlankLayout,
  1909. // meta: {
  1910. // title: '全国费用统计报表',
  1911. // icon: 'profile'
  1912. // // permission: 'M_nationalCustomerCostStatisticsList'
  1913. // },
  1914. // hideChildrenInMenu: true,
  1915. // children: [
  1916. // {
  1917. // path: 'list',
  1918. // name: 'allCountryCostReportList',
  1919. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  1920. // meta: {
  1921. // title: '全国费用统计报表',
  1922. // icon: 'profile',
  1923. // hidden: true
  1924. // // permission: 'M_nationalCustomerCostStatisticsList'
  1925. // }
  1926. // }
  1927. // ]
  1928. // }
  1929. ]
  1930. },
  1931. // 数据导出
  1932. {
  1933. path: '/dataExport',
  1934. redirect: '/dataExport/exportCheck',
  1935. component: PageView,
  1936. meta: {
  1937. title: '数据导出',
  1938. icon: 'money-collect',
  1939. permission: 'M_dataExport'
  1940. },
  1941. children: [
  1942. {
  1943. path: '/dataExport/exportSales',
  1944. redirect: '/dataExport/exportSales/list',
  1945. name: 'exportSales',
  1946. component: BlankLayout,
  1947. meta: {
  1948. title: '导出销售',
  1949. icon: 'gold',
  1950. permission: 'M_exportSales'
  1951. },
  1952. hideChildrenInMenu: true,
  1953. children: [
  1954. {
  1955. path: 'list',
  1956. name: 'exportSalesList',
  1957. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  1958. meta: {
  1959. title: '导出销售',
  1960. icon: 'gold',
  1961. hidden: true,
  1962. permission: 'M_exportSales'
  1963. }
  1964. }
  1965. ]
  1966. },
  1967. {
  1968. path: '/dataExport/exportCheck',
  1969. redirect: '/dataExport/exportCheck/list',
  1970. name: 'exportCheck',
  1971. component: BlankLayout,
  1972. meta: {
  1973. title: '导出盘点',
  1974. icon: 'gold',
  1975. permission: 'M_exportCheck'
  1976. },
  1977. hideChildrenInMenu: true,
  1978. children: [
  1979. {
  1980. path: 'list',
  1981. name: 'exportCheckList',
  1982. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  1983. meta: {
  1984. title: '导出盘点',
  1985. icon: 'gold',
  1986. hidden: true,
  1987. permission: 'M_exportCheck'
  1988. }
  1989. }
  1990. ]
  1991. }
  1992. ]
  1993. },
  1994. // 产品管理
  1995. {
  1996. path: '/productManagement',
  1997. redirect: '/productManagement/productInfo',
  1998. component: PageView,
  1999. meta: {
  2000. title: '产品管理',
  2001. icon: 'shopping',
  2002. permission: 'M_productManagement'
  2003. },
  2004. children: [
  2005. {
  2006. path: '/productManagement/productInfo',
  2007. redirect: '/productManagement/productInfo/list',
  2008. name: 'productInfo',
  2009. component: BlankLayout,
  2010. meta: {
  2011. title: '产品列表',
  2012. icon: 'gold',
  2013. permission: 'M_productInfoList'
  2014. },
  2015. hideChildrenInMenu: true,
  2016. children: [
  2017. {
  2018. path: 'list',
  2019. name: 'productInfoList',
  2020. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2021. meta: {
  2022. title: '产品列表',
  2023. icon: 'gold',
  2024. hidden: true,
  2025. permission: 'M_productInfoList'
  2026. }
  2027. },
  2028. {
  2029. path: 'add',
  2030. name: 'productInfoAdd',
  2031. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2032. meta: {
  2033. title: '新增产品',
  2034. icon: 'gold',
  2035. hidden: true
  2036. // permission: 'B_goodsManage_edit'
  2037. }
  2038. },
  2039. {
  2040. path: 'edit/:id/:sn',
  2041. name: 'productInfoEdit',
  2042. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2043. meta: {
  2044. title: '编辑产品',
  2045. icon: 'gold',
  2046. hidden: true
  2047. // permission: 'B_goodsManage_edit'
  2048. }
  2049. }
  2050. ]
  2051. },
  2052. {
  2053. path: '/productManagement/productPricing',
  2054. redirect: '/productManagement/productPricing/list',
  2055. name: 'productPricing',
  2056. component: BlankLayout,
  2057. meta: {
  2058. title: '产品定价',
  2059. icon: 'transaction',
  2060. permission: 'M_productPricingList'
  2061. },
  2062. hideChildrenInMenu: true,
  2063. children: [
  2064. {
  2065. path: 'list',
  2066. name: 'productPricingList',
  2067. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2068. meta: {
  2069. title: '产品定价列表',
  2070. icon: 'transaction',
  2071. hidden: true,
  2072. permission: 'M_productPricingList'
  2073. }
  2074. }
  2075. ]
  2076. },
  2077. {
  2078. path: '/productManagement/productLaunchAudit',
  2079. redirect: '/productManagement/productLaunchAudit/list',
  2080. name: 'productLaunchAudit',
  2081. component: BlankLayout,
  2082. meta: {
  2083. title: '产品上线审核',
  2084. icon: 'rise',
  2085. permission: 'M_productLaunchAuditList'
  2086. },
  2087. hideChildrenInMenu: true,
  2088. children: [
  2089. {
  2090. path: 'list',
  2091. name: 'productLaunchAuditList',
  2092. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2093. meta: {
  2094. title: '产品上线审核列表',
  2095. icon: 'rise',
  2096. hidden: true,
  2097. permission: 'M_productLaunchAuditList'
  2098. }
  2099. }
  2100. ]
  2101. },
  2102. {
  2103. path: '/productManagement/productOfflineAudit',
  2104. redirect: '/productManagement/productOfflineAudit/list',
  2105. name: 'productOfflineAudit',
  2106. component: BlankLayout,
  2107. meta: {
  2108. title: '产品下线审核',
  2109. icon: 'fall',
  2110. permission: 'M_productOfflineAuditList'
  2111. },
  2112. hideChildrenInMenu: true,
  2113. children: [
  2114. {
  2115. path: 'list',
  2116. name: 'productOfflineAuditList',
  2117. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2118. meta: {
  2119. title: '产品下线审核列表',
  2120. icon: 'fall',
  2121. hidden: true,
  2122. permission: 'M_productOfflineAuditList'
  2123. }
  2124. }
  2125. ]
  2126. },
  2127. {
  2128. path: '/productManagement/priceChangeRecord',
  2129. redirect: '/productManagement/priceChangeRecord/list',
  2130. name: 'priceChangeRecord',
  2131. component: BlankLayout,
  2132. meta: {
  2133. title: '价格变更记录',
  2134. icon: 'profile',
  2135. permission: 'M_priceChangeRecordList'
  2136. },
  2137. hideChildrenInMenu: true,
  2138. children: [
  2139. {
  2140. path: 'list',
  2141. name: 'priceChangeRecordList',
  2142. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2143. meta: {
  2144. title: '价格变更记录列表',
  2145. icon: 'profile',
  2146. hidden: true,
  2147. permission: 'M_priceChangeRecordList'
  2148. }
  2149. }
  2150. ]
  2151. },
  2152. {
  2153. path: '/productManagement/productUniversal',
  2154. redirect: '/productManagement/productUniversal/list',
  2155. name: 'productUniversal',
  2156. component: BlankLayout,
  2157. meta: {
  2158. title: '通用产品管理',
  2159. icon: 'deployment-unit',
  2160. permission: 'M_productUniversalList'
  2161. },
  2162. hideChildrenInMenu: true,
  2163. children: [
  2164. {
  2165. path: 'list',
  2166. name: 'productUniversalList',
  2167. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2168. meta: {
  2169. title: '通用产品列表',
  2170. icon: 'deployment-unit',
  2171. hidden: true,
  2172. permission: 'M_productUniversalList'
  2173. }
  2174. }
  2175. ]
  2176. },
  2177. {
  2178. path: '/productManagement/productLevel',
  2179. redirect: '/productManagement/productLevel/list',
  2180. name: 'productLevel',
  2181. component: BlankLayout,
  2182. meta: {
  2183. title: '产品级别管理',
  2184. icon: 'fund',
  2185. permission: 'M_productLevelList'
  2186. },
  2187. hideChildrenInMenu: true,
  2188. children: [
  2189. {
  2190. path: 'list',
  2191. name: 'productLevelList',
  2192. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2193. meta: {
  2194. title: '产品级别列表',
  2195. icon: 'fund',
  2196. hidden: true,
  2197. permission: 'M_productLevelList'
  2198. }
  2199. }
  2200. ]
  2201. },
  2202. {
  2203. path: '/productManagement/productBrand',
  2204. redirect: '/productManagement/productBrand/list',
  2205. name: 'productBrand',
  2206. component: BlankLayout,
  2207. meta: {
  2208. title: '产品品牌管理',
  2209. icon: 'file-ppt',
  2210. permission: 'M_productBrandList'
  2211. },
  2212. hideChildrenInMenu: true,
  2213. children: [
  2214. {
  2215. path: 'list',
  2216. name: 'productBrandList',
  2217. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2218. meta: {
  2219. title: '产品品牌列表',
  2220. icon: 'file-ppt',
  2221. hidden: true,
  2222. permission: 'M_productBrandList'
  2223. }
  2224. }
  2225. ]
  2226. },
  2227. {
  2228. path: '/productManagement/productCategory',
  2229. redirect: '/productManagement/productCategory/list',
  2230. name: 'productCategory',
  2231. component: BlankLayout,
  2232. meta: {
  2233. title: '产品分类管理',
  2234. icon: 'radar-chart',
  2235. permission: 'M_productCategoryList'
  2236. },
  2237. hideChildrenInMenu: true,
  2238. children: [
  2239. {
  2240. path: 'list',
  2241. name: 'productCategoryList',
  2242. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2243. meta: {
  2244. title: '产品分类列表',
  2245. icon: 'radar-chart',
  2246. hidden: true,
  2247. permission: 'M_productCategoryList'
  2248. }
  2249. }
  2250. ]
  2251. }
  2252. ]
  2253. },
  2254. // 经销商管理
  2255. {
  2256. path: '/dealerManagement',
  2257. redirect: '/dealerManagement/marketingDivisionSet',
  2258. component: PageView,
  2259. meta: {
  2260. title: '经销商管理',
  2261. icon: 'idcard',
  2262. permission: 'M_dealerManagement'
  2263. },
  2264. children: [
  2265. {
  2266. path: '/dealerManagement/merchantInfoManagement',
  2267. redirect: '/dealerManagement/merchantInfoManagement/list',
  2268. name: 'merchantInfoManagement',
  2269. component: BlankLayout,
  2270. meta: {
  2271. title: '经销商资料管理',
  2272. icon: 'file-text',
  2273. permission: 'M_merchantInfoManagementList'
  2274. },
  2275. hideChildrenInMenu: true,
  2276. children: [
  2277. {
  2278. path: 'list',
  2279. name: 'merchantInfoManagementList',
  2280. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  2281. meta: {
  2282. title: '经销商资料列表',
  2283. icon: 'file-text',
  2284. hidden: true,
  2285. permission: 'M_merchantInfoManagementList'
  2286. }
  2287. },
  2288. {
  2289. path: 'add',
  2290. name: 'merchantInfoManagementAdd',
  2291. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2292. meta: {
  2293. title: '新增经销商',
  2294. icon: 'file-text',
  2295. hidden: true
  2296. // permission: 'B_goodsManage_edit'
  2297. }
  2298. },
  2299. {
  2300. path: 'edit/:id',
  2301. name: 'merchantInfoManagementEdit',
  2302. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2303. meta: {
  2304. title: '编辑经销商',
  2305. icon: 'file-text',
  2306. hidden: true
  2307. // permission: 'B_goodsManage_edit'
  2308. }
  2309. },
  2310. {
  2311. path: 'permissionSetting/:sn',
  2312. name: 'merchantInfoManagementSet',
  2313. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  2314. meta: {
  2315. title: '经销权设置',
  2316. icon: 'file-text',
  2317. replaceTab: true,
  2318. hidden: true
  2319. // permission: 'B_goodsManage_edit'
  2320. }
  2321. }
  2322. ]
  2323. },
  2324. {
  2325. path: '/dealerManagement/dealerAccountManagement',
  2326. redirect: '/dealerManagement/dealerAccountManagement/list',
  2327. name: 'dealerAccountManagement',
  2328. component: BlankLayout,
  2329. meta: {
  2330. title: '经销商账号管理',
  2331. icon: 'team',
  2332. permission: 'M_dealerAccountManagementList'
  2333. },
  2334. hideChildrenInMenu: true,
  2335. children: [
  2336. {
  2337. path: 'list',
  2338. name: 'dealerAccountManagementList',
  2339. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  2340. meta: {
  2341. title: '经销商账号列表',
  2342. icon: 'team',
  2343. hidden: true,
  2344. permission: 'M_dealerAccountManagementList'
  2345. }
  2346. }
  2347. ]
  2348. },
  2349. {
  2350. path: '/dealerManagement/dealerRelationshipBinding',
  2351. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  2352. name: 'dealerRelationshipBinding',
  2353. component: BlankLayout,
  2354. meta: {
  2355. title: '经销商关系绑定',
  2356. icon: 'share-alt',
  2357. permission: 'M_dealerRelationshipBindingList'
  2358. },
  2359. hideChildrenInMenu: true,
  2360. children: [
  2361. {
  2362. path: 'list',
  2363. name: 'dealerRelationshipBindingList',
  2364. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  2365. meta: {
  2366. title: '经销商关系绑定列表',
  2367. icon: 'share-alt',
  2368. hidden: true,
  2369. permission: 'M_dealerRelationshipBindingList'
  2370. }
  2371. }
  2372. ]
  2373. },
  2374. {
  2375. path: '/dealerManagement/rebateSettings',
  2376. redirect: '/dealerManagement/rebateSettings/list',
  2377. name: 'rebateSettings',
  2378. component: BlankLayout,
  2379. meta: {
  2380. title: '差价归属设置',
  2381. icon: 'stock',
  2382. permission: 'M_rebateSettingsList'
  2383. },
  2384. hideChildrenInMenu: true,
  2385. children: [
  2386. {
  2387. path: 'list',
  2388. name: 'rebateSettingsList',
  2389. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  2390. meta: {
  2391. title: '差价归属设置列表',
  2392. icon: 'stock',
  2393. hidden: true,
  2394. permission: 'M_rebateSettingsList'
  2395. }
  2396. }
  2397. ]
  2398. },
  2399. {
  2400. path: '/dealerManagement/marketingDivisionSet',
  2401. redirect: '/dealerManagement/marketingDivisionSet/list',
  2402. name: 'marketingDivisionSet',
  2403. component: BlankLayout,
  2404. meta: {
  2405. title: '营销分区设置',
  2406. icon: 'setting',
  2407. permission: 'M_marketingDivisionSetList'
  2408. },
  2409. hideChildrenInMenu: true,
  2410. children: [
  2411. {
  2412. path: 'list',
  2413. name: 'marketingDivisionSetList',
  2414. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSet/list.vue'),
  2415. meta: {
  2416. title: '营销分区列表',
  2417. icon: 'setting',
  2418. hidden: true,
  2419. permission: 'M_marketingDivisionSetList'
  2420. }
  2421. }
  2422. ]
  2423. }
  2424. ]
  2425. },
  2426. // 供应商管理
  2427. {
  2428. path: '/supplierManagement',
  2429. redirect: '/supplierManagement/supplierInfo',
  2430. component: PageView,
  2431. meta: {
  2432. title: '供应商管理',
  2433. icon: 'team',
  2434. permission: 'M_supplierManagement'
  2435. },
  2436. children: [
  2437. {
  2438. path: '/supplierManagement/supplierInfo',
  2439. redirect: '/supplierManagement/supplierInfo/list',
  2440. name: 'supplierInfo',
  2441. component: BlankLayout,
  2442. meta: {
  2443. title: '供应商列表',
  2444. icon: 'team',
  2445. permission: 'M_supplierInfoList'
  2446. },
  2447. hideChildrenInMenu: true,
  2448. children: [
  2449. {
  2450. path: 'list',
  2451. name: 'supplierInfoList',
  2452. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  2453. meta: {
  2454. title: '供应商列表',
  2455. icon: 'team',
  2456. hidden: true,
  2457. permission: 'M_supplierInfoList'
  2458. }
  2459. },
  2460. {
  2461. path: 'add',
  2462. name: 'supplierInfoAdd',
  2463. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  2464. meta: {
  2465. title: '新增供应商',
  2466. icon: 'team',
  2467. hidden: true
  2468. // permission: 'B_goodsManage_edit'
  2469. }
  2470. },
  2471. {
  2472. path: 'edit/:id',
  2473. name: 'supplierInfoEdit',
  2474. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  2475. meta: {
  2476. title: '编辑供应商',
  2477. icon: 'team',
  2478. hidden: true
  2479. // permission: 'B_goodsManage_edit'
  2480. }
  2481. },
  2482. {
  2483. path: 'associatedProduct/:sn/:name',
  2484. name: 'associatedProduct',
  2485. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  2486. meta: {
  2487. title: '关联产品',
  2488. icon: 'team',
  2489. replaceTab: true,
  2490. hidden: true
  2491. // permission: 'B_goodsManage_edit'
  2492. }
  2493. }
  2494. ]
  2495. },
  2496. {
  2497. path: '/supplierManagement/associatedProductDetails',
  2498. redirect: '/supplierManagement/associatedProductDetails/list',
  2499. name: 'associatedProductDetails',
  2500. component: BlankLayout,
  2501. meta: {
  2502. title: '关联产品明细表',
  2503. icon: 'build',
  2504. permission: 'M_associatedProductDetailsList'
  2505. },
  2506. hideChildrenInMenu: true,
  2507. children: [
  2508. {
  2509. path: 'list',
  2510. name: 'associatedProductDetailsList',
  2511. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  2512. meta: {
  2513. title: '关联产品明细列表',
  2514. icon: 'build',
  2515. hidden: true,
  2516. permission: 'M_associatedProductDetailsList'
  2517. }
  2518. }
  2519. ]
  2520. }
  2521. ]
  2522. },
  2523. // 促销管理
  2524. {
  2525. path: '/promotionRulesManagement',
  2526. redirect: '/promotionRulesManagement/promotionRules',
  2527. component: PageView,
  2528. meta: {
  2529. title: '促销管理',
  2530. icon: 'rocket',
  2531. permission: 'M_promotionRulesManagement'
  2532. },
  2533. children: [
  2534. {
  2535. path: '/promotionRulesManagement/promotionRules',
  2536. redirect: '/promotionRulesManagement/promotionRules/list',
  2537. name: 'promotionRules',
  2538. component: BlankLayout,
  2539. meta: {
  2540. title: '促销规则管理',
  2541. icon: 'thunderbolt',
  2542. permission: 'M_promotionRulesList'
  2543. },
  2544. hideChildrenInMenu: true,
  2545. children: [
  2546. {
  2547. path: 'list',
  2548. name: 'promotionRulesManagementList',
  2549. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/list.vue'),
  2550. meta: {
  2551. title: '促销规则列表',
  2552. icon: 'thunderbolt',
  2553. hidden: true,
  2554. permission: 'M_promotionRulesList'
  2555. }
  2556. },
  2557. {
  2558. path: 'detail/:id/:sn',
  2559. name: 'promotionRulesManagementDetail',
  2560. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/detail.vue'),
  2561. meta: {
  2562. title: '促销规则详情',
  2563. icon: 'thunderbolt',
  2564. hidden: true
  2565. // permission: 'B_goodsManage_edit'
  2566. }
  2567. },
  2568. {
  2569. path: 'rule/:id/:sn',
  2570. name: 'promotionRulesManagementRule',
  2571. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/rule.vue'),
  2572. meta: {
  2573. title: '促销规则设置',
  2574. icon: 'thunderbolt',
  2575. replaceTab: true,
  2576. hidden: true
  2577. // permission: 'B_goodsManage_edit'
  2578. }
  2579. }
  2580. ]
  2581. },
  2582. {
  2583. path: '/promotionRulesManagement/orderStatistics',
  2584. redirect: '/promotionRulesManagement/orderStatistics/list',
  2585. name: 'orderStatistics',
  2586. component: BlankLayout,
  2587. meta: {
  2588. title: '促销订单统计',
  2589. icon: 'contacts',
  2590. permission: 'M_orderStatisticsList'
  2591. },
  2592. hideChildrenInMenu: true,
  2593. children: [
  2594. {
  2595. path: 'list',
  2596. name: 'orderStatisticsList',
  2597. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/orderStatistics/list.vue'),
  2598. meta: {
  2599. title: '订单统计列表',
  2600. icon: 'contacts',
  2601. hidden: true,
  2602. permission: 'M_orderStatisticsList'
  2603. }
  2604. }
  2605. ]
  2606. },
  2607. {
  2608. path: '/promotionRulesManagement/productStatistics',
  2609. redirect: '/promotionRulesManagement/productStatistics/list',
  2610. name: 'productStatistics',
  2611. component: BlankLayout,
  2612. meta: {
  2613. title: '促销产品统计',
  2614. icon: 'file-ppt',
  2615. permission: 'M_productStatisticsList'
  2616. },
  2617. hideChildrenInMenu: true,
  2618. children: [
  2619. {
  2620. path: 'list',
  2621. name: 'productStatisticsList',
  2622. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/productStatistics/list.vue'),
  2623. meta: {
  2624. title: '产品统计列表',
  2625. icon: 'file-ppt',
  2626. hidden: true,
  2627. permission: 'M_productStatisticsList'
  2628. }
  2629. }
  2630. ]
  2631. }
  2632. ]
  2633. },
  2634. // 基础设置
  2635. {
  2636. path: '/basicData',
  2637. redirect: '/basicData/warehouse',
  2638. component: PageView,
  2639. meta: {
  2640. title: '基础设置',
  2641. icon: 'pushpin',
  2642. permission: 'M_basicData'
  2643. },
  2644. children: [
  2645. {
  2646. path: '/basicData/warehouse',
  2647. redirect: '/basicData/warehouse/list',
  2648. name: 'warehouse',
  2649. component: BlankLayout,
  2650. meta: {
  2651. title: '仓库管理',
  2652. icon: 'deployment-unit',
  2653. permission: 'M_warehouseList'
  2654. },
  2655. hideChildrenInMenu: true,
  2656. children: [
  2657. {
  2658. path: 'list',
  2659. name: 'warehouseList',
  2660. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  2661. meta: {
  2662. title: '仓库列表',
  2663. icon: 'deployment-unit',
  2664. hidden: true,
  2665. permission: 'M_warehouseList'
  2666. }
  2667. },
  2668. {
  2669. path: '/basicData/storingLocation/:sn',
  2670. name: 'storingLocationList',
  2671. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  2672. meta: {
  2673. title: '仓位列表',
  2674. icon: 'deployment-unit',
  2675. replaceTab: true,
  2676. hidden: true
  2677. // permission: 'B_goodsManage_edit'
  2678. }
  2679. }
  2680. ]
  2681. },
  2682. {
  2683. path: '/basicData/transferTypeManagement',
  2684. redirect: '/basicData/transferTypeManagement/list',
  2685. name: 'transferTypeManagement',
  2686. component: BlankLayout,
  2687. meta: {
  2688. title: '调拨类型管理',
  2689. icon: 'interaction',
  2690. permission: 'M_transferTypeManagementList'
  2691. },
  2692. hideChildrenInMenu: true,
  2693. children: [
  2694. {
  2695. path: 'list',
  2696. name: 'transferTypeManagementList',
  2697. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  2698. meta: {
  2699. title: '调拨类型列表',
  2700. icon: 'interaction',
  2701. hidden: true,
  2702. permission: 'M_transferTypeManagementList'
  2703. }
  2704. }
  2705. ]
  2706. }
  2707. ]
  2708. },
  2709. // 权限管理
  2710. {
  2711. path: '/auth',
  2712. redirect: '/auth/user',
  2713. component: PageView,
  2714. meta: {
  2715. title: '权限管理',
  2716. icon: 'lock',
  2717. permission: 'M_auth_0'
  2718. },
  2719. children: [
  2720. {
  2721. path: '/auth/user',
  2722. redirect: '/auth/user/list',
  2723. name: 'powerUser',
  2724. component: BlankLayout,
  2725. meta: {
  2726. title: '用户管理',
  2727. icon: 'user',
  2728. permission: 'M_userList'
  2729. },
  2730. hideChildrenInMenu: true,
  2731. children: [
  2732. {
  2733. path: 'list',
  2734. name: 'powerUserList',
  2735. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  2736. meta: {
  2737. title: '用户管理',
  2738. icon: 'user',
  2739. hidden: true,
  2740. permission: 'M_userList'
  2741. }
  2742. },
  2743. ]
  2744. },
  2745. {
  2746. path: '/auth/role',
  2747. redirect: '/auth/role/list',
  2748. name: 'powerRole',
  2749. component: BlankLayout,
  2750. meta: {
  2751. title: '角色管理',
  2752. icon: 'solution',
  2753. permission: 'M_roleList'
  2754. },
  2755. hideChildrenInMenu: true,
  2756. children: [
  2757. {
  2758. path: 'list',
  2759. name: 'powerRoleList',
  2760. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  2761. meta: {
  2762. title: '角色管理',
  2763. icon: 'solution',
  2764. hidden: true,
  2765. permission: 'M_roleList'
  2766. }
  2767. },
  2768. ]
  2769. },
  2770. {
  2771. path: '/auth/adminMenus',
  2772. redirect: '/auth/adminMenus/list',
  2773. name: 'adminMenus',
  2774. component: BlankLayout,
  2775. meta: {
  2776. title: '菜单管理',
  2777. icon: 'appstore',
  2778. permission: 'M_menuList'
  2779. },
  2780. hideChildrenInMenu: true,
  2781. children: [
  2782. {
  2783. path: 'list',
  2784. name: 'adminMenusList',
  2785. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  2786. meta: {
  2787. title: '菜单管理',
  2788. icon: 'appstore',
  2789. hidden: true,
  2790. permission: 'M_menuList'
  2791. }
  2792. }
  2793. ]
  2794. }
  2795. ]
  2796. },
  2797. // 系统设置
  2798. {
  2799. path: '/setting',
  2800. redirect: '/setting/dataDictionary',
  2801. component: PageView,
  2802. meta: {
  2803. title: '系统设置',
  2804. icon: 'setting',
  2805. permission: 'M_systemSet'
  2806. },
  2807. children: [
  2808. {
  2809. path: '/setting/dataDictionary',
  2810. redirect: '/setting/dataDictionary/list',
  2811. name: 'dataDictionary',
  2812. component: BlankLayout,
  2813. meta: {
  2814. title: '数据字典管理',
  2815. icon: 'database',
  2816. permission: 'M_dataD_lookup'
  2817. },
  2818. hideChildrenInMenu: true,
  2819. children: [
  2820. {
  2821. path: 'list',
  2822. name: 'powerDD',
  2823. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  2824. meta: {
  2825. title: '数据字典管理',
  2826. icon: 'database',
  2827. hidden: true,
  2828. permission: 'M_dataD_lookup'
  2829. }
  2830. }
  2831. ]
  2832. },
  2833. {
  2834. path: '/setting/OperateJournal',
  2835. redirect: '/setting/OperateJournal/list',
  2836. name: 'OperateJournal',
  2837. component: BlankLayout,
  2838. meta: {
  2839. title: '操作日志',
  2840. icon: 'read',
  2841. permission: 'M_OperateJournalList'
  2842. },
  2843. hideChildrenInMenu: true,
  2844. children: [
  2845. {
  2846. path: 'list',
  2847. name: 'powerOperateJournal',
  2848. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  2849. meta: {
  2850. title: '操作日志',
  2851. icon: 'read',
  2852. permission: 'M_OperateJournalList'
  2853. }
  2854. },
  2855. ]
  2856. },
  2857. {
  2858. path: '/setting/noticeManagement',
  2859. redirect: '/setting/noticeManagement/list',
  2860. name: 'noticeManagement',
  2861. component: BlankLayout,
  2862. meta: {
  2863. title: '公告管理',
  2864. icon: 'sketch',
  2865. permission: 'M_noticeManagementList'
  2866. },
  2867. hideChildrenInMenu: true,
  2868. children: [
  2869. {
  2870. path: 'list',
  2871. name: 'noticeManagementList',
  2872. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  2873. meta: {
  2874. title: '公告列表',
  2875. icon: 'sketch',
  2876. hidden: true,
  2877. permission: 'M_noticeManagementList'
  2878. }
  2879. }
  2880. ]
  2881. }
  2882. ]
  2883. },
  2884. ]
  2885. },
  2886. {
  2887. path: '*',
  2888. redirect: '/404',
  2889. hidden: true
  2890. }
  2891. ]
  2892. /**
  2893. * 基础路由
  2894. * @type { *[] }
  2895. */
  2896. export const constantRouterMap = [
  2897. {
  2898. path: '/user',
  2899. component: UserLayout,
  2900. redirect: '/user/login',
  2901. hidden: true,
  2902. children: [
  2903. {
  2904. path: 'login',
  2905. name: 'login',
  2906. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  2907. },
  2908. {
  2909. path: 'register',
  2910. name: 'register',
  2911. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  2912. },
  2913. {
  2914. path: 'register-result',
  2915. name: 'registerResult',
  2916. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  2917. },
  2918. {
  2919. path: 'recover',
  2920. name: 'recover',
  2921. component: undefined
  2922. }
  2923. ]
  2924. },
  2925. {
  2926. path: '/404',
  2927. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  2928. }
  2929. ]