diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue index 67dd5a6..e89bdd8 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -200,8 +200,8 @@ export default { this.form.doctorId = this.patientDetail.doctorId this.form.doctorName = this.patientDetail.doctorName this.form.eyeType = this.patientDetail.eyeType - this.form.project = this.patientDetail.project.split(',') - this.form.preparation = this.patientDetail.preparation.split(',') + this.form.project = this.patientDetail.project && this.patientDetail.project.split(',') + this.form.preparation = this.patientDetail.preparation && this.patientDetail.preparation.split(',') this.form.remark = this.patientDetail.remark this.form.otherProject = this.patientDetail.otherProject this.form.source = this.patientDetail.source