fix(WEB): 견적→수주→생산지시 데이터 연결 수정
- transformFrontendToApi()에 floor_code/symbol_code 추가 (제품 매핑) - BomCalculationResultItem에 item_id 필드 추가 - transformV2ToApi()에서 견적 저장 시 item_id 전달 (공정 매핑 근본 수정)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user