fix(WEB): 입고 수정 API에 receiving_qty/receiving_date/lot_no/remark 필드 전달 추가

- transformFrontendToApi()에 누락된 필드 매핑 추가
- 입고완료 상태 변경 시 백엔드에서 재고 연동이 정상 동작하도록 수정
This commit is contained in:
2026-01-30 11:22:34 +09:00
parent a1f4c82cec
commit 5c8fe8e04c

View File

@@ -377,6 +377,10 @@ function transformFrontendToApi(
if (data.orderUnit !== undefined) result.order_unit = data.orderUnit;
if (data.dueDate !== undefined) result.due_date = data.dueDate;
if (data.status !== undefined) result.status = data.status;
if (data.remark !== undefined) result.remark = data.remark;
if (data.receivingQty !== undefined) result.receiving_qty = data.receivingQty;
if (data.receivingDate !== undefined) result.receiving_date = data.receivingDate;
if (data.lotNo !== undefined) result.lot_no = data.lotNo;
return result;
}