Browse Source

导入去掉下载模版

intex_online20250311
叶佳兴 4 weeks ago
parent
commit
e5afaa8c1a
  1. 6
      src/components/ImportForm/src/ImportForm.vue
  2. 2
      src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue

6
src/components/ImportForm/src/ImportForm.vue

@ -103,7 +103,7 @@
<template #footer>
<div class="flex items-center">
<div class="flex-1 text-left">
<el-button type="primary" plain @click="importTemplate">
<el-button type="primary" plain @click="importTemplate" v-if="showDownLoad">
<Icon icon="ep:download" />
{{ t('ts.下载模板') }}
</el-button>
@ -136,6 +136,10 @@ const props = defineProps({
type: Object,
required: true
},
showDownLoad:{
type:Boolean,
default: true
},
//
accept: {
type: String,

2
src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue

@ -61,7 +61,7 @@
<Detail ref="detailRef" :isBasic="true" :allSchemas="DeliveryCalendar.allSchemas" />
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/delivery-calendar/import" :importTemplateData="importTemplateData" @success="importSuccess" />
<ImportForm ref="importFormRef" :showDownLoad="false" url="/wms/delivery-calendar/import" :importTemplateData="importTemplateData" @success="importSuccess" />
</template>
<script setup lang="ts">

Loading…
Cancel
Save