Commit 06ef752d authored by 军师中郎将's avatar 军师中郎将

重大危险源 电话 增加 数字校验

parent 2e925847
......@@ -129,7 +129,7 @@
<el-row>
<el-col :span="11">
<el-form-item label="电话" prop="fPhone">
<el-input v-model="form.fPhone" placeholder="请输入电话" />
<el-input v-model="form.fPhone" onkeyup="this.value=this.value.replace(/\D/g,'')" placeholder="请输入电话" />
</el-form-item>
</el-col>
</el-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment