|
|
@ -42,6 +42,16 @@ public class SaSeEdiCompareDiff |
|
|
|
[Display(Name = "客户下线时间")] |
|
|
|
public DateTime? CustomerOfflineTime { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 小总成号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "小总成号")] |
|
|
|
public string AssemblyCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 注塑码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "注塑码")] |
|
|
|
public string InjectionCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 结算数量
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算数量")] |
|
|
@ -198,18 +208,78 @@ public class SaSeEdiCompareDetailExportJisBBAC : SaSeEdiCompareDetailExport, ISa |
|
|
|
[ValueMapping("无结算有发运(无EDI数据)", 6)] |
|
|
|
public EnumSaSeEdiCompareCategory Category { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 零件描述
|
|
|
|
/// 交货单号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "零件描述")] |
|
|
|
[Display(Name = "交货单号")] |
|
|
|
[ExporterHeader(DisplayName = "交货单号")] |
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 发货日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "发货日期")] |
|
|
|
[ExporterHeader(DisplayName = "发货日期")] |
|
|
|
public DateTime? ShippingDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 生产码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "生产码")] |
|
|
|
[ExporterHeader(DisplayName = "订单生产码")] |
|
|
|
public string PN { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 日顺序号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "日顺序号")] |
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string SeqNumber { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// PJIS日顺序号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "PJIS日顺序号")] |
|
|
|
[ExporterHeader(DisplayName = "PJIS日顺序号")] |
|
|
|
public string PJISSeqNumber { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 客户物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "客户物料号")] |
|
|
|
[ExporterHeader(DisplayName = "客户物料号")] |
|
|
|
public string CustomerPartCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 物料描述
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料描述")] |
|
|
|
[ExporterHeader(DisplayName = "物料描述")] |
|
|
|
public string PartCodeDesc { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 替换厂内零件号
|
|
|
|
/// 厂内物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "替换厂内零件号")] |
|
|
|
[ExporterHeader(DisplayName = "替换厂内零件号")] |
|
|
|
[Display(Name = "厂内物料号")] |
|
|
|
[ExporterHeader(DisplayName = "厂内物料号")] |
|
|
|
public string FactoryPartCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 替换厂内物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "替换厂内物料号")] |
|
|
|
[ExporterHeader(DisplayName = "替换厂内物料号")] |
|
|
|
public string ReplaceFactoryPartCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 客户下线时间
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "客户下线时间")] |
|
|
|
[ExporterHeader(DisplayName = "客户下线时间")] |
|
|
|
public DateTime? CustomerOfflineTime { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 小总成号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "小总成号")] |
|
|
|
[ExporterHeader(DisplayName = "小总成号")] |
|
|
|
public string AssemblyCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 注塑码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "注塑码")] |
|
|
|
[ExporterHeader(DisplayName = "注塑码")] |
|
|
|
public string InjectionCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 结算数量
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算数量")] |
|
|
@ -227,6 +297,39 @@ public class SaSeEdiCompareDetailExportJisBBAC : SaSeEdiCompareDetailExport, ISa |
|
|
|
[Display(Name = "Edi数量")] |
|
|
|
[ExporterHeader(DisplayName = "Edi数量")] |
|
|
|
public decimal EdiQty { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 结算与EDI量差
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "结算与EDI量差")] |
|
|
|
public decimal SaEdiQty => SAQty - EdiQty; |
|
|
|
/// <summary>
|
|
|
|
/// WMS发货与EDI数量差
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "WMS发货与EDI数量差")] |
|
|
|
public decimal SeEdiQty => SEQty - EdiQty; |
|
|
|
[Display(Name = "是否完全匹配")] |
|
|
|
[ExporterHeader(DisplayName = "是否完全匹配")] |
|
|
|
[ValueMapping("是", true)] |
|
|
|
[ValueMapping("否", false)] |
|
|
|
public bool MateType => SaEdiQty == 0 && SeEdiQty == 0; |
|
|
|
/// <summary>
|
|
|
|
/// 定价
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "定价")] |
|
|
|
[ExporterHeader(DisplayName = "定价")] |
|
|
|
public decimal? FixPrice { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// ERP销售库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "ERP销售库位")] |
|
|
|
[ExporterHeader(DisplayName = "ERP销售库位")] |
|
|
|
public string ToErpLocCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// WMS发货库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "WMS发货库位")] |
|
|
|
[ExporterHeader(DisplayName = "WMS发货库位")] |
|
|
|
public string ToLocCode { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -247,18 +350,78 @@ public class SaSeEdiCompareDetailExportJisHBPO : SaSeEdiCompareDetailExport, ISa |
|
|
|
[ValueMapping("无结算有发运(无EDI数据)", 6)] |
|
|
|
public EnumSaSeEdiCompareCategory Category { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 零件描述
|
|
|
|
/// 交货单号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "零件描述")] |
|
|
|
[Display(Name = "交货单号")] |
|
|
|
[ExporterHeader(DisplayName = "交货单号")] |
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 发货日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "发货日期")] |
|
|
|
[ExporterHeader(DisplayName = "发货日期")] |
|
|
|
public DateTime? ShippingDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 生产码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "生产码")] |
|
|
|
[ExporterHeader(DisplayName = "订单生产码")] |
|
|
|
public string PN { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 日顺序号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "日顺序号")] |
|
|
|
[ExporterHeader(DisplayName = "日顺序号")] |
|
|
|
public string SeqNumber { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// PJIS日顺序号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "PJIS日顺序号")] |
|
|
|
[ExporterHeader(DisplayName = "PJIS日顺序号")] |
|
|
|
public string PJISSeqNumber { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 客户物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "客户物料号")] |
|
|
|
[ExporterHeader(DisplayName = "客户物料号")] |
|
|
|
public string CustomerPartCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 物料描述
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料描述")] |
|
|
|
[ExporterHeader(DisplayName = "物料描述")] |
|
|
|
public string PartCodeDesc { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 替换厂内零件号
|
|
|
|
/// 厂内物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "替换厂内零件号")] |
|
|
|
[ExporterHeader(DisplayName = "替换厂内零件号")] |
|
|
|
[Display(Name = "厂内物料号")] |
|
|
|
[ExporterHeader(DisplayName = "厂内物料号")] |
|
|
|
public string FactoryPartCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 替换厂内物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "替换厂内物料号")] |
|
|
|
[ExporterHeader(DisplayName = "替换厂内物料号")] |
|
|
|
public string ReplaceFactoryPartCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 客户下线时间
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "客户下线时间")] |
|
|
|
[ExporterHeader(DisplayName = "客户下线时间")] |
|
|
|
public DateTime? CustomerOfflineTime { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 小总成号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "小总成号")] |
|
|
|
[ExporterHeader(DisplayName = "小总成号")] |
|
|
|
public string AssemblyCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 注塑码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "注塑码")] |
|
|
|
[ExporterHeader(DisplayName = "注塑码")] |
|
|
|
public string InjectionCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 结算数量
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算数量")] |
|
|
@ -276,6 +439,39 @@ public class SaSeEdiCompareDetailExportJisHBPO : SaSeEdiCompareDetailExport, ISa |
|
|
|
[Display(Name = "Edi数量")] |
|
|
|
[ExporterHeader(DisplayName = "Edi数量")] |
|
|
|
public decimal EdiQty { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 结算与EDI量差
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "结算与EDI量差")] |
|
|
|
public decimal SaEdiQty => SAQty - EdiQty; |
|
|
|
/// <summary>
|
|
|
|
/// WMS发货与EDI数量差
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "WMS发货与EDI数量差")] |
|
|
|
public decimal SeEdiQty => SEQty - EdiQty; |
|
|
|
[Display(Name = "是否完全匹配")] |
|
|
|
[ExporterHeader(DisplayName = "是否完全匹配")] |
|
|
|
[ValueMapping("是", true)] |
|
|
|
[ValueMapping("否", false)] |
|
|
|
public bool MateType => SaEdiQty == 0 && SeEdiQty == 0; |
|
|
|
/// <summary>
|
|
|
|
/// 定价
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "定价")] |
|
|
|
[ExporterHeader(DisplayName = "定价")] |
|
|
|
public decimal? FixPrice { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// ERP销售库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "ERP销售库位")] |
|
|
|
[ExporterHeader(DisplayName = "ERP销售库位")] |
|
|
|
public string ToErpLocCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// WMS发货库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "WMS发货库位")] |
|
|
|
[ExporterHeader(DisplayName = "WMS发货库位")] |
|
|
|
public string ToLocCode { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|