成交簿记修改 价格,联动修改成交金额

This commit is contained in:
吴方海
2025-09-11 10:09:12 +08:00
parent e27f1e3a74
commit 2b418eb9db
2 changed files with 5 additions and 1 deletions
@@ -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) {