Browse Source

移风菜篮子

master
lichao 12 months ago
parent
commit
24e6512ff5
  1. 5
      src/views/next/screen-content-left/zdyf-left/index.vue

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

@ -293,7 +293,8 @@ export default {
getDayScData (data) {
prcCollectionListForGov({ ...this.params, ...data }).then((res) => {
if (res.priceslist.length > 0) {
this.dayList = res.priceslist
this.dayList = res.priceslist.filter(item => item.CategoryName == '蔬菜')
// console.log(this.dayList)
this.getDayScTData()
} else {
this.times = this.$moment(this.times)
@ -320,7 +321,7 @@ export default {
FStartDate: this.times
}).then((res1) => {
if (res1.priceslist.length > 0) {
this.shichangList = this.getScData(this.dayList, res1.priceslist)
this.shichangList = this.getScData(this.dayList, res1.priceslist.filter(item => item.CategoryName == '蔬菜'))
} else {
this.times = this.$moment(this.times)
.subtract(1, 'days')

Loading…
Cancel
Save