fix(admin): reduce crm mudblazor interop
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m14s
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m14s
This commit is contained in:
@@ -94,17 +94,24 @@
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int" @bind-Value="revenueForm.ClientId" Label="고객" Required="true" Variant="Variant.Outlined" FullWidth="true" Class="mb-4">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudSelectItem Value="@client.Id">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<div class="mb-4">
|
||||
<label class="mud-input-label mud-input-label-animated mud-input-label-outlined mb-1">고객</label>
|
||||
<select class="mud-input mud-input-outlined mud-input-root mud-input-root-adorned-start"
|
||||
style="width: 100%; min-height: 56px; padding: 16px 14px;"
|
||||
value="@revenueForm.ClientId"
|
||||
@onchange="e => revenueForm.ClientId = int.TryParse(e.Value?.ToString(), out var clientId) ? clientId : 0">
|
||||
<option value="0">고객을 선택하세요.</option>
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<option value="@client.Id">@GetClientDisplayName(client)</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
<MudTextField T="string" @bind-Value="revenueForm.InvoiceNumber" Label="청구번호" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
<MudDatePicker @bind-Date="revenueForm.InvoiceDate" Label="청구일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
<MudTextField T="string" Label="청구일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" Value="@(revenueForm.InvoiceDate?.ToString("yyyy-MM-dd") ?? string.Empty)" />
|
||||
<MudNumericField T="decimal" @bind-Value="revenueForm.Amount" Label="청구액" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
<CommonCodeSelect @bind-Value="revenueForm.ServiceType" Group="REVENUE_SERVICE_TYPE" Label="서비스 유형" Class="mb-4" />
|
||||
<MudDatePicker @bind-Date="revenueForm.DueDate" Label="납부예정일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" />
|
||||
<MudTextField T="string" Label="납부예정일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Value="@(revenueForm.DueDate?.ToString("yyyy-MM-dd") ?? string.Empty)" />
|
||||
</MudForm>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
|
||||
Reference in New Issue
Block a user