wangfukang 3 weeks ago
parent
commit
2fb554bb36
  1. 5
      package1/buyFood/buyFood.vue
  2. 3
      package1/group/groupBuySingle.vue

5
package1/buyFood/buyFood.vue

@ -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 ===

3
package1/group/groupBuySingle.vue

@ -513,7 +513,7 @@
menuButtonInfo: {},
groupdeliveryType:'',
isPintuan: true,
groupId: '',
groupId: null,
isFaceToFaceGroup: false,
targetMembers: 2,
backendTotalAmount: 0,
@ -966,7 +966,6 @@
this.currentItem.moreBuyData.push(this.moreBuyData[i])
}
}
let goData = {
item: this.currentItem,
groupRule: this.selectedGroupRule,

Loading…
Cancel
Save