1
lu
2024-12-16 9478ddf3051e83eb9a5889ff90688b34dd0f96a5
DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -32,9 +32,9 @@
            this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
            toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
            toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
            gcMain.MouseDoubleClick += GcMain_MouseDoubleClick;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridSear(gridView1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridSearMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            getPageList(1);
            pageBar1.PagerEvent += PageBar1_PagerEvent;
            txt_pba013.EditChanged += (s, e) =>
@@ -382,12 +382,24 @@
                if (row != null)
                {
                    Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString());
                    //string _msl = row["quantity"].ToString();
                    //if (string.IsNullOrEmpty(_msl))
                    //{
                    //    MsgHelper.ShowError("数量不能为空!");
                    //    return;
                    //}
                    string _LineId = row["daa015"].ToString();
                    if (string.IsNullOrEmpty(_LineId))
                    {
                        MsgHelper.ShowError("产线不能为空!");
                        return;
                    }
                    string _Pcsl = row["daa008"].ToString();
                    if (string.IsNullOrEmpty(_LineId))
                    {
                        MsgHelper.ShowError("排产数量不能为空!");
                        return;
                    }
                    string _Yjkgsj = row["mesStartProd"].ToString();
                    if (string.IsNullOrEmpty(_LineId))
                    {
                        MsgHelper.ShowError("预计开工时间不能为空!");
                        return;
                    }
                    _obj.list.Add(new
                    {
                        Guid = _guid,