feat: add production task set API client and item mapping

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-18 16:16:04 +08:00
1 parent 49e208c241
commit d60d4bd4b6
4 files changed
+162

No files matched your search

+7
View File
@@ -10,6 +10,13 @@ export function fetchCreateProductionTask(data: Record<string, any>) {
return request.post({ url: '/web/admin/production-tasks', params: data })
}
export function fetchCreateProductionTasksFromSet(data: { workOrderId: string; setId: string }) {
return request.post<{ createdCount: number; list: any[] }>({
url: '/web/admin/production-tasks/from-set',
params: data
})
}
export function fetchProductionTaskList(params?: {
page?: number
pageSize?: number