mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 08:36:44 +08:00
feature: 开门红业绩排名
1. 过滤name为空数据, 小数保留两位
This commit is contained in:
@@ -50,6 +50,14 @@ export default {
|
|||||||
this.$emit('updateQueryCom', index)
|
this.$emit('updateQueryCom', index)
|
||||||
},
|
},
|
||||||
setTableData(data) {
|
setTableData(data) {
|
||||||
|
data = data.filter(item => {
|
||||||
|
return item.name
|
||||||
|
})
|
||||||
|
data.map(item => {
|
||||||
|
item.bzbf = parseFloat(item.bzbf).toFixed(2)
|
||||||
|
item.ysbb = parseFloat(item.ysbb).toFixed(2)
|
||||||
|
return item
|
||||||
|
})
|
||||||
this.values = data
|
this.values = data
|
||||||
},
|
},
|
||||||
calculate() {
|
calculate() {
|
||||||
|
|||||||
Reference in New Issue
Block a user