|
@@ -358,7 +358,7 @@
|
|
|
let data_ = res.data.customer_scale
|
|
|
data_.forEach(ele => {
|
|
|
if(ele.amount){
|
|
|
- ele.amount=utils.formatMoney(ele.amount / 10000, undefined, true)
|
|
|
+ ele.amount=(ele.amount / 10000).toFixed(2)
|
|
|
}
|
|
|
});
|
|
|
data_.sort(function(a,b){return b.total-a.total});
|
|
@@ -368,7 +368,7 @@
|
|
|
this_.data_list=newarr
|
|
|
if(res.data.customer_scale_other){
|
|
|
this_.analysis_num=res.data.customer_scale_other.total
|
|
|
- this_.analysis_price=utils.formatMoney(res.data.customer_scale_other.amount / 10000, undefined, true)
|
|
|
+ this_.analysis_price=(res.data.customer_scale_other.amount / 10000).toFixed(2)
|
|
|
}
|
|
|
} else {
|
|
|
// this.$toast('请求失败')
|