gaoluyang
22 小时以前 12b411cd617a1f8d4ef7d03b2d0677f23515ce2f
src/views/basicData/product/ImportExcel/index.vue
@@ -9,8 +9,9 @@
      :headers="upload.headers"
      :action="upload.url + '?updateSupport=' + upload.updateSupport"
      :disabled="upload.isUploading"
      :showTip="false"
      :showTip="true"
      @success="handleFileSuccess"
      @downloadTemplate="downloadTemplate"
    />
    <template #footer>
      <div class="dialog-footer">
@@ -51,6 +52,11 @@
  upload.title = "产品导入";
};
// 下载模板
const downloadTemplate = () =>{
  proxy.download("/basic/customer/downloadTemplate", {}, "产品导入模板.xlsx");
}
const submitFileForm = () => {
  fileUploadRef.value.uploadApi();
};