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);