面板月份修改

This commit is contained in:
lSun 2025-05-15 18:18:28 +08:00
parent bd8ca34855
commit 1a98acfc5a
1 changed files with 4 additions and 3 deletions

View File

@ -198,10 +198,11 @@
//
handleSubmit(e) {
this.optionsData = []
console.log(e)
console.log("月份选择事件",e)
this.curDateMtxt = `${e.year}${e.month}`
let mNum = e.month > 9 ? e.month : '0' + e.month
this.curDateM = `${e.year}-${mNum}`
// let mNum = e.month > 9 ? e.month : '0' + e.month
let mNum = e.month
this.curDateM = `${e.year}-${mNum}`
console.log(mNum)
this.selectNum = new Date().getTime()
this.getInitData()