|
@@ -181,7 +181,7 @@ namespace OASystem.API.Controllers
|
|
|
List<Gsd_ForeignReceivablesView> _frViews = await _sqlSugar.SqlQueryable<Gsd_ForeignReceivablesView>(_frSql).ToListAsync();
|
|
|
frTotalAmount = _frViews.Sum(it => it.ItemSumPrice);
|
|
|
_giView.Receivables = _frViews;
|
|
|
- _giView.ReceivableStr = string.Format(@"应收款合计:{0} CNY(人名币)", frTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
+ _giView.ReceivableStr = string.Format(@"应收款合计:{0} CNY(人民币)", frTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
|
|
|
/*
|
|
|
* 已收报表
|
|
@@ -197,7 +197,7 @@ namespace OASystem.API.Controllers
|
|
|
List<Gsd_ProceedsReceivedView> _prViews = await _sqlSugar.SqlQueryable<Gsd_ProceedsReceivedView>(_prSql).ToListAsync();
|
|
|
prTotalAmount = _prViews.Sum(it => it.Price);
|
|
|
_giView.ProceedsReceivedViews = _prViews;
|
|
|
- _giView.ProceedsReceivedStr = string.Format(@"已收款合计:{0} CNY(人名币)", prTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
+ _giView.ProceedsReceivedStr = string.Format(@"已收款合计:{0} CNY(人民币)", prTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
|
|
|
|
|
|
/*
|
|
@@ -260,7 +260,7 @@ namespace OASystem.API.Controllers
|
|
|
exTotalAmount = _ExtraCostsViews.Sum(it => it.CNYPrice);
|
|
|
|
|
|
_giView.ExtraCostsViews = _ExtraCostsViews;
|
|
|
- _giView.ExtraCostsStr = string.Format(@"人名币总费用:{0} CNY", exTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
+ _giView.ExtraCostsStr = string.Format(@"人民币总费用:{0} CNY", exTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
|
|
|
/*
|
|
|
* 收款退还
|
|
@@ -336,7 +336,7 @@ namespace OASystem.API.Controllers
|
|
|
// DiId = 2334,
|
|
|
// PriceName = "模拟数据-费用名称",
|
|
|
// PayCurrencyCode = "CNY",
|
|
|
- // PayCurrencyName = "人名币",
|
|
|
+ // PayCurrencyName = "人民币",
|
|
|
// Price = 1000.00M,
|
|
|
// CNYPrice = 1000.00M,
|
|
|
// ThisRate = 1.00M,
|
|
@@ -353,7 +353,7 @@ namespace OASystem.API.Controllers
|
|
|
// DiId = 2334,
|
|
|
// PriceName = "模拟数据-费用名称",
|
|
|
// PayCurrencyCode = "CNY",
|
|
|
- // PayCurrencyName = "人名币",
|
|
|
+ // PayCurrencyName = "人民币",
|
|
|
// Price = 1000.00M,
|
|
|
// CNYPrice = 1000.00M,
|
|
|
// ThisRate = 1.00M,
|
|
@@ -369,7 +369,7 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
promTotalAmount = _promView.Sum(it => it.CNYPrice);
|
|
|
_giView.PaymentRefundAndOtherMoneyViews = _promView;
|
|
|
- _giView.PaymentRefundAndOtherMoneyStr = string.Format(@"人名币总费用:{0} CNY", promTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
+ _giView.PaymentRefundAndOtherMoneyStr = string.Format(@"人民币总费用:{0} CNY", promTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
|
|
|
decimal BalancePayment = frTotalAmount - prTotalAmount + promTotalAmount;
|
|
|
_view.GroupIncome = _giView;
|
|
@@ -426,7 +426,7 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
|
|
|
_geView.GroupHotelFeeViews = groupHotelFeeViews;
|
|
|
- _geView.GroupHotelFeeStr = string.Format(@"人名币总费用:{0} CNY", HotelCNYTotalPrice.ToString("#0.00"));
|
|
|
+ _geView.GroupHotelFeeStr = string.Format(@"人民币总费用:{0} CNY", HotelCNYTotalPrice.ToString("#0.00"));
|
|
|
|
|
|
#endregion
|
|
|
|
|
@@ -464,13 +464,13 @@ namespace OASystem.API.Controllers
|
|
|
item.AuditGMDate = Convert.ToDateTime(item.AuditGMDate).ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
}
|
|
|
|
|
|
- CTGGRFeeStr += string.Format(@"{0} 总费用:{1} {2}(人名币:{3} CNY 当时支付汇率:{4})\r\n",
|
|
|
+ CTGGRFeeStr += string.Format(@"{0} 总费用:{1} {2}(人民币:{3} CNY 当时支付汇率:{4})\r\n",
|
|
|
item.Area, item.AmountPaid.ConvertToDecimal1().ToString("#0.00"), item.PaymentCurrency, item.CNYPrice.ToString("#0.0000"), item.DayRate.ToString("#0.0000"));
|
|
|
CTGGRCNYTotalPrice += item.CNYPrice;
|
|
|
}
|
|
|
_geView.GroupCTGGRFeeViews = groupCTGGRFeeViews;
|
|
|
|
|
|
- _geView.GroupCTGGRFeeStr = string.Format(@"{0}人名币总费用:{1} CNY", CTGGRFeeStr,CTGGRCNYTotalPrice.ToString("#0.00"));
|
|
|
+ _geView.GroupCTGGRFeeStr = string.Format(@"{0}人民币总费用:{1} CNY", CTGGRFeeStr,CTGGRCNYTotalPrice.ToString("#0.00"));
|
|
|
#endregion
|
|
|
|
|
|
#region 机票预订费用
|
|
@@ -644,7 +644,7 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- _geView.GroupAirFeeStr = $@"人名币总费用:{AirCNYTotalPrice.ToString("#0.00")} CNY\r\n{str}\r\n经济舱均价为:{JJCAveragePrice.ToString("#0.00")}CNY/人;公务舱均价为:{GWCAveragePrice.ToString("#0.00")}CNY/人;";
|
|
|
+ _geView.GroupAirFeeStr = $@"人民币总费用:{AirCNYTotalPrice.ToString("#0.00")} CNY\r\n{str}\r\n经济舱均价为:{JJCAveragePrice.ToString("#0.00")}CNY/人;公务舱均价为:{GWCAveragePrice.ToString("#0.00")}CNY/人;";
|
|
|
#endregion
|
|
|
|
|
|
#region 签证费用
|
|
@@ -717,7 +717,7 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
|
|
|
_geView.GroupVisaFeeViews = groupVisaFeeViews;
|
|
|
- _geView.GroupVisaFeeStr = string.Format(@"人名币总费用:{0} CNY", VisaCNYTotalPirce.ConvertToDecimal1());
|
|
|
+ _geView.GroupVisaFeeStr = string.Format(@"人民币总费用:{0} CNY", VisaCNYTotalPirce.ConvertToDecimal1());
|
|
|
#endregion
|
|
|
|
|
|
#region 邀请/公务活动费用 CTable = 81
|
|
@@ -898,7 +898,7 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
}
|
|
|
_geView.GroupInsuranceFeeViews = groupInsuranceFeeViews;
|
|
|
- _geView.GroupInsuranceFeeStr = string.Format(@"人名币总费用:{0} CNY", InsuranceCNYTotalPrice.ToString("#0.00"));
|
|
|
+ _geView.GroupInsuranceFeeStr = string.Format(@"人民币总费用:{0} CNY", InsuranceCNYTotalPrice.ToString("#0.00"));
|
|
|
#endregion
|
|
|
|
|
|
#region 其他款项费用
|
|
@@ -966,7 +966,7 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
|
|
|
_geView.GroupDecreaseFeeViews = groupDecreaseFeeViews;
|
|
|
- _geView.GroupDecreaseFeeStr = string.Format(@"人名币总费用:{0} CNY", DecreaseCNYTotalPrice.ToString("#0.00"));
|
|
|
+ _geView.GroupDecreaseFeeStr = string.Format(@"人民币总费用:{0} CNY", DecreaseCNYTotalPrice.ToString("#0.00"));
|
|
|
#endregion
|
|
|
|
|
|
_view.GroupExpenditure = _geView;
|