| | |
| | | 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 submitPurchaseInvoice(id: number) { |
| | | return requestClient.put(`/erp/purchase-invoice/submit?id=${id}`); |
| | | } |
| | | |
| | | /** 获得待审核来票数量 */ |
| | | export function getAuditPurchaseInvoiceCount() { |
| | | return requestClient.get<number>('/erp/purchase-invoice/audit-count'); |
| | | } |
| | | |
| | | /** 查询来票下拉列表(按供应商可选来票,仅审核通过且已上传发票附件) */ |
| | | /** 查询来票下拉列表(按供应商可选来票,已上传发票附件且剩余可付金额大于 0) */ |
| | | export function getPurchaseInvoiceSimpleList( |
| | | supplierId: number, |
| | | purchaseOrderId?: number, |