lu
2025-06-02 a80c1ccadaa85132c7ac26474e7aab3da7706cbc
DevApp/Gs.DevApp/UserControl/UcLookUnit.cs
@@ -1,16 +1,8 @@
using DevExpress.XtraEditors;
using Gs.DevApp.Entity;
using 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
{
@@ -25,7 +17,7 @@
            getSuppler();
        }
        public bool IsReadly { get; set; }
        private bool _rdy; public bool IsReadly { set { _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
        /// <summary>
        ///     改变事件
@@ -85,7 +77,7 @@
        public void SetIdOrCode(string Code)
        {
            if (Code == "-1" || string.IsNullOrEmpty(Code) || Code.ToUpper()=="null".ToUpper())
            if (Code == "-1" || string.IsNullOrEmpty(Code) || Code.ToUpper() == "null".ToUpper())
            {
                lookSearchSupplier.EditValue = null;
                return;