fix(document): 修正票面利率计算显示

- 修复票面利率显示错误问题,将数值乘以100转换为百分比格式
- 确保票面利率正确显示为百分比数值而非小数形式
This commit is contained in:
张名锐
2026-07-10 12:32:29 +08:00
parent 0bef986e10
commit 6679abbc19
@@ -222,7 +222,7 @@ namespace YLErp.Plugins.GuoLian.DocumentGenerator
var bond = JsonHelper.Deserialize<UnderlyingBond>(underlying.ExJson) ?? new UnderlyingBond();
dic["参考标的发行人"] = bond.UnderlyingIssuer ?? "";
dic["参考标的担保人"] = "";
dic["票面利率"] = ((double)(bond.CouponRate ?? 0)).ToString("0.00");
dic["票面利率"] = ((double)(bond.CouponRate ?? 0) * 100).ToString("0.00");
dic["参考标的到期日"] = underlying.MaturityDate?.ToString("【yyyy】年【M】月【d】日") ?? "";
}