From 17a2690c699a73bebe2ae09300ac162965f51682 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 13 八月 2026 13:58:26 +0800
Subject: [PATCH] 发布中不可以新增投标

---
 src/views/srm/tender/detail.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/srm/tender/detail.vue b/src/views/srm/tender/detail.vue
index 7b2f1de..b7f5e2c 100644
--- a/src/views/srm/tender/detail.vue
+++ b/src/views/srm/tender/detail.vue
@@ -363,6 +363,7 @@
 const typeLabel = computed(() => getLabel(TENDER_TYPE_CELLTAG.labels, project.value?.tenderType));
 const isDraft = computed(() => project.value?.tenderStatus === TENDER_STATUS.DRAFT);
 const isPublished = computed(() => project.value?.tenderStatus === TENDER_STATUS.PUBLISHED);
+const isBidding = computed(() => project.value?.tenderStatus === TENDER_STATUS.BIDDING);
 const isPublishedOrBidding = computed(() => {
   const s = project.value?.tenderStatus;
   return s === TENDER_STATUS.PUBLISHED || s === TENDER_STATUS.BIDDING;
@@ -594,7 +595,7 @@
               </template>
               <div class="flex items-center justify-between mb-3">
                 <span class="text-xs text-gray-400">鍏� <b class="text-gray-600">{{ bidCount }}</b> 涓姇鏍�</span>
-                <a-button v-if="isPublishedOrBidding || isDraft || isPriceComparing" type="primary" size="small" @click="bidForm = { tenderProjectId: projectId, supplierId: undefined!, bidNo: '' }; bidFormVisible = true">
+                <a-button v-if="isBidding || isDraft || isPriceComparing" type="primary" size="small" @click="bidForm = { tenderProjectId: projectId, supplierId: undefined!, bidNo: '' }; bidFormVisible = true">
                   <template #icon><IconifyIcon icon="ant-design:plus-outlined" /></template>
                   鏂板鎶曟爣
                 </a-button>
@@ -998,4 +999,4 @@
       </a-modal>
     </template>
   </Page>
-</template>
+</template>
\ No newline at end of file

--
Gitblit v1.9.3