调整一下默认时段
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
const compareDate = dayjs().subtract(7, "day").format("YYYYMMDD"),
|
||||
currentDate = dayjs().format("YYYYMMDD"),
|
||||
hourNum = new Date().getHours(),
|
||||
hourNum = new Date().getHours()+1,
|
||||
groupCodeList = ""
|
||||
this.form = {compareDate, currentDate, hourNum, groupCodeList}
|
||||
this.$set(this.$marketBoard, 'search', {compareDate, currentDate, hourNum, groupCodeList: []})
|
||||
|
||||
@@ -40,7 +40,7 @@ export default {
|
||||
this.getOptions().then(() => {
|
||||
setTimeout(() => {
|
||||
const {dayjs} = window
|
||||
const hourNum = new Date().getHours(), groupCodeList = "", interval = 60000
|
||||
const hourNum = new Date().getHours()+1, groupCodeList = "", interval = 60000
|
||||
const currentDate = dayjs().subtract(7, 'day').format("YYYYMMDD")
|
||||
this.form = {hourNum, groupCodeList, type: "1", changeWay: "1", currentDate, interval}
|
||||
this.$set(this.$multipleStoreBoard, 'search', {hourNum, groupCodeList: [], type: "1", changeWay: "1", categoryId: "", currentDate, interval})
|
||||
|
||||
@@ -26,7 +26,7 @@ export default {
|
||||
this.getOptions().then(() => {
|
||||
setTimeout(() => {
|
||||
const {dayjs} = window
|
||||
const hourNum = new Date().getHours(),
|
||||
const hourNum = new Date().getHours()+1,
|
||||
storeCode = this.$storeBoard.search.storeCode || this.options?.[0].storeCode
|
||||
const currentDate = dayjs().format("YYYYMMDD")
|
||||
this.form = {hourNum, storeCode, type: "1", currentDate}
|
||||
|
||||
Reference in New Issue
Block a user