修复bug
This commit is contained in:
130
src/WMS.Web.Core/Dto/Erp/TakeStock/ErpTakeStockSaveDto.cs
Normal file
130
src/WMS.Web.Core/Dto/Erp/TakeStock/ErpTakeStockSaveDto.cs
Normal file
@@ -0,0 +1,130 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Erp.TakeStock
|
||||
{
|
||||
/// <summary>
|
||||
/// 盘点单
|
||||
/// </summary>
|
||||
public class ErpTakeStockSaveDto
|
||||
{
|
||||
/*
|
||||
* 单据编号:FBillNo
|
||||
日期:FDate (必填项)
|
||||
|
||||
库存组织:FStockOrgId (必填项)
|
||||
单据类型:FBillTypeID (必填项)
|
||||
货主类型:FOwnerTypeIdHead (必填项)
|
||||
|
||||
物料编码:FMaterialId (必填项)
|
||||
单位:FUnitID (必填项)
|
||||
仓库:FStockId (必填项)
|
||||
库存状态:FStockStatusId (必填项)
|
||||
货主类型:FOwnerTypeId (必填项)
|
||||
货主:FOwnerid (必填项)
|
||||
保管者类型:FKeeperTypeId (必填项)
|
||||
保管者:FKeeperId (必填项)
|
||||
子仓库:FStockLocId
|
||||
*/
|
||||
/// <summary>
|
||||
/// 单据类型(标准盘亏单; 标准盘盈单)
|
||||
/// </summary>
|
||||
[JsonProperty("FBillTypeID")]
|
||||
public string Type { get; set; }
|
||||
/// <summary>
|
||||
/// 库存组织 (取仓库对应的库存组织)
|
||||
/// </summary>
|
||||
[JsonProperty("FStockOrgId")]
|
||||
public string StockOrgId { get; set; }
|
||||
/// <summary>
|
||||
/// 货主类型: 默认为业务组织
|
||||
/// </summary>
|
||||
[JsonProperty("FBillTypeID")]
|
||||
public string FOwnerTypeIdHead { get; set; }
|
||||
/// <summary>
|
||||
/// 单据编号
|
||||
/// </summary>
|
||||
[JsonProperty("FBillNo")]
|
||||
public string BillNo { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点日期
|
||||
/// </summary>
|
||||
[JsonProperty("FDate")]
|
||||
public DateTime Date { get; set; }
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
[JsonProperty("FBillEntry")]
|
||||
public List<ErpTakeStockDetailsSaveDto> Details = new List<ErpTakeStockDetailsSaveDto>();
|
||||
}
|
||||
public class ErpTakeStockDetailsSaveDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存状态
|
||||
/// </summary>
|
||||
[JsonProperty("FStockStatusId")]
|
||||
public int FStockStatusId { get; set; }
|
||||
/// <summary>
|
||||
/// 货主类型: 默认为业务组织
|
||||
/// </summary>
|
||||
[JsonProperty("FOwnerTypeId")]
|
||||
public int FOwnerTypeId { get; set; }
|
||||
/// <summary>
|
||||
/// 取仓库对应的货主信息
|
||||
/// </summary>
|
||||
[JsonProperty("FOwnerid")]
|
||||
public int FOwnerid { get; set; }
|
||||
/// <summary>
|
||||
/// 保管者类型
|
||||
/// </summary>
|
||||
[JsonProperty("FKeeperTypeId")]
|
||||
public int FKeeperTypeId { get; set; }
|
||||
/// <summary>
|
||||
/// 保管者
|
||||
/// </summary>
|
||||
[JsonProperty("FKeeperId")]
|
||||
public int FKeeperId { get; set; }
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
[JsonProperty("FMaterialId")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 单位ID
|
||||
/// </summary>
|
||||
[JsonProperty("FUnitID")]
|
||||
public int UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库ID
|
||||
/// </summary>
|
||||
[JsonProperty("FStockId")]
|
||||
public int StockId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓位ID
|
||||
/// </summary>
|
||||
[JsonProperty("FStockLocId")]
|
||||
public int SubStockId { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点前数量(wms系统数量)
|
||||
/// </summary>
|
||||
[JsonProperty("FAcctQty")]
|
||||
public decimal BeforeQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点实际数量(实际仓库数量)
|
||||
/// </summary>
|
||||
[JsonProperty("FCountQty")]
|
||||
public decimal AfterQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点后数量
|
||||
/// </summary>
|
||||
[JsonProperty("FGainQty")]
|
||||
public decimal FinalQty { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[JsonProperty("Fnote")]
|
||||
public string Fnote { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user