diff --git a/src/views/material/cost/component/applyHome.vue b/src/views/material/cost/component/applyHome.vue index 2f009516..a6b8dfd0 100644 --- a/src/views/material/cost/component/applyHome.vue +++ b/src/views/material/cost/component/applyHome.vue @@ -440,8 +440,8 @@ export default { } getSltAgreementInfo(params).then((response) => { - this.tableList = response.rows - this.total = response.total + this.tableList = response.data.rows + this.total = response.data.total this.loading = false }) }, diff --git a/src/views/materialsStation/cost/component/applyHome.vue b/src/views/materialsStation/cost/component/applyHome.vue index 5025cb15..5b2dc937 100644 --- a/src/views/materialsStation/cost/component/applyHome.vue +++ b/src/views/materialsStation/cost/component/applyHome.vue @@ -363,8 +363,8 @@ export default { unitIds: this.unitIds } getSltAgreementInfo(params).then(response => { - this.tableList = response.rows - this.total = response.total + this.tableList = response.data.rows + this.total = response.data.total this.loading = false }) },