修改订单相关页面

This commit is contained in:
@fawn-nine
2024-07-19 14:22:10 +08:00
parent a582e56af5
commit 9508af8780
2 changed files with 4 additions and 12 deletions

View File

@@ -931,7 +931,7 @@ export default {
color: "#fff", color: "#fff",
}); });
} }
if (this.orderContet.orderStatus == 0) { if (this.orderContet.orderStatus == 0 && this.orderContet.paymentMethod != 3) {
this.customButton.push({ this.customButton.push({
width: "160rpx", width: "160rpx",
text: "继续付款", text: "继续付款",

View File

@@ -395,7 +395,7 @@
<view class="right flexbox opbtns"> <view class="right flexbox opbtns">
<view <view
class="orderstatusbtn orderstatusbtn_success" class="orderstatusbtn orderstatusbtn_success"
v-if="slotProps.row.orderStatus == 0" v-if="slotProps.row.orderStatus == 0 && slotProps.row.paymentMethod != 3"
@click.stop="goPay(slotProps.row)" @click.stop="goPay(slotProps.row)"
>继续付款</view >继续付款</view
> >
@@ -948,14 +948,7 @@ export default {
); );
} else if (payItem.paymentMethod == 1) { } else if (payItem.paymentMethod == 1) {
console.log("微信支付"); console.log("微信支付");
if (this.isAndorid == false) {
uni.showModal({
title: "提示",
content: "很抱歉,苹果系统暂不支持微信支付",
showCancel: false,
});
return false;
} else {
let data1 = { let data1 = {
orderSn: payItem.orderSn, orderSn: payItem.orderSn,
buyOrderId: null, buyOrderId: null,
@@ -983,8 +976,7 @@ export default {
}); });
} }
} }
}); });
}
} else if (payItem.paymentMethod == 3 && this.ordersListTab == 0 ) { } else if (payItem.paymentMethod == 3 && this.ordersListTab == 0 ) {
// 苹果充值 // 苹果充值
console.log("苹果二次支付"); console.log("苹果二次支付");