diff --git a/pagesB/confirmation/confirmation.vue b/pagesB/confirmation/confirmation.vue index f6b4909..24c76ad 100644 --- a/pagesB/confirmation/confirmation.vue +++ b/pagesB/confirmation/confirmation.vue @@ -255,9 +255,23 @@ if (item == 'morning') { this.formdata.appointmentStartTime = this.appointmentTimeList[this.timecurrent].morningList[0] .starttime + if(this.appointmentTimeList[this.timecurrent].morningList[0].status==true){ + this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].morningList[0].schedulePlanDetailId + + }else{ + this.formdata.schedulePlanDetailId='' + + } } else if (item == 'after') { this.formdata.appointmentEndTime = this.appointmentTimeList[this.timecurrent].morningList[0] .endtime + if(this.appointmentTimeList[this.timecurrent].morningList[0].status==true){ + this.formdata.schedulePlanDetailId = this.appointmentTimeList[this.timecurrent].afternoonList[0].schedulePlanDetailId + + }else{ + this.formdata.schedulePlanDetailId='' + + } } },