修复bug
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user