申请开票管理

This commit is contained in:
2023-04-10 16:56:06 +08:00
parent ecd1e94fcf
commit e518cacad3
9 changed files with 913 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询申请开票列表
export function listInvoice(query) {
return request({
url: '/order/invoice/list',
method: 'get',
params: query
})
}
// 查询申请开票详细
export function getInvoice(id) {
return request({
url: '/order/invoice/' + id,
method: 'get'
})
}
// 新增申请开票
export function addInvoice(data) {
return request({
url: '/order/invoice',
method: 'post',
data: data
})
}
// 修改申请开票
export function updateInvoice(data) {
return request({
url: '/order/invoice',
method: 'put',
data: data
})
}
// 删除申请开票
export function delInvoice(id) {
return request({
url: '/order/invoice/' + id,
method: 'delete'
})
}