From 676db807f145535f59e454966fcf50322cc59df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Mon, 8 Jan 2024 18:04:01 +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/index.vue | 624 +++++++++++++++++++++++++++++- 1 file changed, 621 insertions(+), 3 deletions(-) diff --git a/src/views/board/foaming/index.vue b/src/views/board/foaming/index.vue index 7452032..da13ed4 100644 --- a/src/views/board/foaming/index.vue +++ b/src/views/board/foaming/index.vue @@ -746,6 +746,622 @@ + +
+
+
+ 工位 +
+
+ 型号 +
+
+ 状态 +
+
+ 目标 +
+
+ 计划 +
+
+ 累计 +
+
+ 达成率 +
+
+ {{ hourArr[0] }} +
+
+ {{ hourArr[1] }} +
+
+ {{ hourArr[2] }} +
+
+ {{ hourArr[3] }} +
+
+ {{ hourArr[4] }} +
+
+ {{ hourArr[5] }} +
+
+ {{ hourArr[6] }} +
+
+ {{ hourArr[7] }} +
+
+ {{ hourArr[8] }} +
+
+ {{ hourArr[9] }} +
+
+ {{ hourArr[10] }} +
+
+ {{ hourArr[11] }} +
+
+ + + + + + +
+
+
+ {{ item.value1 }} +
+
+ {{ item.value2 }} +
+
+ {{ item.value3 }} +
+
+ {{ item.value4 }} +
+
+ {{ item.value5 }} +
+
+ {{ item.value6 }} +
+
+ {{ item.value7 }} +
+
+ {{ item.value8 }} +
+
+ {{ item.value9 }} +
+
+ {{ item.value10 }} +
+
+ {{ item.value11 }} +
+
+ {{ item.value12 }} +
+
+ {{ item.value13 }} +
+
+ {{ item.value14 }} +
+
+ {{ item.value15 }} +
+
+ {{ item.value16 }} +
+
+ {{ item.value17 }} +
+
+ {{ item.value18 }} +
+
+ {{ item.value19 }} +
+
+
+ +
+
+ +
+
+
+ 工位 +
+
+ 型号 +
+
+ 状态 +
+
+ 目标 +
+
+ 计划 +
+
+ 累计 +
+
+ 达成率 +
+
+ {{ hourArr[0] }} +
+
+ {{ hourArr[1] }} +
+
+ {{ hourArr[2] }} +
+
+ {{ hourArr[3] }} +
+
+ {{ hourArr[4] }} +
+
+ {{ hourArr[5] }} +
+
+ {{ hourArr[6] }} +
+
+ {{ hourArr[7] }} +
+
+ {{ hourArr[8] }} +
+
+ {{ hourArr[9] }} +
+
+ {{ hourArr[10] }} +
+
+ {{ hourArr[11] }} +
+
+ + + + + + +
+
+
+ {{ item.value1 }} +
+
+ {{ item.value2 }} +
+
+ {{ item.value3 }} +
+
+ {{ item.value4 }} +
+
+ {{ item.value5 }} +
+
+ {{ item.value6 }} +
+
+ {{ item.value7 }} +
+
+ {{ item.value8 }} +
+
+ {{ item.value9 }} +
+
+ {{ item.value10 }} +
+
+ {{ item.value11 }} +
+
+ {{ item.value12 }} +
+
+ {{ item.value13 }} +
+
+ {{ item.value14 }} +
+
+ {{ item.value15 }} +
+
+ {{ item.value16 }} +
+
+ {{ item.value17 }} +
+
+ {{ item.value18 }} +
+
+ {{ item.value19 }} +
+
+
+ +
+
+ +
+
+
+ 工位 +
+
+ 型号 +
+
+ 状态 +
+
+ 目标 +
+
+ 计划 +
+
+ 累计 +
+
+ 达成率 +
+
+ {{ hourArr[0] }} +
+
+ {{ hourArr[1] }} +
+
+ {{ hourArr[2] }} +
+
+ {{ hourArr[3] }} +
+
+ {{ hourArr[4] }} +
+
+ {{ hourArr[5] }} +
+
+ {{ hourArr[6] }} +
+
+ {{ hourArr[7] }} +
+
+ {{ hourArr[8] }} +
+
+ {{ hourArr[9] }} +
+
+ {{ hourArr[10] }} +
+
+ {{ hourArr[11] }} +
+
+ + + + + + +
+
+
+ {{ item.value1 }} +
+
+ {{ item.value2 }} +
+
+ {{ item.value3 }} +
+
+ {{ item.value4 }} +
+
+ {{ item.value5 }} +
+
+ {{ item.value6 }} +
+
+ {{ item.value7 }} +
+
+ {{ item.value8 }} +
+
+ {{ item.value9 }} +
+
+ {{ item.value10 }} +
+
+ {{ item.value11 }} +
+
+ {{ item.value12 }} +
+
+ {{ item.value13 }} +
+
+ {{ item.value14 }} +
+
+ {{ item.value15 }} +
+
+ {{ item.value16 }} +
+
+ {{ item.value17 }} +
+
+ {{ item.value18 }} +
+
+ {{ item.value19 }} +
+
+
+ +
+
+ +
+
+
+ 工位 +
+
+ 型号 +
+
+ 状态 +
+
+ 目标 +
+
+ 计划 +
+
+ 累计 +
+
+ 达成率 +
+
+ {{ hourArr[0] }} +
+
+ {{ hourArr[1] }} +
+
+ {{ hourArr[2] }} +
+
+ {{ hourArr[3] }} +
+
+ {{ hourArr[4] }} +
+
+ {{ hourArr[5] }} +
+
+ {{ hourArr[6] }} +
+
+ {{ hourArr[7] }} +
+
+ {{ hourArr[8] }} +
+
+ {{ hourArr[9] }} +
+
+ {{ hourArr[10] }} +
+
+ {{ hourArr[11] }} +
+
+ + + + + + +
+
+
+ {{ item.value1 }} +
+
+ {{ item.value2 }} +
+
+ {{ item.value3 }} +
+
+ {{ item.value4 }} +
+
+ {{ item.value5 }} +
+
+ {{ item.value6 }} +
+
+ {{ item.value7 }} +
+
+ {{ item.value8 }} +
+
+ {{ item.value9 }} +
+
+ {{ item.value10 }} +
+
+ {{ item.value11 }} +
+
+ {{ item.value12 }} +
+
+ {{ item.value13 }} +
+
+ {{ item.value14 }} +
+
+ {{ item.value15 }} +
+
+ {{ item.value16 }} +
+
+ {{ item.value17 }} +
+
+ {{ item.value18 }} +
+
+ {{ item.value19 }} +
+
+
+ +
+
@@ -1565,13 +2181,14 @@ export default { getFoamingData({ "PRODUCT_LINE_CODE": "CX_01" }).then(e => { - this.scrollTableData1 = e.data?.map(val => { + console.log(e) + let table = e.data?.map(val => { return { value1: val.EQUIPMENT_CODE, value2: val.FIXTUREBOXTYPE, value3: val.FIXTURESTATUS, value4: val.TARGET, - value5: 0, + value5: val.PLAN_SUM, value6: val.PRO_SUM, value7: ((val.PRO_SUM / val.TARGET) * 100).toFixed(2) + '%', value8: val.ANHOUR, @@ -2038,10 +2655,11 @@ export default { this.hourArr = e?.data.map(val => val.HOUR_TIME) }) let timeInter = setInterval(() => { - let num1 = this.scrollTableData1.length / 6 + let num1 = Math.ceil(this.scrollTableData1.length / 6) let num = this.show num += 1 num = num % num1 + console.log(num,num1) this.show = num let totalArr = this.scrollTableData1.slice(num * 6, (num + 1) * 6)