|
|
|
@ -434,6 +434,7 @@ |
|
|
|
} |
|
|
|
if (option.item) { |
|
|
|
this.groupItem = JSON.parse(decodeURIComponent(option.item)); |
|
|
|
console.log("1111111",this.groupItem) |
|
|
|
this.isGroupBuy = this.groupItem.orderType === 2; |
|
|
|
this.isFaceToFace = this.groupItem.isFaceToFace || false; |
|
|
|
} |
|
|
|
@ -714,10 +715,10 @@ |
|
|
|
} else { |
|
|
|
let isInitiating = !this.groupItem.groupId; |
|
|
|
let isJoining = !!this.groupItem.groupId; |
|
|
|
|
|
|
|
if (isInitiating) { |
|
|
|
this.isPaymentSuccessGroupInitiate = true; |
|
|
|
this.$refs.pintuanPopup.open('center'); |
|
|
|
return; |
|
|
|
} else if (isJoining) { |
|
|
|
uni.redirectTo({ |
|
|
|
url: '/package1/order/orderDetail?id=' + this.currentOrderId |
|
|
|
@ -726,9 +727,11 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
onPintuanPopupChange(e) { |
|
|
|
if(!e.show){ |
|
|
|
uni.redirectTo({ |
|
|
|
url: '/package1/order/orderDetail?id=' + this.currentOrderId |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
getMustFinishTime() { |
|
|
|
if (!this.formData.deliveryTime || this.formData.deliveryTime === '自动送达' || this.formData.deliveryTime === |
|
|
|
|