From f2a352ef00e1b5d3c0723eb8b9aada1bea1b2713 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期三, 26 十一月 2025 15:59:45 +0800
Subject: [PATCH] 退补料打印
---
DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs | 28 ++++++++++++++++++++++++++++
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs | 32 ++++++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 2 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs b/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
index b3928b9..30a2235 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
@@ -41,6 +41,8 @@
toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
toolBarMenu1.btnWjClick += ToolBarMenu1_btnWjClick;
+ toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick;
+
this.toolBarMenu1.getXmlConfig();
Form parentForm = this.FindForm();
Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
@@ -166,6 +168,32 @@
{
getPageList(curPage);
}
+
+ /// <summary>
+ /// 鎵撳嵃
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnPrintClick(object sender, EventArgs e)
+ {
+ //guidKey, rptParameter
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_blNo, gridView1, "blNo");
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ this.toolBarMenu1.rptParameter = "rpt_SCBLCLSQ{"
+ + ""
+ + "," + ""
+ + "," + ""
+ + "," + ""
+ + "," + ""
+ + "}";
+ this.toolBarMenu1.guidKey = rowGuid;
+ }
/// <summary>
/// 鏌ヨ浜嬩欢
/// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
index fda16ce..7a71750 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -37,6 +37,8 @@
toolBarMenu1.btnPingZhiClick += ToolBarMenu1_btnPingZhiClick;
toolBarMenu1.btnFPingZhiClick += ToolBarMenu1_btnFPingZhiClick;
toolBarMenu1.btnWjClick += ToolBarMenu1_btnWjClick;
+ toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick;
+
this.toolBarMenu1.getXmlConfig();
Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
@@ -220,7 +222,7 @@
}
-
+
/// <summary>
/// 鎵撳嵃
@@ -287,6 +289,32 @@
private void PageBar1_PagerEvent(int curPage, int pageSize)
{
getPageList(curPage);
+ }
+
+ /// <summary>
+ /// 鎵撳嵃
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnPrintClick(object sender, EventArgs e)
+ {
+ //guidKey, rptParameter
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_billNo, gridView1, "billNo");
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ this.toolBarMenu1.rptParameter = "rpt_SCTLSQ{"
+ + ""
+ + "," + ""
+ + "," + ""
+ + "," + ""
+ + "," + ""
+ + "}";
+ this.toolBarMenu1.guidKey = rowGuid;
}
/// <summary>
/// 鏌ヨ浜嬩欢
@@ -590,7 +618,7 @@
Sl = _sl, //鐢宠鏁伴噺
Remark = _tld014,
Bllb = row["tld015"].ToString().Replace("|", ","),
- tld016= row["tld016"].ToString()
+ tld016 = row["tld016"].ToString()
});
}
}
--
Gitblit v1.9.3