Browse Source

盘点下載模板按钮显示

hella_online_20240829
zhang_li 4 months ago
parent
commit
2b64bbb7cd
  1. 12
      src/components/ImportForm/src/ImportDetailForm.vue
  2. 1
      src/views/wms/countManage/count/countJobMain/index.vue

12
src/components/ImportForm/src/ImportDetailForm.vue

@ -90,10 +90,10 @@
<template #footer> <template #footer>
<div class="flex items-center"> <div class="flex items-center">
<div class="flex-1 text-left"> <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" /> <Icon icon="ep:download" />
{{ t('ts.下载模板') }} {{ t('ts.下载模板') }}
</el-button> --> </el-button>
</div> </div>
<el-button :disabled="formLoading" type="primary" @click="submitForm">{{ t('ts.确 ') }}</el-button> <el-button :disabled="formLoading" type="primary" @click="submitForm">{{ t('ts.确 ') }}</el-button>
<el-button @click="dialogVisible = false">{{ t('ts.取 消') }}</el-button> <el-button @click="dialogVisible = false">{{ t('ts.取 消') }}</el-button>
@ -191,7 +191,13 @@ const props = defineProps({
type: String, type: String,
required: false, required: false,
default: '' default: ''
} },
//
isShowDownloadBtn: {
type: Boolean,
required: false,
default: false
},
}) })
const importTemplateData = ref(props.importTemplateData) const importTemplateData = ref(props.importTemplateData)
const accept = ref(props.accept) const accept = ref(props.accept)

1
src/views/wms/countManage/count/countJobMain/index.vue

@ -74,6 +74,7 @@
:coverIsDisable="true" :coverIsDisable="true"
:mode="1" :mode="1"
:extend="rowMasterIdRef" :extend="rowMasterIdRef"
:isShowDownloadBtn="true"
/> />
</template> </template>

Loading…
Cancel
Save