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 {