|
|
@ -53,12 +53,12 @@ public class SparePartIssueRequestDetail : SfsStoreDetailWithQtyEntityBase, IHas |
|
|
|
public string ProdLine { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 已发数量
|
|
|
|
/// 已生产任务的数量/箱数
|
|
|
|
/// </summary>
|
|
|
|
public decimal IssuedQty { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 已收数量
|
|
|
|
/// 已收数量(不是箱数)
|
|
|
|
/// </summary>
|
|
|
|
public decimal ReceivedQty { get; set; } |
|
|
|
|
|
|
@ -68,19 +68,19 @@ public class SparePartIssueRequestDetail : SfsStoreDetailWithQtyEntityBase, IHas |
|
|
|
public EnumStatus Status { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 请求未发 还未发送的数量
|
|
|
|
/// 未生成任务数量/箱数
|
|
|
|
/// </summary>
|
|
|
|
[NotMapped] |
|
|
|
public decimal ToBeIssuedQty => Qty - IssuedQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 已发未收
|
|
|
|
/// 已发未收(无用)
|
|
|
|
/// </summary>
|
|
|
|
[NotMapped] |
|
|
|
public decimal ToBeReceivedQty => IssuedQty - ReceivedQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 请求未收
|
|
|
|
/// 请求未收(无用)
|
|
|
|
/// </summary>
|
|
|
|
[NotMapped] |
|
|
|
public decimal NotFinishQty => Qty - ReceivedQty; |
|
|
|