Commit f922bc54 by 匡雅琴

样式调整

1 parent c2d70e6f
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
this.openMessage('获取采购进度占比失败') this.openMessage('获取采购进度占比失败')
return return
} }
this.progressData = res.data.dataList || [] this.progressData = res.data.dataList.slice(0, 3) || []
}) })
} }
} }
......
...@@ -59,21 +59,25 @@ export default { ...@@ -59,21 +59,25 @@ export default {
}, },
shopmallLegend: [ shopmallLegend: [
{ {
name: 'goodsname' name: 'goodsname',
width: '7vw'
}, },
{ {
name: 'rate', name: 'rate',
type: 'decimal' type: 'decimal',
width: '3vw'
}, },
{ {
name: 'purchaseamount', name: 'purchaseamount',
hasIcon: '¥', hasIcon: '¥',
type: 'number' type: 'number',
width: '5vw'
}, },
{ {
name: 'averprice', name: 'averprice',
hasIcon: '均价¥', hasIcon: '均价¥',
type: 'number' type: 'number',
width: '5vw'
} }
], ],
// 自采饼图结构 // 自采饼图结构
...@@ -85,21 +89,25 @@ export default { ...@@ -85,21 +89,25 @@ export default {
}, },
selfPickLegend: [ selfPickLegend: [
{ {
name: 'goodsname' name: 'goodsname',
width: '7vw'
}, },
{ {
name: 'rate', name: 'rate',
type: 'decimal' type: 'decimal',
width: '3vw'
}, },
{ {
name: 'purchaseamount', name: 'purchaseamount',
hasIcon: '¥', hasIcon: '¥',
type: 'number' type: 'number',
width: '5vw'
}, },
{ {
name: 'averprice', name: 'averprice',
hasIcon: '均价¥', hasIcon: '均价¥',
type: 'number' type: 'number',
width: '5vw'
} }
] ]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!