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
|
})
|
}
|