123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- 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 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('调账提交')
- }
- })
- }
- // 经销商余额-分页列表
- export const verifyAccountBalanceQueryPage = (params) => {
- const url = `/verifyAccountBalance/queryPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('经销商余额列表查询')
- }
- })
- }
- //对账余额明细接口
- export const verifyAccountBalanceQueryDetailPage = (params) => {
- const url = `/verifyAccountBalance/queryDetailPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('对账余额明细列表查询')
- }
- })
- }
- // 对账余额明细统计
- export const verifyAccountBalanceQueryDetailCount = (params) => {
- const url = `/verifyAccountBalance/queryDetailCount`
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers: {
- 'module': encodeURIComponent('对账余额明细统计')
- }
- })
- }
- // 对账余额导出
- export const verifyAccountBalanceExport = (params) => {
- const url = `/verifyAccountBalance/export`
- return axios({
- url: url,
- data: params,
- method: 'post',
- responseType: 'blob',
- headers:{
- 'module': encodeURIComponent('对账余额列表导出')
- }
- })
- }
- // 对账余额明细导出
- export const verifyAccountBalanceDetailExport = (params) => {
- const url = `/verifyAccountBalance/detailExport`
- return axios({
- url: url,
- data: params,
- method: 'post',
- responseType: 'blob',
- headers:{
- 'module': encodeURIComponent('对账余额明细列表导出')
- }
- })
- }
|