tianyi 13 hours ago
parent
commit
613ece979a
  1. 2
      package2/shop/merchantCenter.vue
  2. 14
      package2/shop/shopOrderList.vue

2
package2/shop/merchantCenter.vue

@ -281,7 +281,7 @@
case 'pj': case 'pj':
let item = { let item = {
shopScore:uni.getStorageSync('shopScore'), shopScore:uni.getStorageSync('shopScore'),
id:uni.getStorageSync('id') id:uni.getStorageSync('shopId')
} }
url = '/package1/group/shopEvaluate?item=' + JSON.stringify(item) url = '/package1/group/shopEvaluate?item=' + JSON.stringify(item)
break; break;

14
package2/shop/shopOrderList.vue

@ -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()
}, },

Loading…
Cancel
Save