### input只允许输入整数和小数(小数只保留小数点后两位)
<el-input size="small" onkeyup="this.value=this.value.match(/\d+\.?\d{0,2}/)"onafterpaste="this.value=this.value.match(/\d+\.?\d{0,2}/)"v-model="scope.row.agentPrice"maxlength="9"></el-input>
### input只允许输入整数
<el-input size="small" onkeyup="this.value=this.value.replace(/\D/g,'')"onafterpaste="this.value=this.value.replace(/\D/g,'')"v-model.number="scope.row.quantityNum" maxlength="9"></el-input>