箱库存
This commit is contained in:
@@ -10,9 +10,9 @@ namespace WMS.Web.Core.Dto.Inventory
|
||||
public class BoxInventoryBackGenerateDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 类型:1为入库回退下架,2为出库回退上架
|
||||
/// 类型:1为入库,2为出库
|
||||
/// </summary>
|
||||
public int BackRecordType { get; set; }
|
||||
public int InventoryInOutType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱ID
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Inventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱库存
|
||||
/// </summary>
|
||||
public class BoxInventoryDto
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 箱库存明细
|
||||
/// </summary>
|
||||
public class BoxInventoryDetailsDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 明细ID
|
||||
/// </summary>
|
||||
public int DetailsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 序列号集
|
||||
/// </summary>
|
||||
public List<string> SerialNumbers { get; set; } = new List<string>();
|
||||
/// <summary>
|
||||
/// 物料库存数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
}
|
||||
}
|
||||
63
src/WMS.Web.Core/Dto/Inventory/BoxInventoryGenerateDto.cs
Normal file
63
src/WMS.Web.Core/Dto/Inventory/BoxInventoryGenerateDto.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Inventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱库存
|
||||
/// </summary>
|
||||
public class BoxInventoryGenerateDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 出入库存-方式(详情见枚举值):必填;1-box按箱,2-product按产品
|
||||
/// </summary>
|
||||
public int InventoryInOutMethod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 出入库存-类型(详情见枚举值):必填;1-In入库,2-Out出库
|
||||
/// </summary>
|
||||
public int InventoryInOutType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱ID:必填
|
||||
/// </summary>
|
||||
public int BoxId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库code:为空的时候,就是出库等操作,有值的时候就是移箱改箱和上架操作
|
||||
/// </summary>
|
||||
public string StockCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位:为空的时候,就是出库等操作,有值的时候就是移箱改箱和上架操作
|
||||
/// </summary>
|
||||
public int? SubStockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
public List<BoxInventoryGenerateDetailsDto> Details { get; set; } = new List<BoxInventoryGenerateDetailsDto>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 箱库存明细
|
||||
/// </summary>
|
||||
public class BoxInventoryGenerateDetailsDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
public int MaterialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料库存数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序列号集
|
||||
/// </summary>
|
||||
public List<string> SerialNumbers { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
@@ -25,8 +25,8 @@ namespace WMS.Web.Core.Dto.Inventory
|
||||
public int SubStockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否是上架:true是上架,false是下架
|
||||
/// 类型:1为入库,2为出库
|
||||
/// </summary>
|
||||
public bool IsOn { get; set; }
|
||||
public int InventoryInOutType { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,9 +10,9 @@ namespace WMS.Web.Core.Dto.Inventory
|
||||
public class BoxInventoryNoPurchaseGenerateDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 非采购上架方式
|
||||
/// 入库方式
|
||||
/// </summary>
|
||||
public int ShelfMethod { get; set; }
|
||||
public int InventoryInOutMethod { get; set; }
|
||||
|
||||
// <summary>
|
||||
/// 仓库编码
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace WMS.Web.Core.Dto.Inventory
|
||||
/// <summary>
|
||||
/// 出入库存-方式(详情见枚举值)
|
||||
/// </summary>
|
||||
public int InOutInventoryMethod { get; set; }
|
||||
public int InventoryInOutMethod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 箱ID
|
||||
|
||||
Reference in New Issue
Block a user