pengjun 4 weeks ago
parent
commit
4998b21aac
  1. 14
      src/components/patientRegister/PatientRegisterEdit.vue

14
src/components/patientRegister/PatientRegisterEdit.vue

@ -1376,6 +1376,10 @@ export default {
this.form.customerOrgId = customerOrgId //
this.form.customerOrgParentId = customerOrgParentId //
this.form.customerOrgName = customerOrgName
//
this.getMedicalTypeByOrg(customerOrgId)
this.completeFlag = '0'
this.handleFormData().then(() => {
resolve()
@ -1398,12 +1402,18 @@ export default {
},
// ID
getMedicalTypeByOrg(orgId){
getMedicalTypeByOrg(customerOrgId){
return new Promise((resolve, reject) => {
postapi('/api/app/Customerorg/GetMedicalTypeIdByCustomerOrgId')
postapi('/api/app/Customerorg/GetMedicalTypeIdByCustomerOrgId',{customerOrgId})
.then(res => {
if(res.code > -1){
this.form.medicalTypeId = res.data.medicalTypeId
}
})
})
},
handleFormData() {
return new Promise((resolve, reject) => {
//

Loading…
Cancel
Save