Browse Source

今日市场缺少部分数据

master
mk 11 months ago
parent
commit
4c0b284530
  1. 3
      src/views/next/screen-content-left/zdyf-left/index.vue

3
src/views/next/screen-content-left/zdyf-left/index.vue

@ -283,10 +283,8 @@ export default {
deduplicationJs (arr) {
const data = []
arr.forEach((item, index) => {
if ((index + 1) % 2 === 0) {
const num = item.AvgPrice
data.push({ ...item, price: num })
}
})
return data
},
@ -294,7 +292,6 @@ export default {
prcCollectionListForGov({ ...this.params, ...data }).then((res) => {
if (res.priceslist.length > 0) {
this.dayList = res.priceslist.filter(item => item.CategoryName == '蔬菜')
console.log(this.dayList)
this.getDayScTData()
} else {
this.times = this.$moment(this.times)

Loading…
Cancel
Save