gaoluyang
2 天以前 787ccc59ba89bacc075562a161ecf02bc76ebadc
src/views/wls/arrivalnotice/modules/line-list.vue
@@ -10,7 +10,7 @@
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 {
@@ -72,7 +72,7 @@
/** 跳转 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 } });
  }
}
@@ -133,6 +133,13 @@
        </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="[