<inputonkeyup="this.quoteVal=this.quoteVal.replace(/[^\w./]/ig,'')"class="rohsInput"placeholder="输入编号"@blur="getQuote":value="quoteVal":disabled="quoteDis"/>
this.quoteVal是一个字符串吗,只有字符串有replace方法,你这个报错是,没有replace属性。你打印一下this.quoteVal
用@keyup