From bcb34e720eb55bc1f9d03d4b4bca557a4b93d4e5 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 28 Jan 2026 11:31:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue b/applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue
index 3a6844a..40cedcf 100644
--- a/applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue
+++ b/applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue
@@ -183,10 +183,7 @@
 const tableData = ref([]) // 附件表格数据
 // 文件移除
 const handleFileRemove = (file, fileList) => {
-	// 从已上传文件列表中移除对应文件
-	if (file.response && file.response.attachId) {
-		uploadedFiles.value = uploadedFiles.value.filter(item => item.attachId !== file.response.attachId)
-	}
+uploadedFiles.value = fileList
 	// 清空响应数据
 	if (responseData.value && responseData.value.attachId === file.response?.attachId) {
 		responseData.value = null
@@ -378,9 +375,9 @@
 
 // 拒绝申请
 const rejectTheApplication = () => {
-	if (uploadedFiles.value.length === 0) {
-		return ElMessage.warning('请上传数据')
-	}
+	// if (uploadedFiles.value.length === 0) {
+	// 	return ElMessage.warning('请上传数据')
+	// }
 	// 打开拒绝申请弹框
 	rejectionDialogVisible.value = true
 }
@@ -410,7 +407,7 @@
 const approvedByTheReview = () => {
 	if (uploadedFiles.value.length === 0) {
 		return ElMessage.warning('请上传数据')
-	}
+	}	
 	// 从 uploadedFiles.value 中提取所有 attachId
 	const id = uploadedFiles.value.map(file => file.attachId)
 	submitting.value = true
@@ -492,4 +489,6 @@
 :deep(.el-upload-list) {
 	margin-top: 10px;
 }
+.el-upload-list__item.is-success:focus .el-upload-list__item-status-label, .el-upload-list__item.is-success:hover .el-upload-list__item-status-label{
+display: none !important;}
 </style>

--
Gitblit v1.9.3