确认订单更新
This commit is contained in:
@@ -400,22 +400,24 @@
|
||||
const goToPay = async () => {
|
||||
// 余额支付
|
||||
if (paymentmethod.payType == 'accountPay') {
|
||||
if (orderVIP.value.isVip == 0) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '您还不是会员,是否去注册会员?',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
uni.pro.navigateTo('user/member/index', {
|
||||
shopId: orderVIP.value.shopId,
|
||||
type: 'detail'
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
})
|
||||
} else if (orderVIP.value.payPwd == '') {
|
||||
// if (orderVIP.value.isVip == 0) {
|
||||
// uni.showModal({
|
||||
// title: '提示',
|
||||
// content: '您还不是会员,是否去注册会员?',
|
||||
// success: (res) => {
|
||||
// if (res.confirm) {
|
||||
// uni.pro.navigateTo('user/member/index', {
|
||||
// shopId: orderVIP.value.shopId,
|
||||
// type: 'detail'
|
||||
// })
|
||||
// } else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
//return
|
||||
// }
|
||||
if (orderVIP.value.payPwd == '') {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '您还未设置支付密码,是否去设置?',
|
||||
|
||||
Reference in New Issue
Block a user