From f9e6eb6fc2c2e0c2a2b17238b817fcbfcb6bab56 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 10 八月 2026 16:38:45 +0800
Subject: [PATCH] feat(erp): 添加采购来票管理和付款关联功能

---
 src/api/erp/finance/payment/index.ts |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/api/erp/finance/payment/index.ts b/src/api/erp/finance/payment/index.ts
index 004713c..6efa6e3 100644
--- a/src/api/erp/finance/payment/index.ts
+++ b/src/api/erp/finance/payment/index.ts
@@ -1,5 +1,7 @@
 import type { PageParam, PageResult } from '@vben/request';
 
+import type { ErpPurchaseInvoiceApi } from '#/api/erp/purchase/invoice';
+
 import { requestClient } from '#/api/request';
 
 export namespace ErpFinancePaymentApi {
@@ -9,13 +11,15 @@
     no: string; // 浠樻鍗曞彿
     supplierId?: number; // 渚涘簲鍟嗙紪鍙�
     supplierName?: string; // 渚涘簲鍟嗗悕绉�
+    invoiceId?: number; // 鍏宠仈鏉ョエ缂栧彿
+    invoice?: ErpPurchaseInvoiceApi.PurchaseInvoice; // 鍏宠仈鏉ョエ淇℃伅
     paymentTime?: Date; // 浠樻鏃堕棿
     totalPrice: number; // 鍚堣閲戦锛屽崟浣嶏細鍏�
     discountPrice: number; // 浼樻儬閲戦
     paymentPrice: number; // 瀹為檯浠樻閲戦
     status: number; // 鐘舵��
     remark: string; // 澶囨敞
-    fileUrl?: string; // 闄勪欢
+    attachmentList?: { id: number; name?: string; url?: string }[]; // 闄勪欢鍒楄〃
     accountId?: number; // 浠樻璐︽埛
     accountName?: string; // 璐︽埛鍚嶇О
     financeUserId?: number; // 璐㈠姟浜哄憳

--
Gitblit v1.9.3