郑勃旭 2 years ago
parent
commit
218b0d6772
  1. 7
      be/Modules/Label/src/Win_in.Sfs.Label.Application.Contracts/InventoryLabels/InventoryLabelWithoutCodeCreateInput.cs
  2. 6
      be/Modules/Label/src/Win_in.Sfs.Label.Application/InventoryLabels/InventoryLabelAppService.cs

7
be/Modules/Label/src/Win_in.Sfs.Label.Application.Contracts/InventoryLabels/InventoryLabelWithoutCodeCreateInput.cs

@ -207,4 +207,11 @@ public class InventoryLabelWithoutCodeCreateInput
[Display(Name = "要求到货时间")]
[Required(ErrorMessage = "{0}是必填项")]
public DateTime PlanArriveDate { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
public string Remark { get; set; }
}

6
be/Modules/Label/src/Win_in.Sfs.Label.Application/InventoryLabels/InventoryLabelAppService.cs

@ -130,9 +130,9 @@ public class InventoryLabelAppService
createInput.Code = numbers[i];
var dto = await base.CreateAsync(createInput).ConfigureAwait(false);
dto.SupplierCode = createInput.SupplierCode;
dto.PoNumber = createInput.PoNumber;
dto.Remark = createInput.Remark;
dto.SupplierCode = input.SupplierCode;
dto.PoNumber = input.PoNumber;
dto.Remark = input.Remark;
dto.FullBarcodeString = dto.Code;
dtos.Add(dto);

Loading…
Cancel
Save