@@ -58,6 +58,8 @@ export default {
{ title: '利润率', type: '', value: (res.data.profit ? res.data.profit.profitRate : 0) + '%' }
]
this.tab1TableData = res.data.orgProfit
+ } else{
+ this.$Message.warning(res.message)
}
this.loading = false
})
this.tab1TableData = res.data.skuProfit
@@ -77,6 +77,8 @@ export default {
this.tab1TableData = res.data.staffProfit
@@ -396,6 +396,8 @@ export default {
options4.series[0].data = res.data.skuProfit.map(it => it.profit)
chart4.setOption(options4)