项目监督列表、项目委托列表项目名称列宽优化

This commit is contained in:
zhangyx
2022-06-15 16:52:15 +08:00
parent 7dc348be97
commit e4d912cb79
14 changed files with 140 additions and 117 deletions

View File

@ -18,9 +18,9 @@ const Complete: React.FC<{}> = () => {
const columnsComplete: ProColumns<any>[] = [
//已完成表格
{ title: '项目名称', dataIndex: 'projectName', width: 200 },
{ title: '项目名称', dataIndex: 'projectName', width: '35%' },
{
title: '费用类型', width: 100, render: (_, record) => {
title: '费用类型', width: '5%', render: (_, record) => {
let val = '-';
if (record.expensesType == '1') {//标书费  采购文件费用 招募文件费用
if (record.bidMethodDict === 'procurement_mode_1' || record.bidMethodDict === 'procurement_mode_2') {
@ -40,14 +40,14 @@ const Complete: React.FC<{}> = () => {
return val;
}
},
{ title: '费用内容描述', dataIndex: 'commodityDescribe' },
{ title: '下单时间', dataIndex: 'createDate', width: 100, valueType: 'dateTime' },
{ title: '支付时间', dataIndex: 'paymentTime', width: 100, valueType: 'dateTime' },
{ title: '金额(元)', dataIndex: 'amount', width: 80 },
{ title: '费用内容描述', dataIndex: 'commodityDescribe', width: '25%' },
{ title: '下单时间', dataIndex: 'createDate', width: '10%', valueType: 'dateTime' },
{ title: '支付时间', dataIndex: 'paymentTime', width: '10%', valueType: 'dateTime' },
{ title: '金额(元)', dataIndex: 'amount', width: '4%' },
{
title: '操作',
dataIndex: 'option',
width: 150,
width: '3%',
valueType: 'option',
render: (_, record) => {
if (record.bidInvoice == null) {
@ -99,6 +99,8 @@ const Complete: React.FC<{}> = () => {
getCheckboxProps: (record) => ({
disabled: record.bidInvoice == null ? false : true
}),
columnWidth: '1px',
fixed: true,
}}
pagination={{ defaultPageSize: 10 }} //默认显示条数
// bordered