1、新增结算模块
2、调整业务模块 3、调整客商模块
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import request from '@/axios';
|
||||
|
||||
const baseUrl = '/blade-transport/formal-settlement';
|
||||
|
||||
export const getList = (current, size, params) =>
|
||||
request({ url: `${baseUrl}/list`, method: 'get', params: { current, size, ...params } });
|
||||
export const getDetail = id => request({ url: `${baseUrl}/detail`, method: 'get', params: { id } });
|
||||
export const getCandidates = (current, size, params) =>
|
||||
request({
|
||||
url: `${baseUrl}/candidate-pre-settlements`,
|
||||
method: 'get',
|
||||
params: { current, size, ...params },
|
||||
});
|
||||
export const getContractOptions = keyword =>
|
||||
request({ url: `${baseUrl}/contract-options`, method: 'get', params: { keyword } });
|
||||
export const getCandidateDetails = (current, size, params) =>
|
||||
request({
|
||||
url: `${baseUrl}/candidate-details`,
|
||||
method: 'get',
|
||||
params: { current, size, ...params },
|
||||
});
|
||||
export const save = data => request({ url: `${baseUrl}/save`, method: 'post', data });
|
||||
export const remove = id => request({ url: `${baseUrl}/remove`, method: 'post', params: { id } });
|
||||
export const submit = data => request({ url: `${baseUrl}/submit`, method: 'post', data });
|
||||
export const approve = data => request({ url: `${baseUrl}/approve`, method: 'post', data });
|
||||
export const returnBill = data => request({ url: `${baseUrl}/return`, method: 'post', data });
|
||||
export const voidBill = data => request({ url: `${baseUrl}/void`, method: 'post', data });
|
||||
export const syncKingdee = id =>
|
||||
request({ url: `${baseUrl}/sync-kingdee`, method: 'post', params: { id } });
|
||||
export const getDetailFees = detailId =>
|
||||
request({ url: `${baseUrl}/detail-fees`, method: 'get', params: { detailId } });
|
||||
export const adjustDetail = data =>
|
||||
request({ url: `${baseUrl}/adjust-detail`, method: 'post', data });
|
||||
export const applyPayment = data =>
|
||||
request({ url: `${baseUrl}/apply-payment`, method: 'post', data });
|
||||
Reference in New Issue
Block a user