|
|
@ -90,7 +90,7 @@ |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
|
<ImportForm ref="importFormRef" url="/wms/unplannedreceipt-request-main/import" :importTemplateData="importTemplateData" |
|
|
|
<ImportForm ref="importFormRef" url="/wms/unplannedreceipt-request-main/import" :importTemplateData="importTemplateData" |
|
|
|
@success="importSuccess" :updateIsDisable="true" :coverIsDisable="true" :mode="2" /> |
|
|
|
</template> |
|
|
|
|
|
|
@ -615,6 +615,7 @@ const handleImport = () => { |
|
|
|
|
|
|
|
// 导入附件弹窗所需的参数 |
|
|
|
const importTemplateData = reactive({ |
|
|
|
dataType:'2', |
|
|
|
templateUrl: '', |
|
|
|
templateTitle: `【${route.meta.title}】导入模版.xlsx` |
|
|
|
}) |
|
|
@ -692,5 +693,6 @@ const tableFormSelectOnBlur = (field, val, row, index) => { |
|
|
|
onMounted(async () => { |
|
|
|
getList() |
|
|
|
importTemplateData.templateUrl = await UnplannedreceiptRequestMainApi.importTemplate() |
|
|
|
console.log(344,importTemplateData) |
|
|
|
}) |
|
|
|
</script> |
|
|
|