|
|
@@ -15,6 +15,7 @@ function getColumns() {
|
|
|
{
|
|
|
title: '对手方',
|
|
|
key: 'negative',
|
|
|
+ width: 160,
|
|
|
customRender: ({ record }: { record: Ermcp3ContractRsp }) => {
|
|
|
// 根据合同类型显示对手方
|
|
|
if (record.contracttype === 1) {
|
|
|
@@ -68,6 +69,7 @@ function getColumns() {
|
|
|
{
|
|
|
title: '点价期',
|
|
|
key: 'startdate',
|
|
|
+ width: 200,
|
|
|
customRender: ({ record }: { record: Ermcp3ContractRsp }) => {
|
|
|
return formatValue(formatTime(record.startdate, 'd') + '--' + formatTime(record.enddate, 'd'));
|
|
|
}
|
|
|
@@ -75,6 +77,7 @@ function getColumns() {
|
|
|
{
|
|
|
title: '交收期',
|
|
|
key: 'deliverystartdate',
|
|
|
+ width: 200,
|
|
|
customRender: ({ record }: { record: Ermcp3ContractRsp }) => {
|
|
|
return formatValue(formatTime(record.deliverystartdate, 'd') + '--' + formatTime(record.deliveryenddate, 'd'));
|
|
|
}
|