diff --git a/pages/appointmenttime/appointmenttime.vue b/pages/appointmenttime/appointmenttime.vue index f993056..223e41c 100644 --- a/pages/appointmenttime/appointmenttime.vue +++ b/pages/appointmenttime/appointmenttime.vue @@ -192,9 +192,9 @@ this.Soonerorlater = item this.timeindex = 0 if (item == 'morning') { - this.orderlist.serviceStartTime = this.orderlist.appointmentTimeList[0].morningList[0] + this.orderlist.serviceStartTime = this.orderlist.appointmentTimeList[this.timecurrent].morningList[0] } else if (item == 'after') { - this.orderlist.serviceStartTime = this.orderlist.appointmentTimeList[0].afternoonList[0] + this.orderlist.serviceStartTime = this.orderlist.appointmentTimeList[this.timecurrent].afternoonList[0] } }, //选择时间 @@ -218,7 +218,6 @@ } catch (e) {} }, timechange(index) { - console.log(this.orderlist.appointmentTimeList[index]) this.orderlist.serviceDate = this.orderlist.appointmentTimeList[index].date this.timecurrent = index },