This commit is contained in:
曹辉 2023-04-07 10:15:48 +08:00
parent 9ca3fe68e8
commit 7cd959aabb

View File

@ -210,6 +210,7 @@
getAppPatientList(that.patientId).then(response => { getAppPatientList(that.patientId).then(response => {
that.personInfo = response.data that.personInfo = response.data
that.personInfo.address = response.data.areaName + response.data.address that.personInfo.address = response.data.areaName + response.data.address
that.orderlist.serviceAddress = that.personInfo.address
}) })
} }
}, },
@ -264,7 +265,7 @@
this.orderlist.morningOpenEndTime = this.orderlist.morningOpenEndTime.slice(0, 5) this.orderlist.morningOpenEndTime = this.orderlist.morningOpenEndTime.slice(0, 5)
this.orderlist.morningOpenStartTime = this.orderlist.morningOpenStartTime.slice(0, 5) this.orderlist.morningOpenStartTime = this.orderlist.morningOpenStartTime.slice(0, 5)
this.orderlist.patientId = this.patientId this.orderlist.patientId = this.patientId
this.orderlist.serviceAddress = this.personInfo.areaName + this.personInfo.address this.orderlist.serviceAddress = this.personInfo.address
submitAppointment(this.orderlist).then(res => { submitAppointment(this.orderlist).then(res => {
if (res.code == 500) { if (res.code == 500) {
that.$refs.uToast.show({ that.$refs.uToast.show({