luojun %!s(int64=2) %!d(string=hai) anos
pai
achega
c865cffa2c
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 3 0
      src/views/check/dialog.edit.vue
  2. 1 0
      src/views/check/index.vue

+ 3 - 0
src/views/check/dialog.edit.vue

@@ -402,11 +402,14 @@ export default {
         })
 
       }else{
+        this.formData.id=null;
         this.formData.planName= null;
         this.formData.planType= null;
         this.formData.planCycle= null;
         this.formData.planStatus= null;
         this.formData.execOrgType= null;
+        this.formData.checkOrgType= null;
+        this.formData.checkType= null;
         this.formData.roleNames= null;
         this.formData.count= null;
         this.formData.description= null;

+ 1 - 0
src/views/check/index.vue

@@ -455,6 +455,7 @@ export default {
       this.getList();
     },
     handleAdd(id, other = {}) {
+      id=null;
       this.$refs.editDialog.show(id, other);
     },
     onEdit(id, other = {}) {