入库接口调整

This commit is contained in:
tongfei
2023-10-30 15:52:58 +08:00
parent e4c46444d1
commit f2e6ef430d
21 changed files with 767 additions and 147 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.InStockTask
{
/// <summary>
/// 入库任务单-详情信息
/// </summary>
public class InStockTaskInfoDto
{
}
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Core.Dto.InStockTask
{
/// <summary>
/// 修改-入库任务单-明细对象
/// </summary>
public class UpdateInStockTaskDetailsRequest
{
/// <summary>
/// 明细ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 单据头ID
/// </summary>
public int Fid { get; set; }
/// <summary>
/// 物料ID
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 收货数量
/// </summary>
public decimal ReceiveQty { get; set; }
}
}

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace WMS.Web.Core.Dto.InStockTask
{
/// <summary>
/// 入库任务-修改请求对象
/// </summary>
public class UpdateInStockTaskRequest
{
/// <summary>
/// 单据ID
/// </summary>
[Required(ErrorMessage = "唯一编号不能未空")]
public int Id { get; set; }
/// <summary>
/// 明细
/// </summary>
public List<UpdateInStockTaskDetailsRequest> Details { get; set; } = new List<UpdateInStockTaskDetailsRequest>();
}
}