Commit 8e50e64d authored by 陈明豪's avatar 陈明豪

bug修改

parent 80a9e9ad
...@@ -533,13 +533,15 @@ export default { ...@@ -533,13 +533,15 @@ export default {
}, },
watch: { watch: {
registerForm(val) { registerForm(val) {
console.log('录入诊断信息', val)
// debugger
if (val && val.checkManageBos.length > 0) { if (val && val.checkManageBos.length > 0) {
this.prescribingForm.inspect = [...val.checkManageBos] this.prescribingForm.inspect = [...val.checkManageBos]
} }
if (val && val.treatManageBo.length > 0) { if (val && val.treatManageBo.length > 0) {
this.prescribingForm.treatment = [...val.treatManageBo] this.prescribingForm.treatment = [...val.treatManageBo]
} }
if (val && val.stockDispenseOutboundList.length > 0) { if (val && val.stockDispenseOutboundList && val.stockDispenseOutboundList.length > 0) {
console.log('val.stockDispenseOutboundList', val.stockDispenseOutboundList) console.log('val.stockDispenseOutboundList', val.stockDispenseOutboundList)
this.prescribingForm.medication = [...val.stockDispenseOutboundList] this.prescribingForm.medication = [...val.stockDispenseOutboundList]
} }
...@@ -548,6 +550,7 @@ export default { ...@@ -548,6 +550,7 @@ export default {
this.prescribingForm.wardType = val.inHospitalBo.wardType this.prescribingForm.wardType = val.inHospitalBo.wardType
this.prescribingForm.bathe = val.inHospitalBo.bathe this.prescribingForm.bathe = val.inHospitalBo.bathe
} }
console.log('录入诊断信息——form', this.prescribingForm)
} }
}, },
created() { created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment