From 9010fdfa1f7f6fe29c76111ef95d6383c74ea313 Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期一, 22 九月 2025 11:09:10 +0800
Subject: [PATCH] Merge branch 'master' of http://git.gs-mes.com:8080/r/~kyy/LW_MesClient
---
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