调整接口

This commit is contained in:
tongfei
2023-12-13 14:10:24 +08:00
parent 20fff099fd
commit 988190a13c
14 changed files with 267 additions and 160 deletions

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace WMS.Web.Core.Dto.BackRecord
{
/// <summary>
/// 出入库回退上下架:请求对象
/// </summary>
public class BackRecordOnOffRequest
{
/// <summary>
/// 出入库方式1按箱2按产品
/// </summary>
[Required(ErrorMessage = "出入库方式不能为空")]
public int Method { get; set; }
/// <summary>
/// 组织编码
/// </summary>
[Required(ErrorMessage = "组织编码不能为空")]
public string OrgCode { get; set; }
/// <summary>
/// 仓库code
/// </summary>
[Required(ErrorMessage = "仓库不能为空")]
public string StockCode { get; set; }
/// <summary>
/// 仓位ID
/// </summary>
[Required(ErrorMessage = "仓位不能为空")]
public int SubStockId { get; set; }
/// <summary>
/// 明细
/// </summary>
public List<SaveBackRecordDetailsRequest> Details { get; set; } = new List<SaveBackRecordDetailsRequest>();
}
}

View File

@@ -14,6 +14,11 @@ namespace WMS.Web.Core.Dto.Inventory
/// </summary>
public int InventoryInOutType { get; set; }
/// <summary>
/// 出入库存-方式(详情见枚举值)必填1-box按箱2-product按产品
/// </summary>
public int InventoryInOutMethod { get; set; }
/// <summary>
/// 箱ID
/// </summary>