This commit is contained in:
leejh 2019-11-01 09:46:32 +09:00
parent 057a5e8705
commit 5c7ac7f199

View File

@ -1,5 +1,6 @@
<!--<div class="list-search"> <div class="list-search">
<div class="selectbox"> <div class="selectbox">
<!--<mat-label>회사선택</mat-label>-->
<mat-select [(value)]="companyCode"> <mat-select [(value)]="companyCode">
<mat-option <mat-option
*ngFor="let company of companyList" *ngFor="let company of companyList"
@ -10,44 +11,24 @@
</mat-select> </mat-select>
</div> </div>
<div class="searchbox"> <div class="searchbox">
<input <mat-form-field floatLabel="never" style="width:100%;">
matInput <input
#searchWordInput matInput
placeholder="name" #searchWordInput
(keydown.enter)="onKeyDownEnter(searchWordInput.value)" placeholder="name"
/> (keydown.enter)="onKeyDownEnter(searchWordInput.value)"
<div class="btn-search"> />
<button <button
mat-button mat-button
matSuffix matSuffix
mat-icon-button mat-icon-button
aria-label="cancel" aria-label="Clear"
(click)="searchWordInput.value = ''; onClickCancel()" (click)="searchWordInput.value = ''; onClickCancel()"
> >
<mat-icon>close</mat-icon> <mat-icon>close</mat-icon>
</button> </button>
</div> </mat-form-field>
</div> </div>
</div>-->
<div class="list-search">
<div class="selectbox">
<!--<mat-label>회사선택</mat-label>-->
<mat-select [(value)]="companyCode">
<mat-option *ngFor="let company of companyList" [value]="company.companyCode">
{{ company.companyName }}
</mat-option>
</mat-select>
</div>
<div class="searchbox">
<mat-form-field floatLabel="never" style="width:100%;">
<input matInput #searchWordInput placeholder="name" (keydown.enter)="onKeyDownEnter(searchWordInput.value)" />
<button mat-button matSuffix mat-icon-button aria-label="Clear"
(click)="inputSearch.value = ''; onClickSearchCancel()">
<mat-icon>close</mat-icon>
</button>
</mat-form-field>
</div>
</div> </div>
<!--검색창만 있는 경우-------------------------------------------------------------------------- <!--검색창만 있는 경우--------------------------------------------------------------------------
<div class="list-search"> <div class="list-search">