修复bug

This commit is contained in:
18942506660
2023-12-08 15:32:36 +08:00
parent 1dbcf1cf4e
commit bd4fcdb904
8 changed files with 116 additions and 66 deletions

View File

@@ -12,12 +12,12 @@ namespace WMS.Web.Core.Dto.Erp
{
public ErpPushDto() { }
public ErpPushDto(string formId,string number,List<int> detailIds,string type)
public ErpPushDto(string formId,string number,List<int> detailIds,string targetFormId)
{
this.FormId = formId;
this.Numbers.Add(number);
this.DetailsId = detailIds.ToString();
this.Type = type;
this.TargetFormId = targetFormId;
}
/// <summary>
@@ -36,9 +36,16 @@ namespace WMS.Web.Core.Dto.Erp
[JsonProperty("EntryIds")]
public string DetailsId { get; set; }
/// <summary>
/// 目标单据类型内码
/// 目标单据类型
/// </summary>
[JsonProperty("TargetBillTypeId")]
public string Type { get; set; }
[JsonProperty("TargetFormId")]
public string TargetFormId { get; set; }
/// <summary>
/// 是否启用默认转换规则布尔类型默认false非必录
/// 开启后则不需要填 RuleId
/// </summary>
[JsonProperty("IsEnableDefaultRule")]
public bool IsEnableDefaultRule { get; set; } = true;
}
}