提交
This commit is contained in:
1 parent
9dd7eb56ba
commit
7cec1f2190
112 files changed
+22684
-6952
No files matched your search
@@ -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}` })
|
||||
}
|
||||
Reference in new issue
Block a user