提交
This commit is contained in:
1 parent
0707a4c95e
commit
21e772db3a
25 files changed
+9914
-12166
No files matched your search
@@ -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,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
|
||||
|
||||
Reference in new issue
Block a user