Commit c33aa737 authored by 黄媛媛's avatar 黄媛媛

111

parent 9d3da302
......@@ -301,7 +301,7 @@
<tr>
<td>
<el-form-item :label="$t('system.table_phone')" prop="EmMobile">
<el-input class="w217" type="text" v-model="addMsg.EmMobile" :placeholder="$t('pub.pleaseImport')">
<el-input class="w217" type="text" maxlength="20" v-model="addMsg.EmMobile" :placeholder="$t('pub.pleaseImport')">
</el-input>
</el-form-item>
</td>
......@@ -467,10 +467,10 @@
pattern: /^\d{5,11}$/,
message: this.$t("rule.qsrzqdqq")
}],
EmMobile: [{
pattern: /^(0|86|17951)?(13[0-9]|15[012356789]|17[012356789]|18[0-9]|19[0-9]|14[57])[0-9]{8}$/,
message: "请输入正确的手机"
}],
// EmMobile: [{
// pattern: /^(0|86|17951)?(13[0-9]|15[012356789]|17[012356789]|18[0-9]|19[0-9]|14[57])[0-9]{8}$/,
// message: "请输入正确的手机"
// }],
EmCard: [{
pattern: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
message: this.$t("rule.qsrIdnum")
......
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