From 27c8277d717b34b55f3ea967027b53b067f77df3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 20 八月 2026 16:58:49 +0800
Subject: [PATCH] feat 功能变更
---
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