fqc
lu
2025-04-11 ad76617fb57542f92350f84a33b0c2cf63f69383
DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -94,6 +94,7 @@
                        gvMx1.UpdateCurrentRow();
                        gcMx1.ForceInitialize();
                        gvMx1.BestFitColumns();
                        Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx1);
                    }
                    catch (Exception ex)
                    {
@@ -105,7 +106,7 @@
        }
        private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
        {
            _filterList=Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
            _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
            Task.Delay(100);
            getPageList(1);
        }
@@ -129,7 +130,7 @@
            gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
            gridView1.ActiveFilter.Clear();
            gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
              var frm = new ShowFilter(gridView1.Columns, _filterList, this.GetType().FullName);
            var frm = new ShowFilter(gridView1.Columns, _filterList, this.GetType().FullName);
            frm.UpdateParent += Frm_UpdateParent;
            frm.ShowDialog();
        }
@@ -319,16 +320,15 @@
                if (row != null)
                {
                    Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString());
                    //string _LineId = row["daa015"].ToString();
                    //if (string.IsNullOrEmpty(_LineId))
                    //{
                    //    MsgHelper.ShowError("产线编码不能为空!");
                    //    return;
                    //}
                    string _Pcsl = row["daa008"].ToString();
                    if (string.IsNullOrEmpty(_Pcsl))
                    string _LineId = row["daa015"].ToString();
                    if (string.IsNullOrEmpty(_LineId))
                    {
                        MsgHelper.ShowError("排产数量不能为空!");
                        MsgHelper.ShowError("线别不能为空!");
                        return;
                    }
                    if (Gs.DevApp.ToolBox.UtilityHelper.ToDecimal(row["daa008"].ToString()) <= 0)
                    {
                        MsgHelper.ShowError("请输入正确的排产数量!");
                        return;
                    }
                    string _Yjkgsj = row["mesStartProd"].ToString();
@@ -489,6 +489,7 @@
                        gcMx1.DataSource = dt;
                        gcMx1.ForceInitialize();
                        gvMx1.BestFitColumns();
                        Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx1);
                    }
                    else
                    {