Browse Source

up

master
mahao 1 year ago
parent
commit
96a365d1a5
  1. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/SaSeCompareDetailReport.cs
  2. 19
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/SaSeEdiCompareDetailReport.cs

8
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/SaSeCompareDetailReport.cs

@ -122,6 +122,14 @@ namespace Win.Sfs.SettleAccount.Reports
/// 价格
/// </summary>
[Display(Name = "价格")]
[ExporterHeader(DisplayName = "价格", IsIgnore = true)]
public decimal? Price { get; set; }
/// <summary>
/// 是否有价格
/// </summary>
[Display(Name = "是否有价格")]
[ValueMapping("是", true)]
[ValueMapping("否", false)]
public bool IsHavePrice => Price != null && Price != 0M;
}
}

19
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/SaSeEdiCompareDetailReport.cs

@ -40,11 +40,6 @@ namespace Win.Sfs.SettleAccount.Reports
};
}
}
[Display(Name = "价格信息")]
[ExporterHeader(DisplayName = "价格信息", IsIgnore = true)]
[ValueMapping("有价格信息", true)]
[ValueMapping("无价格信息", false)]
public bool IsHavePrice => FixPrice != null && FixPrice != 0;
/// <summary>
/// 交货单号
/// </summary>
@ -156,12 +151,6 @@ namespace Win.Sfs.SettleAccount.Reports
[ValueMapping("否", false)]
public bool MateType => SaSeQty == 0 && SaEdiQty == 0 && SeEdiQty == 0;
/// <summary>
/// 定价
/// </summary>
[Display(Name = "定价")]
[ExporterHeader(DisplayName = "定价", IsIgnore = true)]
public decimal? FixPrice { get; set; }
/// <summary>
/// ERP销售库位
/// </summary>
[Display(Name = "ERP销售库位")]
@ -189,6 +178,14 @@ namespace Win.Sfs.SettleAccount.Reports
/// 价格
/// </summary>
[Display(Name = "价格")]
[ExporterHeader(DisplayName = "价格", IsIgnore = true)]
public decimal? Price { get; set; }
/// <summary>
/// 是否有价格
/// </summary>
[Display(Name = "是否有价格")]
[ValueMapping("是", true)]
[ValueMapping("否", false)]
public bool IsHavePrice => Price != null && Price != 0M;
}
}

Loading…
Cancel
Save