Merge branch 'couponV2.0' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/mobileclient into couponV2.0

This commit is contained in:
wangsongsole 2022-10-13 15:47:43 +08:00
commit 92456abf32
2 changed files with 13 additions and 12 deletions

View File

@ -92,15 +92,15 @@
},
created() {
//唤起支付宝授权,打开领取
// this.openId = this.getQueryString(
// window.location.search,
// "alipayuserid"
// );
this.openId = this.getQueryString(
window.location.search,
"alipayuserid"
);
let orderNumber = this.getQueryString(
window.location.search,
"orderNumber"
);
// this.orderNumber=orderNumber;
this.orderNumber=orderNumber;
this.getOrderDetail(this.orderNumber);
},
methods: {
@ -137,13 +137,13 @@
setTimeout(()=>{
this.disabledBtn = false;
},2000)
// if (res.code == 200) {
// window.location.href = './advise.html'
// sessionStorage.setItem('messageTip', '');
// } else {
// window.location.href = './advise.html'
// sessionStorage.setItem('messageTip', res.message);
// }
if (res.code == 200) {
window.location.href = './advise.html'
sessionStorage.setItem('messageTip', '');
} else {
window.location.href = './advise.html'
sessionStorage.setItem('messageTip', res.message);
}
})
.catch((err) => {});
},

View File

@ -77,6 +77,7 @@
}
}).catch();
},
//弹出框提示
openTipDialog(popUpAttr) {
this.popAttr = popUpAttr;