Aggiunta preliminare report packListFull (manca check stored + veri reports)
This commit is contained in:
@@ -80,6 +80,12 @@ namespace MP_MAG.Controllers
|
||||
answ.Add("stp_prt_ReportPackList", tab);
|
||||
break;
|
||||
|
||||
case MagData.reportRichiesto.ReportPackListFull:
|
||||
// FIXME TODO fare davvero!!!
|
||||
tab = MagDataLayerObj.taRepPL.GetData(keyParam);
|
||||
answ.Add("stp_prt_ReportPackList", tab);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -855,6 +855,9 @@
|
||||
</Content>
|
||||
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
|
||||
<Content Include="Reports\ReportPackListFull.rdlc">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="Scripts\jquery-3.5.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.5.1.js" />
|
||||
<Content Include="Scripts\jquery-3.5.1.min.js" />
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7,6 +7,10 @@
|
||||
"name": "docPackList",
|
||||
"template": "ReportPackList.rdlc"
|
||||
},
|
||||
{
|
||||
"name": "docPackListFull",
|
||||
"template": "ReportPackListFull.rdlc"
|
||||
},
|
||||
{
|
||||
"name": "docPedana",
|
||||
"template": "CartellinoPedane.rdlc"
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace MP_MAG.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbtPrintReport_Click(object sender, EventArgs e)
|
||||
{
|
||||
// lancio il report x l'elenco pedane + contenuto
|
||||
// lancio il report x l'elenco pedane CARICATE
|
||||
MagDataLayerObj.taPJQ.insertQuery($"{tipoDocumento.docPackList}", $"{PackListID}", ddlPost.SelectedValue);
|
||||
}
|
||||
|
||||
@@ -97,8 +97,8 @@ namespace MP_MAG.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbtPrintReportFull_Click(object sender, EventArgs e)
|
||||
{
|
||||
// lancio il report x l'elenco pedane + contenuto
|
||||
MagDataLayerObj.taPJQ.insertQuery($"{tipoDocumento.docPackList}", $"{PackListID}", ddlPost.SelectedValue);
|
||||
// lancio il report x l'elenco COMPLETO con dettaglio con/senza pedane + contenuto
|
||||
MagDataLayerObj.taPJQ.insertQuery($"{tipoDocumento.docPackListFull}", $"{PackListID}", ddlPost.SelectedValue);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -118,6 +118,8 @@ namespace MP_MAG.WebUserControls
|
||||
cmp_OrderListAdd.Visible = false;
|
||||
lbtPrintReport.DataBind();
|
||||
grView.PageSize = cmp_numRow.numRow;
|
||||
lbtPrintReport.DataBind();
|
||||
lbtPrintReportFull.DataBind();
|
||||
}
|
||||
cmp_OrderListAdd.eh_addNew += Cmp_OrderListAdd_eh_addNew;
|
||||
cmp_numRow.eh_doRefresh += Cmp_numRow_eh_doRefresh;
|
||||
|
||||
@@ -209,11 +209,6 @@ namespace MP_MAG.WebUserControls
|
||||
MagDataLayer.man.taEAL.insertQuery(DateTime.Today, "PED", currCodOpr, txtDescr.Text.Trim(), PackListID, TaraAL);
|
||||
// nascondo add...
|
||||
toggleAddNew();
|
||||
#if false
|
||||
// aggiorno packList a iniziata...
|
||||
MagDataLayerObj.taPList.updateStatus(PackListID, 2);
|
||||
|
||||
#endif
|
||||
checkStatus();
|
||||
// update!!!
|
||||
grView.DataBind();
|
||||
|
||||
+8
-2
@@ -32,7 +32,8 @@ namespace MagData
|
||||
CartellinoFinitiOdette,
|
||||
CartellinoPedane,
|
||||
CartellinoSemilavorati,
|
||||
ReportPackList
|
||||
ReportPackList,
|
||||
ReportPackListFull
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -46,10 +47,15 @@ namespace MagData
|
||||
docFinito,
|
||||
|
||||
/// <summary>
|
||||
/// Report composizione PackList
|
||||
/// Report composizione PackList (cosa contiene caricato al trasportatore)
|
||||
/// </summary>
|
||||
docPackList,
|
||||
|
||||
/// <summary>
|
||||
/// Report composizione PackList (richiesta)
|
||||
/// </summary>
|
||||
docPackListFull,
|
||||
|
||||
/// <summary>
|
||||
/// Etichetta per pedana (AL)
|
||||
/// </summary>
|
||||
|
||||
@@ -302,6 +302,11 @@ namespace MagData
|
||||
answ = tabPackList.Count > 0;
|
||||
break;
|
||||
|
||||
case reportRichiesto.ReportPackListFull:
|
||||
var tabPackListFull = taRepPL.GetData(keyParam);
|
||||
answ = tabPackListFull.Count > 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user