|
@@ -27,12 +27,12 @@
|
|
|
<template #contracttype="{ text }">
|
|
<template #contracttype="{ text }">
|
|
|
<a>{{ getContractTypeName(text) }}</a>
|
|
<a>{{ getContractTypeName(text) }}</a>
|
|
|
</template>
|
|
</template>
|
|
|
- <template #biztype="{ text }">
|
|
|
|
|
- <a>{{ getBizTypeName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #buyorsell="{ text }">
|
|
|
|
|
- <a>{{ getBuyOrSellName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <template #biztype="{ text }">
|
|
|
|
|
+ <a>{{ getBizTypeName(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #buyorsell="{ text }">
|
|
|
|
|
+ <a>{{ getBuyOrSellName(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
</a-table>
|
|
</a-table>
|
|
|
|
|
|
|
@@ -49,10 +49,10 @@ import { AreaExpourseReportReq, Ermcp3ExpourseReport, QryAreaExpourseHedgeplanDe
|
|
|
import { qryAreaExpourseContractDetail, qryAreaExpourseFutuDetail, qryAreaExpourseHedgeplanDetail, qryAreaExpourseParamChLogDetail, qryAreaExpourseReport } from '@/services/go/ermcp/report';
|
|
import { qryAreaExpourseContractDetail, qryAreaExpourseFutuDetail, qryAreaExpourseHedgeplanDetail, qryAreaExpourseParamChLogDetail, qryAreaExpourseReport } from '@/services/go/ermcp/report';
|
|
|
import { ComposeTableDetailParam, handleComposeTable_detail } from '@/common/setup/table/compose';
|
|
import { ComposeTableDetailParam, handleComposeTable_detail } from '@/common/setup/table/compose';
|
|
|
import Description from '@/common/components/description/index.vue';
|
|
import Description from '@/common/components/description/index.vue';
|
|
|
-import { watchEffect } from 'vue';
|
|
|
|
|
|
|
+import { ref, watchEffect } from 'vue';
|
|
|
import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
import { TabList } from '@/common/components/description/interface';
|
|
import { TabList } from '@/common/components/description/interface';
|
|
|
-import {getBizTypeName, getBuyOrSellName, getContractTypeName} from '@/common/constants/enumsName';
|
|
|
|
|
|
|
+import { getBizTypeName, getBuyOrSellName, getContractTypeName } from '@/common/constants/enumsName';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
@@ -96,7 +96,7 @@ export default defineComponent({
|
|
|
Rowclick, // 表格事件
|
|
Rowclick, // 表格事件
|
|
|
tabList,
|
|
tabList,
|
|
|
} = handleComposeTable_detail<Ermcp3ExpourseReport>(param);
|
|
} = handleComposeTable_detail<Ermcp3ExpourseReport>(param);
|
|
|
-
|
|
|
|
|
|
|
+ const chaceSearchValue = ref<TypeAndTime>();
|
|
|
// 切换明细
|
|
// 切换明细
|
|
|
function changeTab(index: number, current: TabList) {
|
|
function changeTab(index: number, current: TabList) {
|
|
|
const { code, lable } = current;
|
|
const { code, lable } = current;
|
|
@@ -106,6 +106,7 @@ export default defineComponent({
|
|
|
middlegoodsid,
|
|
middlegoodsid,
|
|
|
cycletype,
|
|
cycletype,
|
|
|
cycletime,
|
|
cycletime,
|
|
|
|
|
+ userid: chaceSearchValue.value?.userid,
|
|
|
};
|
|
};
|
|
|
let fn = null;
|
|
let fn = null;
|
|
|
if (code === 'exposure_report_exposure_contract_changes') {
|
|
if (code === 'exposure_report_exposure_contract_changes') {
|
|
@@ -147,6 +148,7 @@ export default defineComponent({
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
function search(value: TypeAndTime) {
|
|
function search(value: TypeAndTime) {
|
|
|
|
|
+ chaceSearchValue.value = value;
|
|
|
cycletime = value.cycletime;
|
|
cycletime = value.cycletime;
|
|
|
const obj = Object.assign(value, { querytype: 1 });
|
|
const obj = Object.assign(value, { querytype: 1 });
|
|
|
queryTable(qryAreaExpourseReport, obj);
|
|
queryTable(qryAreaExpourseReport, obj);
|