From b94097020bf79e3d5f046ac4fbd3c05efcda30b3 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 03 十二月 2024 15:16:27 +0800 Subject: [PATCH] 删除了用户空间的id --- DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs index f4fdf20..1088f1c 100644 --- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs @@ -53,13 +53,11 @@ 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(); }; //璁剧疆渚涘簲鍟嗛�夋嫨 - this.txt_suppId.KeyFile = "id"; this.txt_suppId.EditChanged += (s, e) => { txtSupplierId.Text = this.txt_suppId.GetId(); @@ -215,7 +213,7 @@ toolBarMenu1.guidKey = ""; string rowGuid, rowName; (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, - lbGuid, txt_billNo, gridView1); + lbGuid, txt_billNo, gridView1, "billNo"); toolBarMenu1.guidKey = rowGuid; if (string.IsNullOrEmpty(rowGuid)) { @@ -261,7 +259,7 @@ toolBarMenu1.guidKey = ""; string rowGuid, rowName; (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, - lbGuid, txt_billNo, gridView1); + lbGuid, txt_billNo, gridView1, "billNo"); toolBarMenu1.guidKey = rowGuid; if (string.IsNullOrEmpty(rowGuid)) { @@ -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()) }); @@ -554,7 +552,6 @@ gcMx1.BindingContext = new BindingContext(); gcMx1.DataSource = dt; gcMx1.ForceInitialize(); - } else { -- Gitblit v1.9.3