|
|
|
@ -54,8 +54,8 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="height: 80rpx;border-top: 1px solid #eee;display: flex;"> |
|
|
|
<view class="pinzi" @tap.stop="tanchuang(item.deliveryType)" style="width:80rpx;font-weight:700;margin-right: 20rpx;color:#00231C;background:linear-gradient(90deg, rgba(227, 255, 150, 1), rgba(166, 255, 234, 1))"> |
|
|
|
{{item.deliveryType == 1?'配送':'自取'}} |
|
|
|
<view class="pinzi" @tap.stop="tanchuang(item.deliveryType)" style="width:auto;font-weight:700;margin-right: 20rpx;color:#00231C;background:linear-gradient(90deg, rgba(227, 255, 150, 1), rgba(166, 255, 234, 1));padding:0 12rpx;"> |
|
|
|
{{item.deliveryType == 1?'配送':item.isPack == 1?'自取-打包':item.isPack == 0?'自取-堂食':'自取'}} |
|
|
|
</view> |
|
|
|
<view v-if="item.orderType != 1 && item.groupInfo != null" @tap.stop="getGroupOrders(item.id)" class="pinzi"> |
|
|
|
拼 |
|
|
|
@ -259,7 +259,6 @@ |
|
|
|
if (that.currentIndex == 7) { |
|
|
|
that.orderList[i].goodsList = that.orderList[i].items |
|
|
|
} |
|
|
|
console.log('哈哈哈哈哈1',that.orderList) |
|
|
|
that.orderList[i].goodsNum = 0 |
|
|
|
for (let m = 0; m < that.orderList[i].goodsList.length; m++) { |
|
|
|
that.orderList[i].goodsNum += that.orderList[i].goodsList[m].quantity |
|
|
|
|