refactor(FE): Support MovementDocument in movement form

This commit is contained in:
rstubryan
2026-01-02 14:22:57 +07:00
parent 1c77deeee7
commit 57fa67c05a
3 changed files with 61 additions and 28 deletions
+9
View File
@@ -14,6 +14,14 @@ type MovementWarehouse = {
};
};
export type MovementDocument = {
id: number;
path: string;
name: string;
ext: string;
size: number;
};
export type BaseMovement = {
id: number;
transfer_reason: string;
@@ -39,6 +47,7 @@ export type BaseMovement = {
document_path: string;
shipping_cost_item: number;
shipping_cost_total: number;
document?: MovementDocument;
items: {
id: number;
stock_transfer_detail_id: number;