|
|
@ -3108,7 +3108,7 @@ namespace CK.SCP.Controller |
|
|
|
} |
|
|
|
p_entitys.ForEach(itm => |
|
|
|
{ |
|
|
|
var askdeail = db.TB_ASK_DETAIL.Where(p => p.AskBillNum == p_asn.AskBillNum && p.PartCode == itm.PartCode && p.PoBillNum == p_asn.PoBillNum && p.PoLine == itm.PoLine && p.State != -1 && p.IsDeleted == false);//判断是否作废
|
|
|
|
var askdeail = db.TB_ASK_DETAIL.FirstOrDefault(p => p.AskBillNum == p_asn.AskBillNum && p.PartCode == itm.PartCode && p.PoBillNum == p_asn.PoBillNum && p.PoLine == itm.PoLine && p.State != -1 && p.IsDeleted == false);//判断是否作废
|
|
|
|
if (askdeail == null) |
|
|
|
{ |
|
|
|
_ret.MessageList.Add(string.Format("要货看板{1}零件号{0}已经作废不能发货,请联系采购员确认!", itm.PartCode, itm.AskBillNum)); |
|
|
|