gaoluyang
2026-09-02 9227d2b4e4aad18b48ec879b136d3cca12de5613
src/views/safeProduction/hazardSourceLedger/index.vue
@@ -1,6 +1,6 @@
<template>
  <div class="app-container">
    <div class="search_form">
    <div class="search_form mb20">
      <div>
        <span class="search_title">危险源名称:</span>
        <el-input v-model="searchForm.name"
@@ -159,9 +159,9 @@
      </el-form>
      <template #footer>
        <span class="dialog-footer">
          <el-button @click="dialogVisible = false">取消</el-button>
          <el-button type="primary"
                     @click="submitForm">确定</el-button>
          <el-button @click="dialogVisible = false">取消</el-button>
        </span>
      </template>
    </el-dialog>
@@ -485,6 +485,7 @@
        stockQty: "",
        type: "",
      });
      delete form.value.id;
    } else if (type === "edit" && row) {
      dialogTitle.value = "编辑危险源";
      Object.assign(form.value, {