From de4b3fa6111e0e9e3e5d7edc78054d8efef6b139 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期四, 05 十二月 2024 16:12:14 +0800
Subject: [PATCH] 检验

---
 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