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 |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs
index 8746ab7..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();
@@ -146,7 +144,6 @@
                 _loading.Stop();
             };
         }
-
         /// <summary>
         ///     鍙屽嚮浜嬩欢
         /// </summary>
@@ -216,14 +213,14 @@
             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))
             {
                 MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
                 return;
             }
-            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鎻愪氦妫�楠屽悧锛�"))
+            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鎾ゅ洖宸叉彁浜ょ殑妫�楠屽悧锛�"))
                 return;
             UcLoading _loading = new UcLoading();
             var _obj = new
@@ -262,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))
             {
@@ -452,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())
                     });
@@ -555,7 +552,6 @@
                         gcMx1.BindingContext = new BindingContext();
                         gcMx1.DataSource = dt;
                         gcMx1.ForceInitialize();
-
                     }
                     else
                     {

--
Gitblit v1.9.3