|
|
@ -1,4 +1,5 @@ |
|
|
|
using System; |
|
|
|
using System.ComponentModel; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
@ -11,70 +12,112 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
|
|
|
public class PUB_SE_DETAIL_DTO : EntityDto<Guid> |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 期间
|
|
|
|
/// 发货单号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "期间")] |
|
|
|
public int Version { set; get; } |
|
|
|
[Display(Name = "发货单号")] |
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货时间
|
|
|
|
/// 发货时间
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "发货时间")] |
|
|
|
public DateTime ShippingDate { set; get; } |
|
|
|
[DisplayName("发货时间")] |
|
|
|
public DateTime BillTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发运单号
|
|
|
|
/// 零件号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "发运单号")] |
|
|
|
public string WmsBillNum { set; get; } |
|
|
|
[DisplayName("零件号")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件号
|
|
|
|
/// 批次
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("批次")] |
|
|
|
public string Batch { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货人
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("发货人")] |
|
|
|
public string Oper { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DN单据号
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("DN单据号")] |
|
|
|
public string DnBillNum { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DN单据时间
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("DN单据时间")] |
|
|
|
public DateTime DnBillTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DN单添加人
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("DN单添加人")] |
|
|
|
public string DnOper { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 交付索引
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("交付索引")] |
|
|
|
public string DeliveryIndex { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 客户
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("客户")] |
|
|
|
public string CustId { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货仓库
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "零件号")] |
|
|
|
public string LU { get; set; } |
|
|
|
[DisplayName("发货仓库")] |
|
|
|
public string DeliveryHose { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
|
/// 来源库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "生产号")] |
|
|
|
public string PN { get; set; } |
|
|
|
[DisplayName("来源库位")] |
|
|
|
public string FromLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 组合键值(LU+PN)
|
|
|
|
/// 来源仓库
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "组合键值(LU+PN)")] |
|
|
|
public string KeyCode { get; set; } |
|
|
|
[DisplayName("来源仓库")] |
|
|
|
public string FromHose { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量
|
|
|
|
/// 来源ERP库存
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "数量")] |
|
|
|
public decimal Qty { get; set; } |
|
|
|
[DisplayName("来源ERP库存")] |
|
|
|
public string FromErpLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 日顺序号
|
|
|
|
/// 目标库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "日顺序号")] |
|
|
|
public string SeqNumber { get; set; } |
|
|
|
[DisplayName("目标库位")] |
|
|
|
public string ToLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 小总成号
|
|
|
|
/// 目标Erp库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "小总成号")] |
|
|
|
public string AssemblyCode { get; set; } |
|
|
|
[DisplayName("目标Erp库位")] |
|
|
|
public string ToErpLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 注塑码
|
|
|
|
/// 目标仓库
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "注塑码")] |
|
|
|
public string InjectionCode { get; set; } |
|
|
|
[DisplayName("目标仓库")] |
|
|
|
public string ToHose { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 订单时间
|
|
|
|
/// 备注
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "订单时间")] |
|
|
|
public DateTime BeginDate { get; set; } |
|
|
|
[DisplayName("备注")] |
|
|
|
public string Remark { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -94,72 +137,128 @@ public class PUB_SE_DETAIL_RequestDto : RequestDto |
|
|
|
public class PUB_SE_DETAIL_EXPORT_DTO |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 期间
|
|
|
|
/// 发货单号
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public int Version { set; get; } |
|
|
|
[Display(Name = "发货单号")] |
|
|
|
[ExporterHeader(DisplayName = "发货单号")] |
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货时间
|
|
|
|
/// 发货时间
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public DateTime ShippingDate { set; get; } |
|
|
|
[DisplayName("发货时间")] |
|
|
|
[ExporterHeader(DisplayName = "发货时间")] |
|
|
|
public DateTime BillTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发运单号
|
|
|
|
/// 零件号
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string WmsBillNum { set; get; } |
|
|
|
[DisplayName("零件号")] |
|
|
|
[ExporterHeader(DisplayName = "零件号")] |
|
|
|
public string PartCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件号
|
|
|
|
/// 批次
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("批次")] |
|
|
|
[ExporterHeader(DisplayName = "批次")] |
|
|
|
public string Batch { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货人
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("发货人")] |
|
|
|
[ExporterHeader(DisplayName = "发货人")] |
|
|
|
public string Oper { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DN单据号
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("DN单据号")] |
|
|
|
[ExporterHeader(DisplayName = "DN单据号")] |
|
|
|
public string DnBillNum { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DN单据时间
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("DN单据时间")] |
|
|
|
[ExporterHeader(DisplayName = "DN单据时间")] |
|
|
|
public DateTime DnBillTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DN单添加人
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("DN单添加人")] |
|
|
|
[ExporterHeader(DisplayName = "DN单添加人")] |
|
|
|
public string DnOper { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 交付索引
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("交付索引")] |
|
|
|
[ExporterHeader(DisplayName = "交付索引")] |
|
|
|
public string DeliveryIndex { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 客户
|
|
|
|
/// </summary>
|
|
|
|
[DisplayName("客户")] |
|
|
|
[ExporterHeader(DisplayName = "客户")] |
|
|
|
public string CustId { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货仓库
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string LU { get; set; } |
|
|
|
[DisplayName("发货仓库")] |
|
|
|
[ExporterHeader(DisplayName = "发货仓库")] |
|
|
|
public string DeliveryHose { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产号
|
|
|
|
/// 来源库位
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string PN { get; set; } |
|
|
|
[DisplayName("来源库位")] |
|
|
|
[ExporterHeader(DisplayName = "来源库位")] |
|
|
|
public string FromLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 组合键值(LU+PN)
|
|
|
|
/// 来源仓库
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string KeyCode { get; set; } |
|
|
|
[DisplayName("来源仓库")] |
|
|
|
[ExporterHeader(DisplayName = "来源仓库")] |
|
|
|
public string FromHose { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量
|
|
|
|
/// 来源ERP库存
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public decimal Qty { get; set; } |
|
|
|
[DisplayName("来源ERP库存")] |
|
|
|
[ExporterHeader(DisplayName = "来源ERP库存")] |
|
|
|
public string FromErpLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 日顺序号
|
|
|
|
/// 目标库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "日顺序号")] |
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string SeqNumber { get; set; } |
|
|
|
[DisplayName("目标库位")] |
|
|
|
[ExporterHeader(DisplayName = "目标库位")] |
|
|
|
public string ToLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 小总成号
|
|
|
|
/// 目标Erp库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "小总成号")] |
|
|
|
[ExporterHeader(DisplayName = "小总成号")] |
|
|
|
public string AssemblyCode { get; set; } |
|
|
|
[DisplayName("目标Erp库位")] |
|
|
|
[ExporterHeader(DisplayName = "目标Erp库位")] |
|
|
|
public string ToErpLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 注塑码
|
|
|
|
/// 目标仓库
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "注塑码")] |
|
|
|
[ExporterHeader(DisplayName = "注塑码")] |
|
|
|
public string InjectionCode { get; set; } |
|
|
|
[DisplayName("目标仓库")] |
|
|
|
[ExporterHeader(DisplayName = "目标仓库")] |
|
|
|
public string ToHose { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 订单时间
|
|
|
|
/// 备注
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "订单时间")] |
|
|
|
[ExporterHeader(DisplayName = "订单时间")] |
|
|
|
public DateTime BeginDate { get; set; } |
|
|
|
[DisplayName("备注")] |
|
|
|
[ExporterHeader(DisplayName = "备注")] |
|
|
|
public string Remark { get; set; } |
|
|
|
} |
|
|
|