33 lines
702 B
TypeScript
33 lines
702 B
TypeScript
import request from '@/utils/http'
|
|
|
|
export interface ProductionWasteOutputItem {
|
|
id: string
|
|
outputName?: string
|
|
outputBarcode?: string
|
|
remark?: string
|
|
createTime?: string
|
|
stepId?: string
|
|
processName?: string
|
|
taskId?: string
|
|
taskNo?: string
|
|
workOrderId?: string
|
|
workOrderNo?: string
|
|
sampleCode?: string
|
|
}
|
|
|
|
export function fetchProductionWasteOutputList(params?: {
|
|
page?: number
|
|
pageSize?: number
|
|
keyword?: string
|
|
createTimeStart?: string
|
|
createTimeEnd?: string
|
|
}) {
|
|
return request.get<{
|
|
list: ProductionWasteOutputItem[]
|
|
total: number
|
|
page: number
|
|
pageSize: number
|
|
totalPages: number
|
|
}>({ url: '/web/admin/production-waste-outputs', params })
|
|
}
|