src/api/mes/wm/warehouse/location/index.ts
@@ -70,3 +70,18 @@ { params: { allowBatchMixing, allowItemMixing, locationId } }, ); } /** 下载库区导入模板 */ export function importWarehouseLocationTemplate() { return requestClient.download( '/mes/wm/warehouse-location/get-import-template', ); } /** 导入库区 */ export function importWarehouseLocation(file: File, updateSupport: boolean) { return requestClient.upload( `/mes/wm/warehouse-location/import?updateSupport=${updateSupport}`, { file }, ); }