yxh
8 天以前 fb16e99d60035949b870d0bed7f38b452458000a
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'
  })
}
@@ -145,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({
@@ -168,4 +193,13 @@
    url: '/project/fund/addFundSharedInfo/' + id,
    method: 'get'
  })
}
//手动计算
export function ManualCalculation(data) {
  return request({
    url: '/project/funddetail/calculateTax',
    method: 'post',
    data: data
  })
}