Merge branch 'dev' of http://59.110.10.99:53000/liuc/fe_supplier_frontend into dev
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -141,7 +141,7 @@ const SupplierChangeReviewManage: React.FC<Props> = ({ dispatch }) => {
|
||||
dispatch({
|
||||
type: 'globalModal/show',
|
||||
payload: {
|
||||
id: record.id,
|
||||
id: record.supplierId,
|
||||
},
|
||||
});
|
||||
}}
|
||||
|
Reference in New Issue
Block a user