diff --git a/src/views/mes/smd/equipment/index.vue b/src/views/mes/smd/equipment/index.vue index 0aa5821..d507077 100644 --- a/src/views/mes/smd/equipment/index.vue +++ b/src/views/mes/smd/equipment/index.vue @@ -167,7 +167,7 @@ - +
{{ formObj.weight }} @@ -176,7 +176,7 @@ - +
{{ formObj.useDept }} @@ -1088,12 +1088,6 @@ export default { if (this.formObj.weight.length > 11) { this.formObj.weight = this.formObj.weight.slice(0, 11); } - const phoneRegex = /^1[3-9]\d{9}$/; - if (!phoneRegex.test(value)) { - // 如果不符合手机号码格式,可以在这里进行提示或重置输入框的值等操作 - this.$message.error('输入的不是有效的电话号码'); - this.formObj.weight = ''; - } }, showEqpGroupDialog(key) { this.eqpGroupDialogVisible = true;