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.
 
 
 
 
 
 
pifa/api/invoice.js

42 lines
1.2 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',
invoicingDelNew: 'user/delInvoicing'
}
export const invoicingDelNew = (data) => {
return request.get(api.invoicingDelNew,data)
}
export const invoicingEdit = (data) => {
return request.post(api.invoicingEdit,data)
}
export const invoicingAdd = (data) => {
return request.post(api.invoicingAdd,data)
}
export const addInvoicing = (data) => {
return request.post(api.addInvoicing,data)
}
export const myInvoicing = (orderGoodsId, data) => {
return request.get(api.myInvoicing,data)
}
export const editInvoicing = (data) => {
return request.post(api.editInvoicing,data)
}
export const invoicingLog = (data) => {
return request.get(api.invoicingLog,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)
}