From 787ccc59ba89bacc075562a161ecf02bc76ebadc Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 24 七月 2026 17:15:53 +0800
Subject: [PATCH] 银川 1.采购申请添加入库状态查询条件
---
src/views/wls/arrivalnotice/modules/line-list.vue | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/src/views/wls/arrivalnotice/modules/line-list.vue b/src/views/wls/arrivalnotice/modules/line-list.vue
index a48316f..be40c57 100644
--- a/src/views/wls/arrivalnotice/modules/line-list.vue
+++ b/src/views/wls/arrivalnotice/modules/line-list.vue
@@ -6,9 +6,11 @@
import { computed } from 'vue';
+import { useRouter } from 'vue-router';
+
import { useVbenModal } from '@vben/common-ui';
-import { message } from 'ant-design-vue';
+import { Button, message, Tag } from 'ant-design-vue';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import {
@@ -24,6 +26,8 @@
formType: FormType;
noticeId: number;
}>();
+
+const router = useRouter();
const isEditable = computed(() =>
// 鏄惁鍙紪杈戞槑缁嗚
@@ -62,6 +66,13 @@
handleRefresh();
} finally {
hideLoading();
+ }
+}
+
+/** 璺宠浆 IQC 妫�楠屽崟璇︽儏 */
+function handleOpenIqc(row: MesWmArrivalNoticeLineApi.ArrivalNoticeLine) {
+ if (row.iqcId) {
+ router.push({ name: 'MesQcIqc', query: { id: row.iqcId } });
}
}
@@ -111,6 +122,24 @@
]"
/>
</template>
+ <template #iqcCode="{ row }">
+ <Button
+ v-if="row.iqcCode"
+ size="small"
+ type="link"
+ @click="handleOpenIqc(row)"
+ >
+ {{ row.iqcCode }}
+ </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="[
--
Gitblit v1.9.3