手机端购买续费问题

This commit is contained in:
“wanyongkang”
2021-03-15 15:21:53 +08:00
parent 1de342ed5e
commit 0765e3abfc
2 changed files with 5 additions and 1 deletions

View File

@@ -549,6 +549,7 @@
checkOneAccount() {
if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 5) {
this.OneChecker.AccountOk = false;
alert('账号长度必须在5-10位');
return false;
}
this.OneChecker.AccountOk = true;
@@ -557,6 +558,7 @@
checkOnePwd() {
if (this.OneBuyModel.Pwd.length > 6 || this.OneBuyModel.Pwd.length <1) {
this.OneChecker.PwdOk = false;
alert('密码长度必须在1-6位');
return false;
}
this.OneChecker.PwdOk = true;
@@ -565,6 +567,7 @@
checkMoreAccount() {
if (this.MoreBuyModel.Account.length > 10 || this.MoreBuyModel.Account.length < 3) {
this.MoreChecker.AccountOk = false;
alert('账号长度必须在5-10位');
return false;
}
this.MoreChecker.AccountOk = true;
@@ -573,6 +576,7 @@
checkMorePwd() {
if (this.MoreBuyModel.Pwd.length > 6 || this.MoreBuyModel.Pwd.length < 1) {
this.MoreChecker.PwdOk = false;
alert('密码长度必须在1-6位');
return false;
}
this.MoreChecker.PwdOk = true;

View File

@@ -317,7 +317,7 @@
},
payCallback: function (data) {
this.OrderInfo = data.OrderInfo;
if (!data.PayData) { alert("下单失败"); return; }
if (!data.PayData) { alert("下单成功"); return; }
var payChannel = this.OrderInfo.PayChannel;
if (payChannel == 10) {
this.h5WxPay(data.PayData)