wujianwei
2025-12-15 6323e1efb067f80df0f848abf7062b7601f9a04a
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
import request, {download, requestType} from "@/utils/request";
import {BaseEntityInterface} from "@/utils/globalInterface";
 
export interface TmsContractI extends BaseEntityInterface {
    id?: number,
    systemCode?: string,
    contractCode?: string,
    contractName?: string,
    contractType?: number,
    signDate?: string,
    contractStartDate?: string,
    contractEndDate?: string,
    contractStatus?: string,
    partyAId?: number,
    partyAName?: string,
    partyAContact?: string,
    partyAContactInfo?: string,
    partyBName?: string,
    partyBContact?: string,
    partyBContactInfo?: string,
    contractAmount?: string,
    paymentMethod?: number,
    paymentCycle?: string,
    paidAmount?: string,
    unpaidAmount?: string,
    invoiceStatus?: number,
    fulfillmentStatus?: number,
    fulfillmentProgress?: string,
    acceptanceStatus?: number,
    attachmentName?: string,
    attachmentPath?: string,
    uploadedBy?: string,
    uploadTime?: string,
    status?: number,
    createBy?: string,
    createTime?: string,
    updateBy?: string,
    updateTime?: string,
    remark?: string
    contractDate?: any,
    cycleType?: number,
    billingCycleLastMonthDay?: number,
    billingCycleCurrentMonthDay?: number,
    reconciliationDay?: number,
    invoiceDay?: number,
    paymentDay?: number,
    totalAccountDay?: number,
}
 
 
/**
 * 查询合同管理列表
 */
export const listTmsContract: requestType = (query) => {
    return request({
        url: '/tms/tmsContract/list',
        method: 'get',
        params: query
    })
}
/**
 * 查询合同管理详细
 */
export const getTmsContract: requestType = (id) => {
    return request({
        url: '/tms/tmsContract/' + id,
        method: 'get'
    })
}
 
/**
 * 新增合同管理
 */
export const addTmsContract: requestType = (data) => {
    return request({
        url: '/tms/tmsContract',
        method: 'post',
        data
    })
}
 
/**
 * 修改合同管理
 */
export const updateTmsContract: requestType = (data) => {
    return request({
        url: '/tms/tmsContract',
        method: 'put',
        data
    })
}
 
/**
 * 删除合同管理
 */
export const delTmsContract: requestType = (id) => {
    return request({
        url: '/tms/tmsContract/' + id,
        method: 'delete'
    })
}
 
 
/**
 * 导出合同管理
 */
export const exportTmsContract: requestType = (query) => {
    return new Promise<any>(() => {
        download('/tms/tmsContract/export', query);
    })
}