|
|
@ -130,6 +130,14 @@ public class PubSaSeCompareDiff |
|
|
|
/// </summary>
|
|
|
|
[ExcelExporter(MaxRowNumberOnASheet = 900000)] |
|
|
|
public class PubSaSeCompareDetailExport |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// PUB结算与发运对比明细
|
|
|
|
/// </summary>
|
|
|
|
[ExcelExporter(MaxRowNumberOnASheet = 900000)] |
|
|
|
public class PubSaSeCompareDetailExport2 |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 类别
|
|
|
@ -144,33 +152,33 @@ public class PubSaSeCompareDetailExport |
|
|
|
[ValueMapping("无结算有发运", 3)] |
|
|
|
public EnumPubSaSeCompareCategory Category { get; set; } |
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// Wms发货单号
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "Wms发货单号")]
|
|
|
|
//[ExporterHeader(DisplayName = "交货单号")]
|
|
|
|
//public string WmsBillNum { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 发货日期
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "发货日期")]
|
|
|
|
//[ExporterHeader(DisplayName = "发货日期", Format = "yyyy-MM-dd")]
|
|
|
|
//public DateTime ShippingDate { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 生产码
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "生产码")]
|
|
|
|
//[ExporterHeader(DisplayName = "ASN发货单号")]
|
|
|
|
//public string PN { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 物料号
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "物料号")]
|
|
|
|
//[ExporterHeader(DisplayName = "厂内物料号")]
|
|
|
|
//public string MaterialNumber { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// Wms发货单号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "Wms发货单号")] |
|
|
|
[ExporterHeader(DisplayName = "交货单号")] |
|
|
|
public string WmsBillNum { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "发货日期")] |
|
|
|
[ExporterHeader(DisplayName = "发货日期", Format = "yyyy-MM-dd")] |
|
|
|
public DateTime ShippingDate { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 生产码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "生产码")] |
|
|
|
[ExporterHeader(DisplayName = "ASN发货单号")] |
|
|
|
public string PN { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料号")] |
|
|
|
[ExporterHeader(DisplayName = "厂内物料号")] |
|
|
|
public string MaterialNumber { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 物料描述
|
|
|
@ -179,12 +187,12 @@ public class PubSaSeCompareDetailExport |
|
|
|
[ExporterHeader(DisplayName = "物料描述")] |
|
|
|
public string MaterialDes { get; set; } |
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 原始LU
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "原始LU")]
|
|
|
|
//[ExporterHeader(DisplayName = "原始LU")]
|
|
|
|
//public string PrimitiveLU { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 原始LU
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "原始LU")] |
|
|
|
[ExporterHeader(DisplayName = "原始LU")] |
|
|
|
public string PrimitiveLU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///替换LU
|
|
|
@ -193,12 +201,12 @@ public class PubSaSeCompareDetailExport |
|
|
|
[ExporterHeader(DisplayName = "替换LU")] |
|
|
|
public string ReplaceLU { get; set; } |
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 结算数据中的过账日期
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "客户下线时间")]
|
|
|
|
//[ExporterHeader(DisplayName = "客户下线时间")]
|
|
|
|
//public DateTime CustomerOfflineTime { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 结算数据中的过账日期
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "客户下线时间")] |
|
|
|
[ExporterHeader(DisplayName = "客户下线时间")] |
|
|
|
public DateTime CustomerOfflineTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结算数量
|
|
|
@ -214,53 +222,100 @@ public class PubSaSeCompareDetailExport |
|
|
|
[ExporterHeader(DisplayName = "WMS发货数量")] |
|
|
|
public decimal SEQty { get; set; } |
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 差异数量
|
|
|
|
///// </summary>
|
|
|
|
//[ExporterHeader(DisplayName = "差异数量")]
|
|
|
|
//public decimal DiffQty { set; get; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 匹配类型
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "匹配类型")]
|
|
|
|
//[ExporterHeader(DisplayName = "是否完全匹配")]
|
|
|
|
//public string MateType { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 定价
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "定价")]
|
|
|
|
//[ExporterHeader(DisplayName = "定价")]
|
|
|
|
//public decimal FixPrice { 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>
|
|
|
|
///// WMS目标库位
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "WMS目标库位")]
|
|
|
|
//[ExporterHeader(DisplayName = "WMS目标库位")]
|
|
|
|
//public string ToLocCode { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// ERP目标库位
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "ERP目标库位")]
|
|
|
|
//[ExporterHeader(DisplayName = "ERP目标库位")]
|
|
|
|
//public string ToErpLocCode { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 差异数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "差异数量")] |
|
|
|
public decimal DiffQty { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 匹配类型
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "匹配类型")] |
|
|
|
[ExporterHeader(DisplayName = "是否完全匹配")] |
|
|
|
public string MateType { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 定价
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "定价")] |
|
|
|
[ExporterHeader(DisplayName = "定价")] |
|
|
|
public decimal FixPrice { 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>
|
|
|
|
/// WMS目标库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "WMS目标库位")] |
|
|
|
[ExporterHeader(DisplayName = "WMS目标库位")] |
|
|
|
public string ToLocCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// ERP目标库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "ERP目标库位")] |
|
|
|
[ExporterHeader(DisplayName = "ERP目标库位")] |
|
|
|
public string ToErpLocCode { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// PUB结算与发运对比明细
|
|
|
|
/// </summary>
|
|
|
|
public interface IPubSaSeCompareDetailExport |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 类别
|
|
|
|
/// 有结算有发运
|
|
|
|
/// 有结算无发运
|
|
|
|
/// 无结算有发运
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "类别")] |
|
|
|
[ExporterHeader(DisplayName = "类别")] |
|
|
|
[ValueMapping("有结算有发运", 1)] |
|
|
|
[ValueMapping("有结算无发运", 2)] |
|
|
|
[ValueMapping("无结算有发运", 3)] |
|
|
|
public EnumPubSaSeCompareCategory Category { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 物料描述
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料描述")] |
|
|
|
[ExporterHeader(DisplayName = "物料描述")] |
|
|
|
public string MaterialDes { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///替换LU
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "替换LU")] |
|
|
|
[ExporterHeader(DisplayName = "替换LU")] |
|
|
|
public string ReplaceLU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结算数量
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算数量")] |
|
|
|
[ExporterHeader(DisplayName = "结算数量")] |
|
|
|
public decimal SAQty { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货数量
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "发货数量")] |
|
|
|
[ExporterHeader(DisplayName = "WMS发货数量")] |
|
|
|
public decimal SEQty { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -308,7 +363,7 @@ public class PubSaSeCompareSumExport |
|
|
|
/// 直供件BBAC结算与发运对比明细
|
|
|
|
/// </summary>
|
|
|
|
[ExcelExporter(MaxRowNumberOnASheet = 900000)] |
|
|
|
public class PubSaSeCompareDetailExportZhiGongJianBBAC : PubSaSeCompareDetailExport |
|
|
|
public class PubSaSeCompareDetailExportZhiGongJianBBAC : PubSaSeCompareDetailExport, IPubSaSeCompareDetailExport |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 类别
|
|
|
@ -397,7 +452,7 @@ public class PubSaSeCompareDetailExportZhiGongJianBBAC : PubSaSeCompareDetailExp |
|
|
|
/// 差异数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "差异数量")] |
|
|
|
public decimal DiffQty { set; get; } |
|
|
|
public decimal DiffQty => SAQty - SEQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 匹配类型
|
|
|
@ -432,7 +487,7 @@ public class PubSaSeCompareDetailExportZhiGongJianBBAC : PubSaSeCompareDetailExp |
|
|
|
/// 直供件HBPO结算与发运对比明细
|
|
|
|
/// </summary>
|
|
|
|
[ExcelExporter(MaxRowNumberOnASheet = 900000)] |
|
|
|
public class PubSaSeCompareDetailExportZhiGongJianHBPO : PubSaSeCompareDetailExport |
|
|
|
public class PubSaSeCompareDetailExportZhiGongJianHBPO : PubSaSeCompareDetailExport, IPubSaSeCompareDetailExport |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 类别
|
|
|
@ -521,7 +576,7 @@ public class PubSaSeCompareDetailExportZhiGongJianHBPO : PubSaSeCompareDetailExp |
|
|
|
/// 差异数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "差异数量")] |
|
|
|
public decimal DiffQty { set; get; } |
|
|
|
public decimal DiffQty => SAQty - SEQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 匹配类型
|
|
|
@ -645,7 +700,7 @@ public class PubSaSeCompareDetailExportMaiDanJianHBPO : PubSaSeCompareDetailExpo |
|
|
|
/// 差异数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "差异数量")] |
|
|
|
public decimal DiffQty { set; get; } |
|
|
|
public decimal DiffQty => SAQty - SEQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 匹配类型
|
|
|
@ -680,7 +735,7 @@ public class PubSaSeCompareDetailExportMaiDanJianHBPO : PubSaSeCompareDetailExpo |
|
|
|
/// 备件结算与发运对比明细
|
|
|
|
/// </summary>
|
|
|
|
[ExcelExporter(MaxRowNumberOnASheet = 900000)] |
|
|
|
public class PubSaSeCompareDetailExportBeiJian : PubSaSeCompareDetailExport |
|
|
|
public class PubSaSeCompareDetailExportBeiJian : PubSaSeCompareDetailExport, IPubSaSeCompareDetailExport |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 类别
|
|
|
@ -769,7 +824,7 @@ public class PubSaSeCompareDetailExportBeiJian : PubSaSeCompareDetailExport |
|
|
|
/// 差异数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "差异数量")] |
|
|
|
public decimal DiffQty { set; get; } |
|
|
|
public decimal DiffQty => SAQty - SEQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 匹配类型
|
|
|
@ -804,7 +859,7 @@ public class PubSaSeCompareDetailExportBeiJian : PubSaSeCompareDetailExport |
|
|
|
/// 印度件结算与发运对比明细
|
|
|
|
/// </summary>
|
|
|
|
[ExcelExporter(MaxRowNumberOnASheet = 900000)] |
|
|
|
public class PubSaSeCompareDetailExportYinDuJian : PubSaSeCompareDetailExport |
|
|
|
public class PubSaSeCompareDetailExportYinDuJian : PubSaSeCompareDetailExport, IPubSaSeCompareDetailExport |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 类别
|
|
|
@ -893,7 +948,7 @@ public class PubSaSeCompareDetailExportYinDuJian : PubSaSeCompareDetailExport |
|
|
|
/// 差异数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "差异数量")] |
|
|
|
public decimal DiffQty { set; get; } |
|
|
|
public decimal DiffQty => SAQty - SEQty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 匹配类型
|
|
|
|