seimin 1 месяц назад
Родитель
Сommit
37168ffb04
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/views/hushijiandan/hushijiandan.component.ts

+ 1 - 1
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -1562,7 +1562,7 @@ export class HushijiandanComponent implements OnInit {
1562 1562
           let postData: any = {
1563 1563
             incident: {
1564 1564
               repairIncidentType,
1565
-              place: { id: this.deptDto.floor.id },
1565
+              place: this.validateBxForm.value.floor ? { id: this.validateBxForm.value.floor } : undefined,
1566 1566
               department: { id: this.deptDto.id},
1567 1567
               description: this.validateBxForm.value.description,
1568 1568
               houseNumber: this.validateBxForm.value.officeAddress,