fuliqi
2024-01-24 29c1e7eb5ac16e90d8991a86c1c071bc312ec8d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import service from '../service'
 
// 发票数据api
export class BillingResourcesApi {
  getList = (params, showLoading = true) => {
    return service.post('/awl-order-service/omsInvoice/queryOmsInvoiceCenterPage', params, showLoading)
  }
 
  detailsInfo = (params, showLoading = true) => {
    return service.get(`/awl-order-service/omsInvoice/queryOmsInvoiceByOrderId?orderId=${params}`, { showLoading })
  }
 
  auditInfo = (params) => {
    return service.post('/awl-order-service/omsInvoice/auditOmsInvoice', params)
  }
 
  // 手动开票
  manualInvoicing = (params, showLoading = true) => {
    return service.get('/awl-order-service/omsInvoice/queryOmsInvoiceByOrderId?orderId=' + params)
  }
 
  postmanualInvoicing = (params, showLoading = true) => {
    return service.post('/awl-order-service/omsInvoice/updateOrderInvoice', params)
  }
 
  // 手动推送
  manualPush= (params) => {
    return service.get('/awl-order-service/omsInvoice/pushInvoiceToEsb?orderId=' + params)
  }
 
  /**
 *查询对账单信息
 * @param {*} params
 * @returns
 */
  queryStatementAccount= (params, showLoading = true) => {
    return service.get(`/awl-order-service/omsInvoice/queryStatementAccountByOrderId?orderId=${params}`)
  }
}
export default new BillingResourcesApi()