You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
yanzong_qianduan/api/invoice.js

56 lines
1.3 KiB

import request from '@/utils/request'
// api地址
const api = {
addInvoicing: 'user/addInvoicing',
myInvoicing: 'user/myInvoicing',
editInvoicing: 'user/editInvoicing',
invoicingLog: 'user/invoicingLog',
invoicingDel: 'user/invoicingDel',
invoicingDetail: 'user/invoicingDetail',
invoicingAdd: 'user/invoicingAdd',
invoicingEdit: 'user/invoicingEdit',
}
export const invoicingEdit = (orderGoodsId, data) => {
return request.post(api.invoicingEdit, {
orderGoodsId,
form: data
})
}
export const invoicingAdd = (orderGoodsId, data) => {
return request.post(api.invoicingAdd, {
orderGoodsId,
form: data
})
}
export const addInvoicing = (orderGoodsId, data) => {
return request.post(api.addInvoicing, {
orderGoodsId,
form: data
})
}
export const myInvoicing = (orderGoodsId, data) => {
return request.get(api.myInvoicing, {
orderGoodsId,
form: data
})
}
export const editInvoicing = (orderGoodsId, data) => {
return request.post(api.editInvoicing, {
form: data
})
}
export const invoicingLog = (orderGoodsId, data) => {
return request.get(api.invoicingLog, {
orderGoodsId,
form: data
})
}
export function invoicingDel(param, option) {
return request.get(api.invoicingDel, param, option)
}
export function invoicingDetail(param, option) {
return request.get(api.invoicingDetail, param, option)
}