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 | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs index 0bf98fc..9c051a6 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs @@ -17,22 +17,22 @@ 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 + "SelectDialog", json); + _webServiceName + "SelectForm", json); var dd = UtilityHelper.ReturnToTablePage(strReturn); var dt = dd.rtnData.list; gcMain.BindingContext = new BindingContext(); -- Gitblit v1.9.3