From 0895fb9962db16ca30e2913275396211d6094e13 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 08 十二月 2024 11:23: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