From adef92c959a29caa85d88f6e6c6cf6edc193eb76 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 4 Nov 2025 09:00:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E9=97=AE=E9=A2=98=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/stock_statistics.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/statistics/stock_statistics.vue b/src/views/statistics/stock_statistics.vue index 0debe0b7..c66cd498 100644 --- a/src/views/statistics/stock_statistics.vue +++ b/src/views/statistics/stock_statistics.vue @@ -81,7 +81,7 @@ id="exportDiv11" stripe hideDo - :pageSize="500" + hidePagination :summary-method="getSummaries2" show-summary > @@ -241,7 +241,7 @@ export default { mioTypeEnum, apiObj: this.$API.mtm.material.list, materialType: "", - params: { is_hidden: false, type: 10, count__gte: 1 }, + params: { is_hidden: false, type: 10, count__gte: 1,page:0 }, query: { material: "", mio_type: mioTypeEnum.values[0].key, @@ -370,9 +370,9 @@ export default { that.params.name = that.material_name; } this.$API.mtm.material.list.req(that.params).then((res) => { - that.tableData11 = res.results; - if(res.results.length>0){ - res.results.forEach((ite) =>{ + that.tableData11 = res; + if(res.length>0){ + res.forEach((ite) =>{ if (nameList.indexOf(ite.name) > -1) {} else { nameList.push(ite.name); let obj = {};