diff --git a/插件库/Lskj.PubAccraditation/FrmAccraditation.cs b/插件库/Lskj.PubAccraditation/FrmAccraditation.cs
index 5847466..b951e2f 100644
--- a/插件库/Lskj.PubAccraditation/FrmAccraditation.cs
+++ b/插件库/Lskj.PubAccraditation/FrmAccraditation.cs
@@ -34,6 +34,7 @@ using DevExpress.Utils;
using DevExpress.Data;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
+using System.IO;
namespace Lskj.PubAccraditation
{
@@ -170,6 +171,22 @@ namespace Lskj.PubAccraditation
/// 模块对应的权限表信息
///
public DataTable AuthorityTable;
+ ///
+ /// 打印完成后添加数据用到的参数: 表名,列前缀,主键字段,主键值,模块编号,主打印Sql
+ ///
+ private List _printSaveParams;
+ ///
+ /// 主打印Sql
+ ///
+ private string _mainPrintSql;
+ ///
+ /// 打印主sql中关联打印次数返回条件
+ ///
+ private string _printModeCond;
+ ///
+ /// 是否直接打印
+ ///
+ private bool _isExcPrint;
#endregion
///
@@ -1069,7 +1086,7 @@ namespace Lskj.PubAccraditation
this.SetBillControl(this.AuditModelObj.BillModifyFields, this.AuditModelObj.RequiredFields);
this.InitPrint();
-
+ this.GetPrintOtherParam();
//加载分配
this.dbpFP.Click += new System.EventHandler(this.OnBtnFPOldClick);
BarButtonItem itemFPBatch = new BarButtonItem();
@@ -1590,7 +1607,7 @@ namespace Lskj.PubAccraditation
if (!string.IsNullOrWhiteSpace(fileName))
{
BarButtonItem itemPrint = new BarButtonItem();
- itemPrint.Caption = fileName.Replace(".rmf", "");
+ itemPrint.Caption = fileName.Replace(".rmf", "").Replace(".frx", "");
itemPrint.Tag = files[i];
itemPrint.ItemClick += new ItemClickEventHandler(itemPrint_ItemClick);
pMprint.AddItem(itemPrint);
@@ -1600,6 +1617,60 @@ namespace Lskj.PubAccraditation
#endregion
#region 打印
+
+
+ ///
+ /// 说明:打印完成需要参数
+ /// 创建人:龚宇超
+ /// 创建日期:2018-07-09
+ /// 修改人:
+ /// 修改日期:
+ /// 修改备注:
+ /// 版本:1.0
+ ///
+ protected void GetPrintOtherParam()
+ {
+ Dictionary