salesReport.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. import {
  2. UserLayout,
  3. BasicLayout,
  4. BlankLayout,
  5. BigScreen,
  6. PageView
  7. } from '@/layouts'
  8. export default {
  9. path: '/salesReport',
  10. redirect: '/reportData/salesOrderTotal',
  11. component: PageView,
  12. meta: {
  13. title: '销售报表',
  14. icon: 'project',
  15. permission: 'M_salesReport'
  16. },
  17. children: [
  18. {
  19. path: '/reportData/salesOrderTotal',
  20. redirect: '/reportData/salesOrderTotal/list',
  21. name: 'salesOrderTotal',
  22. component: BlankLayout,
  23. meta: {
  24. title: '销售(开单统计)',
  25. icon: 'profile',
  26. permission: 'M_salesOrderTotalList'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: 'list',
  32. name: 'salesOrderTotalList',
  33. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  34. meta: {
  35. title: '销售(开单统计)列表',
  36. icon: 'profile',
  37. hidden: true,
  38. permission: 'M_salesOrderTotalList'
  39. }
  40. }
  41. ]
  42. },
  43. {
  44. path: '/reportData/salesDetails',
  45. redirect: '/reportData/salesDetails/list',
  46. name: 'salesDetails',
  47. component: BlankLayout,
  48. meta: {
  49. title: '销售明细(下推统计)',
  50. icon: 'profile',
  51. permission: 'M_salesDetailsList'
  52. },
  53. hideChildrenInMenu: true,
  54. children: [
  55. {
  56. path: 'list',
  57. name: 'salesDetailsList',
  58. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  59. meta: {
  60. title: '销售明细(下推统计)列表',
  61. icon: 'profile',
  62. hidden: true,
  63. permission: 'M_salesDetailsList'
  64. }
  65. }
  66. ]
  67. },
  68. {
  69. path: '/reportData/regionTypeBusinessReport',
  70. redirect: '/reportData/regionTypeBusinessReport/list',
  71. name: 'regionTypeBusinessReport',
  72. component: BlankLayout,
  73. meta: {
  74. title: '各品类经营分析表',
  75. icon: 'profile',
  76. permission: 'M_regionTypeBusinessReportList'
  77. },
  78. hideChildrenInMenu: true,
  79. children: [
  80. {
  81. path: 'list',
  82. name: 'regionTypeBusinessReportList',
  83. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeBusinessReport/list.vue'),
  84. meta: {
  85. title: '各品类经营分析表',
  86. icon: 'profile',
  87. hidden: true,
  88. permission: 'M_regionTypeBusinessReportList'
  89. }
  90. }
  91. ]
  92. },
  93. {
  94. path: '/reportData/dailyReport',
  95. redirect: '/reportData/dailyReport/list',
  96. name: 'dailyReport',
  97. component: BlankLayout,
  98. meta: {
  99. title: '每日报表',
  100. icon: 'profile',
  101. permission: 'M_dailyReport'
  102. },
  103. hideChildrenInMenu: true,
  104. children: [
  105. {
  106. path: 'list',
  107. name: 'dailyReportList',
  108. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/dailyReport/index.vue'),
  109. meta: {
  110. title: '每日报表',
  111. icon: 'profile',
  112. hidden: true,
  113. permission: 'M_dailyReport'
  114. }
  115. }
  116. ]
  117. },
  118. {
  119. path: '/reportData/actualSalesReport',
  120. redirect: '/reportData/actualSalesReport/list',
  121. name: 'actualSalesReport',
  122. component: BlankLayout,
  123. meta: {
  124. title: '实售销售报表',
  125. icon: 'profile',
  126. permission: 'M_actualSalesReportList'
  127. },
  128. hideChildrenInMenu: true,
  129. children: [
  130. {
  131. path: 'list',
  132. name: 'actualSalesReportList',
  133. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  134. meta: {
  135. title: '实售销售列表',
  136. icon: 'profile',
  137. hidden: true,
  138. permission: 'M_actualSalesReportList'
  139. }
  140. }
  141. ]
  142. },
  143. {
  144. path: '/reportData/salesAmountReport',
  145. redirect: '/reportData/salesAmountReport/list',
  146. name: 'salesAmountReport',
  147. component: BlankLayout,
  148. meta: {
  149. title: '开单销售报表',
  150. icon: 'profile',
  151. permission: 'M_salesAmountReportList'
  152. },
  153. hideChildrenInMenu: true,
  154. children: [{
  155. path: 'list',
  156. name: 'salesAmountReportList',
  157. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  158. meta: {
  159. title: '开单销售报表列表',
  160. icon: 'profile',
  161. hidden: true,
  162. permission: 'M_salesAmountReportList'
  163. }
  164. }]
  165. },
  166. {
  167. path: '/reportData/salesSlipReport',
  168. redirect: '/reportData/salesSlipReport/list',
  169. name: 'salesSlipReport',
  170. component: BlankLayout,
  171. meta: {
  172. title: '开单销售单报表',
  173. icon: 'profile',
  174. permission: 'M_salesSlipReportList'
  175. },
  176. hideChildrenInMenu: true,
  177. children: [{
  178. path: 'list',
  179. name: 'salesSlipReportList',
  180. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  181. meta: {
  182. title: '开单销售单报表列表',
  183. icon: 'profile',
  184. hidden: true,
  185. permission: 'M_salesSlipReportList'
  186. }
  187. }]
  188. },
  189. {
  190. path: '/reportData/promotionSalesRealTimeReport',
  191. redirect: '/reportData/promotionSalesRealTimeReport/index',
  192. name: 'promotionSalesRealTimeReport',
  193. component: BlankLayout,
  194. meta: {
  195. title: '促销销售单报表',
  196. icon: 'profile',
  197. permission: 'M_promotionSalesRealTimeReportList'
  198. },
  199. hideChildrenInMenu: true,
  200. children: [
  201. {
  202. path: 'index',
  203. name: 'promotionSalesRealTimeReportIndex',
  204. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesRealTimeReport/index.vue'),
  205. meta: {
  206. title: '促销销售单报表',
  207. icon: 'profile',
  208. hidden: true,
  209. permission: 'M_promotionSalesRealTimeReportList'
  210. }
  211. }
  212. ]
  213. },
  214. {
  215. path: '/reportData/promotionSalesOrderReport',
  216. redirect: '/reportData/promotionSalesOrderReport/list',
  217. name: 'promotionSalesOrderReport',
  218. component: BlankLayout,
  219. meta: {
  220. title: '促销销售单报表(统计)',
  221. icon: 'profile',
  222. permission: 'M_promotionSalesOrderReport'
  223. },
  224. hideChildrenInMenu: true,
  225. children: [{
  226. path: 'list',
  227. name: 'promotionSalesOrderReportList',
  228. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionSalesOrderReport/list.vue'),
  229. meta: {
  230. title: '促销销售单报表(统计)',
  231. icon: 'profile',
  232. hidden: true,
  233. permission: 'M_promotionSalesOrderReportList'
  234. }
  235. }]
  236. },
  237. {
  238. path: '/reportData/promotionFeeReport',
  239. redirect: '/reportData/promotionFeeReport/index',
  240. name: 'promotionFeeReport',
  241. component: BlankLayout,
  242. meta: {
  243. title: '促销费用报表',
  244. icon: 'profile',
  245. permission: 'M_promotionFeeReportList'
  246. },
  247. hideChildrenInMenu: true,
  248. children: [
  249. {
  250. path: 'index',
  251. name: 'promotionFeeReportIndex',
  252. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/promotionFeeReport/index.vue'),
  253. meta: {
  254. title: '促销费用报表',
  255. icon: 'profile',
  256. hidden: true,
  257. permission: 'M_promotionFeeReportList'
  258. }
  259. }
  260. ]
  261. },
  262. {
  263. path: '/reportData/salesReturnsReport',
  264. redirect: '/reportData/salesReturnsReport/list',
  265. name: 'salesReturnsReport',
  266. component: BlankLayout,
  267. meta: {
  268. title: '销售退货单报表',
  269. icon: 'profile',
  270. permission: 'M_salesReturnsReportList'
  271. },
  272. hideChildrenInMenu: true,
  273. children: [
  274. {
  275. path: 'list',
  276. name: 'salesReturnsReportList',
  277. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  278. meta: {
  279. title: '销售退货单报表列表',
  280. icon: 'profile',
  281. hidden: true,
  282. permission: 'M_salesReturnsReportList'
  283. }
  284. }
  285. ]
  286. },
  287. {
  288. path: '/reportData/salesReturnDetailReport',
  289. redirect: '/reportData/salesReturnDetailReport/list',
  290. name: 'salesReturnDetailReport',
  291. component: BlankLayout,
  292. meta: {
  293. title: '销售退货明细报表',
  294. icon: 'profile',
  295. permission: 'M_salesReturnDetailReportList'
  296. },
  297. hideChildrenInMenu: true,
  298. children: [{
  299. path: 'list',
  300. name: 'salesReturnDetailReportList',
  301. component: () => import(/* webpackChunkName: "reportData" */
  302. '@/views/reportData/salesReturnDetailReport/list.vue'),
  303. meta: {
  304. title: '销售退货明细报表列表',
  305. icon: 'profile',
  306. hidden: true,
  307. permission: 'M_salesReturnDetailReportList'
  308. }
  309. }]
  310. },
  311. {
  312. path: '/reportData/salesReturnReport',
  313. redirect: '/reportData/salesReturnReport/list',
  314. name: 'salesReturnReport',
  315. component: BlankLayout,
  316. meta: {
  317. title: '实售退货报表',
  318. icon: 'profile',
  319. permission: 'M_salesReturnReportList'
  320. },
  321. hideChildrenInMenu: true,
  322. children: [
  323. {
  324. path: 'list',
  325. name: 'salesReturnReportList',
  326. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  327. meta: {
  328. title: '实售退货列表',
  329. icon: 'profile',
  330. hidden: true,
  331. permission: 'M_salesReturnReportList'
  332. }
  333. }
  334. ]
  335. },
  336. {
  337. path: '/reportData/billingReturnReport',
  338. redirect: '/reportData/billingReturnReport/list',
  339. name: 'billingReturnReport',
  340. component: BlankLayout,
  341. meta: {
  342. title: '开单退货报表',
  343. icon: 'profile',
  344. permission: 'M_billingReturnReportList'
  345. },
  346. hideChildrenInMenu: true,
  347. children: [
  348. {
  349. path: 'list',
  350. name: 'billingReturnReportList',
  351. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  352. meta: {
  353. title: '开单退货列表',
  354. icon: 'profile',
  355. hidden: true,
  356. permission: 'M_billingReturnReportList'
  357. }
  358. }
  359. ]
  360. },
  361. {
  362. path: '/reportData/returnSlipReport',
  363. redirect: '/reportData/returnSlipReport/list',
  364. name: 'returnSlipReport',
  365. component: BlankLayout,
  366. meta: {
  367. title: '开单退货单报表',
  368. icon: 'profile',
  369. permission: 'M_returnSlipReportList'
  370. },
  371. hideChildrenInMenu: true,
  372. children: [{
  373. path: 'list',
  374. name: 'returnSlipReportList',
  375. component: () => import(/* webpackChunkName: "reportData" */
  376. '@/views/reportData/returnSlipReport/list.vue'),
  377. meta: {
  378. title: '开单退货单报表列表',
  379. icon: 'profile',
  380. hidden: true,
  381. permission: 'M_returnSlipReportList'
  382. }
  383. }]
  384. },
  385. {
  386. path: '/reportData/regionTypeSalesReport',
  387. redirect: '/reportData/regionTypeSalesReport/list',
  388. name: 'regionTypeSalesReport',
  389. component: BlankLayout,
  390. meta: {
  391. title: '各分区品类实售明细',
  392. icon: 'profile',
  393. permission: 'M_regionTypeSalesReportList'
  394. },
  395. hideChildrenInMenu: true,
  396. children: [
  397. {
  398. path: 'list',
  399. name: 'regionTypeSalesReportList',
  400. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  401. meta: {
  402. title: '各分区品类实售明细',
  403. icon: 'profile',
  404. hidden: true,
  405. permission: 'M_regionTypeSalesReportList'
  406. }
  407. }
  408. ]
  409. },
  410. {
  411. path: '/reportData/salesPresentation',
  412. redirect: '/reportData/salesPresentation/list',
  413. name: 'salesPresentation',
  414. component: BlankLayout,
  415. meta: {
  416. title: '销售交单报表',
  417. icon: 'profile',
  418. permission: 'M_salesPresentationList'
  419. },
  420. hideChildrenInMenu: true,
  421. children: [
  422. {
  423. path: 'list',
  424. name: 'salesPresentationList',
  425. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  426. meta: {
  427. title: '销售交单报表列表',
  428. icon: 'profile',
  429. hidden: true,
  430. permission: 'M_salesPresentationList'
  431. }
  432. }
  433. ]
  434. },
  435. {
  436. path: '/reportData/billingStatistics',
  437. redirect: '/reportData/billingStatistics/index',
  438. name: 'billingStatistics',
  439. component: BlankLayout,
  440. meta: {
  441. title: '开单统计报表',
  442. icon: 'profile',
  443. permission: 'M_billingStatisticsList'
  444. },
  445. hideChildrenInMenu: true,
  446. children: [
  447. {
  448. path: 'index',
  449. name: 'billingStatisticsIndex',
  450. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingStatistics/index.vue'),
  451. meta: {
  452. title: '开单统计报表',
  453. icon: 'profile',
  454. hidden: true,
  455. permission: 'M_billingStatisticsList'
  456. }
  457. }
  458. ]
  459. },
  460. {
  461. path: '/reportData/returnGoodsPresentation',
  462. redirect: '/reportData/returnGoodsPresentation/list',
  463. name: 'returnGoodsPresentation',
  464. component: BlankLayout,
  465. meta: {
  466. title: '退货交单报表',
  467. icon: 'profile',
  468. permission: 'M_returnGoodsPresentationList'
  469. },
  470. hideChildrenInMenu: true,
  471. children: [
  472. {
  473. path: 'list',
  474. name: 'returnGoodsPresentationList',
  475. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  476. meta: {
  477. title: '退货交单报表列表',
  478. icon: 'profile',
  479. hidden: true,
  480. permission: 'M_returnGoodsPresentationList'
  481. }
  482. }
  483. ]
  484. }
  485. ]
  486. }