Commit 6d446e5b40c8fa20d5350cd943a4420567bfe9be
1 parent
05b3e86b
eslint
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/inout.vue
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <div class="title">无牌车{{ toflag =='0' ? '入场' : '出场' }}结算</div> |
4 | 4 | <div :class="tipsClass" class="tips-text" >{{ tipsText }}</div> |
5 | 5 | <div class="inout-fix"></div> |
6 | - <input v-show="inputType" ref="phoneVal" type="text" placeholder="请输入手机号" maxlength="11"> | |
6 | + <input v-show="inputType" ref="phoneVal" type="text" placeholder="请输入手机号" maxlength="11" onkeyup="this.value=this.value.replace(/[^0-9-]+/,'');" > | |
7 | 7 | <input v-show="!inputType" ref="carVal" type="text" placeholder="请输入车牌号" maxlength="8"> |
8 | 8 | <div class="toggle-btn" @click="togglebtn"> |
9 | 9 | <img src="../assets/toggle-btn.png"> | ... | ... |