增加组织编码

This commit is contained in:
18942506660
2023-11-22 11:18:59 +08:00
parent 62433615e1
commit 5ae1196f81
9 changed files with 46 additions and 10 deletions

View File

@@ -160,7 +160,7 @@ namespace WMS.Web.Domain.Services
var eList = erp_list.Where(f => f.SourceBillNo == item.SourceBillNo && f.StockCode == item.StockCode).ToList();
var e = eList.First();
var entity = new OutStockTask();
entity.Create((OutStockType)e.Type, e.StockCode, e.DeliveryOrgId, e.ReceiptCustomerId, (DateTime)e.CreateTime);
entity.Create((OutStockType)e.Type, e.StockCode,e.OrgCode, e.DeliveryOrgId, e.ReceiptCustomerId, (DateTime)e.CreateTime);
//找到当前对应来源单据编号的集合数据
var mIds = eList.GroupBy(g => g.MaterialId).Select(s => s.Key).ToList();