lu
2025-04-06 4a8df7e654aa502694bcff271b216c46e26c788b
DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -17,7 +17,7 @@
                LookSearchSupplier_EditValueChanged;
           
        }
        public bool IsReadly { get; set; }
          private bool _rdy; public bool IsReadly { set{ _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
        
        /// <summary>
        ///     改变事件
@@ -30,8 +30,14 @@
            if (EditChanged != null) EditChanged(this, e);
        }
        public void getSuppler(string orgId)
        /// <summary>
        /// 读取仓库
        /// </summary>
        /// <param name="orgId"></param>
        /// <param name="_dftVale"></param>
        public void getSuppler(string orgId, string _dftVale = "")
        {
            lookSearchSupplier.EditValue = null;
            string _keyWhere = "";
            if (!string.IsNullOrEmpty(orgId))
                _keyWhere = " and a.FSubsidiary ='" + orgId + "'";
@@ -49,6 +55,8 @@
                lookSearchSupplier.Properties.ValueMember = "depotId";
                lookSearchSupplier.ForceInitialize();
                lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
                if (!string.IsNullOrEmpty(_dftVale))
                    SetIdOrCode(_dftVale);
            }
            catch (Exception ex)
            {