production-waste-output.ts 702 B

1234567891011121314151617181920212223242526272829303132
  1. import request from '@/utils/http'
  2. export interface ProductionWasteOutputItem {
  3. id: string
  4. outputName?: string
  5. outputBarcode?: string
  6. remark?: string
  7. createTime?: string
  8. stepId?: string
  9. processName?: string
  10. taskId?: string
  11. taskNo?: string
  12. workOrderId?: string
  13. workOrderNo?: string
  14. sampleCode?: string
  15. }
  16. export function fetchProductionWasteOutputList(params?: {
  17. page?: number
  18. pageSize?: number
  19. keyword?: string
  20. createTimeStart?: string
  21. createTimeEnd?: string
  22. }) {
  23. return request.get<{
  24. list: ProductionWasteOutputItem[]
  25. total: number
  26. page: number
  27. pageSize: number
  28. totalPages: number
  29. }>({ url: '/web/admin/production-waste-outputs', params })
  30. }