yxh
yxh
2024-02-05 707e0ab1beeed7f34a4f10f963bb3b9060fcb9f4
src/api/project/funddetail.js
@@ -12,7 +12,7 @@
// /project/fund/getFundDetail/{id}   修改是新写的接口
export function getownFundDetail (id) {
  return request({
    url: '/project/fund/getFundDetail/' + id,
    url: '/project/funddetail/getFundDetail/' + id,
    method: 'get',
  })
}
@@ -56,7 +56,7 @@
// 新增费用申请明细
export function addFunddetail(data) {
  return request({
    url: '/project/funddetail',
    url: '/project/funddetail/add',
    method: 'post',
    data: data
  })
@@ -65,8 +65,8 @@
// 修改费用申请明细
export function updateFunddetail(data) {
  return request({
    url: '/project/funddetail',
    method: 'put',
    url: '/project/funddetail/edit',
    method: 'post',
    data: data
  })
}
@@ -75,7 +75,7 @@
export function delFunddetail(id) {
  return request({
    url: '/project/funddetail/deleteDetail/' + id,
    method: 'delete'
    method: 'get'
  })
}
@@ -111,4 +111,49 @@
  })
}
// 根据人员编号、时间范围获取费用明细
export function getDataBybeneficiaryNo(data) {
  return request({
    url: '/project/funddetail/getDataBybeneficiaryNo',
    method: 'post',
    data: data
  })
}
// 根据人员编号、税前金额\申报时间获取个税金额
export function getTaxByBeneFiciaryNo(data) {
  return request({
    url: '/project/funddetail/getTaxByBeneFiciaryNo',
    method: 'post',
    data: data
  })
}
// 根据人员编号、时间范围获取税前金额
export function getTaxBeforeByBeneFiciaryNo(params) {
  return request({
    url: '/project/funddetail/getTaxBeforeByBeneFiciaryNo',
    method: 'post',
    data: params
  })
}
// 根据人员编号、时间范围获取个税金额
export function getTaxationByBeneFiciaryNo(data) {
  return request({
    url: '/project/funddetail/getTaxationByBeneFiciaryNo',
    method: 'post',
    data: data
  })
}
// 根据人员编号、时间范围、本次税后金额,获取本次税前金额、个税金额
export function getTaxBeforeByAfterMoney(data) {
  return request({
    url: '/project/funddetail/getTaxBeforeByAfterMoney',
    method: 'post',
    data: data
  })
}