BugFix 添加信用债的计算

This commit is contained in:
锦麟 王
2026-03-11 15:04:10 +08:00
parent 8c08bf5df1
commit 3ce2dfe4c7
15 changed files with 17 additions and 8 deletions
@@ -692,7 +692,7 @@ namespace YLErp.Modules.ScenarioModule
//获取计算结果
private TradeValueResult GetCallResult(trade td, CalcData calcData)
{
if (td.TradeType == "商品期货" || td.TradeType == "股票" || td.TradeType == "商品现货")
if (td.TradeType == "商品期货" || td.TradeType == "股票" || td.TradeType == "商品现货" || td.TradeType == "信用债")
{
var pv = td.Notional * calcData.SpotPrice;