From 291b43124d537daccc25e4e1613b5ff0cd749050 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 13 十一月 2024 15:55:11 +0800
Subject: [PATCH] 线程
---
DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
index 2e37a12..5e0a7de 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
@@ -5,6 +5,7 @@
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
+using static DevExpress.XtraPrinting.Native.PageSizeInfo;
namespace Gs.DevApp.UserControl
{
@@ -16,7 +17,6 @@
lookSearchSupplier.Properties.NullText = "璇烽�夋嫨";
lookSearchSupplier.EditValueChanged +=
LookSearchSupplier_EditValueChanged;
- getSuppler();
}
public bool IsReadly { get; set; }
private string _KeyFile = "";
@@ -26,6 +26,7 @@
set
{
_KeyFile = value;
+ if(!string.IsNullOrEmpty(value))
getSuppler();
}
}
@@ -42,13 +43,18 @@
private void getSuppler()
{
- var pgq = new PageQueryModel(1, 999999, "supp_no", "asc", "",
- " and fforbidstatus='A'");
- var json = JsonConvert.SerializeObject(pgq);
+ var _obj = new
+ {
+ currentPage = 1,
+ everyPageSize = 999999,
+ sortName = "",
+ keyWhere = "",
+ };
+ var json = JsonConvert.SerializeObject(_obj);
try
{
var strReturn = UtilityHelper.HttpPost("",
- "MesSupplierManager/GetListPage", json);
+ "MesSupplierManager/GetListSelect", json);
var rtn = UtilityHelper.ReturnToTablePage(strReturn);
var dt = rtn.rtnData.list;
lookSearchSupplier.Properties.DataSource = dt;
--
Gitblit v1.9.3