* Added divs to containers
This commit is contained in:
@@ -8,8 +8,9 @@
|
||||
@using Syncfusion.Blazor.Cards
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<h5>Zamówienie klienta nr @CustomerOrderDto?.CoNum</h5>
|
||||
<SfCard>
|
||||
<div class="container-fluid h-100">
|
||||
<h5>Zamówienie klienta nr @CustomerOrderDto?.CoNum</h5>
|
||||
<SfCard>
|
||||
<CardContent>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
@@ -38,16 +39,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</SfCard>
|
||||
<br/>
|
||||
<div class="row">
|
||||
</SfCard>
|
||||
<br/>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<Button Color="ButtonColor.Primary" @onclick="ShowLastDelfors">@_text</Button>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
@if (_isVisible)
|
||||
{
|
||||
</div>
|
||||
<br/>
|
||||
@if (_isVisible)
|
||||
{
|
||||
<div class="row">
|
||||
<h5>Zamówienie DELFOR do zamówienia @CustomerOrderDto?.CoNum</h5>
|
||||
</div>
|
||||
@@ -56,9 +57,9 @@
|
||||
<ScheduleOrdersGrid PageSize="5" PassGridRef="SetGridRef" GridData="_scheduleOrders"></ScheduleOrdersGrid>
|
||||
</div>
|
||||
<br/>
|
||||
}
|
||||
<h5>Indeksy</h5>
|
||||
<SfGrid @ref="_customerOrderLinesGrid"
|
||||
}
|
||||
<h5>Indeksy</h5>
|
||||
<SfGrid @ref="_customerOrderLinesGrid"
|
||||
AllowFiltering="true"
|
||||
AllowPaging="true"
|
||||
AllowSorting="true"
|
||||
@@ -115,9 +116,9 @@
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
<GridEvents TValue="CustomerOrderLineDto" RowSelected="OnSelectedLineRow"></GridEvents>
|
||||
</SfGrid>
|
||||
@if (_isVisibleCustomerOrderLine)
|
||||
{
|
||||
</SfGrid>
|
||||
@if (_isVisibleCustomerOrderLine)
|
||||
{
|
||||
<br/>
|
||||
<h5>Harmonogramy</h5>
|
||||
<SfGrid @ref="_customerOrderLineItemsGrid"
|
||||
@@ -151,7 +152,8 @@
|
||||
<u>Data
|
||||
Rejestracji:</u> <b>@(detailLineItem?.ReleaseDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Magazyn:</u> <b>@detailLineItem?.Whse</b><br/>
|
||||
<u>Typ Documentu:</u> <b>@detailLineItem?.Uf_FKR_EDI_ITEM_DocumentType</b><br/>
|
||||
<u>Typ
|
||||
Documentu:</u> <b>@detailLineItem?.Uf_FKR_EDI_ITEM_DocumentType</b><br/>
|
||||
</div>
|
||||
<div class="col">
|
||||
<u>Kod VAT:</u> <b>@detailLineItem?.TaxCode1</b><br/>
|
||||
@@ -194,7 +196,8 @@
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
</SfGrid>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
||||
@code {
|
||||
[Parameter] public Guid CustomerOrderId { get; set; }
|
||||
@@ -281,4 +284,5 @@
|
||||
_isVisibleCustomerOrderLine = _selectedCustomerOrderLine != null;
|
||||
_customerOrderLineItems = _selectedCustomerOrderLine?.CustomerOrderLineItems.ToList() ?? [];
|
||||
}
|
||||
|
||||
}
|
||||
@@ -6,8 +6,9 @@
|
||||
@using Syncfusion.Blazor.Cards
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<h5>Zamówienia Klienta</h5>
|
||||
<SfGrid AllowFiltering="true"
|
||||
<div class="container-fluid h-100">
|
||||
<h5>Zamówienia Klienta</h5>
|
||||
<SfGrid AllowFiltering="true"
|
||||
AllowPaging="true"
|
||||
AllowSorting="true"
|
||||
AllowSelection="true"
|
||||
@@ -28,7 +29,8 @@
|
||||
<u>Numer Odbiorcy:</u> <b>@order?.CustSeq</b><br/>
|
||||
<u>Kontakt:</u> <b>@order?.Contact</b><br/>
|
||||
<u>Telefon:</u> <b>@order?.Phone</b><br/>
|
||||
<u>Data Zamówienia:</u> <b>@order?.OrderDate.ToString("yyyy-MM-dd HH:mm:ss")</b><br/>
|
||||
<u>Data Zamówienia:</u>
|
||||
<b>@order?.OrderDate.ToString("yyyy-MM-dd HH:mm:ss")</b><br/>
|
||||
<u>Warunki:</u> <b>@order?.TermsCode</b><br/>
|
||||
<u>Wartość Brutto:</u> <b>@(order?.Price?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Status:</u> <b>@order?.TranslatedStatus</b><br/>
|
||||
@@ -54,16 +56,18 @@
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CoNum) HeaderText="Numer Zamówienia" Width="110"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CustPo) HeaderText="Zamówienie Klienta" Width="100"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CustNum) HeaderText="Numer Klienta"Width="90"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CustNum) HeaderText="Numer Klienta" Width="90"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CustSeq) HeaderText="Odbiorca" Width="80"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CreateDate) HeaderText="Data zamówienia" TextAlign="TextAlign.Right"Width="110"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.CreateDate) HeaderText="Data zamówienia"
|
||||
TextAlign="TextAlign.Right" Width="110"></GridColumn>
|
||||
<GridColumn Field=@nameof(CustomerOrderDto.TranslatedStatus) HeaderText="Status" Width="100"></GridColumn>
|
||||
</GridColumns>
|
||||
<GridFilterSettings Type="FilterType.Excel"/>
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
<GridEvents TValue="CustomerOrderDto" OnRecordDoubleClick="OnRowDoubleClick" />
|
||||
</SfGrid>
|
||||
<GridEvents TValue="CustomerOrderDto" OnRecordDoubleClick="OnRowDoubleClick"/>
|
||||
</SfGrid>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private IEnumerable<CustomerOrderDto>? _customerOrders;
|
||||
@@ -82,4 +86,5 @@
|
||||
|
||||
NavigationManager.NavigateTo($"/CustomerOrder/{customerOrderId}");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -6,38 +6,44 @@
|
||||
@using Syncfusion.Blazor.Cards
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<h5>Zamówienie klienta nr @EdiCustomerOrderDto?.CustomerOrderNumber</h5>
|
||||
<SfCard>
|
||||
<div class="container-fluid h-100">
|
||||
<h5>Zamówienie klienta nr @EdiCustomerOrderDto?.CustomerOrderNumber</h5>
|
||||
<SfCard>
|
||||
<CardContent>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<u>Numer zamówienia EDI:</u> <b>@EdiCustomerOrderDto?.CustomerOrderNumber</b><br />
|
||||
<u>Numer zamówienia Klienta:</u> <b>@EdiCustomerOrderDto?.CustomerPoNumber</b><br />
|
||||
<u>Numer klienta:</u> <b>@EdiCustomerOrderDto?.CustomerNumber</b><br />
|
||||
<u>Klient:</u> <b>@EdiCustomerOrderDto?.CustomerName</b><br />
|
||||
<u>Numer odbiorcy:</u> <b>@(EdiCustomerOrderDto?.CustomerSequence?.ToString() ?? "N/A")</b><br />
|
||||
<u>Data otrzymania:</u> <b>@(EdiCustomerOrderDto?.RecivedDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br />
|
||||
<u>Wysłano do Syteline?:</u> <b>@((EdiCustomerOrderDto?.Posted?.ToString() ?? "0") == "0" ? "NIE" : "TAK")</b><br />
|
||||
<u>Data wysyłki do Syteline:</u> <b>@(EdiCustomerOrderDto?.PostedDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br />
|
||||
<u>Data zamówienia:</u> <b>@(EdiCustomerOrderDto?.OrderDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br />
|
||||
<u>Numer zamówienia EDI:</u> <b>@EdiCustomerOrderDto?.CustomerOrderNumber</b><br/>
|
||||
<u>Numer zamówienia Klienta:</u> <b>@EdiCustomerOrderDto?.CustomerPoNumber</b><br/>
|
||||
<u>Numer klienta:</u> <b>@EdiCustomerOrderDto?.CustomerNumber</b><br/>
|
||||
<u>Klient:</u> <b>@EdiCustomerOrderDto?.CustomerName</b><br/>
|
||||
<u>Numer
|
||||
odbiorcy:</u> <b>@(EdiCustomerOrderDto?.CustomerSequence?.ToString() ?? "N/A")</b><br/>
|
||||
<u>Data
|
||||
otrzymania:</u> <b>@(EdiCustomerOrderDto?.RecivedDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Wysłano do
|
||||
Syteline?:</u> <b>@((EdiCustomerOrderDto?.Posted?.ToString() ?? "0") == "0" ? "NIE" : "TAK")</b><br/>
|
||||
<u>Data wysyłki do
|
||||
Syteline:</u> <b>@(EdiCustomerOrderDto?.PostedDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Data
|
||||
zamówienia:</u> <b>@(EdiCustomerOrderDto?.OrderDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
</div>
|
||||
<div class="col">
|
||||
<u>Cena:</u> <b>@(EdiCustomerOrderDto?.Price?.ToString("F2") ?? "N/A")</b><br />
|
||||
<u>Waga:</u> <b>@(EdiCustomerOrderDto?.Weight?.ToString("F2") ?? "N/A")</b><br />
|
||||
<u>Magazyn:</u> <b>@EdiCustomerOrderDto?.Warehouse</b><br />
|
||||
<u>Gate:</u> <b>@EdiCustomerOrderDto?.Gate</b><br />
|
||||
<u>Kod odbiorcy:</u> <b>@EdiCustomerOrderDto?.RecipientCode</b><br />
|
||||
<u>Kod wysyłającego:</u> <b>@EdiCustomerOrderDto?.SenderCode</b><br />
|
||||
<u>Kod sprzedawcy:</u> <b>@EdiCustomerOrderDto?.SellerCode</b><br />
|
||||
<u>Kod kupującego:</u> <b>@EdiCustomerOrderDto?.BuyerCode</b><br />
|
||||
<u>Typ dokumentu:</u> <b>@EdiCustomerOrderDto?.DocType</b><br />
|
||||
<u>Cena:</u> <b>@(EdiCustomerOrderDto?.Price?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Waga:</u> <b>@(EdiCustomerOrderDto?.Weight?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Magazyn:</u> <b>@EdiCustomerOrderDto?.Warehouse</b><br/>
|
||||
<u>Gate:</u> <b>@EdiCustomerOrderDto?.Gate</b><br/>
|
||||
<u>Kod odbiorcy:</u> <b>@EdiCustomerOrderDto?.RecipientCode</b><br/>
|
||||
<u>Kod wysyłającego:</u> <b>@EdiCustomerOrderDto?.SenderCode</b><br/>
|
||||
<u>Kod sprzedawcy:</u> <b>@EdiCustomerOrderDto?.SellerCode</b><br/>
|
||||
<u>Kod kupującego:</u> <b>@EdiCustomerOrderDto?.BuyerCode</b><br/>
|
||||
<u>Typ dokumentu:</u> <b>@EdiCustomerOrderDto?.DocType</b><br/>
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</SfCard>
|
||||
<br/>
|
||||
<h5>Indeksy</h5>
|
||||
<SfGrid @ref="_ediCustomerOrderLinesGrid"
|
||||
</SfCard>
|
||||
<br/>
|
||||
<h5>Indeksy</h5>
|
||||
<SfGrid @ref="_ediCustomerOrderLinesGrid"
|
||||
AllowFiltering="true"
|
||||
AllowPaging="true"
|
||||
AllowSorting="true"
|
||||
@@ -54,18 +60,19 @@
|
||||
<div class="row">
|
||||
<h6>Szczegóły</h6>
|
||||
<div class="col">
|
||||
<u>Numer zamówienia EDI:</u> <b>@order?.CustomerOrderNumber</b><br />
|
||||
<u>Linia:</u> <b>@order?.CustomerOrderLine</b><br />
|
||||
<u>Pozycja:</u> <b>@order?.Item</b><br />
|
||||
<u>Pozycja Klienta:</u> <b>@order?.CustomerItemNumber</b><br />
|
||||
<u>Opis:</u> <b>@order?.Description</b><br />
|
||||
<u>Łączna Ilość:</u> <b>@(order?.BlanketQty?.ToString("F2") ?? "N/A")</b><br />
|
||||
<u>Status:</u> <b>@order?.TranslatedStatus</b><br />
|
||||
<u>Numer zamówienia EDI:</u> <b>@order?.CustomerOrderNumber</b><br/>
|
||||
<u>Linia:</u> <b>@order?.CustomerOrderLine</b><br/>
|
||||
<u>Pozycja:</u> <b>@order?.Item</b><br/>
|
||||
<u>Pozycja Klienta:</u> <b>@order?.CustomerItemNumber</b><br/>
|
||||
<u>Opis:</u> <b>@order?.Description</b><br/>
|
||||
<u>Łączna Ilość:</u> <b>@(order?.BlanketQty?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Status:</u> <b>@order?.TranslatedStatus</b><br/>
|
||||
</div>
|
||||
<div class="col">
|
||||
<u>Cena:</u> <b>@(order?.ContPrice?.ToString("F2") ?? "N/A")</b><br />
|
||||
<u>Ważne Od:</u> <b>@(order?.EffectiveDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br />
|
||||
<u>J/M:</u> <b>@order?.Uom</b><br />
|
||||
<u>Cena:</u> <b>@(order?.ContPrice?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Ważne
|
||||
Od:</u> <b>@(order?.EffectiveDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>J/M:</u> <b>@order?.Uom</b><br/>
|
||||
<u>BoxType:</u> <b>@order?.BoxType</b><br/>
|
||||
<u>Address:</u> <b>@order?.Address</b><br/>
|
||||
<u>FinalDestination:</u> <b>@order?.FinalDestination</b><br/>
|
||||
@@ -78,7 +85,8 @@
|
||||
</DetailTemplate>
|
||||
</GridTemplates>
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderLineDto.CustomerOrderLine) HeaderText="Linia" Width="70"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderLineDto.CustomerOrderLine) HeaderText="Linia"
|
||||
Width="70"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderLineDto.Item) HeaderText="Pozycja" Width="100"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderLineDto.CustomerItemNumber) HeaderText="Pozycja Klienta"
|
||||
Width="120"></GridColumn>
|
||||
@@ -94,9 +102,9 @@
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
<GridEvents TValue="EdiCustomerOrderLineDto" RowSelected="OnSelectedLineRow"></GridEvents>
|
||||
</SfGrid>
|
||||
@if (_isVisibleEdiCustomerOrderLine)
|
||||
{
|
||||
</SfGrid>
|
||||
@if (_isVisibleEdiCustomerOrderLine)
|
||||
{
|
||||
<br/>
|
||||
<h5>Harmonogramy</h5>
|
||||
<SfGrid @ref="_ediCustomerOrderLineItemsGrid"
|
||||
@@ -117,29 +125,33 @@
|
||||
<div class="row">
|
||||
<h6>Szczegóły</h6>
|
||||
<div class="col">
|
||||
<u>Numer Zamówienia:</u> <b>@detailLineItem?.CustomerOrderNumber</b><br />
|
||||
<u>Linia:</u> <b>@detailLineItem?.CustomerOrderLine</b><br />
|
||||
<u>Zwolnienie:</u> <b>@detailLineItem?.CustomerOrderRelease</b><br />
|
||||
<u>Pozycja:</u> <b>@detailLineItem?.Item</b><br />
|
||||
<u>Pozycja Klienta:</u> <b>@detailLineItem?.CustomerItem</b><br />
|
||||
<u>Łączna Ilość Sztuk:</u> <b>@(detailLineItem?.QtyOrdered?.ToString("F2") ?? "N/A")</b><br />
|
||||
<u>Cena:</u> <b>@(detailLineItem?.Price?.ToString("F2") ?? "N/A")</b><br />
|
||||
<u>Data Wykonania:</u> <b>@(detailLineItem?.DueDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br />
|
||||
<u>Data Rejestracji:</u> <b>@(detailLineItem?.ReleaseDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br />
|
||||
<u>Magazyn:</u> <b>@detailLineItem?.Warehouse</b><br />
|
||||
<u>Typ Documentu:</u> <b>@detailLineItem?.DocumentType</b><br />
|
||||
<u>Numer Zamówienia:</u> <b>@detailLineItem?.CustomerOrderNumber</b><br/>
|
||||
<u>Linia:</u> <b>@detailLineItem?.CustomerOrderLine</b><br/>
|
||||
<u>Zwolnienie:</u> <b>@detailLineItem?.CustomerOrderRelease</b><br/>
|
||||
<u>Pozycja:</u> <b>@detailLineItem?.Item</b><br/>
|
||||
<u>Pozycja Klienta:</u> <b>@detailLineItem?.CustomerItem</b><br/>
|
||||
<u>Łączna Ilość
|
||||
Sztuk:</u> <b>@(detailLineItem?.QtyOrdered?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Cena:</u> <b>@(detailLineItem?.Price?.ToString("F2") ?? "N/A")</b><br/>
|
||||
<u>Data
|
||||
Wykonania:</u> <b>@(detailLineItem?.DueDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Data
|
||||
Rejestracji:</u> <b>@(detailLineItem?.ReleaseDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Magazyn:</u> <b>@detailLineItem?.Warehouse</b><br/>
|
||||
<u>Typ Documentu:</u> <b>@detailLineItem?.DocumentType</b><br/>
|
||||
</div>
|
||||
<div class="col">
|
||||
<u>Kod VAT:</u> <b>@detailLineItem?.TaxCodeOne</b><br />
|
||||
<u>J/M:</u> <b>@detailLineItem?.Uom</b><br />
|
||||
<u>Numer Klienta:</u> <b>@detailLineItem?.CustomerOrderCustomerNumber</b><br />
|
||||
<u>Opis:</u> <b>@detailLineItem?.Description</b><br />
|
||||
<u>Status:</u> <b>@detailLineItem?.TranslatedStatus</b><br />
|
||||
<u>RoutingCode:</u> <b>@detailLineItem?.RoutingCode</b><br />
|
||||
<u>DeliveryCallNumber:</u> <b>@detailLineItem?.DeliveryCallNumber</b><br />
|
||||
<u>UnloadingPoint:</u> <b>@detailLineItem?.UnloadingPoint</b><br />
|
||||
<u>DestinationPoint:</u> <b>@detailLineItem?.DestinationPoint</b><br />
|
||||
<u>PalletCode:</u> <b>@detailLineItem?.PalletCode</b><br />
|
||||
<u>Kod VAT:</u> <b>@detailLineItem?.TaxCodeOne</b><br/>
|
||||
<u>J/M:</u> <b>@detailLineItem?.Uom</b><br/>
|
||||
<u>Numer
|
||||
Klienta:</u> <b>@detailLineItem?.CustomerOrderCustomerNumber</b><br/>
|
||||
<u>Opis:</u> <b>@detailLineItem?.Description</b><br/>
|
||||
<u>Status:</u> <b>@detailLineItem?.TranslatedStatus</b><br/>
|
||||
<u>RoutingCode:</u> <b>@detailLineItem?.RoutingCode</b><br/>
|
||||
<u>DeliveryCallNumber:</u> <b>@detailLineItem?.DeliveryCallNumber</b><br/>
|
||||
<u>UnloadingPoint:</u> <b>@detailLineItem?.UnloadingPoint</b><br/>
|
||||
<u>DestinationPoint:</u> <b>@detailLineItem?.DestinationPoint</b><br/>
|
||||
<u>PalletCode:</u> <b>@detailLineItem?.PalletCode</b><br/>
|
||||
<u>PalletNumber:</u> <b>@detailLineItem?.PalletNumber</b>
|
||||
</div>
|
||||
</div>
|
||||
@@ -171,7 +183,8 @@
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
</SfGrid>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
||||
@code {
|
||||
[Parameter] public Guid CustomerOrderId { get; set; }
|
||||
@@ -201,6 +214,7 @@
|
||||
_selectedEdiCustomerOrderLine = obj.Data as EdiCustomerOrderLineDto;
|
||||
_ediCustomerOrderLineItems = _selectedEdiCustomerOrderLine?.EdiCustomerOrderLineItems.ToList() ?? [];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -11,24 +11,26 @@
|
||||
@using SelectionType = Syncfusion.Blazor.Grids.SelectionType
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<h5>Zamówienia Klienta EDI</h5>
|
||||
<div class="row">
|
||||
<div class="container-fluid h-100">
|
||||
<h5>Zamówienia Klienta EDI</h5>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<label for="checked" style="padding: 10px 10px 10px 0">Pokaż wszystkie</label>
|
||||
<SfSwitch @bind-Checked="_filter" ValueChange="FilterChanged" TChecked="bool?" OnLabel="Pokaż tylko Wysłanr do SL" OffLabel="Pokaż wszystkie" />
|
||||
<SfSwitch @bind-Checked="_filter" ValueChange="FilterChanged" TChecked="bool?"
|
||||
OnLabel="Pokaż tylko Wysłanr do SL" OffLabel="Pokaż wszystkie"/>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
@if (_isVisible)
|
||||
{
|
||||
</div>
|
||||
<br/>
|
||||
@if (_isVisible)
|
||||
{
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<SfButton @onclick="SendOrderToSyteLine">@_text</SfButton>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
}
|
||||
<SfGrid @ref="_grid"
|
||||
}
|
||||
<SfGrid @ref="_grid"
|
||||
AllowFiltering="true"
|
||||
AllowPaging="true"
|
||||
AllowSorting="true"
|
||||
@@ -48,14 +50,16 @@
|
||||
<u>Numer zamówienia Klienta:</u> <b>@order?.CustomerPoNumber</b><br/>
|
||||
<u>Numer klienta:</u> <b>@order?.CustomerNumber</b><br/>
|
||||
<u>Klient:</u> <b>@order?.CustomerName</b><br/>
|
||||
<u>Numer odbiorcy:</u> <b>@(order?.CustomerSequence?.ToString() ?? "N/A")</b><br/>
|
||||
<u>Numer
|
||||
odbiorcy:</u> <b>@(order?.CustomerSequence?.ToString() ?? "N/A")</b><br/>
|
||||
<u>Data
|
||||
otrzymania:</u> <b>@(order?.RecivedDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Wysłano do
|
||||
Syteline?:</u> <b>@((order?.Posted?.ToString() ?? "0") == "0" ? "NIE" : "TAK")</b><br/>
|
||||
<u>Data wysyłki do
|
||||
Syteline:</u> <b>@(order?.PostedDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Data zamówienia:</u> <b>@(order?.OrderDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
<u>Data
|
||||
zamówienia:</u> <b>@(order?.OrderDate?.ToString("dd.MM.yyyy") ?? "N/A")</b><br/>
|
||||
</div>
|
||||
<div class="col">
|
||||
<u>Cena:</u> <b>@(order?.Price?.ToString("F2") ?? "N/A")</b><br/>
|
||||
@@ -81,7 +85,8 @@
|
||||
Width="100"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderDto.CustomerNumber) HeaderText="Numer Klienta"
|
||||
Width="90"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderDto.CustomerSequence) HeaderText="Odbiorca" Width="80"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderDto.CustomerSequence) HeaderText="Odbiorca"
|
||||
Width="80"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderDto.CreateDate) HeaderText="Data Otrzymania"
|
||||
TextAlign="TextAlign.Center" Width="110"></GridColumn>
|
||||
<GridColumn Field=@nameof(EdiCustomerOrderDto.SlOrderNumber) HeaderText="Zamówienie SL"
|
||||
@@ -92,10 +97,10 @@
|
||||
<GridFilterSettings Type="FilterType.Excel"/>
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Multiple"/>
|
||||
<GridEvents TValue="EdiCustomerOrderDto" OnRecordDoubleClick="OnRowDoubleClick" RowSelected="RowSelected" />
|
||||
</SfGrid>
|
||||
<GridEvents TValue="EdiCustomerOrderDto" OnRecordDoubleClick="OnRowDoubleClick" RowSelected="RowSelected"/>
|
||||
</SfGrid>
|
||||
|
||||
<SfDialog Width="500px" Title="@_text" IsModal="true" @bind-Visible="Visibility" AllowPrerender="true">
|
||||
<SfDialog Width="500px" Title="@_text" IsModal="true" @bind-Visible="Visibility" AllowPrerender="true">
|
||||
<DialogTemplates>
|
||||
<Content>
|
||||
@if (_responses.Any(x => x.Status == 1))
|
||||
@@ -117,9 +122,10 @@
|
||||
</Content>
|
||||
</DialogTemplates>
|
||||
<DialogButtons>
|
||||
<DialogButton Content="OK" IsPrimary="true" OnClick="@HideModal" />
|
||||
<DialogButton Content="OK" IsPrimary="true" OnClick="@HideModal"/>
|
||||
</DialogButtons>
|
||||
</SfDialog>
|
||||
</SfDialog>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private bool Visibility { get; set; }
|
||||
@@ -215,4 +221,5 @@
|
||||
|
||||
StateHasChanged();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
@using Syncfusion.Blazor.Lists
|
||||
@inject ScheduleOrderDetailsService ScheduleOrderDetailsService
|
||||
|
||||
<h5>Indeksy</h5>
|
||||
<SfGrid AllowFiltering="true"
|
||||
<div class="container-fluid h-100">
|
||||
<h5>Indeksy</h5>
|
||||
<SfGrid AllowFiltering="true"
|
||||
AllowPaging="true"
|
||||
AllowSorting="true"
|
||||
AllowSelection="true"
|
||||
@@ -35,17 +36,19 @@
|
||||
</DetailTemplate>
|
||||
</GridTemplates>
|
||||
<GridColumns>
|
||||
<GridColumn Field=@nameof(ScheduleOrderDetailDto.Sc_productCode) HeaderText="Pozycja" Width="100"></GridColumn>
|
||||
<GridColumn Field=@nameof(ScheduleOrderDetailDto.Sc_productCode) HeaderText="Pozycja"
|
||||
Width="100"></GridColumn>
|
||||
<GridColumn Field=@nameof(ScheduleOrderDetailDto.Sh_productCode) HeaderText="Pozycja Klienta"
|
||||
Width="100"></GridColumn>
|
||||
</GridColumns>
|
||||
<GridFilterSettings Type="FilterType.Excel"/>
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
<GridEvents TValue="ScheduleOrderDetailDto" RowSelected="OnSelectedLineRow" DetailsExpanding="OnDetailsExpanding"></GridEvents>
|
||||
</SfGrid>
|
||||
@if (_isVisible)
|
||||
{
|
||||
<GridEvents TValue="ScheduleOrderDetailDto" RowSelected="OnSelectedLineRow"
|
||||
DetailsExpanding="OnDetailsExpanding"></GridEvents>
|
||||
</SfGrid>
|
||||
@if (_isVisible)
|
||||
{
|
||||
<br/>
|
||||
<h5>Harmonogramy</h5>
|
||||
<SfGrid AllowFiltering="true"
|
||||
@@ -93,7 +96,8 @@
|
||||
<GridPageSettings PageSize="10"/>
|
||||
<GridSelectionSettings Mode="SelectionMode.Row" Type="SelectionType.Single"/>
|
||||
</SfGrid>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
||||
@code {
|
||||
[Parameter] public int ScheduleOrderId { get; set; }
|
||||
|
||||
@@ -5,11 +5,13 @@
|
||||
@inject ScheduleOrderService ScheduleOrderService
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<div>
|
||||
<div class="container-fluid h-100">
|
||||
<div>
|
||||
<h5>Zamówienia DELFOR </h5>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
<div class="container-fluid h-100">
|
||||
<ScheduleOrdersGrid PageSize="20" PassGridRef="SetGridRef" GridData="_scheduleOrders"></ScheduleOrdersGrid>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
@@ -63347,11 +63347,11 @@ span.e-table-box.e-rbox-select {
|
||||
font-weight: bold;
|
||||
}
|
||||
.custom-menu {
|
||||
width: 300px;
|
||||
width: 265px;
|
||||
}
|
||||
|
||||
.custom-menu-width {
|
||||
width: 300px;
|
||||
width: 265px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
|
||||
Reference in New Issue
Block a user