Commit d47c176f by Your Name

Update หัวหนา และเลข id

parent 1f0d52f2
......@@ -17,7 +17,7 @@ export class ItemDetail {
returnItem : boolean;
constructor(init?: ItemDetail) {
Object.assign(this, init);
this.id = 1;
this.id = 0;
this.equirment = this.equirment;
this.userName = '';
this.sDate = '';
......
......@@ -15,7 +15,7 @@ export class RoomDetail {
allDay: boolean;
constructor(init?: RoomDetail) {
Object.assign(this, init);
this.id = 1;
this.id = 0;
this.room = this.room;
this.userName = '';
this.sDate = '';
......
......@@ -18,7 +18,7 @@
</thead>
<tbody>
<tr *ngFor="let item of listContact">
<th scope="row" style="color: rgb(255, 255, 255);">{{ item.id }}</th>
<td scope="row" style="color: rgb(255, 255, 255);">{{ item.id }}</td>
<td>{{ item.ctHead }}</td>
<td>{{ item.ctTab }}</td>
<td>{{ item.ctName }}</td>
......@@ -95,7 +95,7 @@
<div class="row">
<div class="col-sm-12 mb-1">
<label for="exampleFormControlSelect1">วันที่แจ้ง</label>
<input readonly class="form-control" type="date" [(ngModel)]="sDate"
<input readonly class="form-control" type="date" [(ngModel)]="modelContact.sDate"
formControlName="sDate" />
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment