diff --git a/插件库/Lskj.PubArgoxPrint/FrmMain.cs b/插件库/Lskj.PubArgoxPrint/FrmMain.cs index 8b61f79..a0c42f9 100644 --- a/插件库/Lskj.PubArgoxPrint/FrmMain.cs +++ b/插件库/Lskj.PubArgoxPrint/FrmMain.cs @@ -67,6 +67,7 @@ namespace Lskj.PubArgoxPrint string[] locationxArray = Model.LocationX.Split(','); string[] printArgsArray = Model.PrintArgs.Split(','); int columnCount = locationxArray.Length; + StringBuilder stringBuilder = new StringBuilder(); for (int i = 0; i < printTable.Rows.Count; i++) { if (i % columnCount == 0) @@ -74,10 +75,16 @@ namespace Lskj.PubArgoxPrint PrintUtil.A_Clear_Memory();//clear memory. } DataRow printRow = printTable.Rows[i]; + if (!string.IsNullOrEmpty(this.Model.AfterSql)) + { + string str = ReplaceHelper.ReplaceRowParam(printRow, this.Model.AfterSql); + stringBuilder.AppendLine(str + ";"); + } for (int j = 0; j < printTable.Columns.Count; j++) { int locationX = int.TryParse(locationxArray[i % columnCount], out locationX) ? locationX : 0; PrintModel printModel = new PrintModel(printArgsArray[j % columnCount].Split('_')); string printValue = printRow[j] + ""; if (printModel.PrintType == 0) - \ No newline at end of file + { + PrintUtil.A_Prn_Text_TrueType(locationX + printModel.X, printModel.Y, printModel.FontSize, "Arial", 1, 400, 0, 0, 0, "AA", printValue, \ No newline at end of file diff --git a/插件库/Lskj.PubArgoxPrint/Lskj.PubArgoxPrint.csproj b/插件库/Lskj.PubArgoxPrint/Lskj.PubArgoxPrint.csproj index 9a75213..fe4ee1d 100644 --- a/插件库/Lskj.PubArgoxPrint/Lskj.PubArgoxPrint.csproj +++ b/插件库/Lskj.PubArgoxPrint/Lskj.PubArgoxPrint.csproj @@ -36,9 +36,9 @@ - + False - D:\工作\lserp_cs_6.0\引用DLL\Newtonsoft.Json.dll + ..\..\引用DLL\Newtonsoft.Json.dll