From b007ee7ef80cde09eaff1fb80ec0b375d55ca41a Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期一, 09 十二月 2024 13:38:00 +0800
Subject: [PATCH] 1

---
 DevApp/Gs.DevApp/UserControl/UcLookCk.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
index be8a342..55f082d 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -15,7 +15,7 @@
             lookSearchSupplier.Properties.NullText = "璇烽�夋嫨";
             lookSearchSupplier.EditValueChanged +=
                 LookSearchSupplier_EditValueChanged;
-            getSuppler();
+           
         }
         public bool IsReadly { get; set; }
         
@@ -30,10 +30,10 @@
             if (EditChanged != null) EditChanged(this, e);
         }
 
-        private void getSuppler()
+        public void getSuppler(string orgId)
         {
             var pgq = new PageQueryModel(1, 999999, "depot_code", "asc", "",
-                " and is_ng='A'");
+                " and is_ng='A'"+"  and a.FSubsidiary ='" + orgId + "'");
             var json = JsonConvert.SerializeObject(pgq);
             try
             {
@@ -43,7 +43,7 @@
                 var dt = rtn.rtnData.list;
                 lookSearchSupplier.Properties.DataSource = dt;
                 lookSearchSupplier.Properties.DisplayMember = "depotName";
-                 lookSearchSupplier.Properties.ValueMember = "depotId";
+                lookSearchSupplier.Properties.ValueMember = "depotId";
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3