lu
2 天以前 f7289e89b6293e92271ad0673ba6abf36604ef4c
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -55,10 +55,10 @@
        /// <summary>
        /// http请求
        /// </summary>
        /// <param name="url"></param>
        /// <param name="meth"></param>
        /// <param name="param"></param>
        /// <param name="isLoading"></param>
        /// <param name="url">api根地址</param>
        /// <param name="meth">方法名称</param>
        /// <param name="param">json参数</param>
        /// <param name="isLoading">是否loading</param>
        /// <returns></returns>
        public static string HttpPost(string url, string meth, string param, bool isLoading = true)
        {
@@ -453,6 +453,15 @@
                            txt.Enabled = !isEdt;
                            continue;
                        }
                        //多选
                        if (colType is RadioGroup)
                        {
                            var txt = colType as RadioGroup;
                            if (txt != null)
                                txt.SelectedIndex =int.Parse( strVal);
                            txt.ReadOnly = isEdt;
                            continue;
                        }
                        //时间
                        if (colType is DateTimePicker)
                        {
@@ -747,6 +756,15 @@
                        txt.ReadOnly = isEdt;
                    continue;
                }
                //多选
                if (ctrl is RadioGroup)
                {
                    var txt = ctrl as RadioGroup;
                    if (txt != null)
                        txt.SelectedIndex = 0;
                    txt.ReadOnly = isEdt;
                    continue;
                }
                //时间
                if (ctrl is DateTimePicker)
                {
@@ -1004,6 +1022,13 @@
                if (ctrl is NumericUpDown)
                {
                    var txt = ctrl as NumericUpDown;
                    txt.ReadOnly = isEdt;
                    continue;
                }
                //多选
                if (ctrl is RadioGroup)
                {
                    var txt = ctrl as RadioGroup;
                    txt.ReadOnly = isEdt;
                    continue;
                }
@@ -1708,7 +1733,6 @@
                }
            };
            gridView1.OptionsView.ColumnAutoWidth = false;//自动调整列宽
            if (isPostSearch == true)
            {
                gridView1.OptionsView.ShowGroupPanel = false;
@@ -1725,7 +1749,6 @@
                //是否显示底部的过滤条
                // gridView1.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
            }
            // gridView1.Appearance.HeaderPanel.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.ControlText;
            foreach (GridColumn column in gridView1.Columns)
            {
@@ -1751,7 +1774,6 @@
                        column.OptionsFilter.AllowAutoFilter = false;
                }
            }
            gridView1.IndicatorWidth = 60;
            gridView1.CustomDrawRowIndicator += (s, e) =>
            {
@@ -2438,7 +2460,10 @@
        fqc,
        生产退料入库检,
        其它入库检,
        超期检
        销售退货入库检,
        超期检,
        cqcjyes,//重检方案
        cqcjno,//重检方案
    }