| | |
| | | public BIZ_ERP_OTH_OUT req { get; set; } |
| | | public bool isExceed { get; set; } |
| | | public bool isCutting { get; set; } |
| | | public decimal cutQty { get; set; } |
| | | public double cutQty { get; set; } |
| | | public string QrCode { get; set; } |
| | | public List<BIZ_ERP_OTH_OUT_DTL> dtls { get; set; } = new(); |
| | | #endregion |
| | |
| | | var actQty = sumDtls.Where(x => x.ItemCode == inv.Item.ITEM_CODE).Select(x => x.actQty).First(); |
| | | if (actQty > 0) |
| | | { |
| | | inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, nameof(req), req.BILLCODE, null, actQty, false); |
| | | inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, TransID, nameof(req), req.BILLCODE, null, actQty, false); |
| | | } |
| | | else |
| | | { |
| | |
| | | |
| | | //3.是否截料,不允许超发的物料,所有的单别都需要做拆包处理,自动调用拆包,允许超发的物料,单别5408或者5409的要拆包 |
| | | isCutting = false; |
| | | decimal curQty = CurInv.CurPkg.QTY; |
| | | double curQty = CurInv.CurPkg.QTY; |
| | | foreach (var d in dtls) |
| | | { |
| | | var actPrQty = d.PRQTY - d.QTY; |