From 1ed6d45085cbddf44a238623029b4ae96bef7560 Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期四, 11 九月 2025 15:55:26 +0800 Subject: [PATCH] 采购退货销售出库增加打印功能 --- DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliverDj.cs | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliverDj.cs b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliverDj.cs index 9c2f7de..fbecb7f 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliverDj.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliverDj.cs @@ -24,6 +24,7 @@ toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; + toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick; this.toolBarMenu1.getXmlConfig(); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); @@ -62,6 +63,28 @@ toolBarMenu1.guidKey = rowGuid; } + private void ToolBarMenu1_btnPrintClick(object sender, EventArgs e) + { + //guidKey, rptParameter + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_itemOutNo, gridView1, "itemOutNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + this.toolBarMenu1.rptParameter = "rpt_XSCK{" + + "" + + "," + "" + + "," + "" + + "," + "" + + "," + "" + + "}"; + this.toolBarMenu1.guidKey = rowGuid; + + } + /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> -- Gitblit v1.9.3