From 2b8cb367ed2e65c65bc07df390b33f2e0fc8eb1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com>
Date: Thu, 14 Aug 2025 16:22:23 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=96=99=E5=B1=9E?=
=?UTF-8?q?=E6=80=A7=E8=AE=BE=E7=BD=AE=20=E5=AF=BC=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/qc/qc_upload.vue | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/views/modules/qc/qc_upload.vue b/src/views/modules/qc/qc_upload.vue
index 75c9213..541e313 100644
--- a/src/views/modules/qc/qc_upload.vue
+++ b/src/views/modules/qc/qc_upload.vue
@@ -10,6 +10,10 @@
:key = "i.buNo"
:label = "i.sitename"
:value = "i.buNo">
+ {{ i.sitename }}
+
+ {{ i.buDesc }}
+
@@ -114,7 +118,7 @@ export default {
const formData = new FormData();
formData.append("file", this.fileList[0].raw);
formData.append("createBy", this.pageData.createBy);
- formData.append("site", this.pageData.site);
+ formData.append("site", this.bu.split('_')[0]);
if (this.pageData.flag === 'item'){
uploadExcel(formData).then(({data}) => {
if (data.code === 0) {
@@ -141,6 +145,7 @@ export default {
}
})
}else if (this.pageData.flag === 'partAttribute'){
+ formData.set('site',this.bu)
uploadPartAttributeExcel(formData).then(({data}) => {
if (data.code === 0) {
this.$message.success(data.msg);