是否已走OA签报是附件必填

This commit is contained in:
孙景学
2025-08-05 19:21:30 +08:00
parent 9c1c1c2908
commit ad93b0503c
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ const CategoryAddModal: React.FC<Props> = ({ visible, onCancel, onSuccess }) =>
<Form.Item shouldUpdate={(prev, curr) => prev.approveType !== curr.approveType}>
{() => {
const isAttachmentRequired = form.getFieldValue('approveType') === 'offline';
const isAttachmentRequired = form.getFieldValue('approveType') === 'online';
return (
<Form.Item

View File

@ -330,7 +330,7 @@ const SupplierAddModal: React.FC<{
</Form.Item>
<Form.Item shouldUpdate={(prev, curr) => prev.approveType !== curr.approveType}>
{() => {
const isAttachmentRequired = form.getFieldValue('approveType') === 'offline';
const isAttachmentRequired = form.getFieldValue('approveType') === 'online';
return (
<Form.Item