From 1200a83f93e727632d0867c6193e645e18047779 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 31 Dec 2024 17:01:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=82=A3=E8=80=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/visitout/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/manage/visitout/index.vue b/src/views/manage/visitout/index.vue index 0f4a6df..cc4f73c 100644 --- a/src/views/manage/visitout/index.vue +++ b/src/views/manage/visitout/index.vue @@ -944,7 +944,14 @@ export default { console.log(id); getPatientInfo(id).then((response) => { this.form = response.data; - this.form = response.data; + if( this.form.dischargeTime && ! this.form.visitDate){ + this.form.dischargeTime = response.data.dischargeTime + }else if(this.form.visitDate && ! this.form.dischargeTime){ + this.form.dischargeTime = response.data.visitDate + }else if(this.form.visitDate && this.form.dischargeTime){ + this.form.dischargeTime = response.data.visitDate + } + if (this.form.hospitalAgencyId) { this.changehospitalAgency(this.form.hospitalAgencyId, 1, 2); }