From 2f2798aa608e16814ad2f15d3d159d1cd4ea9c11 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 04 十二月 2024 17:27:56 +0800
Subject: [PATCH] 修改了细节

---
 DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs
index d273d3a..aa905ac 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) =>
@@ -215,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
@@ -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())
                     });
@@ -505,7 +503,6 @@
                 pageBar1.TotalPages = dddd;
                 pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟
                 pageBar1.CurrentPage = curPage; //褰撳墠椤�
-                pageBar1.RowsCount = pageSize; //姣忛〉鏄剧ず
                 pageBar1.setTxt();
             }
             catch (Exception ex)
@@ -522,7 +519,6 @@
                 MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
                 return;
             }
-
             UtilityHelper.JumpToTab(xtraTabControl1, tabIdx);
             UcLoading _loading = new UcLoading();
             var _obj = new
@@ -545,7 +541,7 @@
                         gvList);
                     var _job = JObject.Parse(strJson);
                     var array = new JArray();
-                    foreach (var a in _job["rtnData"]["listDya"]) array.Add(a);
+                    foreach (var a in _job["rtnData"]["list"]) array.Add(a);
                     var dt =
                         JsonConvert.DeserializeObject<DataTable>(
                             array.ToString());
@@ -554,7 +550,6 @@
                         gcMx1.BindingContext = new BindingContext();
                         gcMx1.DataSource = dt;
                         gcMx1.ForceInitialize();
-
                     }
                     else
                     {
@@ -618,5 +613,7 @@
                 }
             }
         }
+
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3