f3a33b1a04
导入编辑进入独立页面并回填数据,确认导入按每批100条校验后统一导出失败明细,完整录入运费信息按数量单位联动单价单位。 Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
import request from '@/axios';
|
|
import { createCrudApi } from './common';
|
|
|
|
const api = createCrudApi('/blade-transport/process-config');
|
|
|
|
export const getList = api.getList;
|
|
export const getDetail = (id, waybillId) =>
|
|
request({
|
|
url: '/blade-transport/process-config/detail',
|
|
method: 'get',
|
|
params: {
|
|
id,
|
|
...(waybillId === undefined ? {} : { waybillId }),
|
|
},
|
|
});
|
|
export const getVoucherImages = (waybillId, params = {}) =>
|
|
request({
|
|
url: '/blade-transport/process-config/voucher-images',
|
|
method: 'get',
|
|
params: {
|
|
waybillId,
|
|
...params,
|
|
},
|
|
});
|
|
export const getVoucherFolders = waybillId =>
|
|
request({
|
|
url: '/blade-transport/process-config/voucher-folders',
|
|
method: 'get',
|
|
params: { waybillId },
|
|
});
|
|
export const getVoucherFolderDetail = (voucherId, plateNo) =>
|
|
request({
|
|
url: '/blade-transport/process-config/voucher-folder-detail',
|
|
method: 'get',
|
|
params: { voucherId, plateNo },
|
|
});
|
|
export const submit = api.submit;
|
|
export const remove = api.remove;
|
|
export const copy = api.copy;
|
|
export const enable = api.enable;
|
|
export const disable = api.disable;
|