<el-date-picker v-model="fomrData.changeTime" :disabled-date="disabledDate" placeholder="选择变动时间" type="date" />
// 只能选择本月的日期
const disabledDate = (time: any) => {
// 获取当前月份
const nowMonth = dayjs().month()
return time.getMonth() !== nowMonth
}