Browse Source

[完善]表格增加单位

master
邵佳豪 2 years ago
parent
commit
34a45a0c3a
  1. 7
      src/app/key-unit/basicinfo/basicinfo.component.html
  2. 1
      src/app/key-unit/basicinfo/basicinfo.component.ts

7
src/app/key-unit/basicinfo/basicinfo.component.html

@ -51,8 +51,7 @@
<span>联系电话:</span>
<mat-form-field>
<input type="number" matInput id="linkphone" name="linkphone" #linkphone="ngModel"
required
[(ngModel)]="unitinfo.phone" (focus)="closeorganizationbox()">
required [(ngModel)]="unitinfo.phone" (focus)="closeorganizationbox()">
</mat-form-field>
<!-- <div *ngIf="linkphone.invalid && (linkphone.dirty || linkphone.touched)"
class="alert-danger">
@ -263,7 +262,7 @@
(click)="removeline(element.propertyInfos)">
<mat-icon>remove_circle_outline</mat-icon>
</button>
{{item.propertyName}}
{{item.propertyName}}{{item.physicalUnit? '('+item.physicalUnit+')' : ''}}
<span style="color: red;" *ngIf="item.required">*</span>
</th>
</tr>
@ -369,7 +368,7 @@
(click)="removeline(element.propertyInfos)">
<mat-icon>remove_circle_outline</mat-icon>
</button>
{{item.propertyName}}
{{item.propertyName}}{{item.physicalUnit? '('+item.physicalUnit+')' : ''}}
<span style="color: red;" *ngIf="item.required">*</span>
</th>
</tr>

1
src/app/key-unit/basicinfo/basicinfo.component.ts

@ -591,6 +591,7 @@ export class BasicinfoComponent implements OnInit {
}
}
})
console.log('this.houses',this.houses)
})
}
//点击选项卡

Loading…
Cancel
Save