diff --git a/ruoyi-ui/src/views/kpi/spacePlan/index.vue b/ruoyi-ui/src/views/kpi/spacePlan/index.vue index 3edf377..707a6ab 100644 --- a/ruoyi-ui/src/views/kpi/spacePlan/index.vue +++ b/ruoyi-ui/src/views/kpi/spacePlan/index.vue @@ -183,7 +183,35 @@ export default { } }, legend: { - data: ['空位', '满位', '入库分配', '出库分配', '入库需盘点', '出库需盘点'] + data: [ + { + name: '空位', + itemStyle: { color: '#AEEEEE' } + }, + { + name: '满位', + itemStyle: { color: '#FF9900' } + }, + { + name: '入库分配', + itemStyle: { color: '#FFFF00' } + }, + { + name: '出库分配', + itemStyle: { color: '#00CC00' } + }, + { + name: '入库需盘点', + itemStyle: { color: '#FF0000' } + }, + { + name: '出库需盘点', + itemStyle: { color: '#0000FF' } + } + ], + textStyle: { + color: '#333' + } }, series: [ {