From 12c8999bab7206bc652fd69ac4f364d84c9e7153 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 12 六月 2026 18:07:46 +0800
Subject: [PATCH] 不合格处理:支持多生产批次提交oa;oa流程查看调整
---
src/components/Table/lims-table.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue
index ef3af96..769e168 100644
--- a/src/components/Table/lims-table.vue
+++ b/src/components/Table/lims-table.vue
@@ -316,6 +316,7 @@
this.tableData.forEach((_, index) => {
this.$set(this.uploadKeys, index, Date.now());
});
+ this.calculateSpanInfo();
this.refreshTableLayout();
},
immediate: true
@@ -471,13 +472,15 @@
calculateSpanInfo() {
// 鍒濆鍖栨瘡鍒楃殑鍚堝苟淇℃伅
this.spanList = [];
+ // 璁$畻鏁版嵁鍒楀湪el-table涓殑鐪熷疄璧峰绱㈠紩锛氬簭鍙峰垪(1鍒�) + 鍙�夌殑閫夋嫨鍒�(1鍒�)
+ const colOffset = this.isSelection ? 2 : 1;
this.column.forEach((m, i) => {
if (m.mergeCol) {
this.spanList.push({
arr: [],
position: 0,
name: m.prop,
- index: i + 1,
+ index: i + colOffset,
});
}
});
--
Gitblit v1.9.3