feat: implement CleanerPage UI with MaterialCodeInput component

- Add MaterialCodeInput component for entering material codes
- Create CleanerPage with dry-run mode support
- Add Cleaner page navigation in App.tsx
- Update CleanerAPI type to return response wrapper
This commit is contained in:
Misaka
2026-03-01 15:50:13 +08:00
parent 5760b56f70
commit cb2a5a84b2
5 changed files with 552 additions and 2 deletions

View File

@@ -101,7 +101,9 @@ export interface CleanerAPI {
* Run ERP cleaner service
* @param input - Cleaner input parameters
*/
runCleaner: (input: CleanerInput) => Promise<CleanerResult>
runCleaner: (
input: CleanerInput
) => Promise<{ success: boolean; data?: CleanerResult; error?: string }>
}
/**