This commit is contained in:
tongfei
2024-04-19 10:10:27 +08:00
parent d82e989807
commit de6f94143f

View File

@@ -191,7 +191,7 @@ namespace WMS.Web.Repositories
Receiver = x.box.ReceiverId.HasValue ? _singleDataService.GetSingleData(SingleAction.Staffs, companyId, x.box.ReceiverId.Value) : "",
Qty = x.detail.ReceiveQty,
ReceiveQty = x.detail.ReceiveQty,
SerialNumbers=x.detail.SerialNumbers!=null? (string.Join(",", x.detail.SerialNumbers).TrimEnd(',')):"",
SerialNumbers=x.detail.SerialNumbers!=null && x.detail.SerialNumbers.Count()>0? (string.Join(",", x.detail.SerialNumbers).TrimEnd(',')):"",
}).ToListAsync();
if (boxList != null && boxList.Count != 0)