From e6db49c7ec2e2be934c625c48d665fdca04ffaf5 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 02 一月 2025 16:49:36 +0800 Subject: [PATCH] 超领取 --- DevApp/Gs.DevApp/UserControl/SelectCgMx.cs | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs index 62603cd..9c051a6 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs @@ -15,24 +15,24 @@ private readonly List<FilterEntity> _filterList = new List<FilterEntity>(); - private readonly string _webServiceName = "MesRohInDataManager/"; + private readonly string _webServiceName = "MesInvItemArnManager/"; private string suppId = ""; + private string receiveOrgId = ""; /// <summary> /// 渚涘簲鍟嗙紪鍙� /// </summary> /// <param name="supp_no"></param> - public SelectCgMx(string _suppId) + public SelectCgMx(string _suppId,string _receiveOrgId) { InitializeComponent(); this.suppId = _suppId; + this.receiveOrgId = _receiveOrgId; pageBar1.PagerEvent += PageBar1_PagerEvent; - getPageList(1, UtilityHelper.GetPageSize()); - gridView1.IndicatorWidth = 50; - gridView1.CustomDrawRowIndicator += (s, e) => + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) => { - if (e.Info.IsRowIndicator && e.RowHandle >= 0) - e.Info.DisplayText = (e.RowHandle + 1).ToString(); - }; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }); + getPageList(1, UtilityHelper.GetPageSize()); btnIn.Click += (s, e) => { var list = new List<string>(); @@ -80,13 +80,14 @@ sortName = "", keyWhere = "", inBusType = "CG", - inSupId = this.suppId + inSupId = this.suppId, + inReceiveOrgId=this.receiveOrgId, }; var json = JsonConvert.SerializeObject(_obj); try { var strReturn = UtilityHelper.HttpPost("", - _webServiceName + "GetListPage", json); + _webServiceName + "SelectForm", json); var dd = UtilityHelper.ReturnToTablePage(strReturn); var dt = dd.rtnData.list; gcMain.BindingContext = new BindingContext(); @@ -96,7 +97,6 @@ pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟 pageBar1.CurrentPage = curPage; //褰撳墠椤� - pageBar1.RowsCount = pageSize; //姣忛〉鏄剧ず pageBar1.setTxt(); } catch (Exception ex) -- Gitblit v1.9.3