修复bug
This commit is contained in:
@@ -35,6 +35,11 @@ namespace WMS.Web.Core.Dto.Erp.OutStock
|
|||||||
[JsonProperty("FENTRYID")]
|
[JsonProperty("FENTRYID")]
|
||||||
public string DetailId { get; set; }
|
public string DetailId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// 发货通知单明细Id
|
||||||
|
/// </summary>
|
||||||
|
[JsonIgnore]
|
||||||
|
public string DeliveryNoticeDetailId { get; set; }
|
||||||
|
/// <summary>
|
||||||
/// 数量
|
/// 数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("FRealQty")]
|
[JsonProperty("FRealQty")]
|
||||||
|
|||||||
@@ -2054,10 +2054,6 @@ namespace WMS.Web.Domain.Services.Public
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
var stocks = await _basicsRepositories.GetUcStockAsync(ManagementSystemCode.GLXT0004.ToString(), "", _appOptions.CompanyId);
|
|
||||||
if (stocks.Count == 0)
|
|
||||||
return Result<ErpSalOutStockSaveDto>.ReFailure(ResultCodes.ErpStockNoData);
|
|
||||||
//1.先登录金蝶-拿到token
|
//1.先登录金蝶-拿到token
|
||||||
var token_result = await this.Init();
|
var token_result = await this.Init();
|
||||||
if (!token_result.IsSuccess)
|
if (!token_result.IsSuccess)
|
||||||
@@ -2085,6 +2081,7 @@ namespace WMS.Web.Domain.Services.Public
|
|||||||
var lis = new ErpSalOutStockDetailsSaveDto();
|
var lis = new ErpSalOutStockDetailsSaveDto();
|
||||||
lis.DetailId = item[1];
|
lis.DetailId = item[1];
|
||||||
lis.Qty =Convert.ToDecimal(item[2]);
|
lis.Qty =Convert.ToDecimal(item[2]);
|
||||||
|
lis.DeliveryNoticeDetailId = "";
|
||||||
erp_list.Details.Add(lis);
|
erp_list.Details.Add(lis);
|
||||||
}
|
}
|
||||||
return Result<ErpSalOutStockSaveDto>.ReSuccess(erp_list);
|
return Result<ErpSalOutStockSaveDto>.ReSuccess(erp_list);
|
||||||
|
|||||||
Reference in New Issue
Block a user