|
|
@@ -26,7 +26,7 @@ export function getSpotWarrantBargainDetailColumns(selectedRow: QueryWrTradeBarg
|
|
|
{ title: '数量', key: 'applyqty', dataIndex: 'applyqty', align: 'center' },
|
|
|
{ title: '价格', key: 'applyprice', dataIndex: 'applyprice', align: 'center' },
|
|
|
{ title: '时间', key: 'applytime', dataIndex: 'applytime', align: 'center', slots: { customRender: 'applytime' } },
|
|
|
- { title: '状态', key: 'applystatus', dataIndex: 'applystatus', align: 'center' },
|
|
|
+ { title: '状态', key: 'applystatus', dataIndex: 'applystatus', align: 'center', slots: { customRender: 'applystatus' } },
|
|
|
];
|
|
|
function isMy() {
|
|
|
return selectedRow.userid === getUserId();
|
|
|
@@ -35,4 +35,4 @@ export function getSpotWarrantBargainDetailColumns(selectedRow: QueryWrTradeBarg
|
|
|
return isMy() ? columns : [...columns, { title: '议价人', key: 'username', dataIndex: 'username', align: 'center' }]
|
|
|
}
|
|
|
return { isMy, getColums }
|
|
|
-}
|
|
|
+}
|