Commit 9bf44aa2 authored by 陈明豪's avatar 陈明豪

bug修改67915

parent 63d61d34
......@@ -2447,10 +2447,12 @@ export default {
if (updateForm.inHospitalBo.id) {
updateHospitalRecord(updateForm).then(res => {
this.petInHospitalUpdateShow = false
this.$message.success('保存成功')
this.getInHospitalList(this.$route.params.id)
this.getPaymentList()
}).catch(error => {
console.log('报错住院', error)
this.$message.success('保存成功')
this.petInHospitalUpdateShow = false
this.getInHospitalList(this.$route.params.id)
this.getPaymentList()
......@@ -2458,10 +2460,12 @@ export default {
} else {
addHospital(updateForm).then(res => {
this.petInHospitalUpdateShow = false
this.$message.success('保存成功')
this.getInHospitalList(this.$route.params.id)
this.getPaymentList()
}).catch(error => {
console.log('报错住院', error)
this.$message.success('保存成功')
this.petInHospitalUpdateShow = false
this.getInHospitalList(this.$route.params.id)
this.getPaymentList()
......
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