| | |
| | | import type { PageParam, PageResult } from '..\..\..\..\packages\effects\request\src'; |
| | | import type { PageParam, PageResult } from '@vben/request'; |
| | | |
| | | import { requestClient } from '#/api/request'; |
| | | |
| | |
| | | export function exportPurchaseOrder(params: any) { |
| | | return requestClient.download('/erp/purchase-order/export-excel', { params }); |
| | | } |
| | | |
| | | /** 获取采购审核流程列表 */ |
| | | export function getPurchaseApproveProcessList() { |
| | | return requestClient.get<any[]>('/erp/purchase-order/approve-process-list'); |
| | | } |
| | | |
| | | /** 获取采购审核流程列表响应 */ |
| | | export interface ProcessDefinition { |
| | | id: string; // 流程定义ID |
| | | key: string; // 流程Key |
| | | name: string; // 流程名称 |
| | | version: number; // 版本号 |
| | | } |