修复业务模块bug

This commit is contained in:
2026-08-13 18:53:49 +08:00
parent f62e36e846
commit b25b2fae20
7 changed files with 361 additions and 61 deletions
+16 -1
View File
@@ -1,9 +1,24 @@
import request from '@/axios';
import { createCrudApi } from './common';
const api = createCrudApi('/blade-transport/process-config');
export const getList = api.getList;
export const getDetail = api.getDetail;
export const getDetail = (id, waybillId) =>
request({
url: '/blade-transport/process-config/detail',
method: 'get',
params: {
id,
...(waybillId === undefined ? {} : { waybillId }),
},
});
export const getVoucherImages = waybillId =>
request({
url: '/blade-transport/process-config/voucher-images',
method: 'get',
params: { waybillId },
});
export const submit = api.submit;
export const remove = api.remove;
export const copy = api.copy;