wk
2024-09-09 71ba67906896248aa2df5e70756b997fad9a9033
pages/driver-page/delivery-my/delivery-my/delivery-my.vue
@@ -436,7 +436,7 @@
                     });
                     if (res.code === 0) {
                        uni.$u.toast('预约成功')
                        this.GetMyDelivery()
                        this.GetMyDeliverys()
                     } else {
                        uni.$u.toast(res.msg ? res.msg : '预约失败')
                     }
@@ -467,7 +467,7 @@
                     });
                     if (res.code === 0) {
                        uni.$u.toast('预约成功')
                        this.GetMyDelivery()
                        this.GetMyDeliverys()
                     } else {
                        uni.$u.toast(res.msg ? res.msg : '预约失败')
                     }
@@ -493,7 +493,7 @@
                  });
                  if (res.code === 0) {
                     uni.$u.toast('预约成功')
                     this.GetMyDelivery()
                     this.GetMyDeliverys()
                  } else {
                     uni.$u.toast(res.msg ? res.msg : '预约失败')
                  }
@@ -501,6 +501,21 @@
            }
            })
         },
         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: '加载中...'