refresh develop
This commit is contained in:
@@ -136,6 +136,7 @@ namespace GWMS.UI.Pages
|
||||
errorDescription = "";
|
||||
OrderCode = "";
|
||||
NavManager.NavigateTo("GasStation");
|
||||
//StateHasChanged();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -196,7 +197,10 @@ namespace GWMS.UI.Pages
|
||||
{
|
||||
if (ordine.DtExecEnd > ordine.DtOrder)
|
||||
{
|
||||
errorDescription = "Errore: ordine già completato";
|
||||
await InvokeAsync(() =>
|
||||
{
|
||||
errorDescription = "Errore: ordine già completato";
|
||||
});
|
||||
await Task.Run(() =>
|
||||
{
|
||||
Thread.Sleep(3000);
|
||||
@@ -205,7 +209,10 @@ namespace GWMS.UI.Pages
|
||||
}
|
||||
else if (ordine.PlantId != SelPlantId)
|
||||
{
|
||||
errorDescription = "Errore: ordine destinato ad altro impianto";
|
||||
await InvokeAsync(() =>
|
||||
{
|
||||
errorDescription = "Errore: ordine destinato ad altro impianto";
|
||||
});
|
||||
|
||||
await Task.Run(() =>
|
||||
{
|
||||
@@ -218,9 +225,8 @@ namespace GWMS.UI.Pages
|
||||
// salvo...
|
||||
MessageService.SelPlantId = $"{SelPlantId}";
|
||||
MessageService.SelOrderCode = args.BarcodeText;
|
||||
// rimando a pagina con codice ordine....
|
||||
// rimando a pagina load....
|
||||
NavManager.NavigateTo($"GasStationLoad");
|
||||
//NavManager.NavigateTo($"GasStationLoad/{SelPlantId}/{args.BarcodeText}");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user