seimin 2 månader sedan
förälder
incheckning
37168ffb04
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
           let postData: any = {
1562
           let postData: any = {
1563
             incident: {
1563
             incident: {
1564
               repairIncidentType,
1564
               repairIncidentType,
1565
-              place: { id: this.deptDto.floor.id },
1565
+              place: this.validateBxForm.value.floor ? { id: this.validateBxForm.value.floor } : undefined,
1566
               department: { id: this.deptDto.id},
1566
               department: { id: this.deptDto.id},
1567
               description: this.validateBxForm.value.description,
1567
               description: this.validateBxForm.value.description,
1568
               houseNumber: this.validateBxForm.value.officeAddress,
1568
               houseNumber: this.validateBxForm.value.officeAddress,