From f85eec072c4b5e1261f5032d5ffeb8651cf7479f Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Mon, 23 Mar 2026 14:35:48 +0800
Subject: [PATCH] =?UTF-8?q?2026-03-23=20SOP=E6=96=87=E4=BB=B6=E4=B8=8A?=
=?UTF-8?q?=E4=BC=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/qc/qc.js | 2 +
src/views/modules/qc/qcPartAttribute.vue | 1 +
.../modules/qc/sopFileManagementUpload.vue | 130 ++++++++++++++++++
src/views/modules/qc/sopFileUpload.vue | 8 +-
src/views/modules/qc/sopListComponent.vue | 29 +++-
5 files changed, 163 insertions(+), 7 deletions(-)
create mode 100644 src/views/modules/qc/sopFileManagementUpload.vue
diff --git a/src/api/qc/qc.js b/src/api/qc/qc.js
index 8d888dc..cc400db 100644
--- a/src/api/qc/qc.js
+++ b/src/api/qc/qc.js
@@ -252,6 +252,8 @@ export const getCustomerList = data => createAPI(`/pms/qc/getCustomerList`,'post
// ===================================== SOP清单 =====================================
export const sopListSearch = data => createAPI(`/pms/qc/sopListSearch`,'post',data)
export const sopAvailableFiles = data => createAPI(`/pms/qc/sopAvailableFiles`,'post',data)
+/** 物料SOP「文件上传」弹窗:批量本地上传,写入 file_management(D:\\sop_files + UspInsertSOP) */
+export const sopFileBatchUpload = data => createAPI(`/pms/qc/sopFileBatchUpload`, 'post', data)
// 查询检验页面的SOP文件列表(IPQC/IQC/FQC/OQC/过程检验)
export const searchQcSopFileList = data => createAPI(`/pms/qc/searchQcSopFileList`,'post',data)
export const sopFileUploadSave = data => createAPI(`/pms/qc/sopFileUploadSave`,'post',data)
diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue
index 3bf58e5..e903d1e 100644
--- a/src/views/modules/qc/qcPartAttribute.vue
+++ b/src/views/modules/qc/qcPartAttribute.vue
@@ -401,6 +401,7 @@
v-if="activeTable === 'partSop'"
:part-no="partCurrentRow.partNo"
:site="partCurrentRow.site"
+ :bu-no="partCurrentRow.buNo"
:table-height="secondHeight - 98">
diff --git a/src/views/modules/qc/sopFileManagementUpload.vue b/src/views/modules/qc/sopFileManagementUpload.vue
new file mode 100644
index 0000000..2a0f318
--- /dev/null
+++ b/src/views/modules/qc/sopFileManagementUpload.vue
@@ -0,0 +1,130 @@
+
+