即时库存-仓储

This commit is contained in:
tongfei
2023-10-31 11:47:48 +08:00
parent 7fea13a6cd
commit bef578f398
13 changed files with 742 additions and 0 deletions

View File

@@ -34,6 +34,14 @@ namespace WMS.Web.Core.Dto
/// 类型1为入库回退下架2为出库回退上架
/// </summary>
public Dictionary<string, string> BackRecordType { get; set; } = new Dictionary<string, string>();
/// <summary>
/// 类型1为入库2为出库
/// </summary>
public Dictionary<string, string> InventoryInOutType { get; set; } = new Dictionary<string, string>();
/// <summary>
/// 单据类型
/// </summary>
public Dictionary<string, string> OrderType { get; set; } = new Dictionary<string, string>();

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.Inventory
{
/// <summary>
/// 即时库存明细-查询请求对象
/// </summary>
public class InventoryDetailsQueryRequest : PaginationBaseRequestDto
{
/// <summary>
/// 仓库ID
/// </summary>
public int? StockId { get; set; }
/// <summary>
/// 物料编码
///</summary>
public string MaterialNumber { get; set; }
/// <summary>
/// 库存量
/// </summary>
public decimal? Qty { get; set; }
}
}

View File

@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.Inventory
{
/// <summary>
/// 即时库存明细-查询响应对象
/// </summary>
public class InventoryDetailsQueryResponse
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string MaterialName { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string MaterialNumber { get; set; }
/// <summary>
/// 物料规格型号
/// </summary>
public string Specifications { get; set; }
/// <summary>
/// 仓库
/// </summary>
public string Stock { get; set; }
/// <summary>
/// 仓位
/// </summary>
public string SubStock { get; set; }
/// <summary>
/// 库存量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Unit { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.Inventory
{
/// <summary>
/// 物料收发明细-查询请求
/// </summary>
public class InventoryInOutDetailsQueryRequest : PaginationBaseRequestDto
{
/// <summary>
/// 仓库ID
/// </summary>
public int? StockId { get; set; }
/// <summary>
/// 物料编码
///</summary>
public string MaterialNumber { get; set; }
/// <summary>
/// 单据类型
/// </summary>
public int? OrderType { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime? CreateBeginDate { get; set; } = null;
/// <summary>
/// 创建日期
/// </summary>
public DateTime? CreateEndDate { get; set; } = null;
}
}

View File

@@ -0,0 +1,63 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.Inventory
{
/// <summary>
/// 物料收发明细-查询响应对象
/// </summary>
public class InventoryInOutDetailsQueryResponse
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string MaterialName { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string MaterialNumber { get; set; }
/// <summary>
/// 物料规格型号
/// </summary>
public string Specifications { get; set; }
/// <summary>
/// 类型1为入库2为出库
/// </summary>
public string Type { get; set; }
/// <summary>
/// 仓库
/// </summary>
public string Stock { get; set; }
/// <summary>
/// 单据类型
/// </summary>
public string OrderType { get; set; }
/// <summary>
/// 单据编号
/// </summary>
public string OrderBillNo { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 结存
/// </summary>
public decimal SurplusQty { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime CreateTime { get; set; }
}
}