From 59a3013cd21878d6ba90d29e93a893de24324e12 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Fri, 30 Aug 2024 18:05:02 +0800 Subject: [PATCH] =?UTF-8?q?2024-08-30=20MES-=E7=82=B9=E6=A3=80=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E8=B0=83=E6=95=B4=E7=AC=AC=E4=BA=8C=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/pointInspection/index.vue | 82 +++++++++++++++++++++---- 1 file changed, 69 insertions(+), 13 deletions(-) diff --git a/src/views/mes/pointInspection/index.vue b/src/views/mes/pointInspection/index.vue index 557854fe..b7d6a0d0 100644 --- a/src/views/mes/pointInspection/index.vue +++ b/src/views/mes/pointInspection/index.vue @@ -79,8 +79,8 @@ - - + + + + + + + +
车间黑蚊香产线:{{ headerParameters.lineCode }}黑蚊香产线:{{ headerParameters.lineCode }}
+ {{ item.label }} + + {{ item.label }} + + {{ item.label }} + 填写要求: 1.产线组长在开线、品种转换时填写该表。 - 2.在"口"中选择类别。 2.在"口"中选择类别。 班组长签字:{{ headerParameters.createBy }} @@ -178,8 +202,8 @@ - - + + + + + + +
车间黑蚊香 + 黑蚊香 产线:{{ headerParameters.lineCode }}
+ {{ item.label }} + + {{ item.label }} + + {{ item.label }} +
+
填写要求: 1.产线组长在开线、品种转换时填写该表。 - 2.在"口"中选择类别。 班组长签字:{{ headerParameters.createBy }} + 2.在"口"中选择类别。 班组长签字:{{ headerParameters.createBy }} 3."点检结果",是填"√",否填"×",若有异常则填写实际情况。 @@ -272,6 +321,9 @@ export default { lineCodeOption: [], propertyNum: null, tableTittle: [], + tableTittle0: [], + tableTittle1: [], + tableTittle2: [], tableTittleWidth: null, tableData: [], checkBoxData: [], @@ -432,6 +484,9 @@ export default { this.showPrintPage = false; //打印的表格不显示 this.tableData = []; this.tableTittle = []; + this.tableTittle0 = []; + this.tableTittle1 = []; + this.tableTittle2 = []; this.propertyNum = null; this.loading = true; @@ -453,15 +508,15 @@ export default { this.tableData = response; console.log("this.tableData", this.tableData); this.propertyNum = Object.keys(this.tableData[0]).length - 3; //属性个数 - this.tableTittle.push({ + this.tableTittle0.push({ label: "序号", key: 0, }); - this.tableTittle.push({ + this.tableTittle1.push({ label: "点检项目", key: 1, }); - this.tableTittle.push({ + this.tableTittle2.push({ label: "点检内容", key: 2, }); @@ -472,7 +527,7 @@ export default { }); } - this.tableTittleWidth = 950 / this.propertyNum + "px"; + this.tableTittleWidth = 880 / this.propertyNum + "px"; }); }, }, @@ -502,6 +557,7 @@ export default { .bordered-table td { border: 1px solid #ddd; /* 边框样式 */ text-align: center; /* 文本对齐 */ + height: 35px; /* 表格高度 */ } .bordered-table tr { @@ -549,7 +605,7 @@ export default { .bordered-table-print td { text-align: center; /* 文本对齐 */ - height: 30px; /* 表格高度 */ + height: 35px; /* 表格高度 */ } .bordered-table-bottom-print {