diff --git a/src/api/wms/workstation/index.ts b/src/api/wms/workstation/index.ts index 4def6a030..24f034794 100644 --- a/src/api/wms/workstation/index.ts +++ b/src/api/wms/workstation/index.ts @@ -44,3 +44,8 @@ export const deleteWorkstation = async (id: number) => { export const exportWorkstation = async (params) => { return await request.download({ url: `/wms/workstation/export-excel`, params }) } + +// 下载用户导入模板 +export const importWorkstationTemplate = () => { + return request.download({ url: '/wms/workstation/get-import-template' }) +} diff --git a/src/views/wms/workstation/WorkstationForm.vue b/src/views/wms/workstation/WorkstationForm.vue index 2f3d30d97..6450d9cf0 100644 --- a/src/views/wms/workstation/WorkstationForm.vue +++ b/src/views/wms/workstation/WorkstationForm.vue @@ -66,7 +66,7 @@