| | |
| | | }); |
| | | if (res.code === 0) { |
| | | uni.$u.toast('预约成功') |
| | | this.GetMyDelivery() |
| | | this.GetMyDeliverys() |
| | | } else { |
| | | uni.$u.toast(res.msg ? res.msg : '预约失败') |
| | | } |
| | |
| | | }); |
| | | if (res.code === 0) { |
| | | uni.$u.toast('预约成功') |
| | | this.GetMyDelivery() |
| | | this.GetMyDeliverys() |
| | | } else { |
| | | uni.$u.toast(res.msg ? res.msg : '预约失败') |
| | | } |
| | |
| | | }); |
| | | if (res.code === 0) { |
| | | uni.$u.toast('预约成功') |
| | | this.GetMyDelivery() |
| | | this.GetMyDeliverys() |
| | | } else { |
| | | uni.$u.toast(res.msg ? res.msg : '预约失败') |
| | | } |
| | |
| | | } |
| | | }) |
| | | }, |
| | | GetMyDeliverys() { |
| | | this.$reqGet('driverYuYueList', {orderPlanId:this.id}).then(res => { |
| | | if (res.code == 0) { |
| | | this.yuYueData = res.data; |
| | | } else { |
| | | this.$u.toast('加载失败'); |
| | | } |
| | | }); |
| | | this.$reqGetId('myDelivery',this.id).then(res => { |
| | | if (res.data) { |
| | | this.daydata=res.data |
| | | this.tmTaskCoalList=res.data.jhOrderPlanList |
| | | } |
| | | }); |
| | | }, |
| | | GetMyDelivery() { |
| | | uni.showLoading({ |
| | | title: '加载中...' |