修复bug

This commit is contained in:
18942506660
2023-11-23 10:17:06 +08:00
parent 745df0e57c
commit 2d517e948a
6 changed files with 112 additions and 9 deletions

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Core;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// 对应金蝶的明细
/// </summary>
[Serializable]
[Table("t_wms_outstock_boxs_details")]
public class OutStockBoxsDetails : EntityBase
{
public OutStockBoxsDetails() { }
/// <summary>
/// 主键 订单编号
/// </summary>
[Column("Id")]
public override int Id { get; set; }
/// <summary>
/// 任务单明细Id
/// </summary>
[Column("DetailId")]
public int DetailId { get; set; }
/// <summary>
/// 任务单明细Id
/// </summary>
[Column("BoxId")]
public int BoxId { get; set; }
/// <summary>
/// 序列号
/// </summary>
[Column("SerialNumbers")]
public List<string> SerialNumbers { get; set; } = new List<string>();
/// <summary>
/// 仓位
///</summary>
[Column("SubStockId")]
public int SubStockId { get; set; }
/// <summary>
/// 出库数量
///</summary>
[Column("Qty")]
public decimal Qty { get; set; }
}
}

View File

@@ -51,5 +51,9 @@ namespace WMS.Web.Domain.Entitys
/// 对应erp明细 同一个物料 存在于不同的来源单中(合并后出现多条)
/// </summary>
public List<OutStockErpDetails> ErpDetails { get; set; } = new List<OutStockErpDetails>();
/// <summary>
/// 出库时对应箱信息
/// </summary>
public List<OutStockBoxsDetails> BoxsDetails { get; set; } = new List<OutStockBoxsDetails>();
}
}