mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-28 15:05:18 +08:00
申请开票管理
This commit is contained in:
44
jsowell-ui/src/api/order/invoice.js
Normal file
44
jsowell-ui/src/api/order/invoice.js
Normal 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'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user