fix comportamento gestione KIT

This commit is contained in:
Samuele E. Locatelli
2020-07-20 17:25:21 +02:00
parent f6b4d97173
commit 0c18fddeab
4 changed files with 18 additions and 1 deletions
@@ -13,5 +13,10 @@ namespace NKC_WF.WebUserControls
{
}
internal void doUpdate()
{
frmView.DataBind();
}
}
}
@@ -214,6 +214,10 @@ namespace NKC_WF.WebUserControls
cmp_barcode.inputAcquired = "";
// aggiorno...
doUpdate();
if(doRaiseEv)
{
raiseEvent();
}
}
private bool processLastCmd(bool doRaiseEv)
@@ -259,6 +263,7 @@ namespace NKC_WF.WebUserControls
case codeType.Cart:
cmp_barcode.showOutput("badge badge-success", $"Valid CR Code: {decoData.description}");
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
doRaiseEv = true;
break;
case codeType.Bin:
cmp_barcode.showOutput("badge badge-success", $"Valid BN Code: {decoData.description}");
+7
View File
@@ -13,7 +13,14 @@ namespace NKC_WF.site
((SiteMaster)this.Master).showSearch = false;
doUpdate();
}
cmp_kittingSmart.eh_doRefresh += cmp_kittingSmart_eh_doRefresh;
}
private void cmp_kittingSmart_eh_doRefresh(object sender, EventArgs e)
{
cmp_kitRunning.doUpdate();
}
/// <summary>
/// PéackList corrente...
/// </summary>
+1 -1
View File
@@ -1,4 +1,4 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.Master" AutoEventWireup="true" CodeBehind="OrderManager.aspx.cs" Inherits="NKC_WF.OrderManager" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrderManager.aspx.cs" Inherits="NKC_WF.OrderManager" %>
<%@ Register Src="~/WebUserControls/cmp_fileUpload.ascx" TagPrefix="uc1" TagName="cmp_fileUpload" %>
<%@ Register Src="~/WebUserControls/cmp_batchList.ascx" TagPrefix="uc1" TagName="cmp_batchList" %>