|
|
@ -90,10 +90,10 @@ |
|
|
|
<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="isShowDownloadBtn"> |
|
|
|
<Icon icon="ep:download" /> |
|
|
|
{{ t('ts.下载模板') }} |
|
|
|
</el-button> --> |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
<el-button :disabled="formLoading" type="primary" @click="submitForm">{{ t('ts.确 定') }}</el-button> |
|
|
|
<el-button @click="dialogVisible = false">{{ t('ts.取 消') }}</el-button> |
|
|
@ -191,7 +191,13 @@ const props = defineProps({ |
|
|
|
type: String, |
|
|
|
required: false, |
|
|
|
default: '' |
|
|
|
} |
|
|
|
}, |
|
|
|
// 是否显示盘点任务下载模板按钮 |
|
|
|
isShowDownloadBtn: { |
|
|
|
type: Boolean, |
|
|
|
required: false, |
|
|
|
default: false |
|
|
|
}, |
|
|
|
}) |
|
|
|
const importTemplateData = ref(props.importTemplateData) |
|
|
|
const accept = ref(props.accept) |
|
|
|