出入库回退上下架
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.BackRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 保存出入库回退上下架明细:请求对象
|
||||
/// </summary>
|
||||
public class SaveBackRecordDetailsRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 所属箱号ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "箱号不能为空")]
|
||||
public int BoxId { get; set; }
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "物料不能为空")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "数量不能为空")]
|
||||
public decimal Qty { get; set; }
|
||||
/// <summary>
|
||||
/// 仓位ID
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "仓位不能为空")]
|
||||
public int SubStockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序列号集
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "序列号不能为空")]
|
||||
public string SerialNumbers { get; set; }
|
||||
}
|
||||
}
|
||||
24
src/WMS.Web.Core/Dto/BackRecord/SaveBackRecordRequest.cs
Normal file
24
src/WMS.Web.Core/Dto/BackRecord/SaveBackRecordRequest.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.BackRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 保存出入库回退上下架:请求对象
|
||||
/// </summary>
|
||||
public class SaveBackRecordRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 类型:1为入库回退下架,2为出库回退上架
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "类型不能为空")]
|
||||
public int Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
public List<SaveBackRecordDetailsRequest> Details { get; set; } = new List<SaveBackRecordDetailsRequest>();
|
||||
}
|
||||
}
|
||||
@@ -30,6 +30,10 @@ namespace WMS.Web.Core.Dto
|
||||
/// 入库状态
|
||||
/// </summary>
|
||||
public Dictionary<string, string> InstockStatus { get; set; } = new Dictionary<string, string>();
|
||||
/// <summary>
|
||||
/// 类型:1为入库回退下架,2为出库回退上架
|
||||
/// </summary>
|
||||
public Dictionary<string, string> BackRecordType { get; set; } = new Dictionary<string, string>();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user