<el-input v-model.trim="form.commission" clearable placeholder="请输入" oninput="value=value.replace(/[^\d|\.]/g, '').replace(/^00/g, '0').replace(/^\./g, '0.').replace(/\.{2,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')">
<span slot="prefix">¥</span>
</el-input>