lu
2025-02-12 9e6ef4b357b46a8f91bf74500d06af1f48567cb7
DevApp/Gs.DevApp/UserControl/UcLookDepartment.cs
@@ -17,7 +17,6 @@
            searchLookUpEdit1View.OptionsView.ColumnAutoWidth = true;
            lookSearchSupplier.EditValueChanged +=
                LookSearchSupplier_EditValueChanged;
            getSuppler();
        }
        public bool IsReadly { get; set; }
@@ -33,9 +32,12 @@
            if (EditChanged != null) EditChanged(this, e);
        }
        private void getSuppler()
        public void getSuppler(string orgId)
        {
            var pgq = new PageQueryModel(1, 999999, "a.FSubsidiary asc,a.departmentcode", "asc", "", " and 1=1");
            string _keyWhere = "";
            if (!string.IsNullOrEmpty(orgId))
                _keyWhere = " and a.FSubsidiary ='" + orgId + "'";
            var pgq = new PageQueryModel(1, 999999, "a.FSubsidiary asc,a.departmentcode", "asc", "", " and 1=1" + _keyWhere);
            var json = JsonConvert.SerializeObject(pgq);
            try
            {