同步金蝶-代码处理提交
This commit is contained in:
53
src/WMS.Web.Core/Dto/Erp/ErpPurchaseInStockSaveDto.cs
Normal file
53
src/WMS.Web.Core/Dto/Erp/ErpPurchaseInStockSaveDto.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Erp
|
||||
{
|
||||
/// <summary>
|
||||
/// 修改采购入库单
|
||||
/// </summary>
|
||||
public class ErpPurchaseInStockSaveDto
|
||||
{
|
||||
public ErpPurchaseInStockSaveDto() { }
|
||||
public ErpPurchaseInStockSaveDto(string id)
|
||||
{
|
||||
this.Id = id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单据Id
|
||||
/// </summary>
|
||||
[JsonProperty("FID")]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
[JsonProperty("FEntity")]
|
||||
public List<ErpPurchaseInStockDetailsSaveDto> Details { get; set; } = new List<ErpPurchaseInStockDetailsSaveDto>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
public class ErpPurchaseInStockDetailsSaveDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 明细Id
|
||||
/// </summary>
|
||||
[JsonProperty("FENTRYID")]
|
||||
public string DetailId { get; set; }
|
||||
/// <summary>
|
||||
/// 采购订单明细Id
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string PurchaseDetailId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[JsonProperty("FRealQty")]
|
||||
public decimal Qty { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -33,28 +33,6 @@ namespace WMS.Web.Core.Dto.InStock
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "供应商不能为空")]
|
||||
public int SupplierId { get; set; }
|
||||
///// <summary>
|
||||
///// 组织
|
||||
///// </summary>
|
||||
//[Required(ErrorMessage = "组织不能为空")]
|
||||
//public int OrgId { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 组织编码:仓位-仓库-带出
|
||||
///// </summary>
|
||||
//[Required(ErrorMessage = "组织不能为空")]
|
||||
//public string OrgCode { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 仓库编码
|
||||
/////</summary>
|
||||
//[Required(ErrorMessage = "仓库不能为空")]
|
||||
//public string StockCode { get; set; }
|
||||
///// <summary>
|
||||
///// 仓位ID
|
||||
/////</summary>
|
||||
//[Required(ErrorMessage = " 仓位不能为空")]
|
||||
//public int SubStockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对应金蝶的明细ID
|
||||
|
||||
Reference in New Issue
Block a user