补正退款页面修改
This commit is contained in:
parent
359f6cb387
commit
558e2cab36
@ -30,7 +30,7 @@ interface DataType {
|
|||||||
applyStatus: string;//审核状态
|
applyStatus: string;//审核状态
|
||||||
correctionVoucherFileKVs: any //补正凭证
|
correctionVoucherFileKVs: any //补正凭证
|
||||||
projCorrectionApplyId: string
|
projCorrectionApplyId: string
|
||||||
authorName:string;
|
authorName: string;
|
||||||
}
|
}
|
||||||
import revokeImg from '../../static/revoke.png'
|
import revokeImg from '../../static/revoke.png'
|
||||||
// import { useLocation } from 'react-router-dom'
|
// import { useLocation } from 'react-router-dom'
|
||||||
@ -64,6 +64,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -71,6 +72,8 @@ export default function Correction() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
fixed: 'left',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -78,12 +81,14 @@ export default function Correction() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '类型',
|
title: '类型',
|
||||||
dataIndex: 'type',
|
dataIndex: 'type',
|
||||||
key: 'type',
|
key: 'type',
|
||||||
|
width: 130,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
@ -92,6 +97,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'correctionType',
|
dataIndex: 'correctionType',
|
||||||
key: 'correctionType',
|
key: 'correctionType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 130,
|
||||||
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -99,6 +105,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'correctionReason',
|
dataIndex: 'correctionReason',
|
||||||
key: 'correctionReason',
|
key: 'correctionReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -124,7 +131,7 @@ export default function Correction() {
|
|||||||
title: '补正凭证',
|
title: '补正凭证',
|
||||||
dataIndex: 'correctionVoucherFileKVs',
|
dataIndex: 'correctionVoucherFileKVs',
|
||||||
key: 'correctionVoucherFileKVs',
|
key: 'correctionVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
||||||
@ -150,6 +157,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -157,6 +165,8 @@ export default function Correction() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
width: 150,
|
||||||
|
fixed: 'left',
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -164,6 +174,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -171,12 +182,14 @@ export default function Correction() {
|
|||||||
dataIndex: 'type',
|
dataIndex: 'type',
|
||||||
key: 'type',
|
key: 'type',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 130,
|
||||||
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '补正种类',
|
title: '补正种类',
|
||||||
dataIndex: 'correctionType',
|
dataIndex: 'correctionType',
|
||||||
key: 'correctionType',
|
key: 'correctionType',
|
||||||
|
width: 130,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
@ -185,6 +198,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'correctionReason',
|
dataIndex: 'correctionReason',
|
||||||
key: 'correctionReason',
|
key: 'correctionReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -208,7 +222,7 @@ export default function Correction() {
|
|||||||
title: '补正凭证',
|
title: '补正凭证',
|
||||||
dataIndex: 'correctionVoucherFileKVs',
|
dataIndex: 'correctionVoucherFileKVs',
|
||||||
key: 'correctionVoucherFileKVs',
|
key: 'correctionVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
||||||
@ -227,6 +241,7 @@ export default function Correction() {
|
|||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
fixed: 'right',
|
||||||
width: 100,
|
width: 100,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
// {record.name}
|
// {record.name}
|
||||||
@ -247,6 +262,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -254,6 +270,8 @@ export default function Correction() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
fixed: 'left',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -261,6 +279,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -268,6 +287,7 @@ export default function Correction() {
|
|||||||
title: '类型',
|
title: '类型',
|
||||||
dataIndex: 'type',
|
dataIndex: 'type',
|
||||||
key: 'type',
|
key: 'type',
|
||||||
|
width: 130,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
@ -276,6 +296,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'correctionType',
|
dataIndex: 'correctionType',
|
||||||
key: 'correctionType',
|
key: 'correctionType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 130,
|
||||||
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -283,6 +304,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'correctionReason',
|
dataIndex: 'correctionReason',
|
||||||
key: 'correctionReason',
|
key: 'correctionReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -317,14 +339,14 @@ export default function Correction() {
|
|||||||
dataIndex: 'reviewReason',
|
dataIndex: 'reviewReason',
|
||||||
key: 'reviewReason',
|
key: 'reviewReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '补正凭证',
|
title: '补正凭证',
|
||||||
dataIndex: 'correctionVoucherFileKVs',
|
dataIndex: 'correctionVoucherFileKVs',
|
||||||
key: 'correctionVoucherFileKVs',
|
key: 'correctionVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
||||||
@ -349,6 +371,7 @@ export default function Correction() {
|
|||||||
title: '序号',
|
title: '序号',
|
||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
fixed: 'left',
|
||||||
width: 80,
|
width: 80,
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
@ -357,12 +380,15 @@ export default function Correction() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
width: 150,
|
||||||
|
fixed: 'left',
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '产权所属者',
|
title: '产权所属者',
|
||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
@ -371,11 +397,13 @@ export default function Correction() {
|
|||||||
title: '类型',
|
title: '类型',
|
||||||
dataIndex: 'type',
|
dataIndex: 'type',
|
||||||
key: 'type',
|
key: 'type',
|
||||||
|
width: 130,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '补正种类',
|
title: '补正种类',
|
||||||
|
width: 130,
|
||||||
dataIndex: 'correctionType',
|
dataIndex: 'correctionType',
|
||||||
key: 'correctionType',
|
key: 'correctionType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@ -383,6 +411,7 @@ export default function Correction() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '补正原因',
|
title: '补正原因',
|
||||||
|
width: 150,
|
||||||
dataIndex: 'correctionReason',
|
dataIndex: 'correctionReason',
|
||||||
key: 'correctionReason',
|
key: 'correctionReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@ -420,14 +449,14 @@ export default function Correction() {
|
|||||||
dataIndex: 'reviewReason',
|
dataIndex: 'reviewReason',
|
||||||
key: 'reviewReason',
|
key: 'reviewReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '补正凭证',
|
title: '补正凭证',
|
||||||
dataIndex: 'correctionVoucherFileKVs',
|
dataIndex: 'correctionVoucherFileKVs',
|
||||||
key: 'correctionVoucherFileKVs',
|
key: 'correctionVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
||||||
@ -447,6 +476,7 @@ export default function Correction() {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
|
fixed: 'right',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
|
|
||||||
// <div className='refunBtn' onClick={() => {
|
// <div className='refunBtn' onClick={() => {
|
||||||
@ -459,46 +489,46 @@ export default function Correction() {
|
|||||||
// }
|
// }
|
||||||
// }}> 下载</div>
|
// }}> 下载</div>
|
||||||
<div style={{}}>
|
<div style={{}}>
|
||||||
<div className=''
|
<div className=''
|
||||||
style={{ display: record.correctionType == 'CODE' || record.correctionType == 'ALL' ? 'block' : 'none' }}
|
style={{ display: record.correctionType == 'CODE' || record.correctionType == 'ALL' ? 'block' : 'none' }}
|
||||||
> 下载代码:
|
> 下载代码:
|
||||||
<a href="/#"
|
<a href="/#"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/correction/${record.projId}`)
|
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/correction/${record.projId}`)
|
||||||
|
}}
|
||||||
|
>word</a>
|
||||||
|
<a href="/#"
|
||||||
|
onClick={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/correction/pdf/${record.projId}`)
|
||||||
|
}}
|
||||||
|
style={{ marginLeft: 5 }}
|
||||||
|
>pdf</a>
|
||||||
|
</div>
|
||||||
|
<div className=''
|
||||||
|
style={{
|
||||||
|
display: record.correctionType == 'MANUAL' || record.correctionType == 'ALL' ? 'block' : 'none'
|
||||||
}}
|
}}
|
||||||
>word</a>
|
onClick={() => {
|
||||||
<a href="/#"
|
|
||||||
onClick={(e) => {
|
|
||||||
e.preventDefault();
|
|
||||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/correction/pdf/${record.projId}`)
|
|
||||||
}}
|
|
||||||
style={{ marginLeft: 5 }}
|
|
||||||
>pdf</a>
|
|
||||||
</div>
|
|
||||||
<div className=''
|
|
||||||
style={{
|
|
||||||
display: record.correctionType == 'MANUAL' || record.correctionType == 'ALL' ? 'block' : 'none'
|
|
||||||
}}
|
|
||||||
onClick={() => {
|
|
||||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/correction/${record.projId}`)
|
|
||||||
}}> 下载手册:
|
|
||||||
<a href="/#"
|
|
||||||
onClick={(e) => {
|
|
||||||
e.preventDefault();
|
|
||||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/correction/${record.projId}`)
|
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/correction/${record.projId}`)
|
||||||
|
}}> 下载手册:
|
||||||
|
<a href="/#"
|
||||||
|
onClick={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/correction/${record.projId}`)
|
||||||
|
|
||||||
}}
|
}}
|
||||||
>word</a>
|
>word</a>
|
||||||
<a href="/#"
|
<a href="/#"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/correction/pdf/${record.projId}`)
|
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/correction/pdf/${record.projId}`)
|
||||||
}}
|
}}
|
||||||
style={{ marginLeft: 5 }}
|
style={{ marginLeft: 5 }}
|
||||||
>pdf</a>
|
>pdf</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
@ -508,6 +538,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -515,6 +546,8 @@ export default function Correction() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
fixed: 'left',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -522,12 +555,14 @@ export default function Correction() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
title: '类型',
|
title: '类型',
|
||||||
dataIndex: 'type',
|
dataIndex: 'type',
|
||||||
|
width: 130,
|
||||||
key: 'type',
|
key: 'type',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
render: (text) => <div >{text == 'CORRECTION1' ? '一次补正' : text == 'CORRECTION2' ? '二次补正' : ''}</div>,
|
||||||
@ -535,6 +570,7 @@ export default function Correction() {
|
|||||||
{
|
{
|
||||||
title: '补正种类',
|
title: '补正种类',
|
||||||
dataIndex: 'correctionType',
|
dataIndex: 'correctionType',
|
||||||
|
width: 130,
|
||||||
key: 'correctionType',
|
key: 'correctionType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
render: (text) => <div >{text == 'CODE' ? '代码' : text == 'MANUAL' ? '操作手册' : text == 'ALL' ? '全部补正' : ''}</div>,
|
||||||
@ -544,6 +580,7 @@ export default function Correction() {
|
|||||||
dataIndex: 'correctionReason',
|
dataIndex: 'correctionReason',
|
||||||
key: 'correctionReason',
|
key: 'correctionReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -578,14 +615,14 @@ export default function Correction() {
|
|||||||
dataIndex: 'reviewReason',
|
dataIndex: 'reviewReason',
|
||||||
key: 'reviewReason',
|
key: 'reviewReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '补正凭证',
|
title: '补正凭证',
|
||||||
dataIndex: 'correctionVoucherFileKVs',
|
dataIndex: 'correctionVoucherFileKVs',
|
||||||
key: 'correctionVoucherFileKVs',
|
key: 'correctionVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
(record.correctionVoucherFileKVs).map((item: any, index: number) => (
|
||||||
@ -604,6 +641,7 @@ export default function Correction() {
|
|||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
fixed: 'right',
|
||||||
width: 180,
|
width: 180,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
// {record.applyStatus}
|
// {record.applyStatus}
|
||||||
@ -872,7 +910,7 @@ export default function Correction() {
|
|||||||
description="暂无数据"
|
description="暂无数据"
|
||||||
/>,
|
/>,
|
||||||
}}
|
}}
|
||||||
scroll={{ y: height - 160 }}
|
scroll={{ x: 2000, y: height - 160 }}
|
||||||
rowKey="projCorrectionApplyId"
|
rowKey="projCorrectionApplyId"
|
||||||
/>
|
/>
|
||||||
</Spin>
|
</Spin>
|
||||||
|
@ -21,7 +21,7 @@ interface DataType {
|
|||||||
applyStatus: string;
|
applyStatus: string;
|
||||||
reviewReason: string;
|
reviewReason: string;
|
||||||
projId: string;
|
projId: string;
|
||||||
authorName:string;
|
authorName: string;
|
||||||
}
|
}
|
||||||
import revokeImg from '../../static/revoke.png'
|
import revokeImg from '../../static/revoke.png'
|
||||||
export default function Refun() {
|
export default function Refun() {
|
||||||
@ -47,6 +47,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -54,6 +55,8 @@ export default function Refun() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
width: 150,
|
||||||
|
fixed: 'left',
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -61,6 +64,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -68,7 +72,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'projPayment',
|
dataIndex: 'projPayment',
|
||||||
key: 'projPayment',
|
key: 'projPayment',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 100,
|
||||||
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>
|
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -77,6 +81,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'refundReason',
|
dataIndex: 'refundReason',
|
||||||
key: 'refundReason',
|
key: 'refundReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -102,7 +107,7 @@ export default function Refun() {
|
|||||||
title: '退款凭证',
|
title: '退款凭证',
|
||||||
dataIndex: 'refundVoucherFileKVs',
|
dataIndex: 'refundVoucherFileKVs',
|
||||||
key: 'refundVoucherFileKVs',
|
key: 'refundVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
(record.refundVoucherFileKVs).map((item: any, index: number) => (
|
(record.refundVoucherFileKVs).map((item: any, index: number) => (
|
||||||
@ -128,6 +133,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -135,6 +141,8 @@ export default function Refun() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
fixed: 'left',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -142,6 +150,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -149,7 +158,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'projPayment',
|
dataIndex: 'projPayment',
|
||||||
key: 'projPayment',
|
key: 'projPayment',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 100,
|
||||||
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>,
|
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -157,6 +166,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'refundReason',
|
dataIndex: 'refundReason',
|
||||||
key: 'refundReason',
|
key: 'refundReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -180,7 +190,7 @@ export default function Refun() {
|
|||||||
title: '退款凭证',
|
title: '退款凭证',
|
||||||
dataIndex: 'refundVoucherFileKVs',
|
dataIndex: 'refundVoucherFileKVs',
|
||||||
key: 'refundVoucherFileKVs',
|
key: 'refundVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
// {record.name}
|
// {record.name}
|
||||||
@ -203,6 +213,7 @@ export default function Refun() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
fixed: 'right',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 100,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
@ -224,6 +235,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
fixed: 'left',
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -231,6 +243,8 @@ export default function Refun() {
|
|||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
fixed: 'left',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -238,6 +252,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -245,7 +260,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'projPayment',
|
dataIndex: 'projPayment',
|
||||||
key: 'projPayment',
|
key: 'projPayment',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 100,
|
||||||
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>,
|
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -253,6 +268,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'refundReason',
|
dataIndex: 'refundReason',
|
||||||
key: 'refundReason',
|
key: 'refundReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -287,14 +303,14 @@ export default function Refun() {
|
|||||||
dataIndex: 'reviewReason',
|
dataIndex: 'reviewReason',
|
||||||
key: 'reviewReason',
|
key: 'reviewReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '退款凭证',
|
title: '退款凭证',
|
||||||
dataIndex: 'refundVoucherFileKVs',
|
dataIndex: 'refundVoucherFileKVs',
|
||||||
key: 'refundVoucherFileKVs',
|
key: 'refundVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
|
|
||||||
@ -315,12 +331,15 @@ export default function Refun() {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
|
fixed: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '系统名称',
|
title: '系统名称',
|
||||||
dataIndex: 'projName',
|
dataIndex: 'projName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'projName',
|
key: 'projName',
|
||||||
|
fixed: 'left',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -328,6 +347,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'authorName',
|
dataIndex: 'authorName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'authorName',
|
key: 'authorName',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -335,7 +355,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'projPayment',
|
dataIndex: 'projPayment',
|
||||||
key: 'projPayment',
|
key: 'projPayment',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 100,
|
||||||
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>,
|
render: (text) => <div style={{ color: 'red', fontWeight: 700 }}>{(text / 100).toFixed(2)}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -343,6 +363,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'refundReason',
|
dataIndex: 'refundReason',
|
||||||
key: 'refundReason',
|
key: 'refundReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -377,14 +398,14 @@ export default function Refun() {
|
|||||||
dataIndex: 'reviewReason',
|
dataIndex: 'reviewReason',
|
||||||
key: 'reviewReason',
|
key: 'reviewReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text ? text : '—'}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '退款凭证',
|
title: '退款凭证',
|
||||||
dataIndex: 'refundVoucherFileKVs',
|
dataIndex: 'refundVoucherFileKVs',
|
||||||
key: 'refundVoucherFileKVs',
|
key: 'refundVoucherFileKVs',
|
||||||
// width: 100,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
// {record.name}
|
// {record.name}
|
||||||
@ -409,6 +430,7 @@ export default function Refun() {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 100,
|
||||||
|
fixed: 'right',
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
// {record.applyStatus}PENDING
|
// {record.applyStatus}PENDING
|
||||||
<div>{record.applyStatus == 'PENDING' ? (
|
<div>{record.applyStatus == 'PENDING' ? (
|
||||||
@ -561,6 +583,7 @@ export default function Refun() {
|
|||||||
// height: 620,
|
// height: 620,
|
||||||
// background: 'skyblue'
|
// background: 'skyblue'
|
||||||
}}
|
}}
|
||||||
|
scroll={{ x: 2000, y: height - 160 }}
|
||||||
// pagination={false} // 不显示分页
|
// pagination={false} // 不显示分页
|
||||||
pagination={
|
pagination={
|
||||||
{
|
{
|
||||||
@ -581,7 +604,7 @@ export default function Refun() {
|
|||||||
description="暂无数据"
|
description="暂无数据"
|
||||||
/>,
|
/>,
|
||||||
}}
|
}}
|
||||||
scroll={{ y: height - 160 }}
|
// scroll={{ }}
|
||||||
rowKey="projRefundApplyId"
|
rowKey="projRefundApplyId"
|
||||||
/>
|
/>
|
||||||
</Spin>
|
</Spin>
|
||||||
|
Loading…
Reference in New Issue
Block a user