diff --git a/YLErpWeb/Views/Home/Index.cshtml b/YLErpWeb/Views/Home/Index.cshtml
index a93dc20b..35b26d2a 100644
--- a/YLErpWeb/Views/Home/Index.cshtml
+++ b/YLErpWeb/Views/Home/Index.cshtml
@@ -1,4 +1,4 @@
-@{
+@{
ViewBag.Title = @GlobalConfig.ProjectTitle;
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
@@ -11,15 +11,8 @@
-
-

-
-
-
-
-
-
-
欢迎使用
+
+
欢迎使用 OneDeriv
@GlobalConfig.ProjectTitle
diff --git a/YLErpWeb/Views/Pricing/_PricingItemTpl.cshtml b/YLErpWeb/Views/Pricing/_PricingItemTpl.cshtml
index 6d565236..b9308c4c 100644
--- a/YLErpWeb/Views/Pricing/_PricingItemTpl.cshtml
+++ b/YLErpWeb/Views/Pricing/_PricingItemTpl.cshtml
@@ -1195,59 +1195,66 @@
else if("Gamma*".Equals( quta.Name))
{
- | Gamma* |
+ Gamma* |
{{calcResult.GammaContainsKnockOut}} |
}
else if ("Delta_r".Equals(quta.Name))
{
- | Delta_r |
+ Delta_r |
{{calcResult.Delta_r}} |
}
else if ("Delta_r(1bp)".Equals(quta.Name))
{
- | Delta_r(1bp) |
+ Delta_r(1bp) |
{{calcResult.Delta_r_1bp}} |
}
else if ("Dv01".Equals(quta.Name))
{
- | Dv01 |
+ Dv01 |
{{calcResult.Dv01}} |
}
else if ("Gamma_r".Equals(quta.Name))
{
- | Gamma_r |
+ Gamma_r |
{{calcResult.Gamma_r}} |
}
else if ("Gamma_r(1bp)".Equals(quta.Name))
{
- | Gamma_r(1bp) |
+ Gamma_r(1bp) |
{{calcResult.Gamma_r_1bp}} |
}
else if ("Vega_r".Equals(quta.Name))
{
- | Vega_r |
+ Vega_r |
{{calcResult.Vega_r}} |
}
else if ("Vega_r(1bp)".Equals(quta.Name))
{
- | Vega_r(1bp) |
+ Vega_r(1bp) |
{{calcResult.Vega_r_1bp}} |
}
+ else if ("Vega(1bp)".Equals(quta.Name))
+ {
+
+ | Vega(1bp) |
+ {{calcResult.Vega_1bp}} |
+
+ }
}
}
diff --git a/YLErpWeb/Views/Shared/_MainLayout.cshtml b/YLErpWeb/Views/Shared/_MainLayout.cshtml
index 59716859..c7a26e5c 100644
--- a/YLErpWeb/Views/Shared/_MainLayout.cshtml
+++ b/YLErpWeb/Views/Shared/_MainLayout.cshtml
@@ -1,4 +1,4 @@
-@inject Microsoft.Extensions.Configuration.IConfiguration Configuration
+@inject Microsoft.Extensions.Configuration.IConfiguration Configuration
@{
Layout = null;
}
@@ -233,8 +233,6 @@

break;
default:
-
-

break;
}
@@ -304,9 +302,6 @@
@RenderBody()
-
diff --git a/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml b/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml
index 2eedf7ce..1ed57f2f 100644
--- a/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml
+++ b/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml
@@ -187,7 +187,8 @@
{{formatQuantity(floatPosition.Quantity)}} |
- 我方{{floatPosition.PayDirection==1?"支付":"收取"}}交易费用
+ @* 我方{{floatPosition.PayDirection==1?"支付":"收取"}}交易费用 *@
+ 我方收取交易费用
|
|
{{formatAmount(floatPosition.FloatPnlSum)}} |
diff --git a/YLErpWeb/Views/SwapTrade2/SwapUnwind.cshtml b/YLErpWeb/Views/SwapTrade2/SwapUnwind.cshtml
index 353c255e..f14749ab 100644
--- a/YLErpWeb/Views/SwapTrade2/SwapUnwind.cshtml
+++ b/YLErpWeb/Views/SwapTrade2/SwapUnwind.cshtml
@@ -6,11 +6,11 @@
bool isShowReCheckClose = ViewBag.IsShowReCheckClose;
bool hideFloatingIncomeDirection = PS.Config.ErpElement.SwapFloatingIncomeReceiveOnlyMode;
}
-@section CSS{
+@section CSS {
}
@section JS
- {
+{
+
}
diff --git a/YLErpWeb/Views/underlying_manager/underlying_managerEdit.cshtml b/YLErpWeb/Views/underlying_manager/underlying_managerEdit.cshtml
index 6ea28715..67e3501d 100644
--- a/YLErpWeb/Views/underlying_manager/underlying_managerEdit.cshtml
+++ b/YLErpWeb/Views/underlying_manager/underlying_managerEdit.cshtml
@@ -8,6 +8,8 @@
showDeltaS_S = PS.Config.Is长江
};
var bond = Model.Bond ?? new UnderlyingBond();
+ // ETF 子类下拉直接读取前端可维护字典;空选项用于新增页面的必填提示。
+ var etfSubtypeItems = YLErp.BLL.DictionaryBLL.GetList("ETF 子类", true, underlying.EtfSubType);
var blocks = new[] { underlying.Block1, underlying.Block2, underlying.Block3, underlying.Block4, underlying.Block5 };
for (var i = 1; i <= 5; i++)
{
@@ -28,13 +30,14 @@
}
}
- .None, .Stock, .CommodityFutures, .Bonds {
+ .None, .Stock, .CommodityFutures, .Bonds, .Fund {
display: none;
}
.form-Stock .Stock,
.form-CommodityFutures .CommodityFutures,
- .form-Bonds .Bonds {
+ .form-Bonds .Bonds,
+ .form-Fund .Fund {
display: block;
}
@@ -323,6 +326,31 @@
+
+ @* 仅基金及基金专户维护基金管理人 *@
+
+
+
+
+
+ @* 重点功能:ETF 子类由系统字典维护,使用 Fund 类控制显隐,并固定放在表单最后 *@
+
+
+ *
+
-
\ No newline at end of file
+
diff --git a/YLErpWeb/Views/underlying_manager/underlying_managerView.cshtml b/YLErpWeb/Views/underlying_manager/underlying_managerView.cshtml
index 731c26d4..2b17d61a 100644
--- a/YLErpWeb/Views/underlying_manager/underlying_managerView.cshtml
+++ b/YLErpWeb/Views/underlying_manager/underlying_managerView.cshtml
@@ -49,6 +49,14 @@
@Html.MyDisplayFor(m => m.UnderlyingEnName)
@Html.MyDisplayFor(m => m.BBGTicker)
+
+ @if (Model.UnderlyingInstrumentType == ConsGlobal.InstrumentType.Fund)
+ {
+