From b83d3b9f4ea67b2982117753ebdd4861922bb07b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 24 十月 2024 19:08:04 +0800 Subject: [PATCH] 检验 --- DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs | 38 ++++++++++++++++++++++++++++++++++++-- 1 files changed, 36 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs index feb7664..858d5fd 100644 --- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs @@ -28,6 +28,8 @@ this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + this.toolBarMenu1.btnJianYanClick += ToolBarMenu1_btnJianYanClick; + this.toolBarMenu1.btnFjianYanClick += ToolBarMenu1_btnFjianYanClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; getPageList(1, UtilityHelper.GetPageSize()); pageBar1.PagerEvent += PageBar1_PagerEvent; @@ -72,6 +74,38 @@ lbCkName.Text = ddd[1]; }; + } + + private void ToolBarMenu1_btnFjianYanClick1(object sender, EventArgs e) + { + throw new NotImplementedException(); + } + + /// <summary> + /// 鍙嶆楠� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnFjianYanClick(object sender, EventArgs e) + { + this.toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1); + this.toolBarMenu1.guidKey = rowGuid; + } + /// <summary> + /// 妫�楠� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnJianYanClick(object sender, EventArgs e) + { + this.toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1); + this.toolBarMenu1.guidKey = rowGuid; } /// <summary> @@ -134,7 +168,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("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); @@ -254,7 +288,7 @@ { Guid = _guid, AboutGuid = Guid.Parse(row["aboutGuid"].ToString()), - ItemNo= row["itemNo"].ToString(), + ItemNo = row["itemNo"].ToString(), //ItemId= int.Parse( row["itemId"].ToString()), Quantity = decimal.Parse(row["quantity"].ToString()), }); -- Gitblit v1.9.3