jiangping
2024-08-26 e23a1db0b60437f17d09d65c65f8fd0c8a5d88c7
h5/pages/staff/visitorReport.vue
@@ -293,6 +293,12 @@
        title: '手机号不能为空',
        icon: 'none'
      })
      var re = /^1[3,4,5,6,7,8,9][0-9]{9}$/;
        var result = re.test(this.form1.phone);
      if (!result) return uni.showToast({
        title: '手机号格式不正确',
        icon: 'none'
      })
      if (!this.form1.companyName) return uni.showToast({
        title: '来访单位不能为空',
        icon: 'none'