From 33acae639b8997aad34a0f22de6164b7c94b1fb5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 05 十一月 2024 14:14:46 +0800
Subject: [PATCH] test
---
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