huminmin
2026-03-19 f92e790af99264551dd13cfa10abd1f833ee8429
src/views/safeProduction/safeQualifications/index.vue
@@ -408,7 +408,9 @@
        executionDate: "",
      };
    } else {
      form.value = row;
      // 关键:编辑时不要直接引用表格行对象,避免取消/重置时把列表数据一起清空
      // 使用深拷贝断开引用关系
      form.value = JSON.parse(JSON.stringify(row || {}));
    }
    dialogFormVisible.value = true;
  };
@@ -453,6 +455,7 @@
  // 关闭弹框
  const closeDia = () => {
    proxy.resetForm("formRef");
    form.value = {};
    dialogFormVisible.value = false;
  };
  // 关闭产品弹框
@@ -724,9 +727,9 @@
    background-color: #fef0f0 !important;
  }
  :deep(.warning-row td) {
    // color: #cf1322 !important;
  }
  /* :deep(.warning-row td) {
    color: #cf1322 !important;
  } */
  .actions {
    display: flex;