From f5b68343056a31c0d221e6aa0d671a9f8ef798cd Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 05 五月 2025 11:25:17 +0800
Subject: [PATCH] 结案
---
DevApp/Gs.DevApp/UserControl/UcLookItems.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs
index 158dcdc..1e09a65 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs
@@ -28,17 +28,20 @@
if (EditChanged != null) EditChanged(this, e);
}
- public void getSuppler(string orgId)
+ public void getSuppler(string orgId, string _dftVale = "",string strWhere="",string strType="")
{
string _keyWhere = "";
if (!string.IsNullOrEmpty(orgId))
_keyWhere = " and a.FSubsidiary ='" + orgId + "'";
+ if (!string.IsNullOrEmpty(strWhere))
+ _keyWhere += strWhere;
var _obj = new
{
currentPage = 1,
everyPageSize = 999999,
sortName = "",
keyWhere = _keyWhere,
+ keyType= strType
};
var json = JsonConvert.SerializeObject(_obj);
try
@@ -52,6 +55,8 @@
lookSearchSupplier.Properties.ValueMember = "id";
lookSearchSupplier.ForceInitialize();
lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
+ if (!string.IsNullOrEmpty(_dftVale))
+ SetIdOrCode(_dftVale);
}
catch (Exception ex)
{
--
Gitblit v1.9.3