优惠券

This commit is contained in:
@fawn-nine
2024-10-18 15:16:09 +08:00
parent d46f419846
commit 9b9849bf72
5 changed files with 2242 additions and 1979 deletions

View File

@@ -1001,6 +1001,7 @@ export default {
},
// 取消订单
canceOrder(item) {
console.log('item.orderSn',item);
uni.showModal({
title: "提示",
content: "确定要取消订单吗?",
@@ -1011,7 +1012,9 @@ export default {
success: (res) => {
if (res.confirm) {
this.$http
.get("book/buyOrder/cancelOrder?orderSn=" + item.orderSn)
.post(
"book/buyOrder/appDelete?orderId=" + item.orderId
)
.then((res) => {
if (res.code == 0) {
uni.showToast({