From 40b1702b9e0ef1944d602063f2ceac123e7a665f Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Tue, 19 Nov 2024 10:10:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E8=B4=AD=E4=B8=80=E7=BA=A7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/purchase/goodsAccept/index.vue | 4 ++-- src/views/material/purchase/goodsArrived/component/home.vue | 4 ++-- src/views/material/purchase/goodsBind/component/home.vue | 4 ++-- src/views/material/purchase/goodsEntry/index.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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 }) },