From 0f7d159fe929ba26d0951f28a53bfde536a82553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 22 Feb 2023 09:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/appointmenttime/appointmenttime.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 },