其它出库单位bug

This commit is contained in:
2024-09-19 12:37:57 +08:00
parent 2592e3a8cb
commit 4ec0362634
8 changed files with 99 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
namespace Tnb.BasicData.Entities.Dto
{
public class TranUnitInput
{
public string material_id { get; set; }
public string unit_id { get; set; }
public decimal tran_qty1 { get; set; }
public decimal tran_qty2 { get; set; }
public decimal tran_qty3 { get; set; }
public decimal tran_qty4 { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace Tnb.BasicData.Entities.Dto
{
public class TranUnitOutput
{
public string material_id { get; set; }
public string erp_unit_id { get; set; }
public decimal tran_qty1 { get; set; }
public decimal tran_qty2 { get; set; }
public decimal tran_qty3 { get; set; }
public decimal tran_qty4 { get; set; }
}
}

View File

@@ -33,5 +33,14 @@ public partial class BasMaterialUnit : BaseEntity<string>
/// 关联物料id
/// </summary>
public string material_id { get; set; } = string.Empty;
/// <summary>
/// 辅助单位id
/// </summary>
[SugarColumn(IsIgnore = true)]
public string auxiliary_unit_id_id { get; set; }
[SugarColumn(IsIgnore = true)]
public string erp_unit_id { get; set; }
}