|
|
@ -22,10 +22,33 @@ namespace BO.BO |
|
|
|
|
|
|
|
|
public string HogGrade_Name { get; set; } |
|
|
public string HogGrade_Name { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public string PurchaseType_Name { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public string Car_Name { get; set; } |
|
|
|
|
|
|
|
|
public decimal? Weight { get; set; } |
|
|
public decimal? Weight { get; set; } |
|
|
|
|
|
|
|
|
public int? Number { get; set; } |
|
|
public int? Number { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public decimal? ShackWeight { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public decimal? ShackMoney { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public decimal? JingJianFee { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public decimal? DiscontMoney { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public decimal? PayMoney |
|
|
|
|
|
{ |
|
|
|
|
|
get |
|
|
|
|
|
{ |
|
|
|
|
|
var m = (ShackMoney ?? 0) + (JingJianFee ?? 0) - (DiscontMoney ?? 0); |
|
|
|
|
|
if (m == 0) |
|
|
|
|
|
return null; |
|
|
|
|
|
return m; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public string TotalDiscont { get { return string.Format("{0:#0.######}", Details.Sum(x => x.Money ?? 0)); } } |
|
|
public string TotalDiscont { get { return string.Format("{0:#0.######}", Details.Sum(x => x.Money ?? 0)); } } |
|
|
|
|
|
|
|
|
private List<PWeightBill_SanctionDetail> _details = new List<PWeightBill_SanctionDetail>(); |
|
|
private List<PWeightBill_SanctionDetail> _details = new List<PWeightBill_SanctionDetail>(); |
|
|
|