diff --git a/YLErpWeb/Program.cs b/YLErpWeb/Program.cs index 1122b402..5cc71026 100644 --- a/YLErpWeb/Program.cs +++ b/YLErpWeb/Program.cs @@ -51,7 +51,7 @@ try options.ValueLengthLimit = 1024 * 1024 * 100; // 100MB max len form data options.MultipartBodyLengthLimit = int.MaxValue; //不限制文件上传大小 }); - builder.Services.AddMvcOptions(options => options.MaxModelBindingCollectionSize = 1000000); + builder.Services.Configure(options => options.MaxModelBindingCollectionSize = 1000000); builder.Services.Configure(builder.Configuration.GetSection("KafkaConfig")); builder.Services.Configure(builder.Configuration.GetSection("ExternalCashFlow")); builder.Services.AddScoped(); diff --git a/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml b/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml index eae9270a..ea00430b 100644 --- a/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml +++ b/YLErpWeb/Views/SwapTrade2/SwapIncome.cshtml @@ -179,7 +179,7 @@ {{floatPosition.Quantity}} - +
我方{{floatPosition.PayDirection==1?"支付":"收取"}}交易费用
diff --git a/YLErpWeb/Views/SwapTrade2/TradeEdit.cshtml b/YLErpWeb/Views/SwapTrade2/TradeEdit.cshtml index 211e8a35..7c5e083b 100644 --- a/YLErpWeb/Views/SwapTrade2/TradeEdit.cshtml +++ b/YLErpWeb/Views/SwapTrade2/TradeEdit.cshtml @@ -492,7 +492,7 @@ - {{item.underlying!=null?item.underlying.QuoteUnitString:''}} + {{item.underlying!=null?item.underlying.QuoteUnitString:''}}