From 9702c6a4dc358c7bff2eb18c8426229a0140e34a Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期一, 15 九月 2025 08:29:16 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/UserControl/SelectCk.cs | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCk.cs b/DevApp/Gs.DevApp/UserControl/SelectCk.cs index ca8220d..b769a17 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCk.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCk.cs @@ -10,11 +10,19 @@ { public partial class SelectCk : DevExpress.XtraEditors.XtraForm { + /// <summary> + /// 缁勭粐id + /// </summary> string _strGuid = ""; + /// <summary> + /// 鐗╂枡id锛屼负浜嗘煡璇㈠簱瀛� + /// </summary> + string _itemId = ""; private List<FilterEntity> _filterList = new List<FilterEntity>(); - public SelectCk(string strGuid) + public SelectCk(string strGuid, string itemId="") { _strGuid = strGuid; + _itemId = itemId; InitializeComponent(); getPageList(1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false); @@ -45,14 +53,14 @@ /// <param name="pageSize">姣忛〉鍑犳潯</param> private void getPageList(int curPage) { - gcMain.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + gcMain.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); _sbSqlWhere += (" and org.fid='" + _strGuid + "'"); - var pgq = new PageQueryModel(curPage, 999999, "org.FNumber asc ,a.depot_code", "asc", "", _sbSqlWhere.ToString()); + var pgq = new PageQueryModel(curPage, 999999, "org.FNumber asc ,a.depot_code", "asc", this._itemId, _sbSqlWhere.ToString()); var json = JsonConvert.SerializeObject(pgq); try { var strReturn = - UtilityHelper.HttpPost("", "MesDepotsManager/GetListPage", json); + UtilityHelper.HttpPost("", "MesDepotsManager/GetListPage2", json); var dd = UtilityHelper.ReturnToTablePage(strReturn); if (dd.rtnCode > 0) { @@ -97,7 +105,8 @@ { guid = mxGuid, name = mxName, - }); + kcQty = dr["kcQty"].ToString() + }); UpdateParent?.Invoke(this, new UpdateParentEventArgs { DynamicList = list }); Close(); } -- Gitblit v1.9.3