fix grafico
This commit is contained in:
@@ -6,18 +6,22 @@
|
||||
</div>
|
||||
<div class="d-flex justify-content-center w-100">
|
||||
<div class="d-flex justify-content-center input-group w-50">
|
||||
<button class="btn btn-success fw-bold"><i class="fa-solid fa-circle-arrow-right"></i> GO</button>
|
||||
<button class="btn btn-sm btn-info fw-bold" @onclick="()=>btnMode()"><i class="fa-solid fa-qrcode"></i> Scan</button>
|
||||
<input type="text" class="form-control" />
|
||||
<button class="btn btn-success fw-bold"> GO <i class="fa-solid fa-circle-arrow-right"></i> </button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<BarcodeReader ScanResult="(e) => ScanDoneHandler(e)"
|
||||
ShowScanBarcode="true"
|
||||
ScanBtnTitle="Scan"
|
||||
ResetBtnTitle="Reset"
|
||||
CloseBtnTitle="Close"
|
||||
SelectDeviceBtnTitle="Select Device"></BarcodeReader>
|
||||
@if (ShowScanBarcode)
|
||||
{
|
||||
|
||||
<BarcodeReader ScanResult="(e) => ScanDoneHandler(e)"
|
||||
ShowScanBarcode="@ShowScanBarcode"
|
||||
ScanBtnTitle="Scan"
|
||||
ResetBtnTitle="Reset"
|
||||
CloseBtnTitle="Close"
|
||||
SelectDeviceBtnTitle="Select Device"></BarcodeReader>
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -47,7 +51,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(rigaOpr != null)
|
||||
@if (rigaOpr != null)
|
||||
{
|
||||
<div>@($"{MsgServ.UserAuthKey} {MsgServ.MatrOpr}")</div>
|
||||
}
|
||||
|
||||
@@ -81,6 +81,12 @@ namespace MP_TAB_SERV.Pages
|
||||
//StateHasChanged();
|
||||
}
|
||||
|
||||
protected async Task btnMode()
|
||||
{
|
||||
await Task.Delay(1);
|
||||
ShowScanBarcode = !ShowScanBarcode;
|
||||
}
|
||||
|
||||
protected DateTime vetoScan = DateTime.Now;
|
||||
|
||||
protected async Task ScanDoneHandler(string value)
|
||||
|
||||
Reference in New Issue
Block a user