|
@@ -148,8 +148,6 @@ export default {
|
|
|
{ name: "confirmMobile5", rule: ["isSame:mobile5"], msg: ["花店5的确认手机号有误"] },
|
|
{ name: "confirmMobile5", rule: ["isSame:mobile5"], msg: ["花店5的确认手机号有误"] },
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
- let formData = this.form;
|
|
|
|
|
-
|
|
|
|
|
this.form.mobile1 = this.form.mobile1.replace(/\s+/g, "")
|
|
this.form.mobile1 = this.form.mobile1.replace(/\s+/g, "")
|
|
|
this.form.confirmMobile1 = this.form.confirmMobile1.replace(/\s+/g, "")
|
|
this.form.confirmMobile1 = this.form.confirmMobile1.replace(/\s+/g, "")
|
|
|
this.form.mobile2 = this.form.mobile2.replace(/\s+/g, "")
|
|
this.form.mobile2 = this.form.mobile2.replace(/\s+/g, "")
|
|
@@ -161,6 +159,8 @@ export default {
|
|
|
this.form.mobile5 = this.form.mobile5.replace(/\s+/g, "")
|
|
this.form.mobile5 = this.form.mobile5.replace(/\s+/g, "")
|
|
|
this.form.confirmMobile5 = this.form.confirmMobile5.replace(/\s+/g, "")
|
|
this.form.confirmMobile5 = this.form.confirmMobile5.replace(/\s+/g, "")
|
|
|
|
|
|
|
|
|
|
+ let formData = this.form;
|
|
|
|
|
+
|
|
|
let checkRes = form.validation(formData, rules);
|
|
let checkRes = form.validation(formData, rules);
|
|
|
|
|
|
|
|
if (!checkRes) {
|
|
if (!checkRes) {
|