This commit is contained in:
zlwu committed 2026-08-18 17:23:46 +08:00
1 parent 0707a4c95e
commit 21e772db3a
25 files changed
+9914 -12166

No files matched your search

+6
View File
@@ -87,6 +87,12 @@ export function fetchCreateProductionTaskSetFromWorkOrder(data: {
workOrderId: string
setName: string
remark?: string
items?: Array<{
taskName: string
routeId?: string
description?: string
remark?: string
}>
}) {
return request.post<ProductionTaskSet>({
url: '/web/admin/production-task-sets/from-work-order',
+10 -1
View File
@@ -10,7 +10,16 @@ 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 }) {
export function fetchCreateProductionTasksFromSet(data: {
workOrderId: string
setId: string
items?: Array<{
taskName: string
routeId?: string
description?: string
remark?: string
}>
}) {
return request.post<{ createdCount: number; list: any[] }>({
url: '/web/admin/production-tasks/from-set',
params: data