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