This commit is contained in:
2023-11-16 15:08:07 +08:00
parent 5631715fa7
commit 3e8f978554

View File

@ -256,7 +256,8 @@
this.formdata.appointmentStartTime = this.appointmentTimeList[this.timecurrent].morningList[0] this.formdata.appointmentStartTime = this.appointmentTimeList[this.timecurrent].morningList[0]
.starttime .starttime
if (this.appointmentTimeList[this.timecurrent].morningList[0].status == true) { if (this.appointmentTimeList[this.timecurrent].morningList[0].status == true) {
this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].morningList[0].schedulePlanDetailId this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].morningList[0]
.schedulePlanDetailId
} else { } else {
this.formdata.schedulePlanDetailId = '' this.formdata.schedulePlanDetailId = ''
@ -266,7 +267,8 @@
this.formdata.appointmentEndTime = this.appointmentTimeList[this.timecurrent].morningList[0] this.formdata.appointmentEndTime = this.appointmentTimeList[this.timecurrent].morningList[0]
.endtime .endtime
if (this.appointmentTimeList[this.timecurrent].morningList[0].status == true) { if (this.appointmentTimeList[this.timecurrent].morningList[0].status == true) {
this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].afternoonList[0].schedulePlanDetailId this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].afternoonList[0]
.schedulePlanDetailId
} else { } else {
this.formdata.schedulePlanDetailId = '' this.formdata.schedulePlanDetailId = ''
@ -292,7 +294,8 @@
this.formdata.appointmentEndTime = this.appointmentTimeList[this.timecurrent].morningList[0] this.formdata.appointmentEndTime = this.appointmentTimeList[this.timecurrent].morningList[0]
.endtime .endtime
if (this.appointmentTimeList[this.timecurrent].morningList[0].status == true) { if (this.appointmentTimeList[this.timecurrent].morningList[0].status == true) {
this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].morningList[0].schedulePlanDetailId this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].morningList[0]
.schedulePlanDetailId
} else { } else {
this.formdata.schedulePlanDetailId = '' this.formdata.schedulePlanDetailId = ''
@ -424,7 +427,8 @@
res.data[0]?.morningList[0]?.endtime ? this.formdata.appointmentEndTime = res.data[0] res.data[0]?.morningList[0]?.endtime ? this.formdata.appointmentEndTime = res.data[0]
.morningList[0].endtime : '' .morningList[0].endtime : ''
if (res.data[0]?.morningList[0]?.status == true) { if (res.data[0]?.morningList[0]?.status == true) {
res.data[0]?.morningList[0]?.scheduleDetailId ? this.formdata.scheduleDetailId = res.data[0] res.data[0]?.morningList[0]?.scheduleDetailId ? this.formdata.scheduleDetailId = res.data[
0]
.morningList[0].scheduleDetailId : '' .morningList[0].scheduleDetailId : ''
} else { } else {