11
WXL
2024-02-20 4fbeee3784d4be5483ed7ec9e00a875d66bc9ed0
src/api/project/fund.js
@@ -42,13 +42,28 @@
// 新增费用申请主
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
  })
}
// 修改费用申请主
// export function updateFund(data) {
//   return request({
//     url: '/project/fund',
//     method: 'put',
//     data: data
//   })
// }
export function updateFund(data) {
  return request({
    url: '/project/fund/fundEdit',
@@ -60,8 +75,8 @@
// 删除费用申请主
export function delFund(id) {
  return request({
    url: '/project/fund/' + id,
    method: 'delete'
    url: '/project/fund/remove/' + id,
    method: 'get'
  })
}
@@ -168,4 +183,13 @@
    url: '/project/fund/addFundSharedInfo/' + id,
    method: 'get'
  })
}
//手动计算
export function ManualCalculation(data) {
  return request({
    url: '/project/funddetail/calculateTax',
    method: 'post',
    data: data
  })
}