修复bug
This commit is contained in:
@@ -92,6 +92,11 @@ namespace WMS.Web.Domain.Entitys
|
||||
///</summary>
|
||||
[Column("CustomerId")]
|
||||
public int CustomerId { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 是否出库
|
||||
///</summary>
|
||||
[Column("IsOutStock")]
|
||||
public bool? IsOutStock { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 操作(绑定箱信息)
|
||||
@@ -126,6 +131,8 @@ namespace WMS.Web.Domain.Entitys
|
||||
this.CustomerId = outStock.ReceiptCustomerId;
|
||||
this.OutStockTime = DateTime.Now;
|
||||
}
|
||||
//标识出库
|
||||
this.IsOutStock = true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 入库
|
||||
|
||||
@@ -81,5 +81,10 @@ namespace WMS.Web.Domain.Entitys
|
||||
///</summary>
|
||||
[Column("CustomerId")]
|
||||
public int CustomerId { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 是否出库
|
||||
///</summary>
|
||||
[Column("IsOutStock")]
|
||||
public bool? IsOutStock { get; set; } = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -393,7 +393,10 @@ namespace WMS.Web.Domain.Services
|
||||
//if (backRecord.Type == BackRecordType.InstockOff)
|
||||
// entity.UnBind();
|
||||
if (backRecord.Type == BackRecordType.OutstockOn)
|
||||
{
|
||||
entity.Bind(detail.BoxId, box.CompleteCartonTime);
|
||||
entity.IsOutStock = false;//标识出库状态
|
||||
}
|
||||
|
||||
|
||||
//记录序列号操作日志
|
||||
|
||||
Reference in New Issue
Block a user