From 056593f1b3ed16b2b6130ce688cf5575645778e9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 04 一月 2026 16:20:46 +0800
Subject: [PATCH] 双奇点 1.生产管理bug修改 2.采购台账二维码功能隐藏

---
 src/views/basicData/product/ImportExcel/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/basicData/product/ImportExcel/index.vue b/src/views/basicData/product/ImportExcel/index.vue
index 0dc4ea6..fe77420 100644
--- a/src/views/basicData/product/ImportExcel/index.vue
+++ b/src/views/basicData/product/ImportExcel/index.vue
@@ -5,7 +5,7 @@
   <el-dialog v-model="upload.open" :title="upload.title">
     <FileUpload
       ref="fileUploadRef"
-      accept=".xlsx, .xls"
+      accept=".xlsx,.xls"
       :headers="upload.headers"
       :action="upload.url + '?updateSupport=' + upload.updateSupport"
       :disabled="upload.isUploading"
@@ -23,11 +23,12 @@
 </template>
 
 <script setup>
-import { reactive } from "vue";
+import { reactive, ref, getCurrentInstance } from "vue";
 import { getToken } from "@/utils/auth.js";
 import { FileUpload } from "@/components/Upload";
 import { ElMessage } from "element-plus";
 
+const { proxy } = getCurrentInstance();
 defineOptions({
   name: "浜у搧缁存姢瀵煎叆",
 });
@@ -45,6 +46,7 @@
   headers: { Authorization: "Bearer " + getToken() },
   // 涓婁紶鐨勫湴鍧�
   url: import.meta.env.VITE_APP_BASE_API + "/system/supplier/import",
+  updateSupport: true,
 });
 // 鐐瑰嚮瀵煎叆
 const handleImport = () => {
@@ -54,7 +56,7 @@
 
 // 涓嬭浇妯℃澘
 const downloadTemplate = () =>{
-  proxy.download("/basic/customer/downloadTemplate", {}, "浜у搧瀵煎叆妯℃澘.xlsx");
+  proxy.download("/basic/product/downloadTemplate", {}, "浜у搧瀵煎叆妯℃澘.xlsx");
 }
 
 const submitFileForm = () => {

--
Gitblit v1.9.3