import request from '@/utils/request'
|
|
// 查询费用申请明细列表
|
export function listFunddetail(query) {
|
return request({
|
url: '/project/funddetail/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// /project/fund/getFundDetail/{id} 修改是新写的接口
|
export function getownFundDetail (id) {
|
return request({
|
url: '/project/fund/getFundDetail/' + id,
|
method: 'get',
|
})
|
}
|
|
// // /project/financesubject/getItemName/{ItemType}获取费用itemname
|
export function getItemNames(ItemType) {
|
return request({
|
url: '/project/financesubject/getItemName/' + ItemType,
|
method: 'get',
|
})
|
}
|
|
// /project/fund/getFundId/{infoid} 新增修改的接口
|
export function onelistFunds(getinfo) {
|
return request({
|
url: '/project/fund/getFundId/' + getinfo,
|
method: 'get',
|
})
|
}
|
|
// 查询费用申请明细详细
|
export function getFunddetail(id) {
|
return request({
|
url: '/project/funddetail/' + id,
|
method: 'get'
|
})
|
}
|
|
|
|
|
export function listcountItem(a,b) {
|
return request({
|
url: '/project/fund/countItem/'+ a +'/'+ b ,
|
method: 'get',
|
})
|
}
|
// /project/fund/countItem/{infoid}/{itemid}
|
|
|
// 新增费用申请明细
|
export function addFunddetail(data) {
|
return request({
|
url: '/project/funddetail',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改费用申请明细
|
export function updateFunddetail(data) {
|
return request({
|
url: '/project/funddetail',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除费用申请明细
|
export function delFunddetail(id) {
|
return request({
|
url: '/project/funddetail/deleteDetail/' + id,
|
method: 'delete'
|
})
|
}
|
|
// export function delFunddetail(id) {
|
// return request({
|
// url: '/project/funddetail/' + id,
|
// method: 'delete'
|
// })
|
// }
|
|
// 导出费用申请明细
|
export function exportFunddetail(query) {
|
return request({
|
url: '/project/funddetail/export',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 根据费用大类获取费用类型
|
export function getFundType(feeType) {
|
return request({
|
url: '/project/financesubject/getbyexpensetype/' + feeType,
|
method: 'get',
|
})
|
}
|
|
// 根据费用大类获取费用类型及明细
|
export function getFundTypeAll(feeType) {
|
return request({
|
url: '/project/financesubject/getDetails/' + feeType,
|
method: 'get',
|
})
|
}
|
|
// 根据人员编号、时间范围获取费用明细
|
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
|
})
|
}
|