|
|
@@ -27,7 +27,7 @@
|
|
|
</template>
|
|
|
|
|
|
<template #pricetype="{ text }">
|
|
|
- <a>{{ getPriceTypeName(text) }}</a>
|
|
|
+ <span>{{ getPriceTypeName(text) }}</span>
|
|
|
</template>
|
|
|
|
|
|
<template #contracctstatus="{ text }">
|
|
|
@@ -43,21 +43,25 @@
|
|
|
</template>
|
|
|
<!-- 点假期 -->
|
|
|
<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 #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 #saleuserid="{ record }">
|
|
|
- <a>{{ findManagerName(record.saleuserid) }}</a>
|
|
|
+ <span>{{ findManagerName(record.saleuserid) }}</span>
|
|
|
</template>
|
|
|
|
|
|
<!-- 跟单员 -->
|
|
|
<template #meruserid="{ record }">
|
|
|
- <a>{{ findManagerName(record.meruserid) }}</a>
|
|
|
+ <span>{{ findManagerName(record.meruserid) }}</span>
|
|
|
+ </template>
|
|
|
+ <!-- 合同量 -->
|
|
|
+ <template #qty="{ text, record }">
|
|
|
+ <span>{{ handleEnumdic(text, record) }}</span>
|
|
|
</template>
|
|
|
</a-table>
|
|
|
<!-- 右键 -->
|
|
|
@@ -77,7 +81,7 @@ import { queryTableList, BtnList, contextMenu, defineAsyncComponent, defineCompo
|
|
|
import { filterCustomTable } from '../../components';
|
|
|
|
|
|
import { formatTime, formatValue } from '@/common/methods';
|
|
|
-import { queryBusinessManager, findManagerName, tableFilterCB } from '../setup';
|
|
|
+import { queryBusinessManager, findManagerName, tableFilterCB, handleEnumdic } from '../setup';
|
|
|
import { getPriceTypeName, getBizTypeName, getContractStatusName, getContractTypeName } from '@/common/constants/enumsName';
|
|
|
import { Ermcp3ContractRsp } from '@/services/go/ermcp/spot-contract/interface';
|
|
|
import { QuerySpotContract } from '@/services/go/ermcp/spot-contract';
|
|
|
@@ -129,6 +133,7 @@ export default defineComponent({
|
|
|
formatTime,
|
|
|
formatValue,
|
|
|
findManagerName,
|
|
|
+ handleEnumdic,
|
|
|
};
|
|
|
},
|
|
|
});
|