| | |
| | | |
| | | import { useVbenModal } from '@vben/common-ui'; |
| | | |
| | | import { Button, message } from 'ant-design-vue'; |
| | | import { Button, message, Tag } from 'ant-design-vue'; |
| | | |
| | | import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table'; |
| | | import { |
| | |
| | | /** 跳转 IQC 检验单详情 */ |
| | | function handleOpenIqc(row: MesWmArrivalNoticeLineApi.ArrivalNoticeLine) { |
| | | if (row.iqcId) { |
| | | router.push({ path: '/mes/qc/iqc', query: { id: row.iqcId } }); |
| | | router.push({ name: 'MesQcIqc', query: { id: row.iqcId } }); |
| | | } |
| | | } |
| | | |
| | |
| | | </Button> |
| | | <span v-else>-</span> |
| | | </template> |
| | | <template #iqcCheckResult="{ row }"> |
| | | <Tag v-if="row.iqcCheckResult === 1" color="success">合格</Tag> |
| | | <Tag v-else-if="row.iqcCheckResult === 2" color="warning">特采</Tag> |
| | | <Tag v-else-if="row.iqcCheckResult === 3" color="error">不合格退货</Tag> |
| | | <Tag v-else-if="row.iqcCheckResult === 4" color="error">不合格报废</Tag> |
| | | <span v-else>-</span> |
| | | </template> |
| | | <template #actions="{ row }"> |
| | | <TableAction |
| | | :actions="[ |