{{ - moment(item.row.item.PurchaseKLineId * 1000).format("YYYY-MM-DD HH:mm:ss") + moment(item.row.item.PurchaseKLineId * 1000).format( + "YYYY-MM-DD HH:mm:ss" + ) }}
{{ item.row.item.SaleKLineId - ? moment(item.row.item.SaleKLineId * 1000).format("YYYY-MM-DD HH:mm:ss") + ? moment(item.row.item.SaleKLineId * 1000).format( + "YYYY-MM-DD HH:mm:ss" + ) : "-" }}
@@ -43,7 +47,12 @@{{ item.row.item.Profit }}
- {{ ((item.row.item.Profit / item.row.item.TotalPurchasePrice) * 100).toFixed(2) }}% + {{ + ( + (item.row.item.Profit / item.row.item.TotalPurchasePrice) * + 100 + ).toFixed(2) + }}%
-
@@ -52,7 +61,10 @@{{ item.row.item.TotalProfit }}
{{ - ((item.row.item.TotalProfit / policyFormData.PositionFund) * 100).toFixed(2) + ( + (item.row.item.TotalProfit / policyFormData.PositionFund) * + 100 + ).toFixed(2) }}%
-
@@ -67,7 +79,7 @@ import moment from "moment"; export default { model: { prop: "data", event: "tableDataChange" }, props: { data: { type: Array, default: () => [] } }, - components: CustomBaseTable, + components: { CustomBaseTable }, data() { return { moment, columns: tradeColumns }; } diff --git a/src/pages/ReCheck/index.vue b/src/pages/ReCheck/index.vue index c1eda3e..b2b5f05 100644 --- a/src/pages/ReCheck/index.vue +++ b/src/pages/ReCheck/index.vue @@ -1,5 +1,55 @@