1、前端编辑日期只显示月份。
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.monthvalue"
type="month"
format="MM"
value-format="MM"
placeholder="请选择月份">
</el-date-picker>
2、输入框input输入,小数和小数点
<el-input v-model="form.yuescl" maxlength="12" oninput = "value=value.replace(/[^\d.]/g,'')" placeholder="请输入月生产量" />
3、待续。。。。