|
|
@@ -570,6 +570,24 @@ export async function getInitialState() { |
|
|
|
component: './order/ExOrder', |
|
|
|
access: 'k32', |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '销售成本分析', |
|
|
|
path: '/order/cost-of-sales', |
|
|
|
component: './order/cost-of-sales', |
|
|
|
access: 'k31', |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '销售毛利分析', |
|
|
|
path: '/order/sales-gross-profit', |
|
|
|
component: './order/sales-gross-profit', |
|
|
|
access: 'k31', |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '门店销售毛利分析', |
|
|
|
path: '/order/gross-profit-store-sales', |
|
|
|
component: './order/gross-profit-store-sales', |
|
|
|
access: 'k31', |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
@@ -746,7 +764,7 @@ const codeMessage = { |
|
|
|
}; |
|
|
|
|
|
|
|
export const request = { |
|
|
|
|
|
|
|
|
|
|
|
errorHandler: (error) => { |
|
|
|
const { response } = error; |
|
|
|
console.log('response',response); |
|
|
|