From cbb5315301b1490b57497212256c5255e5eb7eb6 Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期六, 01 十一月 2025 17:06:58 +0800
Subject: [PATCH] Merge branch 'master' of http://git.gs-mes.com:8080/r/~tjx/GsMesClient

---
 DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
index afe83fa..03e98f7 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
@@ -32,6 +32,7 @@
             toolBarMenu1.btnCaiWuChkClick += ToolBarMenu1_btnCaiWuChkClick;
             toolBarMenu1.btnCaiWuFchkClick += ToolBarMenu1_btnCaiWuFchkClick;
             toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick;
+            toolBarMenu1.btnWjClick += ToolBarMenu1_btnWjClick;
             this.toolBarMenu1.getXmlConfig();
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "chkStatus", "", (value) =>
@@ -105,6 +106,8 @@
                             _row["kcQty"] = dym.kcQty; //搴撳瓨鏁伴噺
                             _row["depotId"] = dym.depotId; //搴撳瓨鏁伴噺
                             _row["depotName"] = dym.depotName; //搴撳瓨鏁伴噺
+                            _row["yjfhDate"] = DateTime.Now.ToString("yyyy-MM-dd");
+                            _row["fEntrynote"] = dym.entryNote; ;
                             _Table.Rows.Add(_row);
                         }
                         gcMx1.BindingContext = new BindingContext();
@@ -124,6 +127,8 @@
                 frm.ShowDialog();
             };
         }
+
+
         private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
         {
             _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
@@ -368,13 +373,11 @@
                         MsgHelper.ShowError("閿�鍞崟鐗╂枡鏄庣粏涓嶈兘涓虹┖锛�");
                         return;
                     }
-
                     if (string.IsNullOrEmpty(row["depotId"].ToString()))
                     {
                         MsgHelper.ShowError("璇烽�夋嫨鍙戣揣浠撳簱锛�");
                         return;
                     }
-
                     _obj.list.Add(new
                     {
                         Guid = _guid,
@@ -382,6 +385,7 @@
                         Sqsl = (row["fMustQty"].ToString()),
                         Bz = (row["fEntrynote"].ToString()),
                         Yjsj = (row["YjfhDate"].ToString()),
+                        depotId = (row["depotId"].ToString()),
                     });
                 }
             }
@@ -524,6 +528,12 @@
             }
         }
 
+
+        private void ToolBarMenu1_btnWjClick(object sender, EventArgs e)
+        {
+            _toolCk(2);
+        }
+
         /// <summary>
         /// 璐㈠姟瀹℃牳
         /// </summary>
@@ -580,14 +590,16 @@
                 case 0:
                     strMsg = "鍙嶅鏍�";
                     break;
+                case 2:
+                    strMsg = "瀹岀粨";
+                    break;
                 case 30:
                     strMsg = "璐㈠姟瀹℃牳";
                     break;
                 case 31:
                     strMsg = "璐㈠姟鍙嶅鏍�";
                     break;
-            }
-            ;
+            };
             toolBarMenu1.guidKey = "";
             string rowGuid, rowName;
             (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billNo, gridView1, "billNo");
@@ -710,5 +722,7 @@
             };
             frm.ShowDialog();
         }
+
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3