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)
                    {
@@ -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
                    {