| | |
| | | throw new Exception("æªæ¾å°åºåºåä¿¡æ¯"); |
| | | } |
| | | // éªè¯è®¢åæç»ç¶æ |
| | | if (outboundOrderDetail.OrderDetailStatus > OrderDetailStatusEnum.New.ObjToInt() && |
| | | if (outboundOrderDetail.OrderDetailStatus > OrderDetailStatusEnum.Outbound.ObjToInt() && |
| | | outboundOrderDetail.OrderDetailStatus != OrderDetailStatusEnum.AssignOverPartial.ObjToInt()) |
| | | { |
| | | throw new Exception("æéåºåºåæç»åå¨åºåºä¸æå·²å®æ"); |
| | | } |
| | | |
| | | |
| | | // éªè¯åé
æ°é |
| | | decimal allocatedQty = outboundOrderDetail.AllocatedQuantity; |
| | | decimal overOutQty = outboundOrderDetail.OverOutQuantity; |