| | |
| | | |
| | | import { requestClient } from '#/api/request'; |
| | | |
| | | import { normalizeQcDateFilter } from '../date-filter'; |
| | | |
| | | export namespace MesQcIqcApi { |
| | | /** MES 来料检验单 */ |
| | | export interface Iqc { |
| | |
| | | /** 查询来料检验单分页 */ |
| | | export function getIqcPage(params: PageParam) { |
| | | return requestClient.get<PageResult<MesQcIqcApi.Iqc>>('/mes/qc/iqc/page', { |
| | | params, |
| | | params: normalizeQcDateFilter(params), |
| | | }); |
| | | } |
| | | |
| | |
| | | |
| | | /** 导出来料检验单 */ |
| | | export function exportIqc(params: any) { |
| | | return requestClient.download('/mes/qc/iqc/export-excel', { params }); |
| | | return requestClient.download('/mes/qc/iqc/export-excel', { |
| | | params: normalizeQcDateFilter(params), |
| | | }); |
| | | } |
| | | |
| | | /** 下载来料检验单导入模板 */ |