From 703fbd021fffe44e7257d13603672f723f5acaee Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 22 四月 2025 16:54:21 +0800 Subject: [PATCH] 仓库出库 --- DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs | 26 ++++++++++---------------- 1 files changed, 10 insertions(+), 16 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs index 5ac946a..c01eed0 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs @@ -15,6 +15,14 @@ { string _webServiceName = "MesQcExceptionalManager/"; List<FilterEntity> _filterList = new List<FilterEntity>(); + + public void Initialize(string param) + { + // 浣跨敤param杩涜鍒濆鍖栧伐浣� + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1,0); + getModel(param); + } + public MesQcExceptional() { InitializeComponent(); @@ -131,7 +139,7 @@ /// <param name="pageSize">姣忛〉鍑犳潯</param> private void getPageList(int curPage) { - var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); string json = JsonConvert.SerializeObject(pgq); try @@ -252,20 +260,6 @@ }; frm.ShowDialog(); } - - public event EventHandler<UpdateParentEventArgs> UpdateParent; - private void simpleButton1_Click(object sender, EventArgs e) - { - if (UpdateParent != null) - { - List<string> lst = new List<string>(); - lst.Add("1"); - lst.Add("2"); - UpdateParent?.Invoke(this, - new UpdateParentEventArgs { StringList = lst }); - } - - - } + } } \ No newline at end of file -- Gitblit v1.9.3