|
@@ -42,23 +42,26 @@
|
|
|
<a>{{ record.contracttype === 1 ? record.sellusername : record.buyusername }}</a>
|
|
<a>{{ record.contracttype === 1 ? record.sellusername : record.buyusername }}</a>
|
|
|
</template>
|
|
</template>
|
|
|
<template #startdate="{ record }">
|
|
<template #startdate="{ record }">
|
|
|
- <a>{{ formatValue(formatTime(record.startdate, "d") + '--' + formatTime(record.enddate, "d")) }}</a>
|
|
|
|
|
|
|
+ <span>{{ formatValue(formatTime(record.startdate, "d") + '--' + formatTime(record.enddate, "d")) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 交收期 -->
|
|
<!-- 交收期 -->
|
|
|
<template #deliverystartdate="{ record }">
|
|
<template #deliverystartdate="{ record }">
|
|
|
- <a>{{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
|
|
|
|
|
- formatTime(record.deliveryenddate, "d")) }}</a>
|
|
|
|
|
|
|
+ <span>{{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
|
|
|
|
|
+ formatTime(record.deliveryenddate, "d")) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 业务员 -->
|
|
<!-- 业务员 -->
|
|
|
<template #saleuserid="{ record }">
|
|
<template #saleuserid="{ record }">
|
|
|
- <a>{{ findManagerName(record.saleuserid) }}</a>
|
|
|
|
|
|
|
+ <span>{{ findManagerName(record.saleuserid) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 跟单员 -->
|
|
<!-- 跟单员 -->
|
|
|
<template #meruserid="{ record }">
|
|
<template #meruserid="{ record }">
|
|
|
- <a>{{ findManagerName(record.meruserid) }}</a>
|
|
|
|
|
|
|
+ <span>{{ findManagerName(record.meruserid) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <!-- 合同量 -->
|
|
|
|
|
+ <template #qty="{ text, record }">
|
|
|
|
|
+ <span>{{ handleEnumdic(text, record) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
-
|
|
|
|
|
</a-table>
|
|
</a-table>
|
|
|
<!-- 右键 -->
|
|
<!-- 右键 -->
|
|
|
<contextMenu :contextMenu="contextMenu"
|
|
<contextMenu :contextMenu="contextMenu"
|
|
@@ -77,7 +80,7 @@ import { queryTableList, BtnList, contextMenu, defineAsyncComponent, defineCompo
|
|
|
import { filterCustomTable } from '../../components';
|
|
import { filterCustomTable } from '../../components';
|
|
|
import { getBizTypeName, getContractStatusName, getContractTypeName, getPriceTypeName } from '@/common/constants/enumsName';
|
|
import { getBizTypeName, getContractStatusName, getContractTypeName, getPriceTypeName } from '@/common/constants/enumsName';
|
|
|
import { formatTime, formatValue } from '@/common/methods';
|
|
import { formatTime, formatValue } from '@/common/methods';
|
|
|
-import { queryBusinessManager, findManagerName, tableFilterCB } from '../setup';
|
|
|
|
|
|
|
+import { queryBusinessManager, findManagerName, tableFilterCB, handleEnumdic } from '../setup';
|
|
|
import { Ermcp3ContractRsp } from '@/services/go/ermcp/spot-contract/interface';
|
|
import { Ermcp3ContractRsp } from '@/services/go/ermcp/spot-contract/interface';
|
|
|
import { QuerySpotContract } from '@/services/go/ermcp/spot-contract';
|
|
import { QuerySpotContract } from '@/services/go/ermcp/spot-contract';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
@@ -127,6 +130,7 @@ export default defineComponent({
|
|
|
formatTime,
|
|
formatTime,
|
|
|
formatValue,
|
|
formatValue,
|
|
|
findManagerName,
|
|
findManagerName,
|
|
|
|
|
+ handleEnumdic,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|