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>
<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)

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

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

Loading…
Cancel
Save