From 2071428c3884d44eee9650dcd2f1c3ce421ddc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Fri, 12 Apr 2024 09:10:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/foaming/index2.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/board/foaming/index2.vue b/src/views/board/foaming/index2.vue index 8c22805..7c9689c 100644 --- a/src/views/board/foaming/index2.vue +++ b/src/views/board/foaming/index2.vue @@ -43,6 +43,9 @@
出模位 +
+ 门体发泡总产量:{{ total }} +
@@ -156,6 +159,7 @@ export default { name: "Liner", data() { return { + total:'', title: [ '箱体队列', '箱体队列统计', @@ -740,6 +744,13 @@ export default { i: "scada_pp_pro_stat_01('')", f: (e) => { this.bottomTableData = e + let a = 0 + let b = 0 + e.forEach(v=>{ + a += parseFloat(v.COLUMN_C.split('-')[0]) + b += parseFloat(v.COLUMN_C.split('-')[1]) + }) + this.total = a+' - '+b } }, {