调整出库任务单结构
This commit is contained in:
@@ -168,10 +168,13 @@ namespace WMS.Web.Domain.Entitys
|
||||
if (detail_new != null)
|
||||
{
|
||||
detail_new.AccruedQty += d.AccruedQty;//应出数量累加
|
||||
detail_new.SaleBillNos.AddRange(d.SaleBillNos);
|
||||
detail_new.SourceBillNos.AddRange(d.SourceBillNos);
|
||||
foreach (var dic in d.AccruedQty_Dic)
|
||||
detail_new.AccruedQty_Dic.Add(dic.Key, dic.Value);
|
||||
foreach (var erpd in d.ErpDetails)
|
||||
{
|
||||
var cd = erpd.Clone();
|
||||
cd.Id = 0;cd.DetailId = 0;
|
||||
detail_new.ErpDetails.Add(cd);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
details_new.Add(d);
|
||||
|
||||
Reference in New Issue
Block a user