|
@@ -281,6 +281,31 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
+ // {
|
|
|
+ // path: '/productManagement/productUniversal',
|
|
|
+ // redirect: '/productManagement/productUniversal/list',
|
|
|
+ // name: 'productUniversal',
|
|
|
+ // component: RouteView,
|
|
|
+ // meta: {
|
|
|
+ // title: '通用产品管理',
|
|
|
+ // icon: 'deployment-unit'
|
|
|
+ // // permission: 'M_productUniversalList'
|
|
|
+ // },
|
|
|
+ // hideChildrenInMenu: true,
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'list',
|
|
|
+ // name: 'productUniversalList',
|
|
|
+ // component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productUniversal/list.vue'),
|
|
|
+ // meta: {
|
|
|
+ // title: '通用产品列表',
|
|
|
+ // icon: 'deployment-unit',
|
|
|
+ // hidden: true
|
|
|
+ // // permission: 'M_productUniversalList'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
// 二期
|
|
|
// {
|
|
|
// path: '/productManagement/purchaseBaseLimit',
|
|
@@ -1579,8 +1604,8 @@ export const asyncRouterMap = [
|
|
|
component: PageView,
|
|
|
meta: {
|
|
|
title: '报表',
|
|
|
- icon: 'project'
|
|
|
- // permission: 'M_basicData'
|
|
|
+ icon: 'project',
|
|
|
+ permission: 'M_reportData'
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
@@ -1590,8 +1615,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '销售明细(开单统计)',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_salesDetailsList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1602,8 +1627,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '销售明细列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesDetailsList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1615,8 +1640,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '调拨开单统计',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_allocationOrderTotalList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1627,8 +1652,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '调拨开单列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_allocationOrderTotalList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1640,8 +1665,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '调拨明细',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_allocationDetailsList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1652,8 +1677,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '调拨明细列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_allocationDetailsList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1665,8 +1690,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '销售退货单报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_salesReturnsReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1677,8 +1702,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '销售退货单报表列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesReturnsReportList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1690,8 +1715,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '销售退货明细报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_salesReturnDetailReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [{
|
|
@@ -1702,8 +1727,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '销售退货明细报表列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesReturnDetailReportList'
|
|
|
}
|
|
|
}]
|
|
|
},
|
|
@@ -1714,8 +1739,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '开单销售单报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_salesSlipReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [{
|
|
@@ -1726,8 +1751,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '开单销售单报表列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesSlipReportList'
|
|
|
}
|
|
|
}]
|
|
|
},
|
|
@@ -1738,8 +1763,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '开单退货单报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_returnSlipReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [{
|
|
@@ -1750,8 +1775,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '开单退货单报表列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_returnSlipReportList'
|
|
|
}
|
|
|
}]
|
|
|
},
|
|
@@ -1762,8 +1787,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '开单销售报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_salesAmountReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [{
|
|
@@ -1774,8 +1799,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '开单销售报表列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesAmountReportList'
|
|
|
}
|
|
|
}]
|
|
|
},
|
|
@@ -1786,8 +1811,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '实售销售报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_actualSalesReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1798,8 +1823,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '实售销售列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_actualSalesReportList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1811,8 +1836,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '开单退货报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_billingReturnReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1823,8 +1848,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '开单退货列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_billingReturnReportList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1836,8 +1861,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '实售退货报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_salesReturnReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1848,8 +1873,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '实售退货列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_salesReturnReportList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1861,8 +1886,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '总部差价明细报表',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_priceDifferenceDetailReportList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1873,8 +1898,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '总部差价明细列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_priceDifferenceDetailReportList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1886,8 +1911,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '全国各省品类实际销售明细',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_provinceTypeSalesDetailsList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1898,8 +1923,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '全国各省品类实际销售明细列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_provinceTypeSalesDetailsList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1911,8 +1936,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '全国各区品类实际销售明细',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_districtTypeSalesDetailsList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1923,8 +1948,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '全国各区品类实际销售明细列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_districtTypeSalesDetailsList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1936,8 +1961,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '区域促销费用统计',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_regionalPromotionCostStatisticsList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1948,8 +1973,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '区域促销费用统计列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_regionalPromotionCostStatisticsList'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -1961,8 +1986,8 @@ export const asyncRouterMap = [
|
|
|
component: RouteView,
|
|
|
meta: {
|
|
|
title: '全国客户费用统计',
|
|
|
- icon: 'profile'
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ icon: 'profile',
|
|
|
+ permission: 'M_nationalCustomerCostStatisticsList'
|
|
|
},
|
|
|
hideChildrenInMenu: true,
|
|
|
children: [
|
|
@@ -1973,8 +1998,8 @@ export const asyncRouterMap = [
|
|
|
meta: {
|
|
|
title: '全国客户费用统计列表',
|
|
|
icon: 'profile',
|
|
|
- hidden: true
|
|
|
- // permission: 'M_warehouseList'
|
|
|
+ hidden: true,
|
|
|
+ permission: 'M_nationalCustomerCostStatisticsList'
|
|
|
}
|
|
|
}
|
|
|
]
|