From 9702c6a4dc358c7bff2eb18c8426229a0140e34a Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期一, 15 九月 2025 08:29:16 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/UserControl/UcLookSales.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcLookSales.cs b/DevApp/Gs.DevApp/UserControl/UcLookSales.cs
index 9ad1124..d073d98 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookSales.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookSales.cs
@@ -32,14 +32,16 @@
         /// <summary>
         /// 璇诲彇閿�鍞鍗�
         /// </summary>
-        /// <param name="orgId"></param>
-        /// <param name="_dftVale"></param>
+        /// <param name="orgId">閿�鍞粍缁�</param>
+        /// <param name="_dftVale">榛樿鍊�</param>
         public void getSuppler(string orgId, string _dftVale = "")
         {
             lookSearchSupplier.EditValue = null;
             string _keyWhere = "";
             if (!string.IsNullOrEmpty(orgId))
-                _keyWhere = " and a.erp_sczz ='" + orgId + "'";
+                _keyWhere = " and a.SALE_ORG_ID ='" + orgId + "'";
+            _keyWhere+=(" and a.SALE_ORG_ID in");
+            _keyWhere+=(ToolBox.UtilityHelper.GetOrgWhere());
             var pgq = new PageQueryModel(1, 999999, "a.bill_no", "asc", "",
                 " and 1=1" + _keyWhere);
             var json = JsonConvert.SerializeObject(pgq);

--
Gitblit v1.9.3