| | |
| | | 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, |