1、完善发货模板
2、完善运输计划 3、完善运单管理
This commit is contained in:
36
src/option/business/loading-manage.js
Normal file
36
src/option/business/loading-manage.js
Normal file
@@ -0,0 +1,36 @@
|
||||
import { dataSourceOptions } from './common';
|
||||
|
||||
export const transportTypeDict = {
|
||||
dicUrl: '/blade-system/dict-biz/dictionary?code=transport_type',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey',
|
||||
},
|
||||
};
|
||||
|
||||
export const carrierTypeOptions = ['承运商', '自运', '网签平台'];
|
||||
|
||||
export const loadingStatusOptions = [
|
||||
{ label: '草稿', value: 'draft' },
|
||||
{ label: '待执行', value: 'pending' },
|
||||
{ label: '进行中', value: 'running' },
|
||||
{ label: '已完成', value: 'completed' },
|
||||
{ label: '已取消', value: 'cancelled' },
|
||||
];
|
||||
|
||||
export const loadingStatusMap = loadingStatusOptions.reduce((result, item) => {
|
||||
result[item.value] = item.label;
|
||||
return result;
|
||||
}, {});
|
||||
|
||||
export const loadingManageConfig = {
|
||||
title: '配载管理',
|
||||
permission: 'loading_manage',
|
||||
exportUrl: '/blade-transport/loading-manage/export-loading-manage',
|
||||
exportName: '配载管理',
|
||||
createText: '新建配载',
|
||||
batchCompleteText: '批量完成',
|
||||
statusProp: 'businessStatus',
|
||||
statusTextProp: 'businessStatusName',
|
||||
dataSourceOptions,
|
||||
};
|
||||
Reference in New Issue
Block a user