lu
2024-12-05 de4b3fa6111e0e9e3e5d7edc78054d8efef6b139
DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -15,7 +15,7 @@
            lookSearchSupplier.Properties.NullText = "请选择";
            lookSearchSupplier.EditValueChanged +=
                LookSearchSupplier_EditValueChanged;
            getSuppler();
        }
        public bool IsReadly { get; set; }
        
@@ -30,10 +30,10 @@
            if (EditChanged != null) EditChanged(this, e);
        }
        private void getSuppler()
        public void getSuppler(string orgId)
        {
            var pgq = new PageQueryModel(1, 999999, "depot_code", "asc", "",
                " and is_ng='A'");
                " and is_ng='A'"+"  and a.FSubsidiary ='" + orgId + "'");
            var json = JsonConvert.SerializeObject(pgq);
            try
            {
@@ -43,7 +43,7 @@
                var dt = rtn.rtnData.list;
                lookSearchSupplier.Properties.DataSource = dt;
                lookSearchSupplier.Properties.DisplayMember = "depotName";
                 lookSearchSupplier.Properties.ValueMember = "depotId";
                lookSearchSupplier.Properties.ValueMember = "depotId";
            }
            catch (Exception ex)
            {