Commit a6d6b12b by CSC-PGM\myhr

Update แสดง detail

parent 44c35390
...@@ -76,7 +76,7 @@ export class AdminEquirmentComponent implements OnInit { ...@@ -76,7 +76,7 @@ export class AdminEquirmentComponent implements OnInit {
eDate : new FormControl('',[Validators.required]), eDate : new FormControl('',[Validators.required]),
sTime : new FormControl('',[Validators.required]), sTime : new FormControl('',[Validators.required]),
eTime : new FormControl('',[Validators.required]), eTime : new FormControl('',[Validators.required]),
Remark : new FormControl() remark : new FormControl()
}); });
this.myFormEquir = new FormGroup({ this.myFormEquir = new FormGroup({
userNameForm : new FormControl('',[Validators.required]), userNameForm : new FormControl('',[Validators.required]),
...@@ -91,7 +91,7 @@ export class AdminEquirmentComponent implements OnInit { ...@@ -91,7 +91,7 @@ export class AdminEquirmentComponent implements OnInit {
sTime : new FormControl('',[Validators.required]), sTime : new FormControl('',[Validators.required]),
eTime : new FormControl('',[Validators.required]), eTime : new FormControl('',[Validators.required]),
Quantity : new FormControl('',[Validators.required]), Quantity : new FormControl('',[Validators.required]),
Remark : new FormControl('',[Validators.required]), remark : new FormControl('',[Validators.required]),
}) })
} }
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<h5 class=" title">รายละเอียดทั้งหมด</h5> <h5 class=" title">รายละเอียดทั้งหมด</h5>
</div> </div>
<div class=" card-body"> <div class=" card-body">
<form [formGroup]="myFormRoom"> <form [formGroup]="myFromContact">
<div class=" row"> <div class=" row">
<div class=" col-md-12"> <div class=" col-md-12">
<div class=" form-group"> <div class=" form-group">
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<div class=" form-group"> <div class=" form-group">
<label> หมายเหตุ </label> <label> หมายเหตุ </label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3" <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"
placeholder="......" formControlName ="Remark"></textarea> placeholder="......" formControlName ="remark"></textarea>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -79,7 +79,7 @@ export class ContactAdminComponent implements OnInit { ...@@ -79,7 +79,7 @@ export class ContactAdminComponent implements OnInit {
ctTab: new FormControl(this.modelContact.ctTab), ctTab: new FormControl(this.modelContact.ctTab),
ctHead: new FormControl(this.modelContact.ctHead), ctHead: new FormControl(this.modelContact.ctHead),
sDate: new FormControl(this.modelContact.sDate), sDate: new FormControl(this.modelContact.sDate),
Remark: new FormControl(this.modelContact.remark), remark: new FormControl(this.modelContact.remark),
ctStatus: new FormControl(this.modelContact.ctStatus) ctStatus: new FormControl(this.modelContact.ctStatus)
}); });
this.modalService.open(content, { ariaLabelledBy: 'modal-basic-title' }).result.then((result) => { this.modalService.open(content, { ariaLabelledBy: 'modal-basic-title' }).result.then((result) => {
......
...@@ -19,6 +19,7 @@ export class ContactService { ...@@ -19,6 +19,7 @@ export class ContactService {
sDate: '2021/12/17' sDate: '2021/12/17'
}, },
] ]
addContact(model: Contact) { addContact(model: Contact) {
this.listContact.push(model); this.listContact.push(model);
} }
......
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