1
lu
2024-12-10 d58da7f38629d712136a29b60f3257605bb54983
DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -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,