|
|
@ -386,12 +386,14 @@ const openForm = async (type: string, row?: any) => { |
|
|
|
PurchaseClaimRequestMain.allSchemas.formSchema.forEach(item => { |
|
|
|
if (item.field == 'supplierCode') { |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
PurchaseClaimRequestMain.allSchemas.formSchema.forEach(item => { |
|
|
|
if (item.field == 'supplierCode') { |
|
|
|
item.componentProps.isSearchList = true |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|