Commit f922bc54 by 匡雅琴

样式调整

1 parent c2d70e6f
......@@ -70,7 +70,7 @@ export default {
this.openMessage('获取采购进度占比失败')
return
}
this.progressData = res.data.dataList || []
this.progressData = res.data.dataList.slice(0, 3) || []
})
}
}
......
......@@ -59,21 +59,25 @@ export default {
},
shopmallLegend: [
{
name: 'goodsname'
name: 'goodsname',
width: '7vw'
},
{
name: 'rate',
type: 'decimal'
type: 'decimal',
width: '3vw'
},
{
name: 'purchaseamount',
hasIcon: '¥',
type: 'number'
type: 'number',
width: '5vw'
},
{
name: 'averprice',
hasIcon: '均价¥',
type: 'number'
type: 'number',
width: '5vw'
}
],
// 自采饼图结构
......@@ -85,21 +89,25 @@ export default {
},
selfPickLegend: [
{
name: 'goodsname'
name: 'goodsname',
width: '7vw'
},
{
name: 'rate',
type: 'decimal'
type: 'decimal',
width: '3vw'
},
{
name: 'purchaseamount',
hasIcon: '¥',
type: 'number'
type: 'number',
width: '5vw'
},
{
name: 'averprice',
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!