最终结果
具体控件说明
<el-date-picker v-model="filters.RANGEMONTH" style="width:100%" align="left" size="small" type="monthrange"
:clearable="false" range-separator="至" start-placeholder="开始月份" end-placeholder="结束月份" value-format="yyyy-MM"
:picker-options="datePickerOptions" @change="GetDateofClickMonth">
</el-date-picker>
type="monthrange"代表月,value-format="yyyy-MM"展示的日期格式为年-月。@change 是选择时间。datePickerOptions里面的disabledDate()方法限制可选时间。