From 90c199edf9c98a66f0ba3f42577bff797073fce1 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 13 四月 2025 17:11:12 +0800
Subject: [PATCH] 打印按钮自动计算,选择窗体取消分页

---
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
index ea3b89f..345132a 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
@@ -70,7 +70,7 @@
             //杩欐槸鍚庣洊鐮侊紝浠呬粎鎵撳嵃锛�
             this.ucBtnPrint100.btnDesignClick += (s, e) =>
             {
-                ucBtnPrint100.rptParameter = "rpt_trace{}";
+                ucBtnPrint100.rptParameter = "rpt_hgm{}";
             };
             this.ucBtnPrint100.btnReportClick += (s, e) =>
             {
@@ -78,21 +78,14 @@
             };
             txt_psnQty_1.TextChanged += (s, e) =>
             {
-                Gs.DevApp.ToolBox.UtilityHelper.PrintJiSuan(this, txt_psnQty_1, txt_iCount_1, txt_kQty.Text.Trim(), radOut);
+                Gs.DevApp.ToolBox.UtilityHelper.PrintJiSuan(txt_psnQty_1, txt_iCount_1, txt_kQty.Text.Trim(), radOut);
             };
-            txt_iCount_1.TextChanged += (s, e) =>
-            {
-                Gs.DevApp.ToolBox.UtilityHelper.PrintJiSuan(this, txt_iCount_1, txt_psnQty_1, txt_kQty.Text.Trim(), radOut);
-            };
+           
             radOut.SelectedIndexChanged += (s, e) =>
             {
-                txt_psnQty_1.Text = "";
-                txt_iCount_1.Text = "";
-                radOut.Properties.Items[0].Description = "鍏ㄨ嚜鍔�";
+                Gs.DevApp.ToolBox.UtilityHelper.PrintAuto(txt_psnQty_1, txt_iCount_1, radOut);
             };
         }
-
-
 
         private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
         {
@@ -369,9 +362,14 @@
                     //string cjId = dy.daa013;
                     //string xjxt = dy.sjXt;
                     // txt_sjXt.getSuppler(cjId, xjxt);
-                   txt_zQty.Text = dy.daa008;
+                    //鎵樻澘鐮�
+                    txt_zQty.Text = dy.daa008;
                     txt_yQty.Text = dy.yQty;
                     txt_kQty.Text = dy.kQty;
+                    //杩芥函鐮�
+                    txt_zQty98.Text = dy.daa008;
+                    txt_yQty98.Text = dy.yQty98;
+                    txt_kQty98.Text = dy.kQty98;
                     lbGuid.Text = strGuid;
                     List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                     gvList.Add(gvMx1);
@@ -609,7 +607,8 @@
                 this.ucBtnPrint98.rptParameter = "return false";
                 return;
             }
-            this.ucBtnPrint98.rptParameter = "rpt_trace{" + ""
+            this.ucBtnPrint98.rptParameter = "rpt_trace{" 
+                   + ""
                    + "," + txt_printRemark98.Text.Trim()
                    + "," + ""
                    + "," + txt_iCount_98.Text.Trim()
@@ -633,8 +632,8 @@
                 return;
             }
 
-            this.ucBtnPrint100.rptParameter = "rpt_trace{"
-                  + lbGuid.Text.Trim()
+            this.ucBtnPrint100.rptParameter = "rpt_hgm{"
+                  + "100"
                    + "," + ""
                    + "," + ""
                    + "," + ""

--
Gitblit v1.9.3