diff --git a/project/xumu/AppInsuranceApply/add.vue b/project/xumu/AppInsuranceApply/add.vue index 5916cd09..cdef3f64 100644 --- a/project/xumu/AppInsuranceApply/add.vue +++ b/project/xumu/AppInsuranceApply/add.vue @@ -49,7 +49,7 @@ export default { return id && this.instance.post("/api/insurance/apply/getInfo", null, {params: {id}}).then(res => { if (res?.data) { const detail = res.data - detail.detailList = detail.weightList || [] + detail.detailList = detail.detailList || [] let {farmPicture: picture = "{}"} = detail picture = JSON.parse(picture) return this.detail = {...detail, ...picture} diff --git a/project/xumu/AppTreatmentManage/add.vue b/project/xumu/AppTreatmentManage/add.vue index 54cdef9c..7216944c 100644 --- a/project/xumu/AppTreatmentManage/add.vue +++ b/project/xumu/AppTreatmentManage/add.vue @@ -56,7 +56,7 @@ export default { return id && this.instance.post("/api/breed/treatment/getInfo", null, {params: {biochipEarNumber: id}}).then(res => { if (res?.data) { const detail = res.data - detail.detailList = detail.immunityList || [] + detail.detailList = detail.treatmentList || [] return this.detail = {...detail} } })