Browse Source

199手机号bug

周立森 5 years ago
parent
commit
cacf561812
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/pages/agent/recommend/index.js

+ 5
- 5
src/pages/agent/recommend/index.js View File

213
       this.Alert("请输入客户电话");
213
       this.Alert("请输入客户电话");
214
       return false;
214
       return false;
215
     }
215
     }
216
-    if (!(/^1[3|4|5|7|8][0-9]\d{4,8}$/.test(phone)) || phone.length != 11) {
216
+    if (!(/^1[3|4|5|6|7|8|9][0-9]\d{4,8}$/.test(phone)) || phone.length != 11) {
217
       this.Alert('请输入正确的手机号码');
217
       this.Alert('请输入正确的手机号码');
218
       return false;
218
       return false;
219
     }
219
     }
221
       this.Alert("请选择意向楼盘");
221
       this.Alert("请选择意向楼盘");
222
       return false;
222
       return false;
223
     }
223
     }
224
-    if (adviser == "") {
225
-      this.Alert("请选择置业顾问");
226
-      return false;
227
-    }
224
+    // if (adviser == "") {
225
+    //   this.Alert("请选择置业顾问");
226
+    //   return false;
227
+    // }
228
     // if (date == "请选择") {
228
     // if (date == "请选择") {
229
     //   this.Alert("请选择预约到访时间");
229
     //   this.Alert("请选择预约到访时间");
230
     //   return false;
230
     //   return false;