|
@@ -15,13 +15,13 @@ function FinanceProject(props) {
|
|
|
const [current, setCurrent] = useState(null);
|
|
|
|
|
|
const columns = [
|
|
|
- {
|
|
|
- title: '序号',
|
|
|
- render: (_, __, index) => {
|
|
|
- const { current, pageSize } = project.pagination;
|
|
|
- return (current - 1) * pageSize + index + 1;
|
|
|
- },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '序号',
|
|
|
+ // render: (_, __, index) => {
|
|
|
+ // const { current, pageSize } = project.pagination;
|
|
|
+ // return (current - 1) * pageSize + index + 1;
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
title: '项目名称',
|
|
|
dataIndex: 'name',
|
|
@@ -144,7 +144,7 @@ function FinanceProjectModal(props) {
|
|
|
<Modal
|
|
|
title={data ? `${data.project_name}【${data.project_code}】` : '详情'}
|
|
|
width="80%"
|
|
|
- open={visible}
|
|
|
+ visible={visible}
|
|
|
onCancel={onCancel}
|
|
|
footer={false}
|
|
|
destroyOnClose
|