进入input框自动切换到英文输入法
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -47,16 +47,16 @@ | ... | @@ -47,16 +47,16 @@ |
47 | </el-input> | 47 | </el-input> |
48 | </td> | 48 | </td> |
49 | <td class="syqmj"> | 49 | <td class="syqmj"> |
50 | <el-input placeholder="请输入数字" | 50 | <el-input placeholder="请输入数字" style="ime-mode:inactive" |
51 | oninput="if(isNaN(value)) { value = value.substr(0, value.length - 1) } if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}" | 51 | oninput="if(isNaN(value)) { value = value.substr(0, value.length - 1) } if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}" |
52 | v-model="item.tdsyqsyqmj" | 52 | v-model="item.tdsyqsyqmj" |
53 | ></el-input> | 53 | ></el-input> |
54 | </td> | 54 | </td> |
55 | <td class="dytdmj"> | 55 | <td class="dytdmj"> |
56 | <el-input v-model="item.dydytdmj" placeholder="请输入数字" oninput="if(isNaN(value)) { value = value.substr(0, value.length - 1)} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}"></el-input> | 56 | <el-input v-model="item.dydytdmj" style="ime-mode:inactive" placeholder="请输入数字" oninput="if(isNaN(value)) { value = value.substr(0, value.length - 1)} if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}"></el-input> |
57 | </td> | 57 | </td> |
58 | <td class="fttjmj"> | 58 | <td class="fttjmj"> |
59 | <el-input v-model="item.fttdmj" placeholder="请输入数字" oninput="if(isNaN(value)) { value = value.substr(0, value.length - 1) } if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}"></el-input> | 59 | <el-input v-model="item.fttdmj" style="ime-mode:inactive" placeholder="请输入数字" oninput="if(isNaN(value)) { value = value.substr(0, value.length - 1) } if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+4)}"></el-input> |
60 | </td> | 60 | </td> |
61 | </tr> | 61 | </tr> |
62 | <tr> | 62 | <tr> | ... | ... |
-
Please register or sign in to post a comment