From 27231629dc2d2b3d01d6f3396f2ed17f617f8192 Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期四, 25 九月 2025 21:33:35 +0800
Subject: [PATCH] 1、销售订单增加筛选条件

---
 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs |   34 +++++++++++++---------------------
 1 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
index 3215710..20af9e3 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
@@ -62,31 +62,23 @@
             (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1);
             if (string.IsNullOrEmpty(rowGuid))
             {
+                this.toolBarMenu1.rptParameter = "return false";
                 MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎵撳嵃鐨勫崟鎹紒");
                 return;
             }
+            string rptParameter = "rpt_Cgrk{"
+            + rowGuid  // @inOrderGuid - 鍗曟嵁guid
+            + "," + "100"  // @isDesign - 閲嶆墦閮芥槸浼�100
+            + "," + ""  // @in1 - 鍏ュ簱鏃堕棿锛堟墿灞曠敤锛�
+            + "," + ""  // @in2 - 鐗归噰锛堟墿灞曠敤锛�
+            + "," + ""  // @in3 - 渚涘簲鍟唅d锛堟墿灞曠敤锛�
+            + "," + ""  // @in4 - 寮犳暟锛堟墿灞曠敤锛�
+            + "," + ""  // @in5 - 鏁伴噺锛堟墿灞曠敤锛�
+            + "," + ""  // @in6 - 鎵╁睍鐢�
+            + "}";
+            this.toolBarMenu1.rptParameter = rptParameter;
+            this.toolBarMenu1.guidKey = rowGuid;
 
-            try
-            {
-                string rptParameter = "rpt_Cgrk{"
-                + rowGuid  // @inOrderGuid - 鍗曟嵁guid
-                + "," + "100"  // @isDesign - 閲嶆墦閮芥槸浼�100
-                + "," + ""  // @in1 - 鍏ュ簱鏃堕棿锛堟墿灞曠敤锛�
-                + "," + ""  // @in2 - 鐗归噰锛堟墿灞曠敤锛�
-                + "," + ""  // @in3 - 渚涘簲鍟唅d锛堟墿灞曠敤锛�
-                + "," + ""  // @in4 - 寮犳暟锛堟墿灞曠敤锛�
-                + "," + ""  // @in5 - 鏁伴噺锛堟墿灞曠敤锛�
-                + "," + ""  // @in6 - 鎵╁睍鐢�
-                + "}";
-                using (Form rpt = new RptPreview(rowGuid, rptParameter))
-                {
-                    rpt.ShowDialog();
-                }
-            }
-            catch (Exception ex)
-            {
-                MsgHelper.ShowError(ex.Message);
-            }
         }
 
 

--
Gitblit v1.9.3