From 6564742644101611bfd04758fd350c04aa958dd8 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 20 Jul 2026 11:26:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=93452=E7=BB=BC=E5=90=88?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=95=8C=E9=9D=A2=E6=A3=92=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9C=AA=E6=98=BE=E7=A4=BA=E5=8F=91=E8=B4=A7=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/total_statistics.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/views/statistics/total_statistics.vue b/src/views/statistics/total_statistics.vue index a033658e..0f25b810 100644 --- a/src/views/statistics/total_statistics.vue +++ b/src/views/statistics/total_statistics.vue @@ -362,6 +362,18 @@ export default { obj.成品库; that.tableData11[index] = obj; }); + saleData.forEach((item) => { + let index = 0; + if (item.型号.indexOf("+") > -1) { + let model = item.型号.split("+")[1]; + index = models.indexOf(model); + } else { + index = models.indexOf(item.型号); + } + if (index > -1) { + that.tableData22[index].检验合格数=item.数量; + } + }) that.models_b = models; that.getCountOk('b',models); },