bug修复
This commit is contained in:
@@ -69,7 +69,7 @@ namespace WMS.Web.Core.Dto
|
||||
/// <summary>
|
||||
/// 创建时间(入库时间)
|
||||
/// </summary>
|
||||
public DateTime CreateTime { get; set; }
|
||||
public string CreateTime { get; set; }
|
||||
/// <summary>
|
||||
/// 同步成功或者失败
|
||||
/// </summary>
|
||||
|
||||
@@ -252,6 +252,7 @@ namespace WMS.Web.Domain.Services
|
||||
task.Details.ForEach(x =>
|
||||
{
|
||||
x.DeliveredQty = x.ReceiveQty;
|
||||
x.RealityQty = x.ReceiveQty;
|
||||
});
|
||||
task.Shelf(loginInfo.UserInfo.StaffId);
|
||||
task = await _inStockTaskRepositories.Update(task, isTransaction);
|
||||
|
||||
@@ -296,6 +296,8 @@ namespace WMS.Web.Domain.Services
|
||||
if (erp_data != null)
|
||||
{
|
||||
//2.1.2修改数量
|
||||
if (erp_data.Qty > item.AccruedQty)
|
||||
data.Status = InstockStatus.Part;
|
||||
item.Remark = erp_data.Remark;
|
||||
item.AccruedQty = erp_data.Qty;
|
||||
item.FactoryPrice = erp_data.FactoryPrice;
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace WMS.Web.Repositories
|
||||
Stock = _singleDataService.GetSingleData(SingleAction.StocksJoinOrgCode, _loginRepositories.CompanyId, s.detail.StockCode+s.detail.OrgCode),
|
||||
Qty =s.detail.Qty,
|
||||
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.order.CreatorId),
|
||||
CreateTime =s.order.CreateTime,
|
||||
CreateTime =s.order.CreateTime.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
SuccessSync=s.order.SuccessSync
|
||||
}).OrderByDescending(x => x.Id).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user