진행중
This commit is contained in:
parent
0c18d814b0
commit
1f3f60f59f
|
@ -98,12 +98,23 @@
|
|||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<!-- <mat-form-field>
|
||||
<mat-label>정산종류</mat-label>
|
||||
<input matInput [formControlName]="'calculateType'" />
|
||||
<mat-error *ngIf="composeForm.get('calculateType')?.hasError('required')">
|
||||
정산종류는 필수 입력입니다.
|
||||
</mat-error>
|
||||
</mat-form-field> -->
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>정산종류</mat-label>
|
||||
|
||||
<mat-select [formControlName]="'calculateType'">
|
||||
<mat-option [value]="0"> 롤링 </mat-option>
|
||||
</mat-select>
|
||||
<mat-error *ngIf="composeForm.get('siteName')?.hasError('required')">
|
||||
정산종류는 필수 입력입니다.
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
|
@ -116,12 +127,25 @@
|
|||
|
||||
<mat-form-field>
|
||||
<mat-label>은행명</mat-label>
|
||||
<input matInput [formControlName]="'bankName'" />
|
||||
|
||||
<mat-select [formControlName]="'bankName'" placeholder="은행 선택">
|
||||
<mat-option *ngFor="let bank of data.banks" [value]="bank.getId()">
|
||||
{{ bank.getName() }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
<mat-error *ngIf="composeForm.get('bankName')?.hasError('required')">
|
||||
은행명은 필수 입력입니다.
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<!-- <mat-form-field>
|
||||
<mat-label>은행명</mat-label>
|
||||
<input matInput [formControlName]="'bankName'" />
|
||||
<mat-error *ngIf="composeForm.get('bankName')?.hasError('required')">
|
||||
은행명은 필수 입력입니다.
|
||||
</mat-error>
|
||||
</mat-form-field> -->
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>계좌번호</mat-label>
|
||||
<input matInput [formControlName]="'accountNumber'" />
|
||||
|
|
|
@ -9,6 +9,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { Bank } from 'app/modules/protobuf/models/account/bank_pb';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
import { MemberModel } from 'app/modules/protobuf/models/member/member_pb';
|
||||
|
||||
|
@ -16,6 +17,7 @@ export interface RegistComposeData {
|
|||
title: string;
|
||||
parent: MemberModel;
|
||||
sites: Site[];
|
||||
banks: Bank[];
|
||||
}
|
||||
export interface RegistComposeResult {
|
||||
parentId: string;
|
||||
|
|
Loading…
Reference in New Issue
Block a user