Commit 6ea5f60b by Your Name

Update วันที่สิ้นสุด admin

parent b6a6c8fd
......@@ -160,7 +160,7 @@
<td *ngIf="item.eStatus==1">อนุมัติ</td>
<td *ngIf="item.eStatus==2">ยกเลิก</td>
<td *ngIf="item.eStatus==3">สำเร็จแล้ว</td>
<td>{{ item.eDate | date : 'dd/MM/yyyy' }}</td>
<td>{{ item.eDate | date : 'dd/MM/yyyy'}}</td>
<div class="col-auto align-self-sm-center">
<button type="button" class="btn btn-info btn-sm btn-circle "
style="line-height: 0px" (click)="openItemDetail(lend,item)"><i
......@@ -421,8 +421,6 @@
<div class="col-sm-12 mb-1">
<label for="exampleFormControlSelect1">วันที่สิ้นสุด</label>
<input type="date" class="form-control" [(ngModel)]="eDate" formControlName="eDate" />
<div style="color: red;" *ngIf="myFormEquir.controls.eDate.status=='INVALID'">
กรุณากรอกวันที่สิ้นสุดการเบิก.</div>
</div>
</div>
</form>
......
......@@ -322,25 +322,17 @@
<div class="row">
<div class="col-6 mb-1">
<label for="exampleFormControlSelect1">วันที่เริ่มต้น</label>
<input readonly type="date" class="form-control" [(ngModel)]="sDate"
>
</div>
<div class="col-6 mb-1">
<label for="exampleFormControlSelect1">วันที่สิ้นสุด</label>
<input readonly type="date" class="form-control" [(ngModel)]="eDate"
>
<input readonly type="date" class="form-control" [(ngModel)]="sDate">
</div>
</div>
<div class="row">
<div class="col-6 mb-1">
<label for="exampleFormControlSelect1">เวลาที่เริ่มต้น</label>
<input readonly class="form-control" type="time" [(ngModel)]="modelItemDetail.sTime"
>
<input readonly class="form-control" type="time" [(ngModel)]="modelItemDetail.sTime">
</div>
<div class="col-6 mb-1">
<label for="exampleFormControlSelect1">เวลาที่สิ้นสุด</label>
<input readonly class="form-control" type="time" [(ngModel)]="modelItemDetail.sTime"
>
<input readonly class="form-control" type="time" [(ngModel)]="modelItemDetail.eTime">
</div>
</div>
<div class=" row">
......
......@@ -41,7 +41,7 @@ export class ItemDetailService {
},
userName: 'แป๊ะ',
sDate: '2021-12-09',
eDate: '2021-12-13',
eDate: '',
sTime: '22:30',
eTime: '22:30',
eStatus: 1,
......
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