liuhy 1 год назад
Родитель
Сommit
87ea969fbd
2 измененных файлов с 16 добавлено и 0 удалено
  1. 8 0
      src/views/networkAccess/registration.vue
  2. 8 0
      src/views/networkAccess/registrationUpdate.vue

+ 8 - 0
src/views/networkAccess/registration.vue

@@ -3497,6 +3497,14 @@ export default {
           document.getElementById('commandPerson').style.color = "black";
           document.getElementById('commandPerson').style.color = "black";
         }
         }
       }
       }
+      if (data === 'noWork' || data === 'all') {
+        if (this.model.noWork === '' || this.model.noWork === null) {
+          document.getElementById('noWork').style.color = "red";
+          info = false;
+        } else {
+          document.getElementById('noWork').style.color = "black";
+        }
+      }
       return info;
       return info;
     },
     },
 
 

+ 8 - 0
src/views/networkAccess/registrationUpdate.vue

@@ -3675,6 +3675,14 @@ export default {
           document.getElementById('commandPerson').style.color = "black";
           document.getElementById('commandPerson').style.color = "black";
         }
         }
       }
       }
+      if (data === 'noWork' || data === 'all') {
+        if (this.model.noWork === '' || this.model.noWork === null) {
+          document.getElementById('noWork').style.color = "red";
+          info = false;
+        } else {
+          document.getElementById('noWork').style.color = "black";
+        }
+      }
     }else {
     }else {
       if (data === 'isInvolvingFraud' || data === 'all') {
       if (data === 'isInvolvingFraud' || data === 'all') {
         debugger
         debugger