From 77b083d347eb8e75eb29a4146238b3f7304489f6 Mon Sep 17 00:00:00 2001
From: hsy <1029150275@qq.com>
Date: 星期一, 17 八月 2026 09:54:07 +0800
Subject: [PATCH] Merge branch 'refs/heads/dev_pro2.0' into fix/hsy/20260812

---
 src/views/srm/tender/data.ts |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/src/views/srm/tender/data.ts b/src/views/srm/tender/data.ts
index c06e4dd..475eae7 100644
--- a/src/views/srm/tender/data.ts
+++ b/src/views/srm/tender/data.ts
@@ -2,6 +2,8 @@
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 
 import {
+  BIDDING_MODE_MAP,
+  BIDDING_MODE_OPTIONS,
   TENDER_STATUS_CELLTAG,
   TENDER_STATUS_OPTIONS,
   TENDER_TYPE_CELLTAG,
@@ -146,6 +148,25 @@
       },
     },
     {
+      fieldName: 'biddingMode',
+      label: '鎷涙姇鏍囨ā寮�',
+      component: 'Select',
+      rules: 'required',
+      componentProps: {
+        placeholder: '璇烽�夋嫨鎷涙姇鏍囨ā寮�',
+        options: BIDDING_MODE_OPTIONS,
+      },
+      dependencies: {
+        triggerFields: ['_partial', 'id'],
+        show: (values) => !values._partial,
+        componentProps: (values) => ({
+          disabled: !!values.id,
+          placeholder: '璇烽�夋嫨鎷涙姇鏍囨ā寮�',
+          options: BIDDING_MODE_OPTIONS,
+        }),
+      },
+    },
+    {
       fieldName: 'tenderDesc',
       label: '鎷涙爣璇存槑',
       component: 'Textarea',
@@ -157,6 +178,19 @@
       label: '璧勮川瑕佹眰',
       component: 'Textarea',
       componentProps: { placeholder: '璇疯緭鍏ヨ祫璐ㄨ姹�', rows: 3 },
+      formItemClass: 'col-span-2',
+    },
+    {
+      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: 'col-span-2',
     },
   ];
@@ -197,6 +231,16 @@
         options: TENDER_STATUS_OPTIONS,
       },
     },
+    {
+      fieldName: 'biddingMode',
+      label: '鎷涙姇鏍囨ā寮�',
+      component: 'Select',
+      componentProps: {
+        placeholder: '璇烽�夋嫨鎷涙姇鏍囨ā寮�',
+        allowClear: true,
+        options: BIDDING_MODE_OPTIONS,
+      },
+    },
   ];
 }
 
@@ -217,6 +261,12 @@
       minWidth: 100,
       cellRender: { name: 'CellTag', props: TENDER_STATUS_CELLTAG },
     },
+    {
+      field: 'biddingMode',
+      title: '鎷涙爣妯″紡',
+      minWidth: 100,
+      formatter: ({ cellValue }) => BIDDING_MODE_MAP[cellValue] || cellValue,
+    },
     { field: 'budgetAmount', title: '棰勭畻閲戦', minWidth: 120 },
     { field: 'purchaseOrg', title: '閲囪喘缁勭粐', minWidth: 100 },
     { field: 'startTime', title: '寮�濮嬫椂闂�', minWidth: 160 },

--
Gitblit v1.9.3