wujianwei
5 天以前 89fd2cf7202c321512c2ea699a3a220a7138ed44
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
import request,{download,requestType} from "@/utils/request";
import {BaseEntityInterface} from "@/utils/globalInterface";
export interface BankAccountConfigI extends BaseEntityInterface{
            id ?:  number   ,            customerId ?:  number   ,            customerName ?:  string   ,            accountNo ?:  string   ,            accountName ?:  string   ,            bankName ?:  string   ,            branchName ?:  string   ,            accountType ?:  string   ,            currency ?:  string   ,            status ?:  string   ,            accountNumber ?:  string   ,            openingDate ?:  string   ,            bankCode ?:  string   ,            remark ?:  string   ,            isDefault ?:  number   ,            createBy ?:  string   ,            updateBy ?:  string   ,            createTime ?:  string   ,            updateTime ?:  string   ,            deleted ?:  number       }
 
 
/**
 * 查询银行账号配置列表
 */
export const customerSummaryList:requestType = (query) => {
    return request({
        url: '/cwgl/receivableBillManagement/customerSummary',
        method:'get',
        params:query
    })
}
 
/**
 * 导出
 */
export const exportBankAccountConfig:requestType = (query) => {
    return new Promise<any>(()=>{
        download('/cwgl/receivableBillManagement/customerSummary/export',query);
    })
}
/**
 * 账龄分析列表导出  
 */
export const exportAgingAnalysis:requestType = (query) => {
    return new Promise<any>(()=>{
        download('/cwgl/receivableBillManagement/customerSummary/export',query);
    })
}
export const agingAnalysisList:requestType = (query) => {
    return request({
        url: '/cwgl/receivableBillManagement/agingAnalysis',
        method:'get',
        params:query
    })
}
 
/**
 * 新增回款进度反馈
 */
export const addPaymentFeedback:requestType = (data) => {
    return request({
        url: '/cwgl/paymentFeedback',
        method: 'post',
        data
    })
}
/**
 * 查询回款进度反馈列表
 */
export const listPaymentFeedback:requestType = (query) => {
    return request({
        url: '/cwgl/paymentFeedback/list',
        method:'get',
        params:query
    })
}
/**
 * 查询账龄分析日志列表
 */
export const listAgingLog:requestType = (query) => {
    return request({
        url: '/cwgl/agingLog/list',
        method:'get',
        params:query
    })
}
/* 账龄编辑 */
 
export const receivableBillManagementAging:requestType = (data) => {
    return request({
        url: '/cwgl/receivableBillManagement/aging',
        method: 'put',
        data
    })
}
/**
 * 查询账款分析日志列表
 */
export const listAccountLog:requestType = (query) => {
    return request({
        url: '/cwgl/accountLog/list',
        method:'get',
        params:query
    })
}
/* 账款编辑 */
 
export const updateAccountAnalysis :requestType = (data) => {
    return request({
        url: '/cwgl/receivableBillManagement/account',
        method: 'put',
        data
    })
}
/**
 * 查询账款分析列表
 */
export const receivableBillManagementAccountAnalysis:requestType = (query) => {
    return request({
        url: '/cwgl/receivableBillManagement/accountAnalysis',
        method:'get',
        params:query
    })
}