改箱服务调整
This commit is contained in:
@@ -9,14 +9,6 @@ namespace WMS.Web.Core.Dto
|
||||
/// </summary>
|
||||
public class BoxDetailResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 单据头ID
|
||||
/// </summary>
|
||||
public int Fid { get; set; }
|
||||
/// <summary>
|
||||
/// 箱Id
|
||||
/// </summary>
|
||||
public int BoxId { get; set; }
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
@@ -44,6 +36,6 @@ namespace WMS.Web.Core.Dto
|
||||
/// <summary>
|
||||
/// 序列号集
|
||||
/// </summary>
|
||||
public string SerialNumbers { get; set; }
|
||||
public List<string> SerialNumbers { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
25
src/WMS.Web.Core/Dto/BoxResponse.cs
Normal file
25
src/WMS.Web.Core/Dto/BoxResponse.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱信息(头部)
|
||||
/// </summary>
|
||||
public class BoxResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 单据头ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 箱Id
|
||||
/// </summary>
|
||||
public int BoxId { get; set; }
|
||||
/// <summary>
|
||||
/// 明细信息
|
||||
/// </summary>
|
||||
public List<BoxDetailResponse> Details = new List<BoxDetailResponse>();
|
||||
}
|
||||
}
|
||||
@@ -16,11 +16,6 @@ namespace WMS.Web.Core.Dto.ChangeBoxRecord
|
||||
[Required(ErrorMessage = "物料不能为空")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库Id
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "仓库不能为空")]
|
||||
public int StockId { get; set; }
|
||||
/// <summary>
|
||||
/// 原箱子ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "原箱子不能为空")]
|
||||
@@ -31,14 +26,10 @@ namespace WMS.Web.Core.Dto.ChangeBoxRecord
|
||||
[Required(ErrorMessage = "目标箱子不能为空")]
|
||||
public int DestBoxId { get; set; }
|
||||
/// <summary>
|
||||
/// 原仓位ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "原仓位不能为空")]
|
||||
public int SrcSubStockId { get; set; }
|
||||
/// <summary>
|
||||
/// 目标仓位ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "目标仓位不能为空")]
|
||||
public int DestSubStockId { get; set; }
|
||||
/// 数量
|
||||
///</summary>
|
||||
[Required(ErrorMessage = "数量不能为空")]
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user