From 1c162a8247e76910c83cf583d997a7b2315c11d5 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Fri, 18 Jun 2021 14:40:35 +0800 Subject: [PATCH] no message --- xtends/statics/agent-report/index.js | 2 +- xtends/statics/gross-report/index.js | 2 +- xtends/statics/purchase-report/index.js | 2 +- xtends/statics/sale-report/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xtends/statics/agent-report/index.js b/xtends/statics/agent-report/index.js index 23392ae..2f369c4 100644 --- a/xtends/statics/agent-report/index.js +++ b/xtends/statics/agent-report/index.js @@ -40,7 +40,7 @@ Scene({ var today = new Date() today.setHours(0, 0, 0) var vdate = [today.getTime(), maxDate] - var vdateString = util.formatDate(new Date(), 'Y-M-D') + '至' + util.formatDate(max, 'Y-M-D') + var vdateString = util.formatDate(today, 'Y-M-D') + '至' + util.formatDate(max, '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 - 404, minDate, maxDate, vdate, vdateString }) diff --git a/xtends/statics/gross-report/index.js b/xtends/statics/gross-report/index.js index bd6afd4..fa4a11b 100644 --- a/xtends/statics/gross-report/index.js +++ b/xtends/statics/gross-report/index.js @@ -40,7 +40,7 @@ Scene({ var today = new Date() today.setHours(0, 0, 0) var vdate = [today.getTime(), maxDate] - var vdateString = util.formatDate(new Date(), 'Y-M-D') + '至' + util.formatDate(max, 'Y-M-D') + var vdateString = util.formatDate(today, 'Y-M-D') + '至' + util.formatDate(max, '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 - 404, minDate, maxDate, vdate, vdateString }) diff --git a/xtends/statics/purchase-report/index.js b/xtends/statics/purchase-report/index.js index c9662de..8ead22e 100644 --- a/xtends/statics/purchase-report/index.js +++ b/xtends/statics/purchase-report/index.js @@ -39,7 +39,7 @@ Scene({ var today = new Date() today.setHours(0, 0, 0) var vdate = [today.getTime(), maxDate] - var vdateString = util.formatDate(min, 'Y-M-D') + '至' + util.formatDate(max, 'Y-M-D') + var vdateString = util.formatDate(today, 'Y-M-D') + '至' + util.formatDate(max, '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 }) diff --git a/xtends/statics/sale-report/index.js b/xtends/statics/sale-report/index.js index fa12c3c..304c786 100644 --- a/xtends/statics/sale-report/index.js +++ b/xtends/statics/sale-report/index.js @@ -56,7 +56,7 @@ Scene({ var today = new Date() today.setHours(0, 0, 0) var vdate = [today.getTime(), maxDate] - var vdateString = util.formatDate(new Date(), 'Y-M-D') + '至' + util.formatDate(max, 'Y-M-D') + var vdateString = util.formatDate(today, 'Y-M-D') + '至' + util.formatDate(max, '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 - 494, minDate, maxDate, vdate, vdateString })