import { axios } from '@/utils/request' // 调账调账 列表 分页 export const verifyAccountChangeList = (params) => { const url = `/verifyAccountChange/queryPage/${params.pageNo}/${params.pageSize}` delete params.pageNo delete params.pageSize return axios({ url: url, data: params, method: 'post', headers: { 'module': encodeURIComponent('列表查询') } }) } // 经销商余额-分页列表 export const verifyAccountChangeDealerBalanceList = (params) => { const url = `/verifyAccountChange/queryDealerBalancePage/${params.pageNo}/${params.pageSize}` delete params.pageNo delete params.pageSize return axios({ url: url, data: params, method: 'post', headers: { 'module': encodeURIComponent('经销商余额列表查询') } }) } //对账余额明细接口 export const verifyfyAccountQueryDealerBalanceDetailPage = (params) => { const url = `/verifyAccountChange/queryDealerBalanceDetailPage/${params.pageNo}/${params.pageSize}` delete params.pageNo delete params.pageSize return axios({ url: url, data: params, method: 'post', headers: { 'module': encodeURIComponent('对账余额明细列表查询') } }) } // 对账余额明细统计 export const verifyfyAccountQueryDealerBalanceDetailCount = (params) => { const url = `/verifyAccountChange/queryDealerBalanceDetailCount` return axios({ url: url, data: params, method: 'post', headers: { 'module': encodeURIComponent('对账余额明细统计') } }) } // 调账保存 export const verifyAccountChangeSave = params => { return axios({ url: '/verifyAccountChange/save', data: params, method: 'post', headers: { 'module': encodeURIComponent('创建调账') } }) } // 调账调账 删除 export const verifyAccountChangeDel = params => { return axios({ url: `/verifyAccountChange/deleteBySn/${params.sn}`, data: {}, method: 'post', headers: { 'module': encodeURIComponent('删除调账') } }) } // 调账调账 详情 export const verifyAccountChangeDetail = params => { return axios({ url: `/verifyAccountChange/queryBySn/${params.sn}`, data: {}, method: 'post', headers: { 'module': encodeURIComponent('查看调账详情') } }) } // 调账调账 提交 export const verifyAcountBillSubmit = params => { return axios({ url: `/verifyAccountChange/submit`, data: params, method: 'post', headers: { 'module': encodeURIComponent('调账提交') } }) }