yibo 8 years ago
parent
commit
51b32a4772
2 changed files with 23 additions and 0 deletions
  1. +23
    -0
      BO/BO/Bill/WeightBill/PrintWeightBill.cs
  2. BIN
      Setup/Release/Setup.msi

+ 23
- 0
BO/BO/Bill/WeightBill/PrintWeightBill.cs View File

@ -22,10 +22,33 @@ namespace BO.BO
public string HogGrade_Name { get; set; }
public string PurchaseType_Name { get; set; }
public string Car_Name { get; set; }
public decimal? Weight { 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)); } }
private List<PWeightBill_SanctionDetail> _details = new List<PWeightBill_SanctionDetail>();


BIN
Setup/Release/Setup.msi View File


Loading…
Cancel
Save