From b500475ccdb249455a514d0ecc22291aa4b92227 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 29 七月 2026 18:10:51 +0800
Subject: [PATCH] 银川 1.设计项目、设计任务详情审核按钮权限修改

---
 src/views/mes/pd/archive/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/mes/pd/archive/index.vue b/src/views/mes/pd/archive/index.vue
index 9949bdb..cff869b 100644
--- a/src/views/mes/pd/archive/index.vue
+++ b/src/views/mes/pd/archive/index.vue
@@ -18,12 +18,12 @@
 const detailRef = ref<InstanceType<typeof Detail>>();
 
 function handleDetail(row: MesPdArchiveApi.Archive) {
-  detailRef.value?.open(row.id!);
+  detailRef.value?.open(row.productCode!);
 }
 
 async function handleExport() {
   const data = await exportPdArchive(await gridApi.formApi.getValues());
-  downloadFileFromBlobPart({ fileName: '璁捐褰掓。鍙拌处.xls', source: data });
+  downloadFileFromBlobPart({ fileName: '褰掓。鍙拌处.xls', source: data });
 }
 
 const [Grid, gridApi] = useVbenVxeGrid({
@@ -53,7 +53,7 @@
   <Page auto-content-height>
     <Detail ref="detailRef" />
 
-    <Grid table-title="浜у搧鐗堟湰褰掓。鍙拌处">
+    <Grid table-title="褰掓。鍙拌处">
       <template #toolbar-tools>
         <TableAction
           :actions="[
@@ -67,8 +67,8 @@
           ]"
         />
       </template>
-      <template #code="{ row }">
-        <Button type="link" @click="handleDetail(row)">{{ row.code }}</Button>
+      <template #archiveCode="{ row }">
+        <Button type="link" @click="handleDetail(row)">{{ row.archiveCode }}</Button>
       </template>
     </Grid>
   </Page>

--
Gitblit v1.9.3