bug fix
parent
d92907de52
commit
7352e0ee9c
|
|
@ -41,10 +41,10 @@ export default function MaterialStep({
|
|||
},
|
||||
{
|
||||
title: "操作",
|
||||
width: 120,
|
||||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space size="small">
|
||||
{record.attachmentUrl ? (
|
||||
{record.attachmentUrl && (
|
||||
<Button
|
||||
type="link"
|
||||
size="small"
|
||||
|
|
@ -58,12 +58,13 @@ export default function MaterialStep({
|
|||
>
|
||||
预览
|
||||
</Button>
|
||||
) : (
|
||||
!disabled && (
|
||||
<UploadButton
|
||||
onSuccess={(data) => onUpload?.(record, data)}
|
||||
/>
|
||||
)
|
||||
)}
|
||||
{!disabled && (
|
||||
<UploadButton
|
||||
onSuccess={(data) => onUpload?.(record, data)}
|
||||
>
|
||||
{record.attachmentUrl ? "重新上传" : "上传"}
|
||||
</UploadButton>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ export default function FilingListTable({
|
|||
|
||||
const canEditRow = (record) => {
|
||||
if (mode === FILING_FORM_MODE.FILED) {
|
||||
return record.filingStatusCode === 2;
|
||||
return Number(record.filingStatusCode) === 3;
|
||||
}
|
||||
return isQualFilingEditable(record.filingStatusCode);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue