From aa4e638512f70d2ac2a8ccc48d6ba026bdfc959e Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 18 二月 2025 08:24:37 +0800
Subject: [PATCH] 出库细节

---
 DevApp/Gs.DevApp/UserControl/UcLookDaa.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs b/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs
index 1e9886c..3444941 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs
@@ -37,9 +37,13 @@
         {
             if (EditChanged != null) EditChanged(this, e);
         }
-
-        public void getSuppler(string orgId)
+        /// <summary>
+        /// 璇诲彇宸ュ崟
+        /// </summary>
+        /// <param name="orgId"></param>
+        public void getSuppler(string orgId,string _dftVale = "")
         {
+            lookSearchSupplier.EditValue = null;
             string _keyWhere = "";
             if (!string.IsNullOrEmpty(orgId))
                 _keyWhere = " and a.erp_sczz ='" + orgId + "'";
@@ -56,6 +60,8 @@
                 lookSearchSupplier.Properties.ValueMember = "guid";
                 lookSearchSupplier.ForceInitialize();
                 lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
+                if (!string.IsNullOrEmpty(_dftVale))
+                    SetIdOrCode(_dftVale);
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3