From 0341075c1669c03ff9e2c648952c7b167b427a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=83=E6=B0=94=E6=BB=A1=E6=BB=A1=28jgy=29?= Date: Thu, 9 Jan 2025 11:39:02 +0800 Subject: [PATCH] =?UTF-8?q?2025-1-9=20MES-=E7=82=B9=E6=A3=80=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/pointInspection/index.vue | 36 ++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/mes/pointInspection/index.vue b/src/views/mes/pointInspection/index.vue index ddf712a..41e33d2 100644 --- a/src/views/mes/pointInspection/index.vue +++ b/src/views/mes/pointInspection/index.vue @@ -130,7 +130,7 @@ @change=" handleCheckboxChange( item, - 'openLine', + 'clearLine', key, $event.target.checked ) @@ -214,7 +214,7 @@ -
+
填写要求: 1.产线组长在开线、品种转换时填写该表。 @@ -251,7 +251,7 @@
表单编号:08GL05C001-014A

- + @@ -263,7 +263,9 @@
@@ -354,9 +356,9 @@
-
-
-
+ +
+
填写要求: 1.产线组长在开线、品种转换时填写该表。 @@ -385,6 +387,7 @@ export default { printable: "printPage", ignore: ["no-print"], }, + currentSelectedRow: null, showPrintPage: false, showTable: false, lineCodeOption: [], @@ -444,19 +447,16 @@ export default { this.$set(item, "whetherOpenLine", false); } - this.tableData.forEach((dataItem) => { - Object.keys(dataItem).forEach((key) => { - if (key === transKey) { - this.$set(dataItem[transKey], "whetherOpenLine", newBz); - } + this.$nextTick(() => { + console.log("item", item); + this.tableData.forEach((dataItem) => { + Object.keys(dataItem).forEach((key) => { + if (key === transKey) { + this.$set(dataItem[transKey], "whetherOpenLine", newBz); + } + }); }); }); - - // this.tableData.forEach((dataItem) => { - // if (dataItem.hasOwnProperty(transKey)) { - // dataItem[transKey][whetherOpenLine] = newBz; - // } - // }); }, //在选择产线时候,存产线名称