<el-input type="number"
v-model="form.seq"
:disabled="formEdit"
oninput="if(value>127)value=127"
onkeypress='return( /[\d]/.test(String.fromCharCode(event.keyCode)))'
placeholder="请输入排序">
</el-input>
οninput="if(value>127)value=127" //限制输入的大小
οnkeypress='return( /[\d]/.test(String.fromCharCode(event.keyCode)))' //限制输入e
οninput="if(value.length>11)value=value.slice(0,11)" //限制输入长度