From 4fff01dd8941f97005cfffbcbfdd83e60b1c543d Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 04 十二月 2024 15:06:44 +0800 Subject: [PATCH] 下拉组织 --- DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs index ed1204f..ce94a01 100644 --- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs @@ -53,16 +53,14 @@ e.Graphics.DrawString(str, f, Brushes.Gray, r); }; //璁剧疆浠撳簱閫夋嫨 - this.txt_depotsId.KeyFile = "depotId"; this.txt_depotsId.EditChanged += (s, e) => { - txtDepotsId.Text = this.txt_depotsId.GetId(); + txtDepotsCode.Text = this.txt_depotsId.GetCode(); }; //璁剧疆渚涘簲鍟嗛�夋嫨 - this.txt_suppId.KeyFile = "id"; this.txt_suppId.EditChanged += (s, e) => { - txtSupplierId.Text = this.txt_suppId.GetId(); + txtSupplierCode.Text = this.txt_suppId.GetCode(); }; //閫夋嫨闇�瑕佸叆搴撶殑鏄庣粏 btnSelect.Click += (s, e) => @@ -451,7 +449,7 @@ _obj.list.Add(new MesInvItemArnDetail { Guid = _guid, - AboutGuid = Guid.Parse(row["aboutGuid"].ToString()), + AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()), ItemId = int.Parse(row["itemId"].ToString()), Quantity = decimal.Parse(row["quantity"].ToString()) }); @@ -505,7 +503,6 @@ pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟 pageBar1.CurrentPage = curPage; //褰撳墠椤� - pageBar1.RowsCount = pageSize; //姣忛〉鏄剧ず pageBar1.setTxt(); } catch (Exception ex) @@ -617,5 +614,7 @@ } } } + + } } \ No newline at end of file -- Gitblit v1.9.3