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