From c5b6bf8931e80e5b097af0f93c95ee82164cf872 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 14 八月 2026 13:38:54 +0800
Subject: [PATCH] feat(srm): 添加供应商证书和招标管理附件功能

---
 src/views/srm/supplierCertificate/data.ts |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/src/views/srm/supplierCertificate/data.ts b/src/views/srm/supplierCertificate/data.ts
index 34a7cde..c956f2d 100644
--- a/src/views/srm/supplierCertificate/data.ts
+++ b/src/views/srm/supplierCertificate/data.ts
@@ -60,7 +60,7 @@
       componentProps: { placeholder: '璇疯緭鍏ラ鍙戞満鏋�' },
     },
     {
-      fieldName: 'issueDate',
+      fieldName: 'validStartDate',
       label: '棰佸彂鏃ユ湡',
       component: 'DatePicker',
       componentProps: {
@@ -71,7 +71,7 @@
       },
     },
     {
-      fieldName: 'expireDate',
+      fieldName: 'validEndDate',
       label: '鍒版湡鏃ユ湡',
       component: 'DatePicker',
       componentProps: {
@@ -81,6 +81,19 @@
         valueFormat: 'YYYY-MM-DD',
       },
       rules: 'required',
+    },
+    {
+      fieldName: 'blobIds',
+      label: '璇佷功闄勪欢',
+      component: 'FileUpload',
+      componentProps: {
+        valueKey: 'id',
+        maxNumber: 10,
+        multiple: true,
+        accept: ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx'],
+        helpText: '鏀寔jpg銆乯peg銆乸ng銆乸df銆乨oc銆乨ocx鏍煎紡锛屽崟涓枃浠朵笉瓒呰繃2MB',
+      },
+      formItemClass: 'md:col-span-2',
     },
     {
       fieldName: 'remark',
@@ -140,10 +153,17 @@
       cellRender: { name: 'CellTag', props: CERTIFICATE_TYPE_CELLTAG },
     },
     { field: 'issuingAuthority', title: '棰佸彂鏈烘瀯', minWidth: 120 },
-    { field: 'issueDate', title: '棰佸彂鏃ユ湡', minWidth: 120 },
-    { field: 'expireDate', title: '鍒版湡鏃ユ湡', minWidth: 120 },
+    { field: 'validStartDate', title: '棰佸彂鏃ユ湡', minWidth: 120 },
+    { field: 'validEndDate', title: '鍒版湡鏃ユ湡', minWidth: 120 },
     { field: 'createTime', title: '鍒涘缓鏃堕棿', minWidth: 160 },
     {
+      field: 'attachmentList',
+      title: '闄勪欢',
+      minWidth: 100,
+      fixed: 'right',
+      slots: { default: 'attachment' },
+    },
+    {
       title: '鎿嶄綔',
       width: 130,
       fixed: 'right',

--
Gitblit v1.9.3