feat: 财务中心增加其他收支

This commit is contained in:
砂糖
2025-09-26 14:52:51 +08:00
parent 2c0ec2907a
commit 32059525f0
5 changed files with 362 additions and 10 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询其他收入列表
export function listOtherIncome(query) {
return request({
url: '/klp/otherIncome/list',
method: 'get',
params: query
})
}
// 查询其他收入详细
export function getOtherIncome(otherIncomeId) {
return request({
url: '/klp/otherIncome/' + otherIncomeId,
method: 'get'
})
}
// 新增其他收入
export function addOtherIncome(data) {
return request({
url: '/klp/otherIncome',
method: 'post',
data: data
})
}
// 修改其他收入
export function updateOtherIncome(data) {
return request({
url: '/klp/otherIncome',
method: 'put',
data: data
})
}
// 删除其他收入
export function delOtherIncome(otherIncomeId) {
return request({
url: '/klp/otherIncome/' + otherIncomeId,
method: 'delete'
})
}