Browse Source

调整发运、EDI对比报表顺序

master
mahao 1 year ago
parent
commit
436baa4eaf
  1. 72
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/JisBBACEidSeCompareReport.cs
  2. 102
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/JisHBPOEidSeCompareReport.cs

72
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/JisBBACEidSeCompareReport.cs

@ -25,12 +25,6 @@ public class JisBBACEidSeCompareExport
[ExporterHeader(DisplayName = "类别")] [ExporterHeader(DisplayName = "类别")]
public string Category { get; set; } public string Category { get; set; }
/// <summary> /// <summary>
/// 交货单号
/// </summary>
[Display(Name = "交货单号")]
[ExporterHeader(DisplayName = "交货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// 车型 /// 车型
/// </summary> /// </summary>
[Display(Name = "车型")] [Display(Name = "车型")]
@ -49,42 +43,12 @@ public class JisBBACEidSeCompareExport
[ExporterHeader(DisplayName = "生产码序列号日期")] [ExporterHeader(DisplayName = "生产码序列号日期")]
public string SequenceNumber { get; set; } public string SequenceNumber { get; set; }
/// <summary> /// <summary>
/// ParType
/// </summary>
[Display(Name = "ParType")]
[ExporterHeader(DisplayName = "ParType")]
public string ParType { get; set; }
/// <summary>
/// 配置码
/// </summary>
[Display(Name = "配置码")]
[ExporterHeader(DisplayName = "配置码")]
public string MESConfigCode { get; set; }
/// <summary>
/// 发货日期
/// </summary>
[Display(Name = "发货日期")]
[ExporterHeader(DisplayName = "发货日期", Format = "yyyy-MM-dd")]
public DateTime? ShippingDate { get; set; }
/// <summary>
/// 生产码 /// 生产码
/// </summary> /// </summary>
[Display(Name = "生产码")] [Display(Name = "生产码")]
[ExporterHeader(DisplayName = "生产码")] [ExporterHeader(DisplayName = "生产码")]
public string PN { get; set; } public string PN { get; set; }
/// <summary> /// <summary>
/// 序列号
/// </summary>
[Display(Name = "序列号")]
[ExporterHeader(DisplayName = "序列号")]
public string Seq { get; set; }
/// <summary>
/// PJIS日顺序号
/// </summary>
[Display(Name = "PJIS日顺序号")]
[ExporterHeader(DisplayName = "PJIS日顺序号")]
public string PjsNum { get; set; }
/// <summary>
/// 物料号 /// 物料号
/// </summary> /// </summary>
[Display(Name = "物料号")] [Display(Name = "物料号")]
@ -115,6 +79,42 @@ public class JisBBACEidSeCompareExport
[ExporterHeader(DisplayName = "WMS发货与EDI数量差")] [ExporterHeader(DisplayName = "WMS发货与EDI数量差")]
public decimal DiffQty => SEQty - EdiQty; public decimal DiffQty => SEQty - EdiQty;
/// <summary> /// <summary>
/// 交货单号
/// </summary>
[Display(Name = "交货单号")]
[ExporterHeader(DisplayName = "交货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// ParType
/// </summary>
[Display(Name = "ParType")]
[ExporterHeader(DisplayName = "ParType")]
public string ParType { get; set; }
/// <summary>
/// 配置码
/// </summary>
[Display(Name = "配置码")]
[ExporterHeader(DisplayName = "配置码")]
public string MESConfigCode { get; set; }
/// <summary>
/// 发货日期
/// </summary>
[Display(Name = "发货日期")]
[ExporterHeader(DisplayName = "发货日期", Format = "yyyy-MM-dd")]
public DateTime? ShippingDate { get; set; }
/// <summary>
/// 序列号
/// </summary>
[Display(Name = "序列号")]
[ExporterHeader(DisplayName = "序列号")]
public string Seq { get; set; }
/// <summary>
/// PJIS日顺序号
/// </summary>
[Display(Name = "PJIS日顺序号")]
[ExporterHeader(DisplayName = "PJIS日顺序号")]
public string PjsNum { get; set; }
/// <summary>
/// 客户下线时间 /// 客户下线时间
/// </summary> /// </summary>
[Display(Name = "客户下线时间")] [Display(Name = "客户下线时间")]

102
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/JisHBPOEidSeCompareReport.cs

@ -25,30 +25,66 @@ public class JisHBPOEidSeCompareExport
[ExporterHeader(DisplayName = "类别")] [ExporterHeader(DisplayName = "类别")]
public string Category { get; set; } public string Category { get; set; }
/// <summary> /// <summary>
/// 交货单号 /// 车型
/// </summary>
[Display(Name = "交货单号")]
[ExporterHeader(DisplayName = "交货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// CarModeCode
/// </summary> /// </summary>
[Display(Name = "CarModeCode")] [Display(Name = "车型")]
[ExporterHeader(DisplayName = "CarModeCode")] [ExporterHeader(DisplayName = "车型")]
public string CarModeCode { get; set; } public string CarModeCode { get; set; }
/// <summary> /// <summary>
/// LineStationcode /// 生产线
/// </summary> /// </summary>
[Display(Name = "LineStationcode")] [Display(Name = "生产线")]
[ExporterHeader(DisplayName = "LineStationcode")] [ExporterHeader(DisplayName = "生产线")]
public string LineStationcode { get; set; } public string LineStationcode { get; set; }
/// <summary> /// <summary>
/// SequenceNumber /// 生产码序列号日期
/// </summary> /// </summary>
[Display(Name = "SequenceNumber")] [Display(Name = "生产码序列号日期")]
[ExporterHeader(DisplayName = "SequenceNumber")] [ExporterHeader(DisplayName = "生产码序列号日期")]
public string SequenceNumber { get; set; } public string SequenceNumber { get; set; }
/// <summary> /// <summary>
/// 生产码
/// </summary>
[Display(Name = "生产码")]
[ExporterHeader(DisplayName = "生产码")]
public string PN { get; set; }
/// <summary>
/// 物料号
/// </summary>
[Display(Name = "物料号")]
[ExporterHeader(DisplayName = "物料号")]
public string MaterialNumber { get; set; }
/// <summary>
/// 物料描述
/// </summary>
[Display(Name = "物料描述")]
[ExporterHeader(DisplayName = "物料描述")]
public string MaterialDes { get; set; }
/// <summary>
/// WMS发货数量
/// </summary>
[Display(Name = "WMS发货数量")]
[ExporterHeader(DisplayName = "WMS发货数量")]
public decimal SEQty { get; set; }
/// <summary>
/// EDI数量
/// </summary>
[Display(Name = "EDI数量")]
[ExporterHeader(DisplayName = "EDI数量")]
public decimal EdiQty { get; set; }
/// <summary>
/// WMS发货与EDI数量差
/// </summary>
[Display(Name = "WMS发货与EDI数量差")]
[ExporterHeader(DisplayName = "WMS发货与EDI数量差")]
public decimal DiffQty => SEQty - EdiQty;
/// <summary>
/// 交货单号
/// </summary>
[Display(Name = "交货单号")]
[ExporterHeader(DisplayName = "交货单号")]
public string WmsBillNum { get; set; }
/// <summary>
/// ParType /// ParType
/// </summary> /// </summary>
[Display(Name = "ParType")] [Display(Name = "ParType")]
@ -73,12 +109,6 @@ public class JisHBPOEidSeCompareExport
[ExporterHeader(DisplayName = "实际发货生产号")] [ExporterHeader(DisplayName = "实际发货生产号")]
public string RealCode { get; set; } public string RealCode { get; set; }
/// <summary> /// <summary>
/// 生产码
/// </summary>
[Display(Name = "生产码")]
[ExporterHeader(DisplayName = "生产码")]
public string PN { get; set; }
/// <summary>
/// 序列号 /// 序列号
/// </summary> /// </summary>
[Display(Name = "序列号")] [Display(Name = "序列号")]
@ -103,36 +133,6 @@ public class JisHBPOEidSeCompareExport
[ExporterHeader(DisplayName = "ERP目标库位")] [ExporterHeader(DisplayName = "ERP目标库位")]
public string ErpToLoc { get; set; } public string ErpToLoc { get; set; }
/// <summary> /// <summary>
/// 物料号
/// </summary>
[Display(Name = "物料号")]
[ExporterHeader(DisplayName = "物料号")]
public string MaterialNumber { get; set; }
/// <summary>
/// 物料描述
/// </summary>
[Display(Name = "物料描述")]
[ExporterHeader(DisplayName = "物料描述")]
public string MaterialDes { get; set; }
/// <summary>
/// WMS发货数量
/// </summary>
[Display(Name = "WMS发货数量")]
[ExporterHeader(DisplayName = "WMS发货数量")]
public decimal SEQty { get; set; }
/// <summary>
/// EDI数量
/// </summary>
[Display(Name = "EDI数量")]
[ExporterHeader(DisplayName = "EDI数量")]
public decimal EdiQty { get; set; }
/// <summary>
/// WMS发货与EDI数量差
/// </summary>
[Display(Name = "WMS发货与EDI数量差")]
[ExporterHeader(DisplayName = "WMS发货与EDI数量差")]
public decimal DiffQty => SEQty - EdiQty;
/// <summary>
/// 客户下线时间 /// 客户下线时间
/// </summary> /// </summary>
[Display(Name = "客户下线时间")] [Display(Name = "客户下线时间")]

Loading…
Cancel
Save