diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java index 8ae4fb20..4a606304 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java @@ -119,6 +119,12 @@ public class OutpatientRegistrationAppServiceImpl implements IOutpatientRegistra // 初复诊 e.setFirstEnum_enumText(patientIdList.contains(e.getId()) ? EncounterType.FOLLOW_UP.getInfo() : EncounterType.INITIAL.getInfo()); + // 患者标识 + PatientIdentifier patientIdentifier = patientIdentifierService + .getOne(new LambdaQueryWrapper().eq(PatientIdentifier::getPatientId, e.getId())); + if (patientIdentifier != null) { + e.setIdentifierNo(patientIdentifier.getIdentifierNo()); + } }); return patientMetadataPage; diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue index abcfa86b..3e2780a0 100644 --- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue +++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue @@ -7,6 +7,7 @@ @cell-click="clickRow" > + diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue index 15c9632d..bbd223d3 100644 --- a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue +++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue @@ -88,8 +88,8 @@ - - + + @@ -1239,6 +1239,7 @@ function selsectPatient(row) { form.value.phone = row.phone; form.value.firstEnum_enumText = row.firstEnum_enumText; form.value.age = row.age; + form.value.identifierNo = row.identifierNo; } // 设置新增参数