| | |
| | | invoiceTitle?: string; |
| | | price?: number; |
| | | invoiceTime?: string; |
| | | auditStatus?: number; |
| | | processInstanceId?: string; |
| | | remark?: string; |
| | | attachmentList?: { id: number; name?: string; url?: string }[]; |
| | | blobIds?: number[]; |
| | |
| | | price?: number; |
| | | supplierId?: number; |
| | | purchaseOrderId?: number; |
| | | auditStatus?: number; |
| | | hasAttachment?: boolean; |
| | | remainingInvoicePrice?: number; |
| | | } |
| | |
| | | return requestClient.download('/erp/purchase-invoice/export-excel', { params }); |
| | | } |
| | | |
| | | /** 更新来票的状态(审核/反审核) */ |
| | | export function updatePurchaseInvoiceStatus(id: number, status: number) { |
| | | return requestClient.put('/erp/purchase-invoice/update-status', null, { |
| | | params: { id, status }, |
| | | }); |
| | | } |
| | | |
| | | /** 获得待审核来票数量 */ |
| | | export function getAuditPurchaseInvoiceCount() { |
| | | return requestClient.get<number>('/erp/purchase-invoice/audit-count'); |
| | | } |
| | | |
| | | /** 查询来票下拉列表(按供应商可选来票,仅审核通过且已上传发票附件) */ |
| | | /** 查询来票下拉列表(按供应商可选来票,已上传发票附件且剩余可付金额大于 0) */ |
| | | export function getPurchaseInvoiceSimpleList( |
| | | supplierId: number, |
| | | purchaseOrderId?: number, |