From 475eadcff3012b2b54d22174e0970f9d24cfa6b4 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期五, 12 九月 2025 17:30:30 +0800 Subject: [PATCH] 1111 --- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 43 insertions(+), 8 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs index ef838e6..4cdb1bf 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs @@ -1,16 +1,18 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Threading.Tasks; -using System.Windows.Forms; +using Gs.DevApp.DevFrm.Rk; using Gs.DevApp.DevFrm.Rpt; +using Gs.DevApp.DevFrm.Work; using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Gs.DevApp.UserControl; using Newtonsoft.Json; using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Threading.Tasks; +using System.Windows.Forms; -namespace Gs.DevApp.DevFrm.Rk +namespace Gs.DevApp.DevFrm { public partial class Frm_MesItemTbl : DevExpress.XtraEditors.XtraForm { @@ -32,6 +34,8 @@ toolBarMenu1.btnFPiZhunClick += ToolBarMenu1_btnFPiZhunClick; toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick; toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; + toolBarMenu1.btnPingZhiClick += ToolBarMenu1_btnPingZhiClick; + toolBarMenu1.btnFPingZhiClick += ToolBarMenu1_btnFPingZhiClick; this.toolBarMenu1.getXmlConfig(); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); @@ -195,7 +199,7 @@ Gs.DevApp.ToolBox.UtilityHelper.PrintAuto(txt_psnQty_1, txt_iCount_1, radOut, txt_yuliang_1); }; } - + private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) { _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); @@ -268,6 +272,25 @@ { _toolCk(3); } + /// <summary> + /// 鍙嶅搧璐� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnPingZhiClick(object sender, EventArgs e) + { + _toolCk(4); + } + /// <summary> + /// 鍝佽川 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnFPingZhiClick(object sender, EventArgs e) + { + _toolCk(5); + } + /// <summary> /// 瀹℃牳浜嬩欢 /// </summary> @@ -445,7 +468,13 @@ } if ((txt_tbl005.Text.Trim()=="鑹搧閫�鏂�") && txt_chkOut.Checked) { - Gs.DevApp.ToolBox.MsgHelper.ShowError("鑹搧閫�鏂欎笉鑳借嚜鍔ㄧ敓鎴愯ˉ鏂欏崟锛岃妫�鏌ワ紒"); + Gs.DevApp.ToolBox.MsgHelper.ShowError("鑹搧閫�鏂欎笉鑳借嚜鍔ㄧ敓鎴愯ˉ鏂欏崟锛孿n鍙湁浣滀笟涓嶈壇绫诲瀷鎵嶈兘鐢熸垚琛ユ枡鍗曪紝\n 璇锋鏌ワ紒"); + txt_tbl005.Focus(); + return; + } + if ((txt_tbl005.Text.Trim() == "鏉ユ枡涓嶈壇閫�鏂�") && txt_chkOut.Checked) + { + Gs.DevApp.ToolBox.MsgHelper.ShowError("鏉ユ枡涓嶈壇閫�鏂欎笉鑳借嚜鍔ㄧ敓鎴愯ˉ鏂欏崟锛孿n鍙湁浣滀笟涓嶈壇绫诲瀷鎵嶈兘鐢熸垚琛ユ枡鍗曪紝\n 璇锋鏌ワ紒"); txt_tbl005.Focus(); return; } @@ -713,6 +742,12 @@ case 3: strMsg = "鍙嶆壒鍑�"; break; + case 4: + strMsg = "鍝佽川瀹℃牳"; + break; + case 5: + strMsg = "鍝佽川鍙嶅鏍�"; + break; } ; toolBarMenu1.guidKey = ""; -- Gitblit v1.9.3