feat: add image upload functionality and stock update feature in sparepart components

This commit is contained in:
2025-11-26 17:16:09 +07:00
parent 14f8a5d472
commit afcb85a323
4 changed files with 344 additions and 215 deletions

View File

@@ -267,6 +267,7 @@ const ListSparepart = memo(function ListSparepart(props) {
columns={columns(showPreviewModal, showEditModal, showDeleteDialog)}
triger={trigerFilter}
cardComponent={SparepartCardList} // Pass the custom component here
onStockUpdate={doFilter}
/>
</Col>
</Row>