From d2a80d7b57325bb29eb8719111ea12d3b5b0ae6e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 16 七月 2026 10:34:22 +0800
Subject: [PATCH] 银川 1.采购申请页面修改 2.添加在线查看附件预览功能 3.修改我的流程页面展示样式流程状态点击报错问题

---
 src/views/wls/arrivalnotice/modules/line-list.vue |   24 +++++++++++++++++++++++-
 1 files changed, 23 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..29a152a 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 } 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({ path: '/mes/qc/iqc', query: { id: row.iqcId } });
   }
 }
 
@@ -111,6 +122,17 @@
           ]"
         />
       </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 #actions="{ row }">
         <TableAction
           :actions="[

--
Gitblit v1.9.3