diff --git a/src/views/material/purchase/goodsAccept/index.vue b/src/views/material/purchase/goodsAccept/index.vue index 3b10f5be..880d6ed3 100644 --- a/src/views/material/purchase/goodsAccept/index.vue +++ b/src/views/material/purchase/goodsAccept/index.vue @@ -343,8 +343,8 @@ // this.queryParams.taskStatus="2" this.queryParams.statusList=[2,12] getPurchaseList(this.queryParams).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/material/purchase/goodsArrived/component/home.vue b/src/views/material/purchase/goodsArrived/component/home.vue index 26fd9777..20da8ccf 100644 --- a/src/views/material/purchase/goodsArrived/component/home.vue +++ b/src/views/material/purchase/goodsArrived/component/home.vue @@ -660,8 +660,8 @@ export default { statusList: [1], }; getListNewBuy(this.addDateRange(params)).then((response) => { - this.typeList = response.rows; - this.total = response.total; + this.typeList = response.data.rows; + this.total = response.data.total; this.loading = false; }); }, diff --git a/src/views/material/purchase/goodsBind/component/home.vue b/src/views/material/purchase/goodsBind/component/home.vue index 9ed48139..33a76968 100644 --- a/src/views/material/purchase/goodsBind/component/home.vue +++ b/src/views/material/purchase/goodsBind/component/home.vue @@ -240,8 +240,8 @@ export default { this.loading = true this.queryParams.statusList=[3,13] const res = await getNewBuyBindListApi(this.queryParams) - this.bindList = res.rows - this.total = res.total + this.bindList = res.data.rows + this.total = res.data.total this.loading = false }, // 搜索按钮 diff --git a/src/views/material/purchase/goodsEntry/index.vue b/src/views/material/purchase/goodsEntry/index.vue index aeb3404b..78415531 100644 --- a/src/views/material/purchase/goodsEntry/index.vue +++ b/src/views/material/purchase/goodsEntry/index.vue @@ -393,8 +393,8 @@ export default { this.queryParams.statusList=[3,13,4,14,19] // this.queryParams.modelName="新购验收" getPurchaseList(this.queryParams).then((response) => { - this.tableList = response.rows - this.total = response.total + this.tableList = response.data.rows + this.total = response.data.total this.loading = false }) },