kae c08a9a4854 feat: implement create stock check and adjust modals
Both pages had toolbar buttons with no onClick handler. Added modal forms:
- Checks: date + checker + optional detail rows (product + actual qty)
- Adjusts: date + reason + required detail rows (product + adjust qty, negative to decrease)

Also updated createStockCheck and createStockAdjust API function signatures
from Partial<StockCheck/Adjust> to explicit typed request shapes.

Fixed a go-zero validation bug: non-optional fields (checker, adjustReason)
must be present in the JSON body; antd Form returns undefined for untouched
inputs which JSON.stringify omits, causing 400. Solved by setting default
empty strings in Form initialValues.
2026-06-18 18:33:57 +09:00
2026-06-15 19:47:45 +09:00
2026-06-15 19:47:45 +09:00
2026-06-15 19:47:45 +09:00
2026-06-15 19:47:45 +09:00
2026-06-15 19:47:45 +09:00
Description
No description provided
348 KiB
Languages
TypeScript 98.9%
CSS 0.8%
Dockerfile 0.3%