From a563ea879ef5fb6897e76d2df661e465dce2ab9b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 01 六月 2026 15:02:27 +0800
Subject: [PATCH] Merge branch 'dev_新疆_大罗素马铃薯new' of http://114.132.189.42:9002/r/product-inventory-management into dev_新疆_大罗素马铃薯new

---
 src/api/financialManagement/accountSalesInvoice.js |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/src/api/financialManagement/accountSalesInvoice.js b/src/api/financialManagement/accountSalesInvoice.js
new file mode 100644
index 0000000..6e74c53
--- /dev/null
+++ b/src/api/financialManagement/accountSalesInvoice.js
@@ -0,0 +1,41 @@
+import request from "@/utils/request";
+
+/** 鏂板閿�椤瑰彂绁� */
+export function addAccountSalesInvoice(data) {
+  return request({
+    url: "/accountSalesInvoice/addAccountSalesInvoice",
+    method: "post",
+    data,
+  });
+}
+
+/** 閿�椤瑰彂绁ㄥ垎椤靛垪琛� */
+export function listPageAccountSalesInvoice(params) {
+  return request({
+    url: "/accountSalesInvoice/listPageAccountSalesInvoice",
+    method: "get",
+    params,
+  });
+}
+
+/** 浣滃簾閿�椤瑰彂绁� */
+export function cancelAccountSalesInvoice(data) {
+  return request({
+    url: "/accountSalesInvoice/cancelAccountSalesInvoice",
+    method: "put",
+    data,
+  });
+}
+
+/** 鍒犻櫎閿�椤瑰彂绁紙Spring 瑕佹眰 ids=1&ids=2 鏌ヨ鍙傛暟锛� */
+export function deleteAccountSalesInvoice(ids) {
+  const idList = Array.isArray(ids) ? ids : [ids];
+  const query = idList
+    .filter((id) => id !== undefined && id !== null && id !== "")
+    .map((id) => `ids=${encodeURIComponent(id)}`)
+    .join("&");
+  return request({
+    url: `/accountSalesInvoice/deleteAccountSalesInvoice?${query}`,
+    method: "delete",
+  });
+}

--
Gitblit v1.9.3