gaoluyang
2026-10-16 268b3e77f3beaba03a1273d643d8aa4fa5db1c10
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 },
  );
}