From 34e1b484898d3a536f4d90bab0435640208f8ef1 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Fri, 21 Mar 2025 11:01:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BF=9D=E5=AD=98=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/indexconfig/TableFour.vue | 13 +++++++------ src/views/product/indexconfig/statistics.vue | 9 ++++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/views/product/indexconfig/TableFour.vue b/src/views/product/indexconfig/TableFour.vue index 42a837b..9ffd67b 100644 --- a/src/views/product/indexconfig/TableFour.vue +++ b/src/views/product/indexconfig/TableFour.vue @@ -1,18 +1,19 @@ diff --git a/src/views/product/indexconfig/statistics.vue b/src/views/product/indexconfig/statistics.vue index 966680b..a7a180e 100644 --- a/src/views/product/indexconfig/statistics.vue +++ b/src/views/product/indexconfig/statistics.vue @@ -13,7 +13,7 @@
增加数量:{{ dataAll.dataList.inSumTotal - }}
+ }}
手动增加:{{ dataAll.dataList.winInNum @@ -132,8 +132,15 @@ async function clickEvent(key) { obj = { page: dataAll.pagingConfig.pageNumber, size: dataAll.pagingConfig.pageSize, productId: "", inOutType: "out", inOutItem: "damage-out" } break; } + dataAll.tableData = [] + let res = await UserAPI.stockFlow(obj); dataAll.tableData = res.records + dataAll.tableData.forEach((item, index) => { + if (item.imgUrls.length > 7) { + item.imagesone = JSON.parse(item.imgUrls)[0] + } + }) dataAll.pagingConfig.total = res.totalRow dataAll.pagingConfig.pageSize = res.pageSize dataAll.pagingConfig.pageNumber = res.pageNumber