pengjun 3 weeks ago
parent
commit
ed2f8bd28c
  1. 14
      src/components/patientRegister/PatientRegisterEdit.vue

14
src/components/patientRegister/PatientRegisterEdit.vue

@ -1500,7 +1500,7 @@ export default {
if (!patientRegisterId) { //
this.form = Object.assign({}, this.form, this.formInit)
this.form.registerCheckAsbitems = []
this.form.medicalCenterId = this.peisid; //
this.form.medicalCenterId = this.peisid; //
this.form.customerOrgId = customerOrgId //
this.form.customerOrgParentId = customerOrgParentId //
this.form.customerOrgName = customerOrgName
@ -2462,11 +2462,12 @@ export default {
console.log('filterMethod', this.poison)
},
//
// ()
clearPerson() {
this.dataTransOpts.tableS.patient_register.id = ''
this.peoplePhoto = '/pic/Photo.jpg'
this.patientRegister.patientRegisterId = '';
this.form.id = '';
this.form.patientId = '00000000-0000-0000-0000-000000000000';
this.form.patientRegisterNo = '';
@ -2483,12 +2484,17 @@ export default {
this.form.mobileTelephone = ''; //
this.form.telephone = ''; //
this.form.address = ''; //
},
//
btnAdd() {
//
this.clearPerson()
this.dataTransOpts.tableS.patient_register.id = ''
this.peoplePhoto = '/pic/Photo.jpg'
this.patientRegister.patientRegisterId = '';
this.$refs['form'].resetFields();
this.form = this.$options.data().form
this.initFormData('')
// this.dataTransOpts.tableS.patient_register.id = ''
// this.dataTransOpts.refresh.patient_register.S++
this.dataTransOpts.tableM.register_check_asbitem = []

Loading…
Cancel
Save