This commit is contained in:
曹辉 2023-02-22 09:42:28 +08:00
parent 6bd4a5b5bc
commit 0f7d159fe9

View File

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