lu
2025-05-26 1e70760fdbd1b09a8b697e97906d86235095d6c3
DevApp/Gs.DevApp/UserControl/UcLookDaa.cs
@@ -1,31 +1,24 @@
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
{
    public partial class UcLookDaa : DevExpress.XtraEditors.XtraUserControl
    {
        public UcLookDaa()
        {
            InitializeComponent();
            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>
        ///     改变事件
@@ -41,7 +34,7 @@
        /// 读取工单
        /// </summary>
        /// <param name="orgId"></param>
        public void getSuppler(string orgId,string _dftVale = "")
        public void getSuppler(string orgId, string _dftVale = "")
        {
            lookSearchSupplier.EditValue = null;
            string _keyWhere = "";
@@ -118,7 +111,7 @@
            }
            lookSearchSupplier.EditValue = (((Code.ToString().Trim())));
        }
        /// <summary>
        /// 产品id
        /// </summary>
@@ -236,5 +229,14 @@
            }
            return "";
        }
        /// <summary>
        /// 类型,多用于分类查询
        /// </summary>
        public string category
        {
            set;
            get;
        }
    }
}