From 2b418eb9dbb8af69bd14c78f9b06eb7ac290cf23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=B9=E6=B5=B7?= Date: Thu, 11 Sep 2025 10:09:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E4=BA=A4=E7=B0=BF=E8=AE=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=E4=BB=B7=E6=A0=BC=EF=BC=8C=E8=81=94=E5=8A=A8?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=E4=BA=A4=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpWeb/Views/SwapTrade2/SwapflowList.cshtml | 2 +- YLErpWeb/wwwroot/Scripts/app/swaptrade/SwapflowList.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/YLErpWeb/Views/SwapTrade2/SwapflowList.cshtml b/YLErpWeb/Views/SwapTrade2/SwapflowList.cshtml index 5961c843..a8f37f02 100644 --- a/YLErpWeb/Views/SwapTrade2/SwapflowList.cshtml +++ b/YLErpWeb/Views/SwapTrade2/SwapflowList.cshtml @@ -243,7 +243,7 @@
- +
@*
diff --git a/YLErpWeb/wwwroot/Scripts/app/swaptrade/SwapflowList.js b/YLErpWeb/wwwroot/Scripts/app/swaptrade/SwapflowList.js index 3d51053f..cc16488f 100644 --- a/YLErpWeb/wwwroot/Scripts/app/swaptrade/SwapflowList.js +++ b/YLErpWeb/wwwroot/Scripts/app/swaptrade/SwapflowList.js @@ -1155,6 +1155,10 @@ var vue = new Vue({ this.swapflow.ClientId = client.id; this.swapflow.ClientName = client.Name; }, + //变更标的单价 + changeSpotPrice() { + this.swapflow.TradingAmount = main.toNumber(this.swapflow.TradingAmountAvg * this.swapflow.TradingQty * this.swapflow.ContractSize*100, 2); + }, deleteSwapflow(id, st) { main.confirm("确定要删除吗?", function () { main.post("/swaptrade2/DeleteSwapflow?enid=" + id + "&step=" + st).done(function (resp) {