1、调整配载、总单

2、新增收付款模块
This commit is contained in:
2026-08-22 21:11:48 +08:00
parent 1962bee882
commit 5fcb82c0c0
51 changed files with 11663 additions and 1506 deletions
+27
View File
@@ -0,0 +1,27 @@
import request from '@/axios';
const baseUrl = '/blade-transport/bill-ledger';
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 getExpiryCounts = () => request({ url: `${baseUrl}/expiry-counts`, method: 'get' });
export const getAvailableOptions = (keyword, deptId, selectedId) =>
request({
url: `${baseUrl}/available-options`,
method: 'get',
params: { keyword, deptId, selectedId },
});
export const submit = data => request({ url: `${baseUrl}/submit`, method: 'post', data });
export const remove = id => request({ url: `${baseUrl}/remove`, method: 'post', params: { id } });
export const billTypeOptions = [
{ label: '开票', value: 'issued' },
{ label: '收票', value: 'received' },
];
export const maturityStatusOptions = [
{ label: '未到期', value: 'unexpired' },
{ label: '今日到期', value: 'due_today' },
{ label: '已到期', value: 'expired' },
];