|
@@ -23,6 +23,7 @@
|
23
|
23
|
<el-input
|
24
|
24
|
placeholder="请输入手机号"
|
25
|
25
|
v-model="phone"
|
|
26
|
+ @input="phone=phone.replace(/\D/g,'')"
|
26
|
27
|
clearable>
|
27
|
28
|
</el-input>
|
28
|
29
|
</div>
|
|
@@ -46,9 +47,12 @@ export default {
|
46
|
47
|
this.$nextTick(function () { })
|
47
|
48
|
},
|
48
|
49
|
methods: {
|
|
50
|
+ inputPhone () {
|
|
51
|
+ this.phone = this.phone.replace(/\D/g, '')
|
|
52
|
+ },
|
49
|
53
|
toVerificationList () { // 前往核销列表
|
50
|
54
|
if (this.phone !== '') {
|
51
|
|
- this.$router.push({name: 'phoneVerificationList', query: {tel: this.phone}})
|
|
55
|
+ this.$router.push({ name: 'phoneVerificationList', query: { tel: this.phone } })
|
52
|
56
|
} else {
|
53
|
57
|
this.$message({
|
54
|
58
|
message: '手机号为空!',
|