|
|
@ -253,8 +253,8 @@ public class PurchaseReceiptJobAppService : |
|
|
|
newDetail.HandledQty = detail.HandledQty > 0 ? input.ToQty : 0; |
|
|
|
//newDetail.CreationTime = CommonHelper.CurTime;
|
|
|
|
newDetail.PurchaseReceiptInspectStatus = EnumPurchaseReceiptInspect.INSP; //俊城沟通,改成 未扫描
|
|
|
|
decimal maxPoLine = job.Details.Max(itm => itm.PoLine.TryToDecimalZero()); |
|
|
|
newDetail.PoLine = (maxPoLine + 1).ToString(); //行号自增
|
|
|
|
//decimal maxPoLine = job.Details.Max(itm => itm.PoLine.TryToDecimalZero());
|
|
|
|
//newDetail.PoLine = (maxPoLine + 1).ToString(); //行号自增
|
|
|
|
job.Details.Add(newDetail); |
|
|
|
//修改源箱
|
|
|
|
detail.RecommendQty = input.FromQty - input.ToQty; |
|
|
|