diff --git a/xtends/statics/purchase-report/index.js b/xtends/statics/purchase-report/index.js index 7338610..c9662de 100644 --- a/xtends/statics/purchase-report/index.js +++ b/xtends/statics/purchase-report/index.js @@ -40,8 +40,8 @@ Scene({ today.setHours(0, 0, 0) var vdate = [today.getTime(), maxDate] var vdateString = util.formatDate(min, 'Y-M-D') + '至' + util.formatDate(max, 'Y-M-D') - this.data.form.dimensionDateStart = util.formatDate(min, 'Y-M-D') - this.data.form.dimensionDateEnd = util.formatDate(today, 'Y-M-D') + this.data.form.dimensionDateStart = util.formatDate(today, 'Y-M-D') + this.data.form.dimensionDateEnd = util.formatDate(max, 'Y-M-D') this.setData({ height: app.globalData.fragmentHeight - 304, minDate, maxDate, vdate, vdateString }) this.fetchStatisticsInfo() },