From bc993ff127b084e6411d61e6e7577d3d264c027b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 14 十二月 2024 17:21:30 +0800 Subject: [PATCH] 1 --- DevApp/Gs.DevApp/DevFrm/QiTa/Frm_MesItemTbl.cs | 8 +++----- DevApp/Gs.DevApp/App.config | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config index 77ee15e..3ac99d8 100644 --- a/DevApp/Gs.DevApp/App.config +++ b/DevApp/Gs.DevApp/App.config @@ -28,8 +28,8 @@ </assemblyBinding> </runtime> <appSettings> - <!--<add key="WebApiUrl" value="http://localhost:5263/" />--> - <add key="WebApiUrl" value="http://192.168.1.145:81/" /> + <add key="WebApiUrl" value="http://localhost:5263/" /> + <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> <add key="LogPath" value="logs" /> <add key="ProductName" value="骞挎繁绉戞妧 G-MES V2.0" /> <add key="PageSize" value="50" /> diff --git a/DevApp/Gs.DevApp/DevFrm/QiTa/Frm_MesItemTbl.cs b/DevApp/Gs.DevApp/DevFrm/QiTa/Frm_MesItemTbl.cs index d8009c5..d535da3 100644 --- a/DevApp/Gs.DevApp/DevFrm/QiTa/Frm_MesItemTbl.cs +++ b/DevApp/Gs.DevApp/DevFrm/QiTa/Frm_MesItemTbl.cs @@ -139,7 +139,7 @@ private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) { string rowGuid = "", rowName = ""; - // (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1); + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1); if (string.IsNullOrEmpty(rowGuid)) { ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); @@ -196,7 +196,7 @@ private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) { string rowGuid = "", rowName = ""; - // (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1); + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1); if (string.IsNullOrEmpty(rowGuid)) { ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); @@ -258,7 +258,7 @@ var row = gvMx1.GetDataRow(i); if (row != null) { - Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString()); + Guid? _guid = UtilityHelper.ToGuid(row["tlid"].ToString()); string _sl = row["tld005"].ToString(); if (string.IsNullOrEmpty(_sl)) { @@ -383,7 +383,5 @@ ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } } - - } } \ No newline at end of file -- Gitblit v1.9.3