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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
| import request,{download,requestType} from "@/utils/request";
| import {BaseEntityInterface} from "@/utils/globalInterface";
| export interface InvoiceManageI extends BaseEntityInterface{
| id ?: number , invoiceInfoId ?: number , invoiceSellerId ?: number , customerName ?: string , invoiceSellerName ?: string , invoiceCompanyName ?: string , invoiceCreditCode ?: string , invoiceSellerCreditCode ?: string , invoiceBankName ?: string , invoiceBankNo ?: string , invoiceOperatingLicenseAddress ?: string , invoiceOperatingLicensePhone ?: string , invoiceOperatingLicenseEmail ?: string , status ?: number , createBy ?: string , updateBy ?: string , createTime ?: string , updateTime ?: string , deleted ?: number , invoiceType ?: string , enterpriseType ?: number }
|
|
| /**
| * 查询发票管理列表
| */
| export const listInvoiceManage:requestType = (query) => {
| return request({
| url: '/cwgl/invoiceManage/list',
| method:'get',
| params:query
| })
| }
| /**
| * 查询发票管理详细
| */
| export const getInvoiceManage:requestType = (id) => {
| return request({
| url: '/cwgl/invoiceManage/' + id,
| method:'get'
| })
| }
|
| /**
| * 新增发票管理
| */
| export const addInvoiceManage:requestType = (data) => {
| return request({
| url: '/cwgl/invoiceManage',
| method: 'post',
| data
| })
| }
|
| /**
| * 修改发票管理
| */
| export const updateInvoiceManage:requestType = (data) => {
| return request({
| url: '/cwgl/invoiceManage',
| method: 'put',
| data
| })
| }
|
| /**
| * 删除发票管理
| */
| export const delInvoiceManage:requestType = (id) => {
| return request({
| url: '/cwgl/invoiceManage/' + id,
| method: 'delete'
| })
| }
|
|
| /**
| * 导出发票管理
| */
| export const exportInvoiceManage:requestType = (query) => {
| return new Promise<any>(()=>{
| download('/cwgl/invoiceManage/export',query);
| })
| }
| /**
| * 申请发票
| */
| export const cwglInvoiceManageApply:requestType = (id) => {
| return request({
| url: '/cwgl/invoiceManage/apply/'+id,
| method: 'post',
| })
| }
|
|