| | |
| | | import type { MesQcPendingInspectApi } from '#/api/mes/qc/pendinginspect'; |
| | | import type { MesQcRqcApi } from '#/api/mes/qc/rqc'; |
| | | |
| | | import { Page, useVbenModal } from '../../../../packages/effects/common-ui/src'; |
| | | import { MesQcTypeEnum } from '../../../../packages/constants/src'; |
| | | import { Page, useVbenModal } from '@vben/common-ui'; |
| | | import { MesQcTypeEnum } from '@vben/constants'; |
| | | |
| | | import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table'; |
| | | import { getPendingInspectPage } from '#/api/mes/qc/pendinginspect'; |
| | |
| | | /** 创建过程检验单(IPQC) */ |
| | | function handleCreateIpqc(row: MesQcPendingInspectApi.PendingInspect) { |
| | | const prefill: MesQcIpqcApi.Ipqc = { |
| | | batchCode: row.batchCode, |
| | | checkQuantity: row.quantity, |
| | | inspectDate: row.recordTime, |
| | | itemId: row.itemId, |
| | |
| | | sourceDocId: row.sourceDocId, |
| | | sourceDocType: row.sourceDocType, |
| | | sourceLineId: row.sourceLineId, |
| | | taskId: row.taskId, |
| | | workOrderId: row.workOrderId, |
| | | workstationId: row.workstationId, |
| | | }; |
| | | ipqcFormModalApi.setData({ formType: 'create', prefill }).open(); |
| | | } |