From 9872d678fc6703101d02f68b88b7519a0b6bc82c Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期二, 05 十一月 2024 14:15:06 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 DevApp/Gs.DevApp/UserControl/UcLookCk.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
index 0488a2b..e5db0e4 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -12,6 +12,7 @@
         public UcLookCk()
         {
             InitializeComponent();
+            lookSearchSupplier.Properties.NullText = "璇烽�夋嫨";
             lookSearchSupplier.EditValueChanged +=
                 LookSearchSupplier_EditValueChanged;
 
@@ -88,6 +89,11 @@
 
         public void SetIdOrCode(string Code)
         {
+            if (Code == "-1")
+            {
+                lookSearchSupplier.EditValue = null;
+                return;
+            }
             if (KeyFile == "depotId")
                 lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim()));
             else

--
Gitblit v1.9.3