seimin 3 달 전
부모
커밋
bdf32262a0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/app/components/configurationCenter/configuration-manHour/configuration-manHour.component.ts

+ 2 - 2
src/app/components/configurationCenter/configuration-manHour/configuration-manHour.component.ts

@@ -214,9 +214,9 @@ export class ConfigurationManHourComponent implements OnInit {
214 214
     this.modalCategory = true;
215 215
     this.initCategoryForm();
216 216
     if(type == 1){
217
-      this.('parent', false);
217
+      this.requiredChange('parent', false);
218 218
     }else if(type == 2){
219
-      this.('parent', true);
219
+      this.requiredChange('parent', true);
220 220
     }
221 221
     console.log(this['activeCategory' + type])
222 222
     this.validateCategoryForm.controls.parent.setValue(this['activeCategory' + type].parent ? this['activeCategory' + type].parent.id : null);