| xqd
@@ -262,7 +262,7 @@
|
|
|
time_period_id: this.infodata.time_period_id,
|
|
|
payment_type: this.infodata.payment_type,
|
|
|
pay_password: this.password,
|
|
|
- user_coupon_id:this.couponid
|
|
|
+ user_coupon_id: this.couponid
|
|
|
})
|
|
|
if (res.status == 0) {
|
|
|
this.popupShow = false
|
| xqd
@@ -323,7 +323,7 @@
|
|
|
relationship_type: this.infodata.relationship_type,
|
|
|
payment_type: this.infodata.payment_type,
|
|
|
pay_password: this.password,
|
|
|
- user_coupon_id:this.couponid
|
|
|
+ user_coupon_id: this.couponid
|
|
|
})
|
|
|
console.log(res)
|
|
|
if (res.status == 0) {
|
| xqd
@@ -385,7 +385,7 @@
|
|
|
phone_minutes: this.infodata.phone_minutes,
|
|
|
payment_type: 2,
|
|
|
pay_password: this.password,
|
|
|
- user_coupon_id:this.couponid
|
|
|
+ user_coupon_id: this.couponid
|
|
|
})
|
|
|
if (res.status == 0) {
|
|
|
this.popupShow = false
|
| xqd
@@ -446,7 +446,7 @@
|
|
|
medical_imgs: JSON.stringify(this.infodata.medical_imgs),
|
|
|
payment_type: 2,
|
|
|
pay_password: this.password,
|
|
|
- user_coupon_id:this.couponid
|
|
|
+ user_coupon_id: this.couponid
|
|
|
})
|
|
|
if (res.status == 0) {
|
|
|
this.popupShow = false
|
| xqd
@@ -508,7 +508,7 @@
|
|
|
vaccine_id: this.infodata.vaccine_id,
|
|
|
payment_type: this.infodata.payment_type,
|
|
|
pay_password: this.password,
|
|
|
- user_coupon_id:this.couponid
|
|
|
+ user_coupon_id: this.couponid
|
|
|
})
|
|
|
if (res.status == 0) {
|
|
|
this.popupShow = false
|
| xqd
@@ -571,7 +571,7 @@
|
|
|
nurse_ids: JSON.stringify(this.infodata.nurse_ids),
|
|
|
payment_type: this.infodata.payment_type,
|
|
|
pay_password: this.password,
|
|
|
- user_coupon_id:this.couponid
|
|
|
+ user_coupon_id: this.couponid
|
|
|
})
|
|
|
console.log(res)
|
|
|
if (res.status == 0) {
|
| xqd
@@ -643,10 +643,18 @@
|
|
|
valChange(val) {
|
|
|
// 将每次按键的值拼接到value变量中,注意+=写法
|
|
|
this.password += val;
|
|
|
- console.log(this.password)
|
|
|
- if (this.password.length == 6) {
|
|
|
- this.payment()
|
|
|
+ if (this.password.charAt(0) != '0') {
|
|
|
+ if (this.password.length == 6) {
|
|
|
+ this.payment()
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.password = ''
|
|
|
+ uni.showToast({
|
|
|
+ title: "密码不能以0开头",
|
|
|
+ icon: "none"
|
|
|
+ })
|
|
|
}
|
|
|
+
|
|
|
},
|
|
|
// 退格键被点击
|
|
|
backspace() {
|