|
@@ -516,7 +516,13 @@ namespace OASystem.Domain.ViewModels.Financial
|
|
|
[SqlSugar.SugarTable("Fin_DailyFeePayment")]
|
|
|
public class DailyFeePaymentRangeView
|
|
|
{
|
|
|
- public string ViewStr { get; set; }
|
|
|
+ public string ViewStr
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ return $"{RowIndex}、【{CompanyName}】【{TransferType}】【{FeeType}】【{Instructions}】【{SumPrice.ToString("#0.00")}】【申请人:{Applicant} 申请时间:{ApplicantDt.ToString("yyyy-MM-dd HH:mm:ss")}】";
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
[SugarColumn(IsIgnore = true)]//需要加上
|
|
|
public int RowIndex { get; set; } //行号 序号
|
|
@@ -538,19 +544,16 @@ namespace OASystem.Domain.ViewModels.Financial
|
|
|
|
|
|
[Navigate(NavigateType.OneToMany, nameof(DailyFeePaymentContentView.DFPId))]//BookA表中的studenId
|
|
|
public List<DailyFeePaymentContentView> Contents { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ //public string ContentStr { get; set; }
|
|
|
}
|
|
|
|
|
|
|
|
|
[SqlSugar.SugarTable("Fin_DailyFeePaymentContent")]
|
|
|
public class DailyFeePaymentContentView
|
|
|
{
|
|
|
- /// <summary>
|
|
|
- /// 示例:费用名称:[2024.07.11招商信用卡还款] 单价:[20000.00] 数量:[1.00] 小计:[20000.00] 备注:[]
|
|
|
- /// </summary>
|
|
|
- public string ViewStr { get {
|
|
|
-
|
|
|
- return $"费用名称:[{PriceName}] 单价:[{Price.ToString("#0.00")}] 数量:[{Quantity.ToString("#0.00")}] 小计:[{ItemTotal.ToString("#0.00")}] 备注:[{Remark}]";
|
|
|
- } }
|
|
|
+
|
|
|
//[SugarColumn(IsIgnore = true)]//需要加上
|
|
|
//public int RowIndex { get; set; } //行号 序号
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
@@ -569,6 +572,19 @@ namespace OASystem.Domain.ViewModels.Financial
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
//public int IsDel { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 示例:费用名称:[2024.07.11招商信用卡还款] 单价:[20000.00] 数量:[1.00] 小计:[20000.00] 备注:[]
|
|
|
+ /// </summary>
|
|
|
+ //public string ViewStr
|
|
|
+ //{
|
|
|
+ // get
|
|
|
+ // {
|
|
|
+ // return $"费用名称:[{PriceName}] 单价:[{Price.ToString("#0.00")}] 数量:[{Quantity.ToString("#0.00")}] 小计:[{ItemTotal.ToString("#0.00")}] 备注:[{Remark}]";
|
|
|
+ // }
|
|
|
+ //}
|
|
|
+
|
|
|
+ //public string ViewSubStr { get; set; }
|
|
|
}
|
|
|
|
|
|
|