销售发货接口、原材料仓优化调整、日志优化

This commit is contained in:
2024-07-29 15:49:52 +08:00
parent 0e09a8187c
commit b1027b6e49
15 changed files with 393 additions and 76 deletions

View File

@@ -0,0 +1,85 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.WarehouseMgr.Entities.Dto.ErpInputs
{
public class SaleShippingInput
{
/// <summary>
/// 销售发货单号
/// </summary>
public string? bill_code { get; set; }
/// <summary>
/// 单据类型
/// </summary>
public string? bill_type { get; set; }
/// <summary>
/// 单据状态
/// </summary>
public string? bill_status { get; set; }
/// <summary>
/// 出库仓库编号
/// </summary>
public string? warehouse_code { get; set; }
/// <summary>
/// 客户编码
/// </summary>
public string? customer_code { get; set; }
/// <summary>
/// 客户名称
/// </summary>
public string? customer_name { get; set; }
/// <summary>
/// 供货日期
/// </summary>
public DateTime? ship_date { get; set; }
/// <summary>
/// 主表主键
/// </summary>
public string erp_pk { get; set; }
public List<SaleShippingDetail> details { get; set; }
}
public class SaleShippingDetail
{
/// <summary>
/// 行号
/// </summary>
public string? lineno { get; set; }
/// <summary>
/// 物料代码
/// </summary>
public string? material_code { get; set; }
/// <summary>
/// 单位代码
/// </summary>
public string? unit_code { get; set; }
/// <summary>
/// 批号
/// </summary>
public string? code_batch { get; set; }
/// <summary>
/// 发货数量
/// </summary>
public decimal? sale_qty { get; set; }
/// <summary>
/// 子表主键
/// </summary>
public string erp_line_pk { get; set; }
}
}

View File

@@ -13,6 +13,7 @@ namespace Tnb.WarehouseMgr.Entities.Dto
public int layers { get; set; }
public string carry_code { get; set; }
public string material_code { get; set; }
public string code_batch { get; set; }
public decimal num { get; set; }
}
public class ZsjOutput