diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index ed14d75..984b8a0 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -2823,7 +2823,18 @@ export default { let appoint_patient_register = this.dataTransOpts.tableS.appoint_patient_register if (!appoint_patient_register.appointPatientRegisterId) return + this.dataTransOpts.tableS.patient_register.id = '' + // this.preCustomerOrgId = this.dict.personOrgId + this.patientRegister.query.customerOrgId = appoint_patient_register.customerOrgId + this.patientRegister.query.CustomerOrgParentId = appoint_patient_register.customerOrgId + this.form.customerOrgId = [appoint_patient_register.customerOrgId] //单位编号 默认个人 + let customerOrgParentId = await this.getParentCustomerOrgId(appoint_patient_register.customerOrgId) + this.form.customerOrgParentId = customerOrgParentId + + + await this.initFormData(this.dataTransOpts.tableS.patient_register.id) + this.form.customerOrgName = customerOrgParentId // "appointPatientRegisterId": "string", // "personId": "string", // "personName": "string",