feat(clgl)条码打印修改

This commit is contained in:
2026-06-24 09:59:56 +08:00
parent 75d7c48ff2
commit efa5c91aa1
15 changed files with 410 additions and 12 deletions
+4 -2
View File
@@ -368,7 +368,7 @@ namespace FineUIPro.Web.CLGL
{
ShowNotify("请选择要打印的项", MessageBoxIcon.Warning);
return;
}
}
BLL.FastReportService.ResetData();
var query = new Tw_InputDetailBarCodeOutput
@@ -394,7 +394,9 @@ namespace FineUIPro.Web.CLGL
string initTemplatePath = "File\\Fastreport\\材料入库条码.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("~/Controls/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
//PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("~/Controls/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
string printUrl = ResolveUrl(BLL.FastReportService.ExportReport(rootPath + initTemplatePath));
PageContext.RegisterStartupScript(String.Format("printByHiddenFrame('{0}');", printUrl));
}
}