lyfO_o
2022-04-06 1cc4eb09ce38f1f0db114b7d3570f92ceaf1d470
src/views/safetyproduction/checklist.vue
@@ -435,9 +435,6 @@
      }
    },
    coAdd(val, type) {
       this.$nextTick(() => {
        this.$refs["form"].clearValidate();
      });
      this.titleN = type;
      if (type == "新增") {
        this.dialogVisible = true;
@@ -450,8 +447,11 @@
        this.index = this.form.deductionList.findIndex(
          (item) => item.name == val.name
        );
        this.formInline = val;
          this.formInline=JSON.parse(JSON.stringify(val));
      }
        this.$nextTick(() => {
            this.$refs["form"].clearValidate();
        });
    },
    listAdd() {
        this.$refs["form"].validate((valid) => {
@@ -568,4 +568,4 @@
  background-color: #034ea2;
  border: 1px solid #034ea2;
}
</style>
</style>