|
@@ -1828,16 +1828,27 @@ export const asyncRouterMap = [
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/reportData/salesReport',
|
|
path: '/reportData/salesReport',
|
|
- redirect: '/reportData/salesReport/list',
|
|
|
|
|
|
+ redirect: '/reportData/salesReport/index',
|
|
name: 'salesReport',
|
|
name: 'salesReport',
|
|
component: BlankLayout,
|
|
component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '销售报表',
|
|
title: '销售报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
- permission: 'M_salesReportList'
|
|
|
|
|
|
+ permission: 'M_salesReportList,M_salesDetailReportList'
|
|
},
|
|
},
|
|
hideChildrenInMenu: true,
|
|
hideChildrenInMenu: true,
|
|
children: [
|
|
children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ name: 'salesReportIndex',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_salesReportList,M_salesDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: 'list',
|
|
path: 'list',
|
|
name: 'salesReportList',
|
|
name: 'salesReportList',
|
|
@@ -1848,21 +1859,7 @@ export const asyncRouterMap = [
|
|
hidden: true,
|
|
hidden: true,
|
|
permission: 'M_salesReportList'
|
|
permission: 'M_salesReportList'
|
|
}
|
|
}
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/reportData/salesDetailReport',
|
|
|
|
- redirect: '/reportData/salesDetailReport/list',
|
|
|
|
- name: 'salesDetailReport',
|
|
|
|
- component: BlankLayout,
|
|
|
|
- meta: {
|
|
|
|
- title: '销售明细报表',
|
|
|
|
- icon: 'profile',
|
|
|
|
- permission: 'M_salesDetailReportList'
|
|
|
|
- },
|
|
|
|
- hideChildrenInMenu: true,
|
|
|
|
- children: [
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: 'list',
|
|
path: 'list',
|
|
name: 'salesDetailReportList',
|
|
name: 'salesDetailReportList',
|
|
@@ -1926,6 +1923,53 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ path: '/reportData/salesReturnReport',
|
|
|
|
+ redirect: '/reportData/salesReturnReport/index',
|
|
|
|
+ name: 'salesReturnReport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售退货报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ // permission: 'M_salesReturnReportList,M_salesReturnDetailReportList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ name: 'salesReturnReportIndex',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售退货报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ // permission: 'M_salesReturnReportList,M_salesReturnDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'salesReturnReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售退货报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_salesReturnReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'salesReturnDetailReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/detailList.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '销售退货明细报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_salesReturnDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: '/reportData/stockIncomeReport',
|
|
path: '/reportData/stockIncomeReport',
|
|
redirect: '/reportData/stockIncomeReport/list',
|
|
redirect: '/reportData/stockIncomeReport/list',
|
|
@@ -1976,31 +2020,6 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- {
|
|
|
|
- path: '/reportData/purchaseReceiptReport',
|
|
|
|
- redirect: '/reportData/purchaseReceiptReport/list',
|
|
|
|
- name: 'purchaseReceiptReport',
|
|
|
|
- component: BlankLayout,
|
|
|
|
- meta: {
|
|
|
|
- title: '采购入库报表',
|
|
|
|
- icon: 'profile',
|
|
|
|
- permission: 'M_purchaseReceiptReportList'
|
|
|
|
- },
|
|
|
|
- hideChildrenInMenu: true,
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: 'list',
|
|
|
|
- name: 'purchaseReceiptReportList',
|
|
|
|
- component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReceiptReport/list.vue'),
|
|
|
|
- meta: {
|
|
|
|
- title: '采购入库报表列表',
|
|
|
|
- icon: 'profile',
|
|
|
|
- hidden: true,
|
|
|
|
- permission: 'M_purchaseReceiptReportList'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
path: '/reportData/receivedSendStorageReport',
|
|
path: '/reportData/receivedSendStorageReport',
|
|
redirect: '/reportData/receivedSendStorageReport/list',
|
|
redirect: '/reportData/receivedSendStorageReport/list',
|
|
@@ -2075,7 +2094,173 @@ export const asyncRouterMap = [
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/reportData/purchaseReceiptReport',
|
|
|
|
+ redirect: '/reportData/purchaseReceiptReport/list',
|
|
|
|
+ name: 'purchaseReceiptReport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '采购入库报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ permission: 'M_purchaseReceiptReportList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'purchaseReceiptReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReceiptReport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '采购入库报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_purchaseReceiptReportList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/reportData/bulkWarehousingReport',
|
|
|
|
+ redirect: '/reportData/bulkWarehousingReport/index',
|
|
|
|
+ name: 'bulkWarehousingReport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件入库报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ // permission: 'M_bulkWarehousingReportList,M_bulkWarehousingDetailReportList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ name: 'bulkWarehousingReportIndex',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件入库报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ // permission: 'M_bulkWarehousingReportList,M_bulkWarehousingDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'bulkWarehousingReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件入库报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_bulkWarehousingReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'bulkWarehousingDetailReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/detailList.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件入库明细报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_bulkWarehousingDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/reportData/bulkReturnReport',
|
|
|
|
+ redirect: '/reportData/bulkReturnReport/index',
|
|
|
|
+ name: 'bulkReturnReport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件退货报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ // permission: 'M_bulkReturnReportList,M_bulkReturnDetailReportList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ name: 'bulkReturnReportIndex',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件退货报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ // permission: 'M_bulkWarehousingReportList,M_bulkWarehousingDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'bulkReturnReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件退货报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_bulkReturnReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'bulkReturnDetailReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/detailList.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '散件退货明细报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_bulkReturnDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/reportData/storeTransferOutReport',
|
|
|
|
+ redirect: '/reportData/storeTransferOutReport/index',
|
|
|
|
+ name: 'storeTransferOutReport',
|
|
|
|
+ component: BlankLayout,
|
|
|
|
+ meta: {
|
|
|
|
+ title: '店内调出报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ // permission: 'M_storeTransferOutReportList,M_storeTransferOutDetailReportList'
|
|
|
|
+ },
|
|
|
|
+ hideChildrenInMenu: true,
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ name: 'storeTransferOutReportIndex',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '店内调出报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ // permission: 'M_bulkWarehousingReportList,M_bulkWarehousingDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'storeTransferOutReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/list.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '店内调出报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_storeTransferOutReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'list',
|
|
|
|
+ name: 'storeTransferOutDetailReportList',
|
|
|
|
+ component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/detailList.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '店内调出明细报表列表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_storeTransferOutDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
]
|
|
]
|
|
},
|
|
},
|
|
// 连锁报表
|
|
// 连锁报表
|
|
@@ -2091,16 +2276,27 @@ export const asyncRouterMap = [
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/chainReportData/chainSalesReport',
|
|
path: '/chainReportData/chainSalesReport',
|
|
- redirect: '/chainReportData/chainSalesReport/list',
|
|
|
|
|
|
+ redirect: '/chainReportData/chainSalesReport/index',
|
|
name: 'chainSalesReport',
|
|
name: 'chainSalesReport',
|
|
component: BlankLayout,
|
|
component: BlankLayout,
|
|
meta: {
|
|
meta: {
|
|
title: '连锁销售报表',
|
|
title: '连锁销售报表',
|
|
icon: 'profile',
|
|
icon: 'profile',
|
|
- permission: 'M_chainSalesReportList'
|
|
|
|
|
|
+ permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
|
|
},
|
|
},
|
|
hideChildrenInMenu: true,
|
|
hideChildrenInMenu: true,
|
|
children: [
|
|
children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'index',
|
|
|
|
+ name: 'chainSalesReportIndex',
|
|
|
|
+ component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '连锁销售报表',
|
|
|
|
+ icon: 'profile',
|
|
|
|
+ hidden: true,
|
|
|
|
+ permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: 'list',
|
|
path: 'list',
|
|
name: 'chainSalesReportList',
|
|
name: 'chainSalesReportList',
|
|
@@ -2111,23 +2307,9 @@ export const asyncRouterMap = [
|
|
hidden: true,
|
|
hidden: true,
|
|
permission: 'M_chainSalesReportList'
|
|
permission: 'M_chainSalesReportList'
|
|
}
|
|
}
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/chainReportData/chainSalesDetailReport',
|
|
|
|
- redirect: '/chainReportData/chainSalesDetailReport/list',
|
|
|
|
- name: 'chainSalesDetailReport',
|
|
|
|
- component: BlankLayout,
|
|
|
|
- meta: {
|
|
|
|
- title: '连锁销售明细报表',
|
|
|
|
- icon: 'profile',
|
|
|
|
- permission: 'M_chainSalesDetailReportList'
|
|
|
|
- },
|
|
|
|
- hideChildrenInMenu: true,
|
|
|
|
- children: [
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- path: 'list',
|
|
|
|
|
|
+ path: 'detailList',
|
|
name: 'chainSalesDetailReportList',
|
|
name: 'chainSalesDetailReportList',
|
|
component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailReport/list.vue'),
|
|
component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailReport/list.vue'),
|
|
meta: {
|
|
meta: {
|