From 572ccbb41ba6c16ae716bb3d6bed24d503081816 Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期二, 09 九月 2025 18:08:11 +0800 Subject: [PATCH] fqc检验调整取数 --- 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