|
@ -878,6 +878,8 @@ namespace CK.SCP.GrupUniApi.Controller |
|
|
|
|
|
|
|
|
var qadASKList = wmsAskDetailList.Count(p => p.PoBillNum == qadPoNbr.purDocNO && p.PartCode == qadPoNbr.mtlNO); |
|
|
var qadASKList = wmsAskDetailList.Count(p => p.PoBillNum == qadPoNbr.purDocNO && p.PartCode == qadPoNbr.mtlNO); |
|
|
var wmsAskDetail1 = wdb.TB_ASK_DETAIL.Count(p => p.PoBillNum == qadPoNbr.purDocNO && p.PartCode == qadPoNbr.mtlNO); |
|
|
var wmsAskDetail1 = wdb.TB_ASK_DETAIL.Count(p => p.PoBillNum == qadPoNbr.purDocNO && p.PartCode == qadPoNbr.mtlNO); |
|
|
|
|
|
//
|
|
|
|
|
|
var tapart = wdb.TA_PART.Where(q => q.PartCode == qadPoNbr.mtlNO.Trim()).ToList(); |
|
|
if (qadASKList == 0 && wmsAskDetail1 == 0) |
|
|
if (qadASKList == 0 && wmsAskDetail1 == 0) |
|
|
{ |
|
|
{ |
|
|
String str = "k"; |
|
|
String str = "k"; |
|
@ -895,7 +897,7 @@ namespace CK.SCP.GrupUniApi.Controller |
|
|
EndTime = qadPoNbr.itemDeliveryDate,//ÊÕ»õ½áÊøʱ¼ä
|
|
|
EndTime = qadPoNbr.itemDeliveryDate,//ÊÕ»õ½áÊøʱ¼ä
|
|
|
Price = 0, |
|
|
Price = 0, |
|
|
AskQty = qadPoNbr.quantity, |
|
|
AskQty = qadPoNbr.quantity, |
|
|
DockCode = "YC", |
|
|
DockCode = tapart.Count()>0 ? tapart.FirstOrDefault().PartGroup:"YC", |
|
|
PoUnit = qadPoNbr.baseUnitMeasure, |
|
|
PoUnit = qadPoNbr.baseUnitMeasure, |
|
|
Currency = qadPoNbr.sizecoL, |
|
|
Currency = qadPoNbr.sizecoL, |
|
|
}; |
|
|
}; |
|
|