diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue
index 523c2e73..801e9612 100644
--- a/src/views/mes/reportWork/index.vue
+++ b/src/views/mes/reportWork/index.vue
@@ -385,7 +385,7 @@
-
- -->
+ -->
diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue
index 522f2342..4ec3bb30 100644
--- a/src/views/quality/produceReport/index.vue
+++ b/src/views/quality/produceReport/index.vue
@@ -518,7 +518,12 @@
-
+
+
+
+
+
+
-
+
@@ -584,7 +589,7 @@
-
+
{{ parseTime(form.checkTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
@@ -601,23 +606,24 @@
-
-
+
-
-
+
+
+
+
-
+
@@ -770,6 +776,10 @@ export default {
/* incomeBatchNo: [
{ required: true, message: "来料批次号不能为空", trigger: "blur" }
], */
+ },
+ labelStyle: {
+ 'min-width': '100px',
+ 'word-break': 'keep-all'
}
};
},
@@ -1025,6 +1035,38 @@ export default {
}
},
+ /**
+ * 1. 若是objectSpanMethod不返回任何东西,表格不会变化
+ * 2. 最外层的判断一般是,先从第几列开始合并
+ * 3. 这次从第0行合并2个,下次就要从第3行开始合并(0行加俩,就到3行了)
+ * 4. 这种方式是有多少条数据,合并多少条数据,比如本案例中有7条数据(从第0条合并到第7条)
+ * 5. return { rowspan: 0, colspan: 0 } // 表示不合并
+ * */
+ objectSpanMethod({ row, column, rowIndex, columnIndex }) {
+ console.log("rowIndex", rowIndex);
+ // 准备在第二列进行合并操作
+ if (columnIndex == 1) {
+ // 从第0行进行合并
+ if (rowIndex == 0) {
+ return {
+ rowspan: 3, // 合并3行
+ colspan: 1, // 合并1列(当前列)
+ };
+ }
+ if (rowIndex == 3) {
+ return {
+ rowspan: 2, // 合并2行
+ colspan: 1, // 合并1列
+ };
+ }
+ if (rowIndex == 5) {
+ return {
+ rowspan: 2, // 合并1行
+ colspan: 1, // 合并1列
+ };
+ }
+ }
+ },
}
};
diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue
index 9dfc5a9e..e1e7fc5a 100644
--- a/src/views/quality/qcIncome/checkProjectType.vue
+++ b/src/views/quality/qcIncome/checkProjectType.vue
@@ -27,7 +27,7 @@
-
+
-
+
-
+
{{
form.workshopSection
}}
- {{
+ {{
form.unitWorkingHours
}}
{{