fix(WEB): 견적→수주→생산지시 데이터 연결 수정

- transformFrontendToApi()에 floor_code/symbol_code 추가 (제품 매핑)
- BomCalculationResultItem에 item_id 필드 추가
- transformV2ToApi()에서 견적 저장 시 item_id 전달 (공정 매핑 근본 수정)
This commit is contained in:
2026-02-10 19:03:19 +09:00
parent c6cce7fe61
commit 6e5ccca038
2 changed files with 6 additions and 0 deletions

View File

@@ -669,6 +669,8 @@ function transformFrontendToApi(data: OrderFormData | Record<string, unknown>):
supply_amount: supplyAmount,
tax_amount: taxAmount,
total_amount: supplyAmount + taxAmount,
floor_code: item.type || null,
symbol_code: item.symbol || null,
};
}),
};