|
@ -1,84 +1,170 @@ |
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
|
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
using System.ComponentModel.DataAnnotations; |
|
|
using System.Linq; |
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
using System.Text; |
|
|
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
|
|
{ |
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// HBPO发运单
|
|
|
/// HBPO发运单
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public class HBPO_SE_DETAIL_DTO : EntityDto<Guid> |
|
|
public class HBPO_SE_DETAIL_DTO : EntityDto<Guid> |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 期间
|
|
|
/// 发货单号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "发货单号")] |
|
|
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 单据编号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "期间")] |
|
|
[Display(Name = "单据编号")] |
|
|
public int Version { set; get; } |
|
|
public string Num { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 发货时间
|
|
|
/// 发货时间
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "发货时间")] |
|
|
[Display(Name = "发货时间")] |
|
|
public DateTime ShippingDate { set; get; } |
|
|
public DateTime BillTime { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发货人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "发货人")] |
|
|
|
|
|
public string Oper { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 发运单号
|
|
|
/// 排序单号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "发运单号")] |
|
|
[Display(Name = "排序单号")] |
|
|
public string WmsBillNum { set; get; } |
|
|
public string OrderNum { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 订单序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "订单序号")] |
|
|
|
|
|
public string Seq { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 实际生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "实际生产码")] |
|
|
|
|
|
public string RealCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 订单生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "订单生产码")] |
|
|
|
|
|
public string VinCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 生产码类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "生产码类型")] |
|
|
|
|
|
public string CodeType { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 实际零件号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "实际零件号")] |
|
|
|
|
|
public string RealPartCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 零件号
|
|
|
/// 零件号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "零件号")] |
|
|
[Display(Name = "零件号")] |
|
|
public string LU { get; set; } |
|
|
public string PartCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 批次
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "批次")] |
|
|
|
|
|
public string Batch { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// MES配置码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "MES配置码")] |
|
|
|
|
|
public string MESConfigCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 来源库位
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "来源库位")] |
|
|
|
|
|
public string FromLoc { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 目标库位
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "目标库位")] |
|
|
|
|
|
public string ToLoc { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参照订单生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "参照订单生产码")] |
|
|
|
|
|
public string RefVinCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 单据性质
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "单据性质")] |
|
|
|
|
|
public string BillCharacter { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发货关联单号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "发货关联单号")] |
|
|
|
|
|
public string RefBillNum { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Erp目标库位
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "Erp目标库位")] |
|
|
|
|
|
public string ErpToLoc { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 生产号
|
|
|
/// 原生产码
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "生产号")] |
|
|
[Display(Name = "原生产码")] |
|
|
public string PN { get; set; } |
|
|
public string OrigiCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 组合键值(LU+PN)
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "组合键值(LU+PN)")] |
|
|
[Display(Name = "备注")] |
|
|
public string KeyCode { get; set; } |
|
|
public string Remark { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 数量
|
|
|
/// 塑件唯一码
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "数量")] |
|
|
[Display(Name = "塑件唯一码")] |
|
|
public decimal Qty { get; set; } |
|
|
public string UniqueCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 日顺序号
|
|
|
/// PJS顺序号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "日顺序号")] |
|
|
[Display(Name = "PJS顺序号")] |
|
|
public string SeqNumber { get; set; } |
|
|
public string PjsNum { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 小总成号
|
|
|
/// 虚拟小总成
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "小总成号")] |
|
|
[Display(Name = "虚拟小总成")] |
|
|
public string AssemblyCode { get; set; } |
|
|
public string MatchNumber { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 注塑码
|
|
|
/// 发货条码
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "注塑码")] |
|
|
[Display(Name = "发货条码")] |
|
|
public string InjectionCode { get; set; } |
|
|
public string DeliverCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 订单时间
|
|
|
/// 客户位置
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "订单时间")] |
|
|
[Display(Name = "客户位置")] |
|
|
public DateTime BeginDate { get; set; } |
|
|
public string Position { get; set; } |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
@ -87,91 +173,184 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
|
|
public class HBPO_SE_DETAIL_EXPORT_DTO |
|
|
public class HBPO_SE_DETAIL_EXPORT_DTO |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 发运单号
|
|
|
/// 发货单号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "发货单号")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "发货单号")] |
|
|
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 单据编号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "发运单号")] |
|
|
[Display(Name = "单据编号")] |
|
|
[ExporterHeader(DisplayName = "JIS单据编号")] |
|
|
[ExporterHeader(DisplayName = "单据编号")] |
|
|
public string WmsBillNum { set; get; } |
|
|
public string Num { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 发货时间
|
|
|
/// 发货时间
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "发货时间")] |
|
|
[Display(Name = "发货时间")] |
|
|
[ExporterHeader(DisplayName = "发货时间")] |
|
|
[ExporterHeader(DisplayName = "发货时间")] |
|
|
public DateTime ShippingDate { set; get; } |
|
|
public DateTime BillTime { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 日顺序号
|
|
|
/// 发货人
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "日顺序号")] |
|
|
[Display(Name = "发货人")] |
|
|
[ExporterHeader(DisplayName = "JIS排序单号")] |
|
|
[ExporterHeader(DisplayName = "发货人")] |
|
|
public string SeqNumber { get; set; } |
|
|
public string Oper { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 排序单号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "排序单号")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "排序单号")] |
|
|
|
|
|
public string OrderNum { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 期间
|
|
|
/// 订单序号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "期间")] |
|
|
[Display(Name = "订单序号")] |
|
|
[ExporterHeader(DisplayName = "期间")] |
|
|
[ExporterHeader(DisplayName = "订单序号")] |
|
|
public int Version { set; get; } |
|
|
public string Seq { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 实际生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "实际生产码")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "实际生产码")] |
|
|
|
|
|
public string RealCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 订单生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "订单生产码")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "订单生产码")] |
|
|
|
|
|
public string VinCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 生产码类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "生产码类型")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "生产码类型")] |
|
|
|
|
|
public string CodeType { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 实际零件号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "实际零件号")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "实际零件号")] |
|
|
|
|
|
public string RealPartCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 零件号
|
|
|
/// 零件号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "零件号")] |
|
|
[Display(Name = "零件号")] |
|
|
[ExporterHeader(DisplayName = "零件号")] |
|
|
[ExporterHeader(DisplayName = "零件号")] |
|
|
public string LU { get; set; } |
|
|
public string PartCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 生产号
|
|
|
/// 批次
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "生产号")] |
|
|
[Display(Name = "批次")] |
|
|
[ExporterHeader(DisplayName = "生产号")] |
|
|
[ExporterHeader(DisplayName = "批次")] |
|
|
public string PN { get; set; } |
|
|
public string Batch { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 组合键值(LU+PN)
|
|
|
/// MES配置码
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "组合键值(LU+PN)")] |
|
|
[Display(Name = "MES配置码")] |
|
|
[ExporterHeader(DisplayName = "组合键值(LU+PN)")] |
|
|
[ExporterHeader(DisplayName = "MES配置码")] |
|
|
public string KeyCode { get; set; } |
|
|
public string MESConfigCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 数量
|
|
|
/// 来源库位
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "数量")] |
|
|
[Display(Name = "来源库位")] |
|
|
[ExporterHeader(DisplayName = "数量")] |
|
|
[ExporterHeader(DisplayName = "来源库位")] |
|
|
public decimal Qty { get; set; } |
|
|
public string FromLoc { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 目标库位
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "目标库位")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "目标库位")] |
|
|
|
|
|
public string ToLoc { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参照订单生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "参照订单生产码")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "参照订单生产码")] |
|
|
|
|
|
public string RefVinCode { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 小总成号
|
|
|
/// 单据性质
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "小总成号")] |
|
|
[Display(Name = "单据性质")] |
|
|
[ExporterHeader(DisplayName = "小总成号")] |
|
|
[ExporterHeader(DisplayName = "单据性质")] |
|
|
public string AssemblyCode { get; set; } |
|
|
public string BillCharacter { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 注塑码
|
|
|
/// 发货关联单号
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "注塑码")] |
|
|
[Display(Name = "发货关联单号")] |
|
|
[ExporterHeader(DisplayName = "注塑码")] |
|
|
[ExporterHeader(DisplayName = "发货关联单号")] |
|
|
public string InjectionCode { get; set; } |
|
|
public string RefBillNum { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 订单时间
|
|
|
/// Erp目标库位
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
[Display(Name = "订单时间")] |
|
|
[Display(Name = "Erp目标库位")] |
|
|
[ExporterHeader(DisplayName = "订单时间")] |
|
|
[ExporterHeader(DisplayName = "Erp目标库位")] |
|
|
public DateTime BeginDate { get; set; } |
|
|
public string ErpToLoc { get; set; } |
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 原生产码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "原生产码")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "原生产码")] |
|
|
|
|
|
public string OrigiCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备注
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "备注")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "备注")] |
|
|
|
|
|
public string Remark { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 塑件唯一码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "塑件唯一码")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "塑件唯一码")] |
|
|
|
|
|
public string UniqueCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// PJS顺序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "PJS顺序号")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "PJS顺序号")] |
|
|
|
|
|
public string PjsNum { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 虚拟小总成
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "虚拟小总成")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "虚拟小总成")] |
|
|
|
|
|
public string MatchNumber { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发货条码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "发货条码")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "发货条码")] |
|
|
|
|
|
public string DeliverCode { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 客户位置
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name = "客户位置")] |
|
|
|
|
|
[ExporterHeader(DisplayName = "客户位置")] |
|
|
|
|
|
public string Position { get; set; } |
|
|
} |
|
|
} |
|
|