|
|
@@ -19,10 +19,10 @@
|
|
|
<span>{{ record.TotalNeedHedgeQty.toFixed(2) + " " + record.ENUMDICNAME }}</span>
|
|
|
</template>
|
|
|
<template #DiffSpotHedgeQty="{ record }">
|
|
|
- <span>{{ record.DiffSpotHedgeQty.toFixed(2) + " " + record.ENUMDICNAME }}</span>
|
|
|
+ <span>{{ record.diffSpotHedgeQty.toFixed(2) + " " + record.ENUMDICNAME }}</span>
|
|
|
</template>
|
|
|
<template #OriTotalSpotQty="{ record }">
|
|
|
- <span>{{ record.OriTotalSpotQty.toFixed(2) + " " + record.ENUMDICNAME }}</span>
|
|
|
+ <span>{{ record.oriTotalSpotQty.toFixed(2) + " " + record.ENUMDICNAME }}</span>
|
|
|
</template>
|
|
|
</a-table>
|
|
|
<!-- 明细 -->
|
|
|
@@ -36,9 +36,14 @@
|
|
|
rowKey="key"
|
|
|
:data-source="detailTableList"
|
|
|
:scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
|
|
|
+ <!-- 套保品种/代码 -->
|
|
|
+ <template #middlegoodsname="{ record }">
|
|
|
+ <span>{{ record.middlegoodsname + "/" + record.middlegoodscode}}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 类型 -->
|
|
|
- <template #logtype="{ record }">
|
|
|
- <span>{{ getLogType(record.logtype) }}</span>
|
|
|
+ <template #contracttype="{ record }">
|
|
|
+ <span>{{ getPlanContractType(record.contracttype) }}</span>
|
|
|
</template>
|
|
|
</a-table>
|
|
|
</Description>
|
|
|
@@ -60,6 +65,7 @@ import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
import { formatValue } from '@/common/methods';
|
|
|
import { formatNumber } from '@/common/methods/format';
|
|
|
import {getBizTypeName, getContractTypeName, getLogType} from "@/common/constants/enumsName";
|
|
|
+import {getPlanContractType} from "@/views/business/plan/setup";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: EnumRouterName.exposure_realtime,
|
|
|
@@ -126,7 +132,7 @@ export default defineComponent({
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, changeTab, formatNumber, getBizTypeName
|
|
|
+ return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, changeTab, formatNumber, getBizTypeName, getPlanContractType
|
|
|
,getLogType };
|
|
|
},
|
|
|
});
|