From 0e10e10157b90002b99996914eaf1e5574924ddf Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 12 十月 2026 11:15:50 +0800
Subject: [PATCH] 修改了报销校验

---
 src/api/project/fund.js |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/src/api/project/fund.js b/src/api/project/fund.js
index 75f4e3e..3608fb9 100644
--- a/src/api/project/fund.js
+++ b/src/api/project/fund.js
@@ -42,7 +42,15 @@
 // 鏂板璐圭敤鐢宠涓�
 export function addFund(data) {
   return request({
-    url: '/project/fund',
+    url: '/project/fund/add',
+    method: 'post',
+    data: data
+  })
+}
+// 璁$畻璐圭敤鐢宠涓�
+export function TotalcalculationFn(data) {
+  return request({
+    url: '/project/fund/totaltax',
     method: 'post',
     data: data
   })
@@ -67,8 +75,8 @@
 // 鍒犻櫎璐圭敤鐢宠涓�
 export function delFund(id) {
   return request({
-    url: '/project/fund/' + id,
-    method: 'delete'
+    url: '/project/fund/remove/' + id,
+    method: 'get'
   })
 }
 
@@ -152,6 +160,16 @@
   })
 }
 
+// 涓撳鍔冲姟璐癸細淇濆瓨鍓嶇殑璐圭敤鎺у埗鏍¢獙锛堝共璺戯紝涓嶈惤搴擄級
+// 杩斿洖 { errors: [闃绘柇鎬т俊鎭痌, warnings: [鎻愮ず淇℃伅], blocked: 鏄惁闃绘柇 }
+export function validateExpertFee(data) {
+  return request({
+    url: '/project/fund/validateExpertFee',
+    method: 'post',
+    data: data
+  })
+}
+
 // 浼︾悊涓撳璐规墦鍗�
 export function getdownloadLL(id) {
   return request({
@@ -175,4 +193,13 @@
     url: '/project/fund/addFundSharedInfo/' + id,
     method: 'get'
   })
+}
+
+//鎵嬪姩璁$畻
+export function ManualCalculation(data) {
+  return request({
+    url: '/project/funddetail/calculateTax',
+    method: 'post',
+    data: data
+  })
 }
\ No newline at end of file

--
Gitblit v1.9.3