This commit is contained in:
zlwu committed 2026-05-24 16:58:51 +08:00
1 parent 9dd7eb56ba
commit 7cec1f2190
112 files changed
+22684 -6952

No files matched your search

+29
View File
@@ -42,6 +42,7 @@ export type QcTask = {
id: string
workOrderId: string
workOrderNo?: string
orderSource?: string
taskNo: string
taskType: string
itemCode: string
@@ -62,6 +63,12 @@ export type QcTask = {
receptionTime?: string
handlerName?: string
workOrderStatus?: string
cellProductId?: string
cellProductCode?: string
cellProductName?: string
cellProductTypeName?: string
cellProductPassage?: string
cellProductSpecName?: string
thirdPartyAttachments?: string
attachmentFiles?: Array<{ id?: string; fileUrl: string; fileName?: string; fileType?: string }>
completedTime?: string
@@ -121,3 +128,25 @@ export function fetchUpdateQcTaskAttachments(id: string, thirdPartyAttachments:
data: { thirdPartyAttachments }
})
}
export function fetchCreateQcTask(data: {
taskType: string
itemCode: string
itemName: string
companyId?: string
companyName?: string
feeAmount?: number
sampleCode?: string
qcBizType?: string
workOrderId?: string
remark?: string
}) {
return request.post<QcTask>({
url: '/web/admin/qc-tasks',
params: data
})
}
export function fetchDeleteQcTask(id: string) {
return request.del({ url: `/web/admin/qc-tasks/${id}` })
}