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) => {