|
|
@ -53,7 +53,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view style="height: 80rpx;border-top: 1px solid #eee;display: flex;"> |
|
|
<view style="height: 80rpx;border-top: 1px solid #eee;display: flex;"> |
|
|
<view v-if="item.orderType != 1" style="margin: 20rpx 0;background: linear-gradient(90deg, #FF4500, #FFA07A);width: 40rpx;height: 40rpx;line-height: 40rpx;text-align: center;border-radius: 10rpx;color: #fff;">拼</view> |
|
|
<view v-if="item.orderType != 1" @tap.stop="getGroupOrders(item.id)" style="margin: 20rpx 0;background: linear-gradient(90deg, #FF4500, #FFA07A);width: 40rpx;height: 40rpx;line-height: 40rpx;text-align: center;border-radius: 10rpx;color: #fff;">拼</view> |
|
|
<view style="flex: 1;"></view> |
|
|
<view style="flex: 1;"></view> |
|
|
<view @tap.stop="mealServing(item)" v-if="currentIndex == 13" class="btn" style="margin: 10rpx 0 0 20rpx;"> |
|
|
<view @tap.stop="mealServing(item)" v-if="currentIndex == 13" class="btn" style="margin: 10rpx 0 0 20rpx;"> |
|
|
已出餐 |
|
|
已出餐 |
|
|
@ -77,6 +77,7 @@ |
|
|
regionId: JSON.parse(uni.getStorageSync('area')).id |
|
|
regionId: JSON.parse(uni.getStorageSync('area')).id |
|
|
}, |
|
|
}, |
|
|
totalPages: 1, |
|
|
totalPages: 1, |
|
|
|
|
|
tuanzhangOrder:[], |
|
|
orderList: [], |
|
|
orderList: [], |
|
|
currentIndex: 10, |
|
|
currentIndex: 10, |
|
|
menuButtonInfo: {}, |
|
|
menuButtonInfo: {}, |
|
|
@ -197,6 +198,17 @@ |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|
}).catch((res) => {}); |
|
|
}).catch((res) => {}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
getGroupOrders(id){ |
|
|
|
|
|
this.tui.request("/mall/order/selectAllOrderByOrderId/"+id, "GET", {}, false, true).then((res) => { |
|
|
|
|
|
if (res.code == 200) { |
|
|
|
|
|
this.tuanzhangOrder = res.result; |
|
|
|
|
|
} else { |
|
|
|
|
|
that.tui.toast(res.message) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
}).catch((res) => {}) |
|
|
|
|
|
}, |
|
|
openPopup(){ |
|
|
openPopup(){ |
|
|
this.$refs.groupPopup.open() |
|
|
this.$refs.groupPopup.open() |
|
|
}, |
|
|
}, |
|
|
|