From 8a3a21c35af5681a6aadd2b4b6781becbcfdcb8f Mon Sep 17 00:00:00 2001 From: liushuai Date: Sat, 2 Mar 2019 09:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WorkshopProcurement/costStatistics/index.vue | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/views/WorkshopProcurement/costStatistics/index.vue b/src/views/WorkshopProcurement/costStatistics/index.vue index c7829dfc..360a4a4a 100644 --- a/src/views/WorkshopProcurement/costStatistics/index.vue +++ b/src/views/WorkshopProcurement/costStatistics/index.vue @@ -84,16 +84,13 @@ export default { }, data() { return { - Purchase: 18040, + Purchase: 25040, WorkPurchase: 5308, Outsourcing: 3240, - Home: 35806, + Home: 37806, projectValue: 1, project: [], - data: [ - { value: 28040, name: '采购部采购' }, - { value: 15308, name: '制造部采购' } - ] + data: [] } }, mounted() { @@ -155,10 +152,10 @@ export default { type: 'pie', radius: '57%', center: ['50%', '50%'], - data: [{ value: 18040, name: '采购部采购' }, + data: [{ value: 25040, name: '采购部采购' }, { value: 5308, name: '制造部采购' }, { value: 3240, name: '外协工时' }, - { value: 35806, name: '自家工时' } + { value: 37806, name: '自家工时' } ], itemStyle: { emphasis: { @@ -201,7 +198,7 @@ export default { series: [{ name: '销量', type: 'bar', - data: [18040, 5308, 3240, 35806] + data: [25040, 5308, 3240, 37806] }] }) setTimeout(function() {