lu
2025-04-15 641e86dfaeb2eed992a717beb297c0ba84869f6b
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -42,7 +42,6 @@
        private static readonly string WebApiUrl =
            ConfigurationManager.AppSettings["WebApiUrl"];
        public static async Task<string> UploadFileAsync(string filePath)
        {
            using (var httpClient = new HttpClient())
@@ -1352,6 +1351,14 @@
            return false;
        }
        public static bool ToCheck(string str)
        {
            if (str.ToUpper() == "true".ToUpper())
                return true;
            if (str.ToUpper() == "1".ToUpper())
                return true;
            return false;
        }
        /// <summary>
        /// 读取grid的当前行
@@ -1748,8 +1755,8 @@
                else
                    column.OptionsColumn.ReadOnly = true;
                
                if(isPostSearch==false)
                    column.OptionsColumn.ReadOnly = true;
                //if(isPostSearch==false)
                //    column.OptionsColumn.ReadOnly = true;
                if (isPostSearch == true)
                {
@@ -2090,6 +2097,7 @@
                return 0;
            return decimal.Parse(txt);
        }
    }
    /// <summary>