| | |
| | | import type { VxeTableGridOptions } from '#/adapter/vxe-table'; |
| | | import type { MesQcIqcApi } from '#/api/mes/qc/iqc'; |
| | | |
| | | import { DocAlert, Page, useVbenModal } from '..\..\..\..\packages\effects\common-ui\src'; |
| | | import { MesQcStatusEnum } from '..\..\..\..\packages\constants\src'; |
| | | import { downloadFileFromBlobPart } from '..\..\..\..\packages\utils\src'; |
| | | import { onMounted } from 'vue'; |
| | | import { useRoute } from 'vue-router'; |
| | | |
| | | import { Page, useVbenModal } from '@vben/common-ui'; |
| | | import { MesQcStatusEnum } from '@vben/constants'; |
| | | import { downloadFileFromBlobPart } from '@vben/utils'; |
| | | |
| | | import { Button, message } from 'ant-design-vue'; |
| | | |
| | |
| | | |
| | | import { useGridColumns, useGridFormSchema } from './data'; |
| | | import Form from './modules/form.vue'; |
| | | |
| | | defineOptions({ name: 'MesQcIqc' }); |
| | | |
| | | const route = useRoute(); |
| | | |
| | | const [FormModal, formModalApi] = useVbenModal({ |
| | | connectedComponent: Form, |
| | |
| | | }, |
| | | } as VxeTableGridOptions<MesQcIqcApi.Iqc>, |
| | | }); |
| | | |
| | | onMounted(() => { |
| | | const id = route.query.id; |
| | | if (id) { |
| | | formModalApi.setData({ formType: 'detail', id: Number(id) }).open(); |
| | | } |
| | | }); |
| | | </script> |
| | | |
| | | <template> |
| | | <Page auto-content-height> |
| | | <template #doc> |
| | | <DocAlert |
| | | title="【质量】来料检验(IQC)" |
| | | url="https://doc.iocoder.cn/mes/qc/iqc/" |
| | | /> |
| | | </template> |
| | | |
| | | <FormModal @success="handleRefresh" /> |
| | | <Page auto-content-height><FormModal @success="handleRefresh" /> |
| | | |
| | | <Grid table-title="来料检验单列表"> |
| | | <template #toolbar-tools> |