From 2e3496c2bc19c1dcb25dbbde0022a6a6d2b4ff7b Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 22 十一月 2025 13:27:18 +0800
Subject: [PATCH] ID转人名:受托退料申请、受托退料单
---
DevApp/Gs.DevApp/UserControl/UcLookGx.cs | 24 +++++++++---------------
1 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookGx.cs b/DevApp/Gs.DevApp/UserControl/UcLookGx.cs
index 50f0506..d5ae8e4 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookGx.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookGx.cs
@@ -1,16 +1,8 @@
-锘縰sing DevExpress.XtraEditors;
-using Gs.DevApp.Entity;
+锘縰sing Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
namespace Gs.DevApp.UserControl
{
@@ -22,9 +14,12 @@
lookSearchSupplier.Properties.NullText = "璇烽�夋嫨";
lookSearchSupplier.EditValueChanged +=
LookSearchSupplier_EditValueChanged;
- getSuppler("");
+ //getSuppler("");
}
- public bool IsReadly { get; set; }
+
+
+ private bool _rdy; public bool IsReadly { set { _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
+
/// <summary>
/// 鏀瑰彉浜嬩欢
@@ -42,10 +37,9 @@
/// </summary>
/// <param name="orgId"></param>
/// <param name="_dftVale"></param>
- public void getSuppler(string _dftVale = "")
+ public void getSuppler(string _dftVale = "", string _keyWhere = "")
{
lookSearchSupplier.EditValue = null;
- string _keyWhere = "";
var pgq = new PageQueryModel(1, 999999, "a.processNo", "asc", "", " " + _keyWhere);
var json = JsonConvert.SerializeObject(pgq);
try
@@ -55,7 +49,7 @@
var rtn = UtilityHelper.ReturnToTablePage(strReturn);
var dt = rtn.rtnData.list;
lookSearchSupplier.Properties.DataSource = dt;
- lookSearchSupplier.Properties.DisplayMember = "processName";
+ lookSearchSupplier.Properties.DisplayMember = "processNoAndName";
lookSearchSupplier.Properties.ValueMember = "processNo";
lookSearchSupplier.ForceInitialize();
lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
@@ -104,6 +98,6 @@
if (!string.IsNullOrEmpty(Code))
lookSearchSupplier.EditValue = (((Code.ToString().Trim())));
}
-
+
}
}
\ No newline at end of file
--
Gitblit v1.9.3