feat(clgl)条码打印修改
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user