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 createPdfByCustomer(data) { return request({ url: '/fin/finuncollectedreceivablesdetailed/createPdf', method: 'post', params: data }) } // 收款款项确认 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' } }) }