diff --git a/src/components/doctorCheck/PatientRegisterBase.vue b/src/components/doctorCheck/PatientRegisterBase.vue index 7228843..0ad3569 100644 --- a/src/components/doctorCheck/PatientRegisterBase.vue +++ b/src/components/doctorCheck/PatientRegisterBase.vue @@ -140,7 +140,7 @@ export default { if (res.code != -1) { this.doctorCheckPrBaseInit() - this.doctorCheck.prBase.patientRegisterNo = val + this.doctorCheck.prBase.patientRegisterNo = patientRegisterNo objCopy(res.data,this.doctorCheck.prBase) this.sumPREditInit() @@ -162,7 +162,7 @@ export default { if (res.code != -1) { console.log('按条码号查个人数据',res.data) this.doctorCheckPrBaseInit() - this.doctorCheck.prBase.patientNo = val + this.doctorCheck.prBase.patientNo = patientNo objCopy(res.data,this.doctorCheck.prBase) this.sumPREditInit() diff --git a/src/components/doctorCheck/PatientRegisterList.vue b/src/components/doctorCheck/PatientRegisterList.vue index 125604a..3c1233e 100644 --- a/src/components/doctorCheck/PatientRegisterList.vue +++ b/src/components/doctorCheck/PatientRegisterList.vue @@ -38,8 +38,7 @@ - diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index 2657225..cb1b120 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -739,17 +739,12 @@ export default { }, created() { - this.initFormData() - }, //挂载完成 mounted() { - // objCopy(this.formInitData, this.form); - // this.initBox(); - // this.getCustomerOrgRegisterList() - // this.getPeoplePhoto(this.patientRegister.photo) + this.initFormData() }, computed: { @@ -905,28 +900,28 @@ export default { }, //获取单位体检次数列表,并默认赋最后一次体检次数 - async getCustomerOrgRegisterList() { - this.customerOrgRegisterList = [] - if (this.form.customerOrgId == this.dict.personOrgId) { - this.form.customerOrgRegisterId = null - return - } - try { - let res = await getapi(`/api/app/customer-org/parent/${this.form.customerOrgId}`); - let res1 = await getapi(`/api/app/customerorgregister/getlistincustomerorgid?CustomerOrgId=${res.data}`); - this.customerOrgRegisterList = arrayFilter(res1.data, 'isComplete', 'N') + // async getCustomerOrgRegisterList() { + // this.customerOrgRegisterList = [] + // if (this.form.customerOrgId == this.dict.personOrgId) { + // this.form.customerOrgRegisterId = null + // return + // } + // try { + // let res = await getapi(`/api/app/customer-org/parent/${this.form.customerOrgId}`); + // let res1 = await getapi(`/api/app/customerorgregister/getlistincustomerorgid?CustomerOrgId=${res.data}`); + // this.customerOrgRegisterList = arrayFilter(res1.data, 'isComplete', 'N') - //要把已完成体检的次数去掉 (查询时不能触发保存) - // if (this.customerOrgRegisterList.length > 0) { - // this.form.customerOrgRegisterId = this.customerOrgRegisterList[this.customerOrgRegisterList.length - 1].id - // //this.changeCustomerOrgGroupId() - // this.changeMedicalTimes() - // } - - } catch (error) { - console.log(error) - } - }, + // //要把已完成体检的次数去掉 (查询时不能触发保存) + // // if (this.customerOrgRegisterList.length > 0) { + // // this.form.customerOrgRegisterId = this.customerOrgRegisterList[this.customerOrgRegisterList.length - 1].id + // // //this.changeCustomerOrgGroupId() + // // this.changeMedicalTimes() + // // } + + // } catch (error) { + // console.log(error) + // } + // }, //修改单位体检次数 changeMedicalTimes() { @@ -1638,12 +1633,12 @@ export default { //监听事件 watch: { - "form.customerOrgId"(newVal, oldVal) { - //console.log('editTimes newVal:',newVal,' oldVal:',oldVal) - if (newVal != oldVal) { - this.getCustomerOrgRegisterList() - } - }, + // "form.customerOrgId"(newVal, oldVal) { + // //console.log('editTimes newVal:',newVal,' oldVal:',oldVal) + // if (newVal != oldVal) { + // this.getCustomerOrgRegisterList() + // } + // }, //新增或编辑 "editTimes"(newVal, oldVal) { diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue index e199357..1bac875 100644 --- a/src/components/patientRegister/PatientRegisterItem.vue +++ b/src/components/patientRegister/PatientRegisterItem.vue @@ -519,6 +519,7 @@ export default { chargePrice: asbItemChoosed[i].price, payTypeFlag, isCharge: "N", + discount:100, amount: 1, total: asbItemChoosed[i].price, } diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index f385e28..76ae74d 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -1426,7 +1426,7 @@ export default { postapi( `/api/app/printreport/getlisrequestreport?PatientRegisterId=${prId}` ) - .then((res) => { + .then((res) => { if (res.code != -1) { toOutShell.ReportTable = { lisRequest: res.data }; console.log( diff --git a/src/components/sumDoctorCheck/SumAsbItemStatus.vue b/src/components/sumDoctorCheck/SumAsbItemStatus.vue index 641b45f..7ee5449 100644 --- a/src/components/sumDoctorCheck/SumAsbItemStatus.vue +++ b/src/components/sumDoctorCheck/SumAsbItemStatus.vue @@ -1,27 +1,27 @@