|
@@ -12,9 +12,18 @@
|
|
|
rowKey="key"
|
|
rowKey="key"
|
|
|
:data-source="tableList"
|
|
:data-source="tableList"
|
|
|
:scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
|
|
:scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
|
|
|
- <template #DiffSpotQty="{ record }">
|
|
|
|
|
- <a>{{ record.DiffSpotQty.toFixed(2) + " " + record.ENUMDICNAME }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <template #DiffSpotQty="{ record }">
|
|
|
|
|
+ <a>{{ record.DiffSpotQty.toFixed(2) + " " + record.ENUMDICNAME }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #TotalNeedHedgeQty="{ record }">
|
|
|
|
|
+ <a>{{ record.TotalNeedHedgeQty.toFixed(2) + " " + record.ENUMDICNAME }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #DiffSpotHedgeQty="{ record }">
|
|
|
|
|
+ <a>{{ record.DiffSpotHedgeQty.toFixed(2) + " " + record.ENUMDICNAME }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #OriTotalSpotQty="{ record }">
|
|
|
|
|
+ <a>{{ record.OriTotalSpotQty.toFixed(2) + " " + record.ENUMDICNAME }}</a>
|
|
|
|
|
+ </template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
<!-- 明细 -->
|
|
<!-- 明细 -->
|
|
|
<Description v-if="visible"
|
|
<Description v-if="visible"
|
|
@@ -38,8 +47,8 @@ import { TabList } from '@/common/components/description/interface';
|
|
|
import { handleComposeTable_detail } from '@/common/setup/table/compose';
|
|
import { handleComposeTable_detail } from '@/common/setup/table/compose';
|
|
|
import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
-import {formatValue} from "@/common/methods";
|
|
|
|
|
-import {formatNumber} from "@/common/methods/format";
|
|
|
|
|
|
|
+import { formatValue } from '@/common/methods';
|
|
|
|
|
+import { formatNumber } from '@/common/methods/format';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: EnumRouterName.exposure_realtime,
|
|
name: EnumRouterName.exposure_realtime,
|
|
@@ -105,9 +114,7 @@ export default defineComponent({
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, changeTab,
|
|
|
|
|
- formatNumber
|
|
|
|
|
- };
|
|
|
|
|
|
|
+ return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, changeTab, formatNumber };
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|