Commit d47c176f by Your Name

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

parent 1f0d52f2
...@@ -17,7 +17,7 @@ export class ItemDetail { ...@@ -17,7 +17,7 @@ export class ItemDetail {
returnItem : boolean; returnItem : boolean;
constructor(init?: ItemDetail) { constructor(init?: ItemDetail) {
Object.assign(this, init); Object.assign(this, init);
this.id = 1; this.id = 0;
this.equirment = this.equirment; this.equirment = this.equirment;
this.userName = ''; this.userName = '';
this.sDate = ''; this.sDate = '';
......
...@@ -15,7 +15,7 @@ export class RoomDetail { ...@@ -15,7 +15,7 @@ export class RoomDetail {
allDay: boolean; allDay: boolean;
constructor(init?: RoomDetail) { constructor(init?: RoomDetail) {
Object.assign(this, init); Object.assign(this, init);
this.id = 1; this.id = 0;
this.room = this.room; this.room = this.room;
this.userName = ''; this.userName = '';
this.sDate = ''; this.sDate = '';
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</thead> </thead>
<tbody> <tbody>
<tr *ngFor="let item of listContact"> <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.ctHead }}</td>
<td>{{ item.ctTab }}</td> <td>{{ item.ctTab }}</td>
<td>{{ item.ctName }}</td> <td>{{ item.ctName }}</td>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 mb-1"> <div class="col-sm-12 mb-1">
<label for="exampleFormControlSelect1">วันที่แจ้ง</label> <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" /> formControlName="sDate" />
</div> </div>
</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