Commit 6bcef66d authored by fwz's avatar fwz

发送验证码检验手机号

parent 6d3eee00
...@@ -443,8 +443,6 @@ export default { ...@@ -443,8 +443,6 @@ export default {
that.isSend = true; that.isSend = true;
} }
}) })
}
setTime = setInterval(function () { setTime = setInterval(function () {
that.wait--; that.wait--;
that.sendColor = "color:#999"; that.sendColor = "color:#999";
...@@ -457,6 +455,14 @@ export default { ...@@ -457,6 +455,14 @@ export default {
that.sendColor = "color:#ff5b01"; that.sendColor = "color:#ff5b01";
} }
}, 1000); }, 1000);
}else {
uni.showToast({
title: '手机号不能为空',
icon: "error",
});
}
}else{ }else{
///app/smsCode/binding/{{phone}} ///app/smsCode/binding/{{phone}}
......
...@@ -82,6 +82,9 @@ export default { ...@@ -82,6 +82,9 @@ export default {
}) })
this.unbindShow = false this.unbindShow = false
}, },
cancelModal(){
this.unbindShow = false
},
}, },
onLoad(option) { onLoad(option) {
this.id = option.id this.id = option.id
......
...@@ -133,7 +133,6 @@ export default { ...@@ -133,7 +133,6 @@ export default {
} else { } else {
this.moveCodeInfo[name] = this.formData[i].rules.value this.moveCodeInfo[name] = this.formData[i].rules.value
} }
} }
this.moveCodeInfo.carNo = this.model1.carInfo.carNo this.moveCodeInfo.carNo = this.model1.carInfo.carNo
this.moveCodeInfo.moveCode = this.moveCode this.moveCodeInfo.moveCode = this.moveCode
...@@ -176,7 +175,6 @@ export default { ...@@ -176,7 +175,6 @@ export default {
e.rules.value = this.model1.carInfo.carModel e.rules.value = this.model1.carInfo.carModel
} }
}) })
console.log(this.formData)
} }
}) })
} }
......
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