You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
236 lines
5.3 KiB
236 lines
5.3 KiB
import request from '@/utils/request'
|
|
|
|
// 收款确认管理和出纳款项管理分页列表条件查询
|
|
export function listPage(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 代收款申请
|
|
export function listPagess(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/listPagess',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 应收未收款项明细分页列表查询
|
|
export function listAll(data) {
|
|
return request({
|
|
url: '/fin/finuncollectedreceivablesdetailed/listAll',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 收款确认管理和出纳款项确认管理--回显、详情
|
|
export function fetchDetailBySid(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/fetchBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 收款确认管理保存
|
|
export function save(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 收款确认管理详情
|
|
export function details(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/fetchBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 出纳款项管理--确认
|
|
export function cashierConfirm(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/cashierConfirm',
|
|
method: 'post',
|
|
params: data,
|
|
headers: {
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 出纳款项管理--驳回
|
|
export function cashierReject(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/cashierReject',
|
|
method: 'post',
|
|
params: data,
|
|
headers: {
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 收款款项确认--撤回(发起人)
|
|
export function recallConfirm(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/recallConfirm',
|
|
method: 'post',
|
|
params: data,
|
|
headers: {
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 客户账单汇总
|
|
export function customerBillListPage(data) {
|
|
return request({
|
|
url: '/fin/finuncollectedreceivablesdetailed/customerBillListPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 客户账单明细
|
|
export function customerBillDetailedListPage(data) {
|
|
return request({
|
|
url: '/fin/finuncollectedreceivablesdetailed/customerBillDetailedListPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 数据字典
|
|
export function dataDictionary(data) {
|
|
return request({
|
|
url: '/portal/v1/dictcommons/typeValues',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
// 上传文件
|
|
export function upload(data) {
|
|
return request({
|
|
url: '/fin/file/upload',
|
|
data,
|
|
method: 'post',
|
|
headers: {
|
|
'Content-Type': 'multipart/form-data'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 代收款申请、收款款项确认、出纳款项确认--下载收款单
|
|
export function createPdf(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/createPdf',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 出纳款项确认--下载金融收款单
|
|
export function createPdfRsk(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/createPdfRsk',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 客户账单明细--下载
|
|
export function createPdfByCustomer(data) {
|
|
return request({
|
|
url: '/fin/finuncollectedreceivablesdetailed/createPdf',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 客户账单明细--导出
|
|
export function exportExcel(data) {
|
|
return request({
|
|
url: '/fin/finuncollectedreceivablesdetailed/exportExcel',
|
|
method: 'post',
|
|
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|
|
// 收款款项确认
|
|
export function ctskd(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/ctskd',
|
|
method: 'post',
|
|
params: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
// 选择已认款项
|
|
export function selectPageList(data) {
|
|
return request({
|
|
url: '/fin/finselectedreceivablesdetailed/selectPageList',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 出纳款项确认管理--回显、详情(金融收款确认)
|
|
export function rskDetails(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/rskDetails/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 出纳款项管理--确认(金融收款确认)
|
|
export function rskCashierConfirm(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/rskCashierConfirm',
|
|
method: 'post',
|
|
params: data,
|
|
headers: {
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 出纳款项管理--驳回(金融收款确认)
|
|
export function rskCashierReject(data) {
|
|
return request({
|
|
url: '/fin/fincollectionconfirmation/rskCashierReject',
|
|
method: 'post',
|
|
params: data,
|
|
headers: {
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|