From 4bca678c092d53d53140fab2ce25363026cbc6ec Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 10 十一月 2024 11:19:02 +0800
Subject: [PATCH] 打印
---
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
index 3d7cfae..ee5b32c 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
@@ -393,8 +393,8 @@
var _obj = new
{
guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓
- fngDesc=txt_fngDesc.Text.Trim(),
- lotNo1=txt_lotNo1.Text.Trim(),
+ fngDesc = txt_fngDesc.Text.Trim(),
+ lotNo1 = txt_lotNo1.Text.Trim(),
};
try
{
@@ -625,7 +625,18 @@
return;
if (e.Button.Index == 0)
{
- MsgHelper.Warning("鎻愮ず锛�" + "寮�鍙戜腑");
+ try
+ {
+ var dr = gvMx3.GetDataRow(rowhandle);
+ var urlPath = dr["urlPath"].ToString();
+ Gs.DevApp.UserControl.ShowFile frm = new ShowFile(urlPath);
+ frm.ShowDialog();
+ }
+ catch (Exception ex)
+ {
+ Gs.DevApp.ToolBox.MsgHelper.ShowError(ex.Message);
+ }
+
}
}
}
--
Gitblit v1.9.3