From fbe33a615f1c4e798a0f8e58163e68c3ce789614 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 10:17:49 +0800
Subject: [PATCH] 初始化标准版
---
DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs
index c6707f8..78c12f9 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs
@@ -32,7 +32,10 @@
private void getSuppler()
{
- var pgq = new PageQueryModel(1, 999999, "a.daa001", "asc", "", " and 1=1");
+ string _keyWhere = "";
+ _keyWhere += (" and rwd.STOCKOWNER in");
+ _keyWhere += (ToolBox.UtilityHelper.GetOrgWhere());
+ var pgq = new PageQueryModel(1, 999999, "a.daa001", "asc", "", " and 1=1" + _keyWhere);
var json = JsonConvert.SerializeObject(pgq);
try
{
@@ -42,6 +45,7 @@
lookSearchSupplier.Properties.DataSource = dt;
lookSearchSupplier.Properties.DisplayMember = "daa001";
lookSearchSupplier.Properties.ValueMember = "id";
+ lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
}
catch (Exception ex)
{
--
Gitblit v1.9.3