From e6a9b817b0fd82dd89bf58107388edd1ab89bf11 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 06 十二月 2024 10:22:52 +0800
Subject: [PATCH] 细节
---
DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
index 9c8552b..cc836f9 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
@@ -34,12 +34,15 @@
public void getSuppler(string orgId)
{
+ string _keyWhere = "";
+ if (!string.IsNullOrEmpty(orgId))
+ _keyWhere = " and a.FSubsidiary ='" + orgId + "'";
var _obj = new
{
currentPage = 1,
everyPageSize = 999999,
sortName = "",
- keyWhere = " and a.FSubsidiary ='" + orgId + "'",
+ keyWhere = _keyWhere,
};
var json = JsonConvert.SerializeObject(_obj);
try
@@ -95,6 +98,6 @@
// lookSearchSupplier.EditValue = ((Code.ToString().Trim()));
lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim()));
}
-
+
}
}
\ No newline at end of file
--
Gitblit v1.9.3