liding
2026-04-10 7f66aae79c0f723c698efa25092a46fda3253460
src/views/safeProduction/hazardousMaterialsControl/index.vue
@@ -653,15 +653,7 @@
  // 选择变化处理
  const handleSelectionChange = selection => {
    // 主表格也只保留最后一个选中的项
    if (selection.length > 1) {
      const lastSelected = selection[selection.length - 1];
      selectedIds.value = [lastSelected.id];
    } else if (selection.length === 1) {
      selectedIds.value = [selection[0].id];
    } else {
      selectedIds.value = [];
    }
    selectedIds.value = selection.map(item => item.id);
  };
  // 打开表单