mo 2 lat temu
rodzic
commit
c282b7468b
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/views/visitManager/addVisit.vue

+ 4 - 1
src/views/visitManager/addVisit.vue

@@ -562,9 +562,12 @@ export default {
       this.statusList.studentStatus = true;
     },
     onChange(type) {
-      if (this.id || this.userId || this.beforeId) {
+      if (this.id) {
         return;
       }
+      if((this.userId || this.beforeId)&&type !='probStatus'){
+        return
+      }
       let visit = this.visit;
       let form = this.form;
       if (type == "type") {